Added metadata fields to Cargo.toml #60
clippy
6 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 6 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.80.0 (051478957 2024-07-21)
- cargo 1.80.0 (376290515 2024-07-16)
- clippy 0.1.80 (0514789 2024-07-21)
Annotations
Check warning on line 222 in src/rest/routes.rs
github-actions / clippy
unused variable: `storage`
warning: unused variable: `storage`
--> src/rest/routes.rs:222:13
|
222 | let storage = Storage::new(root.into_path()).expect("unable to create storage handler");
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage`
|
= note: `#[warn(unused_variables)]` on by default
Check warning on line 214 in src/rest/routes.rs
github-actions / clippy
unused import: `tower::util::ServiceExt`
warning: unused import: `tower::util::ServiceExt`
--> src/rest/routes.rs:214:9
|
214 | use tower::util::ServiceExt;
| ^^^^^^^^^^^^^^^^^^^^^^^
Check warning on line 213 in src/rest/routes.rs
github-actions / clippy
unused import: `axum::http::Request`
warning: unused import: `axum::http::Request`
--> src/rest/routes.rs:213:9
|
213 | use axum::http::Request;
| ^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
Check warning on line 222 in src/rest/routes.rs
github-actions / clippy
unused variable: `storage`
warning: unused variable: `storage`
--> src/rest/routes.rs:222:13
|
222 | let storage = Storage::new(root.into_path()).expect("unable to create storage handler");
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage`
|
= note: `#[warn(unused_variables)]` on by default
Check warning on line 214 in src/rest/routes.rs
github-actions / clippy
unused import: `tower::util::ServiceExt`
warning: unused import: `tower::util::ServiceExt`
--> src/rest/routes.rs:214:9
|
214 | use tower::util::ServiceExt;
| ^^^^^^^^^^^^^^^^^^^^^^^
Check warning on line 213 in src/rest/routes.rs
github-actions / clippy
unused import: `axum::http::Request`
warning: unused import: `axum::http::Request`
--> src/rest/routes.rs:213:9
|
213 | use axum::http::Request;
| ^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default