fmt #85
Annotations
8 warnings
clippy --all-targets --all-features:
src/api/../tests/api/ecdar_api.rs#L6
warning: unused import: `futures::SinkExt`
--> src/api/../tests/api/ecdar_api.rs:6:9
|
6 | use futures::SinkExt;
| ^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
clippy --all-targets --all-features:
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
|
clippy --all-targets --all-features:
src/api/ecdar_api.rs#L32
warning: fields `in_use_context` and `model_context` are never read
--> src/api/ecdar_api.rs:32:5
|
30 | pub struct ConcreteEcdarApi {
| ---------------- fields in this struct
31 | access_context: Arc<dyn AccessContextTrait>,
32 | in_use_context: Arc<dyn InUseContextTrait>,
| ^^^^^^^^^^^^^^
33 | model_context: Arc<dyn ModelContextTrait>,
| ^^^^^^^^^^^^^
|
= note: `ConcreteEcdarApi` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
|
clippy --all-targets --all-features:
src/api/ecdar_api.rs#L32
warning: fields `in_use_context` and `model_context` are never read
--> src/api/ecdar_api.rs:32:5
|
30 | pub struct ConcreteEcdarApi {
| ---------------- fields in this struct
31 | access_context: Arc<dyn AccessContextTrait>,
32 | in_use_context: Arc<dyn InUseContextTrait>,
| ^^^^^^^^^^^^^^
33 | model_context: Arc<dyn ModelContextTrait>,
| ^^^^^^^^^^^^^
|
= note: `ConcreteEcdarApi` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
|
clippy --all-targets --all-features:
src/api/server.rs#L18
warning: module has the same name as its containing module
--> src/api/server.rs:18:1
|
18 | / pub mod server {
19 | | tonic::include_proto!("ecdar_proto_buf");
20 | | }
| |_^
|
= 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
|
clippy --all-targets --all-features:
src/api/server.rs#L18
warning: module has the same name as its containing module
--> src/api/server.rs:18:1
|
18 | / pub mod server {
19 | | tonic::include_proto!("ecdar_proto_buf");
20 | | }
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
|
clippy --all-targets --all-features:
src/api/../tests/api/access_logic.rs#L2
warning: module has the same name as its containing module
--> src/api/../tests/api/access_logic.rs:2:1
|
2 | / mod access_logic {
3 | | use crate::api::server::server::ecdar_api_server::EcdarApi;
4 | | use crate::api::server::server::{
5 | | CreateAccessRequest, DeleteAccessRequest, UpdateAccessRequest,
... |
174 | | }
175 | | }
| |_^
|
= 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
|
clippy --all-targets --all-features:
src/api/../tests/api/query_logic.rs#L2
warning: module has the same name as its containing module
--> src/api/../tests/api/query_logic.rs:2:1
|
2 | / mod query_logic {
3 | | use crate::api::server::server::ecdar_api_server::EcdarApi;
4 | | use crate::api::server::server::{CreateQueryRequest, DeleteQueryRequest, UpdateQueryRequest};
5 | | use crate::entities::query;
... |
197 | | }
198 | | }
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
|
The logs for this run have expired and are no longer available.
Loading