Skip to content

Send query to reveaal and insert result in database #189

Send query to reveaal and insert result in database

Send query to reveaal and insert result in database #189

Triggered via push December 4, 2023 12:52
Status Success
Total duration 53s
Artifacts

check_format.yml

on: push
cargo fmt
15s
cargo fmt
Clippy lint and check
42s
Clippy lint and check
Fit to window
Zoom out
Zoom in

Annotations

6 warnings
unused import: `reveaal_context::ReveaalContext`: src/api/ecdar_api.rs#L2
warning: unused import: `reveaal_context::ReveaalContext` --> src/api/ecdar_api.rs:2:5 | 2 | reveaal_context::ReveaalContext, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
unused import: `reveaal_context::ReveaalContext`: src/api/ecdar_api.rs#L2
warning: unused import: `reveaal_context::ReveaalContext` --> src/api/ecdar_api.rs:2:5 | 2 | reveaal_context::ReveaalContext, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
methods `as_str` and `token_type` are never used: src/api/auth.rs#L177
warning: methods `as_str` and `token_type` are never used --> src/api/auth.rs:177:12 | 83 | impl Token { | ---------- methods in this implementation ... 177 | pub fn as_str(&self) -> &str { | ^^^^^^ ... 191 | pub fn token_type(&self) -> TokenType { | ^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
module has the same name as its containing module: src/api/server.rs#L12
warning: module has the same name as its containing module --> src/api/server.rs:12:1 | 12 | / pub mod server { 13 | | tonic::include_proto!("ecdar_proto_buf"); 14 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception = note: `#[warn(clippy::module_inception)]` on by default
module has the same name as its containing module: src/api/server.rs#L12
warning: module has the same name as its containing module --> src/api/server.rs:12:1 | 12 | / pub mod server { 13 | | tonic::include_proto!("ecdar_proto_buf"); 14 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception = note: `#[warn(clippy::module_inception)]` on by default
call to `.clone()` on a reference in this situation does nothing: src/api/../tests/api/model_logic.rs#L1061
warning: call to `.clone()` on a reference in this situation does nothing --> src/api/../tests/api/model_logic.rs:1061:79 | 1061 | components_info: serde_json::to_value("{\"old_components\":1}".clone()).unwrap(), | ^^^^^^^^ help: remove this redundant call | = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed = note: `#[warn(noop_method_call)]` on by default