You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: cannot determine resolution for the derive macro Clap
--> /home/paulabrams/.cargo/registry/src/github.com-1ecc6299db9ec823/tactics-trainer-cli-1.0.0/src/main.rs:20:10
|
20 | #[derive(Clap, Debug)]
| ^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot find attribute clap in this scope
--> /home/paulabrams/.cargo/registry/src/github.com-1ecc6299db9ec823/tactics-trainer-cli-1.0.0/src/main.rs:21:3
|
21 | #[clap(version = "1.0", author = "Marcus B. me@mbuffett.com")]
| ^^^^
|
= note: clap is in scope, but it is a crate, not an attribute
error: cannot find attribute clap in this scope
--> /home/paulabrams/.cargo/registry/src/github.com-1ecc6299db9ec823/tactics-trainer-cli-1.0.0/src/main.rs:22:3
|
22 | #[clap(setting = AppSettings::ColoredHelp)]
| ^^^^
|
= note: clap is in scope, but it is a crate, not an attribute
error: cannot find attribute clap in this scope
--> /home/paulabrams/.cargo/registry/src/github.com-1ecc6299db9ec823/tactics-trainer-cli-1.0.0/src/main.rs:24:7
|
24 | #[clap(short, long)]
| ^^^^
|
= note: clap is in scope, but it is a crate, not an attribute
error: cannot find attribute clap in this scope
--> /home/paulabrams/.cargo/registry/src/github.com-1ecc6299db9ec823/tactics-trainer-cli-1.0.0/src/main.rs:28:7
|
28 | #[clap(short, long)]
| ^^^^
|
= note: clap is in scope, but it is a crate, not an attribute
error[E0599]: no function or associated item named parse found for struct Args in the current scope
--> /home/paulabrams/.cargo/registry/src/github.com-1ecc6299db9ec823/tactics-trainer-cli-1.0.0/src/main.rs:36:22
|
23 | struct Args {
| ----------- function or associated item parse not found for this
...
36 | let opts = Args::parse();
| ^^^^^ function or associated item not found in Args
|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item parse, perhaps you need to implement it:
candidate #1: StructOpt
Some errors have detailed explanations: E0432, E0599.
For more information about an error, try rustc --explain E0432.
error: failed to compile tactics-trainer-cli v1.0.0, intermediate artifacts can be found at /tmp/cargo-install1AbjFT
Caused by:
could not compile tactics-trainer-cli due to 7 previous errors
❯
❯
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: