sec: upgrade clap to remove atty as dependency #15
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
3 errors and 1 warning
struct takes 0 lifetime arguments but 1 lifetime argument was supplied:
src/cli/command_line_option.rs#L69
error[E0107]: struct takes 0 lifetime arguments but 1 lifetime argument was supplied
--> src/cli/command_line_option.rs:69:29
|
69 | pub fn new(matches: &'a ArgMatches<'a>, image: &'a Image<'a>) -> Self {
| ^^^^^^^^^^---- help: remove these generics
| |
| expected 0 lifetime arguments
|
note: struct defined here, with 0 lifetime parameters
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap_builder-4.3.11/src/parser/matches/arg_matches.rs:67:12
|
67 | pub struct ArgMatches {
| ^^^^^^^^^^
|
struct takes 0 lifetime arguments but 1 lifetime argument was supplied:
src/cli/command_line_option.rs#L64
error[E0107]: struct takes 0 lifetime arguments but 1 lifetime argument was supplied
--> src/cli/command_line_option.rs:64:18
|
64 | matches: &'a ArgMatches<'a>,
| ^^^^^^^^^^---- help: remove these generics
| |
| expected 0 lifetime arguments
|
note: struct defined here, with 0 lifetime parameters
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap_builder-4.3.11/src/parser/matches/arg_matches.rs:67:12
|
67 | pub struct ArgMatches {
| ^^^^^^^^^^
|
unresolved import `clap::App`:
src/main.rs#L4
error[E0432]: unresolved import `clap::App`
--> src/main.rs:4:12
|
4 | use clap::{App, Arg};
| ^^^ no `App` in the root
|
unused `#[macro_use]` import:
src/main.rs#L1
warning: unused `#[macro_use]` import
--> src/main.rs:1:1
|
1 | #[macro_use]
| ^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|