Skip to content

Merge remote-tracking branch 'origin/master'

Sign in for the full log view
GitHub Actions / clippy succeeded Dec 18, 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.74.1 (a28077b28 2023-12-04)
  • cargo 1.74.1 (ecb9851af 2023-10-18)
  • clippy 0.1.74 (a28077b 2023-12-04)

Annotations

Check warning on line 46 in theseus/src/launcher/auth.rs

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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