Skip to content

change auth to liquidbounce #17

change auth to liquidbounce

change auth to liquidbounce #17

Triggered via push January 6, 2024 20:34
Status Success
Total duration 1m 46s
Artifacts

check.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
you are using an explicit closure for cloning elements: azalea/src/swarm/mod.rs#L602
warning: you are using an explicit closure for cloning elements --> azalea/src/swarm/mod.rs:602:25 | 602 | let proxy = self.proxies.choose(&mut thread_rng()).map(|p| p.clone()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider calling the dedicated `cloned` method: `self.proxies.choose(&mut thread_rng()).cloned()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_clone = note: `#[warn(clippy::map_clone)]` on by default
this `let...else` may be rewritten with the `?` operator: azalea/src/pathfinder/world.rs#L160
warning: this `let...else` may be rewritten with the `?` operator --> azalea/src/pathfinder/world.rs:160:9 | 160 | / let Some(chunk) = world.chunks.get(&chunk_pos) else { 161 | | return None; 162 | | }; | |__________^ help: replace it with: `let chunk = world.chunks.get(&chunk_pos)?;` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark = note: `#[warn(clippy::question_mark)]` on by default
single-character string constant used as pattern: azalea-client/src/packet_handling/configuration.rs#L111
warning: single-character string constant used as pattern --> azalea-client/src/packet_handling/configuration.rs:111:45 | 111 | .trim_start_matches("\"") | ^^^^ help: try using a `char` instead: `'\"'` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern = note: `#[warn(clippy::single_char_pattern)]` on by default
manual implementation of `Option::map`: azalea-protocol/src/connect.rs#L281
warning: manual implementation of `Option::map` --> azalea-protocol/src/connect.rs:281:28 | 281 | let auth = match proxy.auth { | ____________________________^ 282 | | Some(user_key) => Some(user_key), 283 | | None => None, 284 | | }; | |_________________^ help: try: `proxy.auth.map(|user_key| user_key)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_map = note: `#[warn(clippy::manual_map)]` on by default
this match expression is unnecessary: azalea-protocol/src/connect.rs#L281
warning: this match expression is unnecessary --> azalea-protocol/src/connect.rs:281:28 | 281 | let auth = match proxy.auth { | ____________________________^ 282 | | Some(user_key) => Some(user_key), 283 | | None => None, 284 | | }; | |_________________^ help: replace it with: `proxy.auth` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_match = note: `#[warn(clippy::needless_match)]` 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/