Build #5
GitHub Actions / clippy
succeeded
Nov 9, 2023 in 0s
clippy
4 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 4 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.73.0 (cc66ad468 2023-10-03)
- cargo 1.73.0 (9c4383fb5 2023-08-26)
- clippy 0.1.73 (cc66ad4 2023-10-03)
Annotations
Check warning on line 46 in theseus/src/launcher/auth.rs
github-actions / clippy
function `refresh_credentials` is never used
warning: function `refresh_credentials` is never used
--> theseus/src/launcher/auth.rs:46:14
|
46 | pub async fn refresh_credentials(
| ^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
Check warning on line 41 in theseus/src/api/auth.rs
github-actions / clippy
variable does not need to be mutable
warning: variable does not need to be mutable
--> theseus/src/api/auth.rs:41:9
|
41 | let mut users = state.users.write().await;
| ----^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
Check warning on line 3 in theseus/src/api/hydra/complete.rs
github-actions / clippy
braces around Deserialize is unnecessary
warning: braces around Deserialize is unnecessary
--> theseus/src/api/hydra/complete.rs:3:1
|
3 | use serde::{Deserialize};
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: the lint level is defined here
--> theseus/src/lib.rs:7:9
|
7 | #![warn(unused_import_braces)]
| ^^^^^^^^^^^^^^^^^^^^
Check warning on line 3 in theseus/src/api/auth.rs
github-actions / clippy
unused import: `self`
warning: unused import: `self`
--> theseus/src/api/auth.rs:3:13
|
3 | hydra::{self, init::DeviceLoginSuccess},
| ^^^^
|
= note: `#[warn(unused_imports)]` on by default
Loading