Skip to content
GitHub Actions / clippy succeeded Dec 2, 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.76.0-nightly (8c2b57721 2023-12-01)
  • cargo 1.76.0-nightly (26333c732 2023-11-28)
  • clippy 0.1.76 (8c2b577 2023-12-01)

Annotations

Check warning on line 69 in azalea-client/src/disconnect.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

very complex type used. Consider factoring parts into `type` definitions

warning: very complex type used. Consider factoring parts into `type` definitions
  --> azalea-client/src/disconnect.rs:69:12
   |
69 |     query: Query<(Entity, &IsConnectionAlive), (Changed<IsConnectionAlive>, With<LocalEntity>)>,
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
   = note: `#[warn(clippy::type_complexity)]` on by default

Check warning on line 9 in azalea-client/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the feature `trait_upcasting` has been stable since 1.76.0-nightly and no longer requires an attribute to enable

warning: the feature `trait_upcasting` has been stable since 1.76.0-nightly and no longer requires an attribute to enable
 --> azalea-client/src/lib.rs:9:12
  |
9 | #![feature(trait_upcasting)]
  |            ^^^^^^^^^^^^^^^
  |
  = note: `#[warn(stable_features)]` on by default

Check warning on line 2 in azalea-block/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the feature `trait_upcasting` has been stable since 1.76.0-nightly and no longer requires an attribute to enable

warning: the feature `trait_upcasting` has been stable since 1.76.0-nightly and no longer requires an attribute to enable
 --> azalea-block/src/lib.rs:2:12
  |
2 | #![feature(trait_upcasting)]
  |            ^^^^^^^^^^^^^^^
  |
  = note: `#[warn(stable_features)]` on by default

Check warning on line 441 in azalea-auth/src/auth.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

accessing first element with `res.display_claims["xui"].get(0)`

warning: accessing first element with `res.display_claims["xui"].get(0)`
   --> azalea-auth/src/auth.rs:441:24
    |
441 |             user_hash: res.display_claims["xui"].get(0).unwrap()["uhs"].clone(),
    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `res.display_claims["xui"].first()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
    = note: `#[warn(clippy::get_first)]` on by default