Update Cargo Dependencies #372
Annotations
13 errors and 10 warnings
no function or associated item named `command` found for struct `Cli` in the current scope:
src/main.rs#L148
error[E0599]: no function or associated item named `command` found for struct `Cli` in the current scope
--> src/main.rs:148:25
|
22 | struct Cli {
| ---------- function or associated item `command` not found for this struct
...
148 | let cmd = &mut Cli::command();
| ^^^^^^^ function or associated item not found in `Cli`
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
1 + use clap::CommandFactory;
|
|
no method named `parse` found for struct `clap::Arg` in the current scope:
src/main.rs#L26
error[E0599]: no method named `parse` found for struct `clap::Arg` in the current scope
--> src/main.rs:26:31
|
15 | #[derive(Parser)]
| ------ help: use associated function syntax instead: `clap::Arg::parse(from_occurrences)`
...
26 | #[clap(long, short = 'v', parse(from_occurrences), global = true)]
| ^^^^^ this is an associated function, not a method
|
= note: found the following associated functions; to be used as methods, functions must have a `self` parameter
note: the candidate is defined in the trait `clap::Parser`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap_builder-4.3.23/src/derive.rs:26:5
|
26 | fn parse() -> Self {
| ^^^^^^^^^^^^^^^^^^
|
cannot find value `from_occurrences` in this scope:
src/main.rs#L26
error[E0425]: cannot find value `from_occurrences` in this scope
--> src/main.rs:26:37
|
26 | #[clap(long, short = 'v', parse(from_occurrences), global = true)]
| ^^^^^^^^^^^^^^^^ not found in this scope
|
unresolved import `clap::IntoApp`:
src/main.rs#L10
error[E0432]: unresolved import `clap::IntoApp`
--> src/main.rs:10:12
|
10 | use clap::{IntoApp, Parser, Subcommand};
| ^^^^^^^ no `IntoApp` in the root
|
Lints
could not compile `awsctx` (bin "awsctx") due to 6 previous errors
|
Lints
Clippy had exited with the 101 exit code
|
Check:
src/main.rs#L62
attribute `arg_enum` requires a value
|
Check:
src/main.rs#L10
unresolved import `clap::IntoApp`
|
Check:
src/main.rs#L26
cannot find value `from_occurrences` in this scope
|
Check:
src/main.rs#L26
no method named `parse` found for struct `Arg` in the current scope
|
Check:
src/main.rs#L148
no function or associated item named `command` found for struct `Cli` in the current scope
|
Check
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
Test Suite
Process completed with exit code 1.
|
Lints
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@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/
|
Lints
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/
|
Lints
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/
|
Lints
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/
|
Lints
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/
|
Check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
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/
|
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/
|
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/
|
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/
|