fix(deps): update rust crate clap to v4 #1931
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
6 errors and 5 warnings
no method named `takes_value` found for struct `clap::Arg` in the current scope:
src/main.rs#L60
error[E0599]: no method named `takes_value` found for struct `clap::Arg` in the current scope
--> src/main.rs:60:18
|
54 | / Arg::new("config")
55 | | .short('c')
56 | | .long("config")
57 | | .value_name("FILE")
58 | | .default_value("./config.toml")
59 | | .help("set config file")
60 | | .takes_value(true),
| | -^^^^^^^^^^^ method not found in `clap::Arg`
| |_________________|
|
|
failed to resolve: could not find `App` in `clap`:
src/main.rs#L76
error[E0433]: failed to resolve: could not find `App` in `clap`
--> src/main.rs:76:19
|
76 | clap::App::new("delete")
| ^^^ could not find `App` in `clap`
|
help: consider importing one of these items
|
1 + use actix_web::App;
|
1 + use crate::App;
|
help: if you import `App`, refer to it directly
|
76 - clap::App::new("delete")
76 + App::new("delete")
|
|
failed to resolve: could not find `App` in `clap`:
src/main.rs#L70
error[E0433]: failed to resolve: could not find `App` in `clap`
--> src/main.rs:70:19
|
70 | clap::App::new("add")
| ^^^ could not find `App` in `clap`
|
help: consider importing one of these items
|
1 + use actix_web::App;
|
1 + use crate::App;
|
help: if you import `App`, refer to it directly
|
70 - clap::App::new("add")
70 + App::new("add")
|
|
failed to resolve: could not find `App` in `clap`:
src/main.rs#L68
error[E0433]: failed to resolve: could not find `App` in `clap`
--> src/main.rs:68:27
|
68 | .subcommand(clap::App::new("srv").about("start server"))
| ^^^ could not find `App` in `clap`
|
help: consider importing one of these items
|
1 + use actix_web::App;
|
1 + use crate::App;
|
help: if you import `App`, refer to it directly
|
68 - .subcommand(clap::App::new("srv").about("start server"))
68 + .subcommand(App::new("srv").about("start server"))
|
|
failed to resolve: could not find `App` in `clap`:
src/main.rs#L49
error[E0433]: failed to resolve: could not find `App` in `clap`
--> src/main.rs:49:25
|
49 | let matches = clap::App::new(env!("CARGO_PKG_NAME"))
| ^^^ could not find `App` in `clap`
|
help: consider importing one of these items
|
1 + use actix_web::App;
|
1 + use crate::App;
|
help: if you import `App`, refer to it directly
|
49 - let matches = clap::App::new(env!("CARGO_PKG_NAME"))
49 + let matches = App::new(env!("CARGO_PKG_NAME"))
|
|
rust
Clippy had exited with the 101 exit code
|
rust
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/[email protected], sksat/rust-cargo-make@add-makers, actions-rs/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
rust
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/
|
rust
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/
|
rust
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/
|
rust
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/
|