fix(deps): update rust crate notify to v8 #356
clippy ubuntu-latest
5 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 5 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.84.0 (9fc6b4312 2025-01-07)
- cargo 1.84.0 (66221abde 2024-11-19)
- clippy 0.1.84 (9fc6b43126 2025-01-07)
Annotations
Check warning on line 488 in src/service/server.rs
github-actions / clippy ubuntu-latest
useless use of `format!`
warning: useless use of `format!`
--> src/service/server.rs:484:61
|
484 | return Err(ShadowsocksError::InsufficientParams(format!(
| _____________________________________________________________^
485 | | "missing proxy servers, consider specifying it by \
486 | | --server-addr, --encrypt-method, --password command line option, \
487 | | or configuration file, check more details in https://shadowsocks.org/doc/configs.html"
488 | | )));
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
help: consider using `.to_string()`
|
484 ~ return Err(ShadowsocksError::InsufficientParams("missing proxy servers, consider specifying it by \
485 + --server-addr, --encrypt-method, --password command line option, \
486 ~ or configuration file, check more details in https://shadowsocks.org/doc/configs.html".to_string()));
|
Check warning on line 463 in src/service/manager.rs
github-actions / clippy ubuntu-latest
useless use of `format!`
warning: useless use of `format!`
--> src/service/manager.rs:460:50
|
460 | ShadowsocksError::InsufficientParams(format!(
| __________________________________________________^
461 | | "missing `manager_address`, consider specifying it by --manager-address command line option, \
462 | | or \"manager_address\" and \"manager_port\" keys in configuration file"
463 | | ))
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
help: consider using `.to_string()`
|
460 ~ ShadowsocksError::InsufficientParams("missing `manager_address`, consider specifying it by --manager-address command line option, \
461 ~ or \"manager_address\" and \"manager_port\" keys in configuration file".to_string())
|
Check warning on line 945 in src/service/local.rs
github-actions / clippy ubuntu-latest
useless use of `format!`
warning: useless use of `format!`
--> src/service/local.rs:942:61
|
942 | return Err(ShadowsocksError::InsufficientParams(format!(
| _____________________________________________________________^
943 | | "missing `local_address`, consider specifying it by --local-addr command line option, \
944 | | or \"local_address\" and \"local_port\" in configuration file"
945 | | )));
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
= note: `#[warn(clippy::useless_format)]` on by default
help: consider using `.to_string()`
|
942 ~ return Err(ShadowsocksError::InsufficientParams("missing `local_address`, consider specifying it by --local-addr command line option, \
943 ~ or \"local_address\" and \"local_port\" in configuration file".to_string()));
|
Check warning on line 568 in crates/shadowsocks-service/src/local/tun/tcp.rs
github-actions / clippy ubuntu-latest
this lifetime isn't used in the function definition
warning: this lifetime isn't used in the function definition
--> crates/shadowsocks-service/src/local/tun/tcp.rs:568:37
|
568 | async fn establish_client_tcp_redir<'a>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
Check warning on line 35 in crates/shadowsocks-service/src/local/redir/tcprelay/mod.rs
github-actions / clippy ubuntu-latest
this lifetime isn't used in the function definition
warning: this lifetime isn't used in the function definition
--> crates/shadowsocks-service/src/local/redir/tcprelay/mod.rs:35:37
|
35 | async fn establish_client_tcp_redir<'a>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
= note: `#[warn(clippy::extra_unused_lifetimes)]` on by default