❯ cargo install tactics-trainer-cli
Updating crates.io index
Installing tactics-trainer-cli v1.0.0
Compiling autocfg v1.0.1
Compiling libc v0.2.112
Compiling proc-macro2 v1.0.34
Compiling unicode-xid v0.2.2
Compiling cfg-if v1.0.0
Compiling syn v1.0.82
Compiling memchr v2.4.1
Compiling log v0.4.14
Compiling pkg-config v0.3.24
Compiling cc v1.0.72
Compiling lazy_static v1.4.0
Compiling parking_lot_core v0.8.5
Compiling pin-project-lite v0.2.7
Compiling bytes v1.1.0
Compiling futures-core v0.3.17
Compiling serde_derive v1.0.132
Compiling scopeguard v1.1.0
Compiling smallvec v1.7.0
Compiling once_cell v1.9.0
Compiling itoa v0.4.8
Compiling serde v1.0.132
Compiling bitflags v1.3.2
Compiling futures-task v0.3.17
Compiling openssl v0.10.38
Compiling fnv v1.0.7
Compiling foreign-types-shared v0.1.1
Compiling hashbrown v0.11.2
Compiling matches v0.1.9
Compiling httparse v1.5.1
Compiling pin-utils v0.1.0
Compiling ryu v1.0.9
Compiling futures-channel v0.3.17
Compiling tinyvec_macros v0.1.0
Compiling native-tls v0.2.8
Compiling futures-sink v0.3.17
Compiling percent-encoding v2.1.0
Compiling slab v0.4.5
Compiling try-lock v0.2.3
Compiling openssl-probe v0.1.4
Compiling serde_json v1.0.73
Compiling encoding_rs v0.8.30
Compiling regex-automata v0.1.10
Compiling tower-service v0.3.1
Compiling unicode-bidi v0.3.7
Compiling httpdate v1.0.2
Compiling byteorder v1.4.3
Compiling shakmaty v0.19.0
Compiling anyhow v1.0.51
Compiling itoa v1.0.1
Compiling encode_unicode v0.3.6
Compiling termcolor v1.1.2
Compiling unicode-width v0.1.9
Compiling arrayvec v0.7.2
Compiling mime v0.3.16
Compiling textwrap v0.14.2
Compiling base64 v0.13.0
Compiling strsim v0.10.0
Compiling ipnet v2.3.1
Compiling rprompt v1.0.5
Compiling instant v0.1.12
Compiling tracing-core v0.1.21
Compiling indexmap v1.7.0
Compiling futures-util v0.3.17
Compiling num-traits v0.2.14
Compiling lock_api v0.4.5
Compiling foreign-types v0.3.2
Compiling http v0.2.5
Compiling tinyvec v1.5.1
Compiling form_urlencoded v1.0.1
Compiling openssl-sys v0.9.72
Compiling tracing v0.1.29
Compiling want v0.3.0
Compiling unicode-normalization v0.1.19
Compiling csv-core v0.1.10
Compiling os_str_bytes v6.0.0
Compiling quote v1.0.10
Compiling mio v0.7.14
Compiling num_cpus v1.13.0
Compiling signal-hook-registry v1.4.0
Compiling atty v0.2.14
Compiling socket2 v0.4.2
Compiling dirs v1.0.5
Compiling http-body v0.4.4
Compiling idna v0.2.3
Compiling parking_lot v0.11.2
Compiling btoi v0.4.2
Compiling colored v2.0.0
Compiling clap v3.0.0-rc.7
Compiling term v0.5.2
Compiling url v2.2.2
Compiling tokio-macros v1.7.0
Compiling tokio v1.15.0
Compiling tokio-util v0.6.9
Compiling tokio-native-tls v0.3.0
Compiling h2 v0.3.9
Compiling bstr v0.2.17
Compiling serde_urlencoded v0.7.0
Compiling csv v1.1.6
Compiling prettytable-rs v0.8.0
Compiling hyper v0.14.16
Compiling hyper-tls v0.5.0
Compiling reqwest v0.11.7
Compiling tactics-trainer-cli v1.0.0
error[E0432]: unresolved import clap::Clap
--> /home/paulabrams/.cargo/registry/src/github.com-1ecc6299db9ec823/tactics-trainer-cli-1.0.0/src/main.rs:8:25
|
8 | use clap::{AppSettings, Clap};
| ^^^^ no Clap
in the root
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. [email protected]")]
| ^^^^
|
= 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
❯
❯