1.20.3 #1593
Annotations
14 warnings
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#L9
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
|
writing `&Vec` instead of `&[_]` involves a new object where a slice will do:
azalea-physics/src/collision/mergers.rs#L209
warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do
--> azalea-physics/src/collision/mergers.rs:209:12
|
209 | upper: &Vec<f64>,
| ^^^^^^^^^ help: change this to: `&[f64]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
|
writing `&Vec` instead of `&[_]` involves a new object where a slice will do:
azalea-physics/src/collision/mergers.rs#L208
warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do
--> azalea-physics/src/collision/mergers.rs:208:12
|
208 | lower: &Vec<f64>,
| ^^^^^^^^^ help: change this to: `&[f64]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
|
writing `&Vec` instead of `&[_]` involves a new object where a slice will do:
azalea-physics/src/collision/mergers.rs#L138
warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do
--> azalea-physics/src/collision/mergers.rs:138:48
|
138 | pub fn new_indirect(var1: &Vec<f64>, var2: &Vec<f64>, var3: bool, var4: bool) -> Self {
| ^^^^^^^^^ help: change this to: `&[f64]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
|
writing `&Vec` instead of `&[_]` involves a new object where a slice will do:
azalea-physics/src/collision/mergers.rs#L138
warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do
--> azalea-physics/src/collision/mergers.rs:138:31
|
138 | pub fn new_indirect(var1: &Vec<f64>, var2: &Vec<f64>, var3: bool, var4: bool) -> Self {
| ^^^^^^^^^ help: change this to: `&[f64]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
= note: `#[warn(clippy::ptr_arg)]` on by default
|
accessing first element with `res.display_claims["xui"].get(0)`:
azalea-auth/src/auth.rs#L441
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
|
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#L2
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
|
accessing first element with `list.get(0)`:
azalea-chat/src/component.rs#L398
warning: accessing first element with `list.get(0)`
--> azalea-chat/src/component.rs:398:56
|
398 | &simdnbt::borrow::NbtTag::Compound(list.get(0)?.clone()),
| ^^^^^^^^^^^ help: try: `list.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
|
clippy_check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
accessing first element with `list.get(0)`:
azalea-chat/src/component.rs#L398
warning: accessing first element with `list.get(0)`
--> azalea-chat/src/component.rs:398:56
|
398 | &simdnbt::borrow::NbtTag::Compound(list.get(0)?.clone()),
| ^^^^^^^^^^^ help: try: `list.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
|