fix(deps): update rust crate clap to v4.5.24 (#1839) #1082
build-msrv.yml
on: push
Matrix: shadowsocks-rust
Matrix: shadowsocks-service
Matrix: shadowsocks
Annotations
9 warnings
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()));
|
|
shadowsocks (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
shadowsocks-service (ubuntu-latest)
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()));
|
|
shadowsocks-rust (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|