fix(deps): update rust crate notify to v8 #356
Annotations
12 warnings
cargo-deny (bans licenses sources)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
cargo-deny (advisories)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
useless use of `format!`:
src/service/server.rs#L484
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()));
|
|
useless use of `format!`:
src/service/manager.rs#L460
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())
|
|
useless use of `format!`:
src/service/local.rs#L942
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()));
|
|
this lifetime isn't used in the function definition:
crates/shadowsocks-service/src/local/tun/tcp.rs#L568
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
|
this lifetime isn't used in the function definition:
crates/shadowsocks-service/src/local/redir/tcprelay/mod.rs#L35
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
|
useless use of `format!`:
src/service/server.rs#L484
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()));
|
|
useless use of `format!`:
src/service/manager.rs#L460
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())
|
|
useless use of `format!`:
src/service/local.rs#L942
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()));
|
|
this lifetime isn't used in the function definition:
crates/shadowsocks-service/src/local/tun/tcp.rs#L568
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
|
this lifetime isn't used in the function definition:
crates/shadowsocks-service/src/local/redir/tcprelay/mod.rs#L35
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
|