WIP #40
clippy
7 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 7 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.72.1 (d5c2e9c34 2023-09-13)
- cargo 1.72.1 (103a7ff2e 2023-08-15)
- clippy 0.1.72 (d5c2e9c 2023-09-13)
Annotations
Check failure on line 515 in src/api/legacy.rs
github-actions / clippy
unused variable: `peer`
error: unused variable: `peer`
--> src/api/legacy.rs:515:9
|
515 | let peer: String = request
| ^^^^ help: if this is intentional, prefix it with an underscore: `_peer`
Check failure on line 513 in src/api/legacy.rs
github-actions / clippy
unused variable: `payload`
error: unused variable: `payload`
--> src/api/legacy.rs:513:5
|
513 | payload: Multipart,
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload`
Check failure on line 511 in src/api/legacy.rs
github-actions / clippy
unused variable: `ss`
error: unused variable: `ss`
--> src/api/legacy.rs:511:5
|
511 | ss: web::Data<StreamingDataService<UpgradeAction>>,
| ^^ help: if this is intentional, prefix it with an underscore: `_ss`
|
= note: `-D unused-variables` implied by `-D warnings`
Check failure on line 33 in src/main.rs
github-actions / clippy
unused import: `middleware::Logger`
error: unused import: `middleware::Logger`
--> src/main.rs:33:5
|
33 | middleware::Logger,
| ^^^^^^^^^^^^^^^^^^
Check failure on line 26 in src/api/legacy.rs
github-actions / clippy
unused import: `post`
error: unused import: `post`
--> src/api/legacy.rs:26:22
|
26 | use actix_web::{get, post, web, HttpRequest, Responder};
| ^^^^
Check failure on line 23 in src/api/legacy.rs
github-actions / clippy
unused import: `actix_web::dev::Payload`
error: unused import: `actix_web::dev::Payload`
--> src/api/legacy.rs:23:5
|
23 | use actix_web::dev::Payload;
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
Check failure on line 14 in src/main.rs
github-actions / clippy
`#![feature]` may not be used on the stable release channel
error[E0554]: `#![feature]` may not be used on the stable release channel
--> src/main.rs:14:1
|
14 | #![feature(async_fn_in_trait)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^