[INFO] fetching crate indigo-structopt 0.3.21... [INFO] checking indigo-structopt-0.3.21 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate indigo-structopt 0.3.21 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate indigo-structopt 0.3.21 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate indigo-structopt 0.3.21 [INFO] finished tweaking crates.io crate indigo-structopt 0.3.21 [INFO] tweaked toml for crates.io crate indigo-structopt 0.3.21 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate indigo-structopt 0.3.21 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7540c39ac9205e06178c6ebbf18f09c576d7352f5cdcac09d8203597ae1dc01b [INFO] running `Command { std: "docker" "start" "-a" "7540c39ac9205e06178c6ebbf18f09c576d7352f5cdcac09d8203597ae1dc01b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7540c39ac9205e06178c6ebbf18f09c576d7352f5cdcac09d8203597ae1dc01b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7540c39ac9205e06178c6ebbf18f09c576d7352f5cdcac09d8203597ae1dc01b", kill_on_drop: false }` [INFO] [stdout] 7540c39ac9205e06178c6ebbf18f09c576d7352f5cdcac09d8203597ae1dc01b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffc32b7a6eee92acd1f91141f28a5f4d657c3bf188ddb4ca8b8f559a878c3286 [INFO] running `Command { std: "docker" "start" "-a" "ffc32b7a6eee92acd1f91141f28a5f4d657c3bf188ddb4ca8b8f559a878c3286", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling trybuild v1.0.38 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Checking dissimilar v1.0.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling indigo-structopt-derive v0.4.14 [INFO] [stderr] Checking indigo-structopt v0.3.21 (/opt/rustwide/workdir) [INFO] [stderr] Checking toml v0.5.8 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `structopt` [INFO] [stdout] --> examples/no_version.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::clap::AppSettings; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `structopt` [INFO] [stdout] --> examples/gen_completions.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use structopt::clap::Shell; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `structopt` [INFO] [stdout] --> tests/issues.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | use structopt::{clap::ArgGroup, StructOpt}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/issues.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `structopt` [INFO] [stdout] --> tests/issues.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | use structopt::{clap::AppSettings, StructOpt}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/issues.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | use structopt::{clap::ArgGroup, StructOpt}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/issues.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | use structopt::{clap::AppSettings, StructOpt}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/issues.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/negative_flag.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/negative_flag.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/basic.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/basic.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/deny-warnings.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/deny-warnings.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, PartialEq, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/raw_idents.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/raw_idents.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/gen_completions.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/gen_completions.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/skip.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `structopt` [INFO] [stdout] --> tests/non_literal_attributes.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use structopt::clap::AppSettings; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/skip.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/issues.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[structopt(group = ArgGroup::with_name("verb").required(true).multiple(true))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/rename_all.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/rename_all.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/negative_flag.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[structopt(long = "no-verbose", parse(from_flag = std::ops::Not::not))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/issues.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | #[structopt(long, group = "verb")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/issues.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | #[structopt(long, group = "verb")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/issues.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/arguments.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use structopt::clap; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/arguments.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/arguments.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/arguments.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/arguments.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/issues.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | #[structopt(flatten)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/issues.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/raw_idents.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/deny-warnings.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | #[structopt(parse(try_from_str = try_str))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/deny-warnings.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, PartialEq, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/issues.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | #[structopt(setting = AppSettings::InferSubcommands)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/issues.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/deny-warnings.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | #[structopt(parse(try_from_str = try_str))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/issues.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | #[structopt(setting = AppSettings::InferSubcommands)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/issues.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/keyvalue.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/keyvalue.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/no_version.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/issues.rs:80:7 [INFO] [stdout] | [INFO] [stdout] 80 | #[structopt(version = my_version())] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/gen_completions.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Shell` [INFO] [stdout] --> examples/gen_completions.rs:22:57 [INFO] [stdout] | [INFO] [stdout] 22 | Opt::clap().gen_completions(env!("CARGO_PKG_NAME"), Shell::Bash, "target"); [INFO] [stdout] | ^^^^^ use of undeclared type `Shell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/basic.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[structopt(name = "basic")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/issues.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/issues.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/issues.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | #[derive(Debug, PartialEq, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/raw_bool_literal.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/raw_bool_literal.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/issues.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/basic.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/issues.rs:103:32 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Debug, PartialEq, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/issues.rs:107:11 [INFO] [stdout] | [INFO] [stdout] 107 | #[structopt(external_subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/no_version.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/basic.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[structopt(short, long, parse(from_occurrences))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/rename_all.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[structopt(name = "rename_all", rename_all = "screaming_snake_case")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/basic.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[structopt(short, long, default_value = "42")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/rename_all.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | #[structopt(long, short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/basic.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[structopt(short, long, parse(from_os_str))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/rename_all.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | #[structopt(rename_all = "pascal_case")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/basic.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[structopt(short = "c", long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/arguments.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | #[structopt(default_value = "42")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/arguments.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/rename_all.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | #[structopt(rename_all = "snake_case", long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/basic.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/arguments.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/basic.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[structopt(name = "FILE", parse(from_os_str))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/rename_all.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/rename_all.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | #[structopt(flatten)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/rename_all.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/rename_all.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/rename_all.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | #[structopt(long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/skip.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[structopt(long, short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/non_literal_attributes.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/keyvalue.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[structopt(short = "D", parse(try_from_str = parse_key_val), number_of_values = 1)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/non_literal_attributes.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(StructOpt, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/skip.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[structopt(skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/skip.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[structopt(skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/raw_bool_literal.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[structopt(no_version, name = "raw_bool")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/skip.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[structopt(skip = Kind::A)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/raw_bool_literal.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | #[structopt(raw(false))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/skip.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[structopt(skip = vec![1, 2, 3])] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `indigo-structopt` due to 25 previous errors [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/raw_bool_literal.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | #[structopt(raw(true))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/required_if.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/required_if.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, StructOpt, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/skip.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[structopt(skip = "cake")] // &str implements Into [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `structopt`, `super::StructOpt`, `super::StructOpt` [INFO] [stdout] --> tests/privacy.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] ... [INFO] [stdout] 12 | use super::StructOpt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | use super::StructOpt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/privacy.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/privacy.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/author_version_about.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/author_version_about.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/non_literal_attributes.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[structopt(global_settings = &[AppSettings::ColoredHelp])] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/non_literal_attributes.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[structopt( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/after_help.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/after_help.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/non_literal_attributes.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[structopt(short = "l", long = "level", aliases = &["set-level", "lvl"])] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/non_literal_attributes.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[structopt(long("values"))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/author_version_about.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[structopt(name = "foo", no_version)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/privacy.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/author_version_about.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/non_literal_attributes.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[structopt(name = "FILE", requires_if("FILE", "values"))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/non_literal_attributes.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/required_if.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[structopt(short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/author_version_about.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[structopt(author, about)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/author_version_about.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/non_literal_attributes.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | #[structopt(short = "n", parse(try_from_str = parse_hex))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/required_if.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[structopt(name = "FILE", required_if("out-type", "file"))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/we_need_syn_full.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/we_need_syn_full.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, StructOpt, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/author_version_about.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[structopt(version = VERSION)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/author_version_about.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/no_version.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[structopt( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/author_version_about.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[structopt(no_version)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/example.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/example.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/after_help.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[structopt(after_help = "Beware `-d`, dragons be here")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/after_help.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[structopt(short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/we_need_syn_full.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | #[structopt( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/example.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[structopt(name = "example")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/example.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/argument_naming.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/argument_naming.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/argument_naming.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/argument_naming.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/example.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[structopt(short, long, default_value = "42")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/example.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[structopt(long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/subcommands.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/subcommands.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/example.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | #[structopt(long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/example.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | #[structopt(skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/nested-subcommands.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/nested-subcommands.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/subcommands.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | #[structopt(long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | #[structopt(long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/argument_naming.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/subcommands.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | #[structopt(long = "foo")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/argument_naming.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/subcommands.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | #[structopt(name = "foo", long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/subcommands.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/argument_naming.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/subcommands.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/subcommands.rs:101:10 [INFO] [stdout] | [INFO] [stdout] 101 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/subcommands.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | #[structopt(long, name = "foo")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/subcommands.rs:125:3 [INFO] [stdout] | [INFO] [stdout] 125 | #[structopt(about = "Not shown")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/argument_naming.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/subcommands.rs:130:10 [INFO] [stdout] | [INFO] [stdout] 130 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/subcommands.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/subcommands.rs:172:14 [INFO] [stdout] | [INFO] [stdout] 172 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/subcommands.rs:177:14 [INFO] [stdout] | [INFO] [stdout] 177 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/subcommands.rs:195:14 [INFO] [stdout] | [INFO] [stdout] 195 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[structopt(short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/argument_naming.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/subcommands.rs:197:11 [INFO] [stdout] | [INFO] [stdout] 197 | #[structopt(flatten)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/subcommands.rs:200:14 [INFO] [stdout] | [INFO] [stdout] 200 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/nested-subcommands.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/subcommands.rs:217:32 [INFO] [stdout] | [INFO] [stdout] 217 | #[derive(Debug, PartialEq, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:105:11 [INFO] [stdout] | [INFO] [stdout] 105 | #[structopt(short = "o")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/argument_naming.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/nested-subcommands.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[structopt(short, long, parse(from_occurrences))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/subcommands.rs:219:11 [INFO] [stdout] | [INFO] [stdout] 219 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/subcommands.rs:223:32 [INFO] [stdout] | [INFO] [stdout] 223 | #[derive(Debug, PartialEq, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/nested-subcommands.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/subcommands.rs:227:11 [INFO] [stdout] | [INFO] [stdout] 227 | #[structopt(external_subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/nested-subcommands.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/subcommands.rs:259:32 [INFO] [stdout] | [INFO] [stdout] 259 | #[derive(Debug, PartialEq, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:119:11 [INFO] [stdout] | [INFO] [stdout] 119 | #[structopt(name = "option", short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/nested-subcommands.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/argument_naming.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/subcommands.rs:261:11 [INFO] [stdout] | [INFO] [stdout] 261 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/subcommands.rs:265:32 [INFO] [stdout] | [INFO] [stdout] 265 | #[derive(Debug, PartialEq, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/nested-subcommands.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:133:11 [INFO] [stdout] | [INFO] [stdout] 133 | #[structopt(short, name = "option")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/argument_naming.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/subcommands.rs:267:11 [INFO] [stdout] | [INFO] [stdout] 267 | #[structopt(external_subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/subcommands.rs:283:32 [INFO] [stdout] | [INFO] [stdout] 283 | #[derive(Debug, PartialEq, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/nested-subcommands.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[structopt(short, long, parse(from_occurrences))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:147:11 [INFO] [stdout] | [INFO] [stdout] 147 | #[structopt(rename_all = "screaming_snake", long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/argument_naming.rs:159:14 [INFO] [stdout] | [INFO] [stdout] 159 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/subcommands.rs:285:11 [INFO] [stdout] | [INFO] [stdout] 285 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/subcommands.rs:289:32 [INFO] [stdout] | [INFO] [stdout] 289 | #[derive(Debug, PartialEq, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/nested-subcommands.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/nested-subcommands.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/subcommands.rs:291:11 [INFO] [stdout] | [INFO] [stdout] 291 | #[structopt(external_subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:161:11 [INFO] [stdout] | [INFO] [stdout] 161 | #[structopt(rename_all = "screaming_snake", short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/argument_naming.rs:173:14 [INFO] [stdout] | [INFO] [stdout] 173 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/nested-subcommands.rs:106:7 [INFO] [stdout] | [INFO] [stdout] 106 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:176:11 [INFO] [stdout] | [INFO] [stdout] 176 | #[structopt(rename_all = "verbatim", long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/argument_naming.rs:188:14 [INFO] [stdout] | [INFO] [stdout] 188 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/nested-subcommands.rs:108:7 [INFO] [stdout] | [INFO] [stdout] 108 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/nested-subcommands.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:190:11 [INFO] [stdout] | [INFO] [stdout] 190 | #[structopt(rename_all = "verbatim", short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/argument_naming.rs:202:14 [INFO] [stdout] | [INFO] [stdout] 202 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/nested-subcommands.rs:116:11 [INFO] [stdout] | [INFO] [stdout] 116 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/nested-subcommands.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 122 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/nested-subcommands.rs:144:10 [INFO] [stdout] | [INFO] [stdout] 144 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:203:7 [INFO] [stdout] | [INFO] [stdout] 203 | #[structopt(rename_all = "screaming_snake")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/nested-subcommands.rs:147:11 [INFO] [stdout] | [INFO] [stdout] 147 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:205:11 [INFO] [stdout] | [INFO] [stdout] 205 | #[structopt(long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/argument_naming.rs:217:14 [INFO] [stdout] | [INFO] [stdout] 217 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:218:7 [INFO] [stdout] | [INFO] [stdout] 218 | #[structopt(rename_all = "screaming_snake")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/nested-subcommands.rs:151:11 [INFO] [stdout] | [INFO] [stdout] 151 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/nested-subcommands.rs:155:10 [INFO] [stdout] | [INFO] [stdout] 155 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/nested-subcommands.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:220:11 [INFO] [stdout] | [INFO] [stdout] 220 | #[structopt(flatten)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/argument_naming.rs:224:14 [INFO] [stdout] | [INFO] [stdout] 224 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:226:11 [INFO] [stdout] | [INFO] [stdout] 226 | #[structopt(long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/argument_naming.rs:240:14 [INFO] [stdout] | [INFO] [stdout] 240 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:241:7 [INFO] [stdout] | [INFO] [stdout] 241 | #[structopt(rename_all = "screaming_snake")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:243:11 [INFO] [stdout] | [INFO] [stdout] 243 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/argument_naming.rs:247:14 [INFO] [stdout] | [INFO] [stdout] 247 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/flatten.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/flatten.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/flatten.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:250:15 [INFO] [stdout] | [INFO] [stdout] 250 | #[structopt(long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/argument_naming.rs:265:14 [INFO] [stdout] | [INFO] [stdout] 265 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 30 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:266:7 [INFO] [stdout] | [INFO] [stdout] 266 | #[structopt(rename_all = "screaming_snake")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:270:15 [INFO] [stdout] | [INFO] [stdout] 270 | #[structopt(long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/argument_naming.rs:288:14 [INFO] [stdout] | [INFO] [stdout] 288 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:289:7 [INFO] [stdout] | [INFO] [stdout] 289 | #[structopt(rename_all = "screaming_snake")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:291:11 [INFO] [stdout] | [INFO] [stdout] 291 | #[structopt(rename_all = "kebab_case")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:293:15 [INFO] [stdout] | [INFO] [stdout] 293 | #[structopt(long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/doc-comments-help.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/doc-comments-help.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:297:15 [INFO] [stdout] | [INFO] [stdout] 297 | #[structopt(rename_all = "kebab_case", long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/argument_naming.rs:315:14 [INFO] [stdout] | [INFO] [stdout] 315 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/git.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:317:11 [INFO] [stdout] | [INFO] [stdout] 317 | #[structopt(rename_all = "lower", long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/argument_naming.rs:329:14 [INFO] [stdout] | [INFO] [stdout] 329 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/git.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:331:11 [INFO] [stdout] | [INFO] [stdout] 331 | #[structopt(rename_all = "upper", long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_args` found for struct `Opt` in the current scope [INFO] [stdout] --> examples/negative_flag.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 7 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_args` not found for this [INFO] [stdout] ... [INFO] [stdout] 13 | let cmd = Opt::from_args(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/git.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[structopt(name = "git")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/doc-comments-help.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/doc-comments-help.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/git.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | #[structopt(long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/doc-comments-help.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[structopt(name = "lorem-ipsum", about = "Dolor sit amet")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/git.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | #[structopt(long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/doc-comments-help.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | #[structopt(short, long, help = "DO NOT PASS A BAR UNDER ANY CIRCUMSTANCES")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/doc-comments-help.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/git.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | #[structopt(default_value = "origin")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/doc-comments-help.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | #[structopt(name = "lorem-ipsum", no_version)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/doc-comments-help.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/git.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[structopt(help = "add files to the staging area")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/git.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | #[structopt(short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/doc-comments-help.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | #[structopt(name = "lorem-ipsum", about = "Dolor sit amet")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flatten.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[structopt(flatten)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/flatten.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/flatten.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/git.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | #[structopt(short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/doc-comments-help.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | #[structopt(long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/doc-comments-help.rs:73:11 [INFO] [stdout] | [INFO] [stdout] 73 | #[structopt(long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_args` found for struct `Opt` in the current scope [INFO] [stdout] --> examples/keyvalue.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 21 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_args` not found for this [INFO] [stdout] ... [INFO] [stdout] 34 | let opt = Opt::from_args(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/doc-comments-help.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/doc-comments-help.rs:92:7 [INFO] [stdout] | [INFO] [stdout] 92 | #[structopt(name = "lorem-ipsum", about = "Dolor sit amet")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/doc-comments-help.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/doc-comments-help.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flatten.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | #[structopt(flatten)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/doc-comments-help.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | #[structopt(help = "foo")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/doc-comments-help.rs:136:14 [INFO] [stdout] | [INFO] [stdout] 136 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/doc-comments-help.rs:137:7 [INFO] [stdout] | [INFO] [stdout] 137 | #[structopt(verbatim_doc_comment)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/doc-comments-help.rs:139:11 [INFO] [stdout] | [INFO] [stdout] 139 | #[structopt(long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/doc-comments-help.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/doc-comments-help.rs:169:11 [INFO] [stdout] | [INFO] [stdout] 169 | #[structopt(long, verbatim_doc_comment)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flatten.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | #[structopt(flatten)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/flatten.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/flatten.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/doc-comments-help.rs:172:11 [INFO] [stdout] | [INFO] [stdout] 172 | #[structopt(long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flatten.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | #[structopt(short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/raw_bool_literal.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 15 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 27 | Opt::from_iter(&["test", "one", "--", "--help"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/explicit_name_no_renaming.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/explicit_name_no_renaming.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flatten.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | #[structopt(flatten)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/flatten.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flatten.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | #[structopt(short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flatten.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | #[structopt(flatten)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/flatten.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 101 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/flatten.rs:106:14 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/flatten.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_args` found for struct `Opt` in the current scope [INFO] [stdout] --> examples/no_version.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt {} [INFO] [stdout] | ---------- function or associated item `from_args` not found for this [INFO] [stdout] ... [INFO] [stdout] 15 | let opt = Opt::from_args(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/flatten.rs:116:14 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flatten.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 118 | #[structopt(flatten)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/flatten.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flatten.rs:139:11 [INFO] [stdout] | [INFO] [stdout] 139 | #[structopt(flatten)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/flatten.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flatten.rs:145:11 [INFO] [stdout] | [INFO] [stdout] 145 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/flatten.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/flatten.rs:159:14 [INFO] [stdout] | [INFO] [stdout] 159 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/flatten.rs:165:14 [INFO] [stdout] | [INFO] [stdout] 165 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flatten.rs:169:11 [INFO] [stdout] | [INFO] [stdout] 169 | #[structopt(flatten)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/regressions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `Opt` in the current scope [INFO] [stdout] --> examples/skip.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Opt { [INFO] [stdout] | -------------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 36 | Opt::from_iter(&["test", "-n", "10"]), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `structopt` [INFO] [stdout] --> tests/regressions.rs:33:40 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, PartialEq, structopt::StructOpt)] [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] ... [INFO] [stdout] 41 | / Command! {GitCmd, [ [INFO] [stdout] 42 | | #[structopt(external_subcommand)] [INFO] [stdout] 43 | | Ext(Vec) [INFO] [stdout] 44 | | ]} [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `Command` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/regressions.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | m!(bool); [INFO] [stdout] | --------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/raw_idents.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 6 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 15 | Opt::from_iter(&["test", "--type", "long", "-t", "short"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_args` found for enum `Opt` in the current scope [INFO] [stdout] --> examples/rename_all.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 29 | enum Opt { [INFO] [stdout] | -------- variant or associated item `from_args` not found here [INFO] [stdout] ... [INFO] [stdout] 76 | let opt = Opt::from_args(); [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/explicit_name_no_renaming.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | #[structopt(short = ".", long = ".foo")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/explicit_name_no_renaming.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/explicit_name_no_renaming.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | #[structopt(name = ".options")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_args` found for struct `Opt` in the current scope [INFO] [stdout] --> examples/after_help.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 10 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_args` not found for this [INFO] [stdout] ... [INFO] [stdout] 17 | let opt = Opt::from_args(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/regressions.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | #[structopt(long = "x")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | m!(bool); [INFO] [stdout] | --------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/regressions.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | #[structopt(external_subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/rename_all_env.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/rename_all_env.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, PartialEq, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_args` found for struct `Opt` in the current scope [INFO] [stdout] --> examples/example.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 8 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_args` not found for this [INFO] [stdout] ... [INFO] [stdout] 52 | let opt = Opt::from_args(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_args` found for struct `Opt` in the current scope [INFO] [stdout] --> examples/basic.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 9 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_args` not found for this [INFO] [stdout] ... [INFO] [stdout] 46 | let opt = Opt::from_args(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> examples/gen_completions.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 14 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 22 | Opt::clap().gen_completions(env!("CARGO_PKG_NAME"), Shell::Bash, "target"); [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `required_argument::Opt` in the current scope [INFO] [stdout] --> tests/arguments.rs:18:38 [INFO] [stdout] | [INFO] [stdout] 15 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 18 | assert_eq!(Opt { arg: 42 }, Opt::from_iter(&["test", "42"])); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `required_argument::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_args` found for struct `Opt` in the current scope [INFO] [stdout] --> examples/gen_completions.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 14 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_args` not found for this [INFO] [stdout] ... [INFO] [stdout] 24 | let opt = Opt::from_args(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/default_value.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `required_argument::Opt` in the current scope [INFO] [stdout] --> tests/arguments.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 15 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 19 | assert!(Opt::clap().get_matches_from_safe(&["test"]).is_err()); [INFO] [stdout] | ^^^^ function or associated item not found in `required_argument::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/default_value.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `required_argument::Opt` in the current scope [INFO] [stdout] --> tests/arguments.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 15 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 20 | assert!(Opt::clap() [INFO] [stdout] | ^^^^ function or associated item not found in `required_argument::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `optional_argument::Opt` in the current scope [INFO] [stdout] --> tests/arguments.rs:31:44 [INFO] [stdout] | [INFO] [stdout] 28 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 31 | assert_eq!(Opt { arg: Some(42) }, Opt::from_iter(&["test", "42"])); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `optional_argument::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `optional_argument::Opt` in the current scope [INFO] [stdout] --> tests/arguments.rs:32:40 [INFO] [stdout] | [INFO] [stdout] 28 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 32 | assert_eq!(Opt { arg: None }, Opt::from_iter(&["test"])); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `optional_argument::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `optional_argument::Opt` in the current scope [INFO] [stdout] --> tests/arguments.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 28 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 33 | assert!(Opt::clap() [INFO] [stdout] | ^^^^ function or associated item not found in `optional_argument::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `argument_with_default::Opt` in the current scope [INFO] [stdout] --> tests/arguments.rs:45:38 [INFO] [stdout] | [INFO] [stdout] 41 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 45 | assert_eq!(Opt { arg: 24 }, Opt::from_iter(&["test", "24"])); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `argument_with_default::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `argument_with_default::Opt` in the current scope [INFO] [stdout] --> tests/arguments.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 41 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 46 | assert_eq!(Opt { arg: 42 }, Opt::from_iter(&["test"])); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `argument_with_default::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `argument_with_default::Opt` in the current scope [INFO] [stdout] --> tests/arguments.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 41 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 47 | assert!(Opt::clap() [INFO] [stdout] | ^^^^ function or associated item not found in `argument_with_default::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `arguments::Opt` in the current scope [INFO] [stdout] --> tests/arguments.rs:58:44 [INFO] [stdout] | [INFO] [stdout] 55 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 58 | assert_eq!(Opt { arg: vec![24] }, Opt::from_iter(&["test", "24"])); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `arguments::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `arguments::Opt` in the current scope [INFO] [stdout] --> tests/arguments.rs:59:42 [INFO] [stdout] | [INFO] [stdout] 55 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 59 | assert_eq!(Opt { arg: vec![] }, Opt::from_iter(&["test"])); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `arguments::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/rename_all_env.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[structopt(rename_all_env = "kebab")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `arguments::Opt` in the current scope [INFO] [stdout] --> tests/arguments.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 55 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 62 | Opt::from_iter(&["test", "24", "42"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `arguments::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/rename_all_env.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | #[structopt(env)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/rename_all_env.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug, PartialEq, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/rename_all_env.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | #[structopt(env)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/rename_all_env.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, PartialEq, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter_safe` found for struct `arguments_safe::Opt` in the current scope [INFO] [stdout] --> tests/arguments.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 69 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter_safe` not found for this [INFO] [stdout] ... [INFO] [stdout] 74 | Opt::from_iter_safe(&["test", "24"]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `arguments_safe::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_iter_safe`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/rename_all_env.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[structopt(rename_all_env = "kebab")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_args` found for struct `Opt` in the current scope [INFO] [stdout] --> examples/required_if.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 5 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_args` not found for this [INFO] [stdout] ... [INFO] [stdout] 16 | let opt = Opt::from_args(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter_safe` found for struct `arguments_safe::Opt` in the current scope [INFO] [stdout] --> tests/arguments.rs:76:42 [INFO] [stdout] | [INFO] [stdout] 69 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter_safe` not found for this [INFO] [stdout] ... [INFO] [stdout] 76 | assert_eq!(Opt { arg: vec![] }, Opt::from_iter_safe(&["test"]).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `arguments_safe::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_iter_safe`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/rename_all_env.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | #[structopt(env)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/default_value.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | #[structopt(default_value)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter_safe` found for struct `arguments_safe::Opt` in the current scope [INFO] [stdout] --> tests/arguments.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 69 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter_safe` not found for this [INFO] [stdout] ... [INFO] [stdout] 79 | Opt::from_iter_safe(&["test", "24", "42"]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `arguments_safe::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_iter_safe`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/rename_all_env.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | #[structopt(rename_all_env = "pascal", env)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter_safe` found for struct `arguments_safe::Opt` in the current scope [INFO] [stdout] --> tests/arguments.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 69 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter_safe` not found for this [INFO] [stdout] ... [INFO] [stdout] 84 | Opt::from_iter_safe(&["test", "NOPE"]).err().unwrap().kind [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `arguments_safe::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_iter_safe`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/skip.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/skip.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `warning_never_struct::Opt` in the current scope [INFO] [stdout] --> tests/deny-warnings.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 20 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 28 | Opt::from_iter(&["test", "foo"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `warning_never_struct::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_iter` found for enum `warning_never_enum::Opt` in the current scope [INFO] [stdout] --> tests/deny-warnings.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 35 | enum Opt { [INFO] [stdout] | -------- variant or associated item `from_iter` not found here [INFO] [stdout] ... [INFO] [stdout] 45 | Opt::from_iter(&["test", "foo", "foo"]) [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `warning_never_enum::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 39 | let result = Opt::clap().get_matches_from_safe(&["test"]); [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/skip.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | #[structopt(short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `Opt2` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 28 | struct Opt2 { [INFO] [stdout] | ----------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 48 | Opt2::from_clap(&Opt2::clap().get_matches_from(&["test"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/skip.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | #[structopt(skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt2` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:48:32 [INFO] [stdout] | [INFO] [stdout] 28 | struct Opt2 { [INFO] [stdout] | ----------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 48 | Opt2::from_clap(&Opt2::clap().get_matches_from(&["test"])) [INFO] [stdout] | ^^^^ function or associated item not found in `Opt2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/skip.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/skip.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | #[structopt(short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/skip.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | #[structopt(skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 60 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-vvv", "fetch"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/skip.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | #[structopt(skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 60 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-vvv", "fetch"])) [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/skip.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | #[structopt(skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/skip.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 68 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--force", "fetch"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/skip.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | #[structopt(long, short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 68 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--force", "fetch"])) [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/skip.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | #[structopt(skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/skip.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | #[structopt(skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 80 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "add"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/skip.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 80 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "add"])) [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/skip.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[structopt(skip, help = "internal_stuff")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 88 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-vv", "add"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/skip.rs:102:11 [INFO] [stdout] | [INFO] [stdout] 102 | #[structopt(skip, long_help = "internal_stuff\ndo not touch")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:88:30 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 88 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-vv", "add"])) [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/skip.rs:108:11 [INFO] [stdout] | [INFO] [stdout] 108 | #[structopt(skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/skip.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | #[structopt(short, parse(try_from_str))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 94 | let result = Opt::clap().get_matches_from_safe(&["test", "badcmd"]); [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/skip.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 128 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 96 | let result = Opt::clap().get_matches_from_safe(&["test", "add", "--verbose"]); [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/skip.rs:130:11 [INFO] [stdout] | [INFO] [stdout] 130 | #[structopt(long, short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 98 | let result = Opt::clap().get_matches_from_safe(&["test", "--badopt", "add"]); [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/skip.rs:133:11 [INFO] [stdout] | [INFO] [stdout] 133 | #[structopt(skip = "key")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 100 | let result = Opt::clap().get_matches_from_safe(&["test", "add", "--badopt"]); [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/skip.rs:136:11 [INFO] [stdout] | [INFO] [stdout] 136 | #[structopt(skip = vec![1, 2, 3])] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/non_literal_attributes.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 17 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 46 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-l", "1"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/non_literal_attributes.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 17 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 46 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-l", "1"])) [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `Opt3` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 105 | struct Opt3 { [INFO] [stdout] | ----------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 138 | Opt3::from_clap( [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt3` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt3` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 105 | struct Opt3 { [INFO] [stdout] | ----------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 139 | &Opt3::clap().get_matches_from(&["test", "--all", "foo", "lib.rs", "quux"]) [INFO] [stdout] | ^^^^ function or associated item not found in `Opt3` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/non_literal_attributes.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 17 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 55 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--level", "1"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/non_literal_attributes.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 17 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 55 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--level", "1"])) [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/non_literal_attributes.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 17 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 64 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--set-level", "1"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_args` found for enum `Opt` in the current scope [INFO] [stdout] --> examples/git.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 11 | enum Opt { [INFO] [stdout] | -------- variant or associated item `from_args` not found here [INFO] [stdout] ... [INFO] [stdout] 32 | let matches = Opt::from_args(); [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/non_literal_attributes.rs:64:30 [INFO] [stdout] | [INFO] [stdout] 17 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 64 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--set-level", "1"])) [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/non_literal_attributes.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 17 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 73 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--lvl", "1"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/non_literal_attributes.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 17 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 73 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--lvl", "1"])) [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/non_literal_attributes.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 17 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 86 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-l", "1", "file"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/non_literal_attributes.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 17 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 86 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-l", "1", "file"])) [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `clap` found for enum `SubSubCmdWithOption` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:170:30 [INFO] [stdout] | [INFO] [stdout] 145 | enum SubSubCmdWithOption { [INFO] [stdout] | ------------------------ variant or associated item `clap` not found here [INFO] [stdout] ... [INFO] [stdout] 170 | SubSubCmdWithOption::clap() [INFO] [stdout] | ^^^^ variant or associated item not found in `SubSubCmdWithOption` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_clap` found for enum `SubSubCmdWithOption` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:173:43 [INFO] [stdout] | [INFO] [stdout] 145 | enum SubSubCmdWithOption { [INFO] [stdout] | ------------------------ variant or associated item `from_clap` not found here [INFO] [stdout] ... [INFO] [stdout] 173 | .map(|m| SubSubCmdWithOption::from_clap(&m)) [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `SubSubCmdWithOption` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/non_literal_attributes.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 17 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 95 | Opt::from_clap( [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/non_literal_attributes.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 17 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 96 | &Opt::clap().get_matches_from(&["test", "-l", "1", "--values", "1", "--", "FILE"]), [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/non_literal_attributes.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 17 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 103 | let result = Opt::clap().get_matches_from_safe(&["test", "-l", "1", "--", "FILE"]); [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/non_literal_attributes.rs:116:14 [INFO] [stdout] | [INFO] [stdout] 17 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 116 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-l", "1", "--x=1"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 40 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/non_literal_attributes.rs:116:30 [INFO] [stdout] | [INFO] [stdout] 17 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 116 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-l", "1", "--x=1"])) [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/non_literal_attributes.rs:118:23 [INFO] [stdout] | [INFO] [stdout] 17 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 118 | let result = Opt::clap().get_matches_from_safe(&["test", "-l", "1", "--x", "1"]); [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `HexOpt` in the current scope [INFO] [stdout] --> tests/non_literal_attributes.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 127 | struct HexOpt { [INFO] [stdout] | ------------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 136 | HexOpt::from_clap(&HexOpt::clap().get_matches_from(&["test", "-n", "5"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `HexOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `HexOpt` in the current scope [INFO] [stdout] --> tests/non_literal_attributes.rs:136:36 [INFO] [stdout] | [INFO] [stdout] 127 | struct HexOpt { [INFO] [stdout] | ------------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 136 | HexOpt::from_clap(&HexOpt::clap().get_matches_from(&["test", "-n", "5"])) [INFO] [stdout] | ^^^^ function or associated item not found in `HexOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `HexOpt` in the current scope [INFO] [stdout] --> tests/non_literal_attributes.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 127 | struct HexOpt { [INFO] [stdout] | ------------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 140 | HexOpt::from_clap(&HexOpt::clap().get_matches_from(&["test", "-n", "abcdef"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `HexOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `HexOpt` in the current scope [INFO] [stdout] --> tests/non_literal_attributes.rs:140:36 [INFO] [stdout] | [INFO] [stdout] 127 | struct HexOpt { [INFO] [stdout] | ------------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 140 | HexOpt::from_clap(&HexOpt::clap().get_matches_from(&["test", "-n", "abcdef"])) [INFO] [stdout] | ^^^^ function or associated item not found in `HexOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `HexOpt` in the current scope [INFO] [stdout] --> tests/non_literal_attributes.rs:143:23 [INFO] [stdout] | [INFO] [stdout] 127 | struct HexOpt { [INFO] [stdout] | ------------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 143 | let err = HexOpt::clap() [INFO] [stdout] | ^^^^ function or associated item not found in `HexOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_clap` found for enum `test_single_word_enum_variant_is_default_renamed_into_kebab_case::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 6 | enum Opt { [INFO] [stdout] | -------- variant or associated item `from_clap` not found here [INFO] [stdout] ... [INFO] [stdout] 12 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "command", "0"])) [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `test_single_word_enum_variant_is_default_renamed_into_kebab_case::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `clap` found for enum `test_single_word_enum_variant_is_default_renamed_into_kebab_case::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 6 | enum Opt { [INFO] [stdout] | -------- variant or associated item `clap` not found here [INFO] [stdout] ... [INFO] [stdout] 12 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "command", "0"])) [INFO] [stdout] | ^^^^ variant or associated item not found in `test_single_word_enum_variant_is_default_renamed_into_kebab_case::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_clap` found for enum `test_multi_word_enum_variant_is_renamed::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 19 | enum Opt { [INFO] [stdout] | -------- variant or associated item `from_clap` not found here [INFO] [stdout] ... [INFO] [stdout] 25 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "first-command", "0"])) [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `test_multi_word_enum_variant_is_renamed::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `clap` found for enum `test_multi_word_enum_variant_is_renamed::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 19 | enum Opt { [INFO] [stdout] | -------- variant or associated item `clap` not found here [INFO] [stdout] ... [INFO] [stdout] 25 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "first-command", "0"])) [INFO] [stdout] | ^^^^ variant or associated item not found in `test_multi_word_enum_variant_is_renamed::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `test_standalone_long_generates_kebab_case::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 33 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 40 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--foo-option"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_standalone_long_generates_kebab_case::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_standalone_long_generates_kebab_case::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 33 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 40 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--foo-option"])) [INFO] [stdout] | ^^^^ function or associated item not found in `test_standalone_long_generates_kebab_case::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `test_custom_long_overwrites_default_name::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 47 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 54 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--foo"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_custom_long_overwrites_default_name::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_custom_long_overwrites_default_name::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 47 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 54 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--foo"])) [INFO] [stdout] | ^^^^ function or associated item not found in `test_custom_long_overwrites_default_name::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `test_standalone_long_uses_previous_defined_custom_name::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 61 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 68 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--foo"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_standalone_long_uses_previous_defined_custom_name::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_standalone_long_uses_previous_defined_custom_name::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 61 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 68 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--foo"])) [INFO] [stdout] | ^^^^ function or associated item not found in `test_standalone_long_uses_previous_defined_custom_name::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `test_standalone_long_ignores_afterwards_defined_custom_name::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 75 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 82 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--foo-option"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_standalone_long_ignores_afterwards_defined_custom_name::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_standalone_long_ignores_afterwards_defined_custom_name::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 75 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 82 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--foo-option"])) [INFO] [stdout] | ^^^^ function or associated item not found in `test_standalone_long_ignores_afterwards_defined_custom_name::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `test_standalone_short_generates_kebab_case::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 90 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 97 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-f"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_standalone_short_generates_kebab_case::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_standalone_short_generates_kebab_case::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 90 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 97 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-f"])) [INFO] [stdout] | ^^^^ function or associated item not found in `test_standalone_short_generates_kebab_case::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `test_custom_short_overwrites_default_name::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 104 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 111 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-o"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_custom_short_overwrites_default_name::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_custom_short_overwrites_default_name::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:111:30 [INFO] [stdout] | [INFO] [stdout] 104 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 111 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-o"])) [INFO] [stdout] | ^^^^ function or associated item not found in `test_custom_short_overwrites_default_name::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `test_standalone_short_uses_previous_defined_custom_name::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 118 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 125 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-o"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_standalone_short_uses_previous_defined_custom_name::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_standalone_short_uses_previous_defined_custom_name::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:125:30 [INFO] [stdout] | [INFO] [stdout] 118 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 125 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-o"])) [INFO] [stdout] | ^^^^ function or associated item not found in `test_standalone_short_uses_previous_defined_custom_name::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `test_standalone_short_ignores_afterwards_defined_custom_name::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 132 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 139 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-f"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_standalone_short_ignores_afterwards_defined_custom_name::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_standalone_short_ignores_afterwards_defined_custom_name::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:139:30 [INFO] [stdout] | [INFO] [stdout] 132 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 139 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-f"])) [INFO] [stdout] | ^^^^ function or associated item not found in `test_standalone_short_ignores_afterwards_defined_custom_name::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `test_standalone_long_uses_previous_defined_casing::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:153:14 [INFO] [stdout] | [INFO] [stdout] 146 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 153 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--FOO_OPTION"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_standalone_long_uses_previous_defined_casing::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_standalone_long_uses_previous_defined_casing::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:153:30 [INFO] [stdout] | [INFO] [stdout] 146 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 153 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--FOO_OPTION"])) [INFO] [stdout] | ^^^^ function or associated item not found in `test_standalone_long_uses_previous_defined_casing::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `test_standalone_short_uses_previous_defined_casing::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:167:14 [INFO] [stdout] | [INFO] [stdout] 160 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 167 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-F"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_standalone_short_uses_previous_defined_casing::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_standalone_short_uses_previous_defined_casing::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:167:30 [INFO] [stdout] | [INFO] [stdout] 160 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 167 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-F"])) [INFO] [stdout] | ^^^^ function or associated item not found in `test_standalone_short_uses_previous_defined_casing::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `test_standalone_long_works_with_verbatim_casing::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:182:14 [INFO] [stdout] | [INFO] [stdout] 175 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 182 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--_fOO_oPtiON"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_standalone_long_works_with_verbatim_casing::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_standalone_long_works_with_verbatim_casing::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:182:30 [INFO] [stdout] | [INFO] [stdout] 175 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 182 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--_fOO_oPtiON"])) [INFO] [stdout] | ^^^^ function or associated item not found in `test_standalone_long_works_with_verbatim_casing::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `test_standalone_short_works_with_verbatim_casing::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:196:14 [INFO] [stdout] | [INFO] [stdout] 189 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 196 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-_"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_standalone_short_works_with_verbatim_casing::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_standalone_short_works_with_verbatim_casing::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:196:30 [INFO] [stdout] | [INFO] [stdout] 189 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 196 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-_"])) [INFO] [stdout] | ^^^^ function or associated item not found in `test_standalone_short_works_with_verbatim_casing::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `test_rename_all_is_propagated_from_struct_to_fields::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:211:14 [INFO] [stdout] | [INFO] [stdout] 204 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 211 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--FOO"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_rename_all_is_propagated_from_struct_to_fields::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_rename_all_is_propagated_from_struct_to_fields::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:211:30 [INFO] [stdout] | [INFO] [stdout] 204 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 211 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--FOO"])) [INFO] [stdout] | ^^^^ function or associated item not found in `test_rename_all_is_propagated_from_struct_to_fields::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `test_rename_all_is_not_propagated_from_struct_into_flattened::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:234:14 [INFO] [stdout] | [INFO] [stdout] 219 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 234 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--foo"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_rename_all_is_not_propagated_from_struct_into_flattened::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_rename_all_is_not_propagated_from_struct_into_flattened::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:234:30 [INFO] [stdout] | [INFO] [stdout] 219 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 234 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--foo"])) [INFO] [stdout] | ^^^^ function or associated item not found in `test_rename_all_is_not_propagated_from_struct_into_flattened::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `test_rename_all_is_not_propagated_from_struct_into_subcommand::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:259:14 [INFO] [stdout] | [INFO] [stdout] 242 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 259 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "command", "--foo"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_rename_all_is_not_propagated_from_struct_into_subcommand::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_rename_all_is_not_propagated_from_struct_into_subcommand::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:259:30 [INFO] [stdout] | [INFO] [stdout] 242 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 259 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "command", "--foo"])) [INFO] [stdout] | ^^^^ function or associated item not found in `test_rename_all_is_not_propagated_from_struct_into_subcommand::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_clap` found for enum `test_rename_all_is_propagated_from_enum_to_variants_and_their_fields::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:277:14 [INFO] [stdout] | [INFO] [stdout] 267 | enum Opt { [INFO] [stdout] | -------- variant or associated item `from_clap` not found here [INFO] [stdout] ... [INFO] [stdout] 277 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "FIRST_VARIANT"])) [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `test_rename_all_is_propagated_from_enum_to_variants_and_their_fields::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `clap` found for enum `test_rename_all_is_propagated_from_enum_to_variants_and_their_fields::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:277:30 [INFO] [stdout] | [INFO] [stdout] 267 | enum Opt { [INFO] [stdout] | -------- variant or associated item `clap` not found here [INFO] [stdout] ... [INFO] [stdout] 277 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "FIRST_VARIANT"])) [INFO] [stdout] | ^^^^ variant or associated item not found in `test_rename_all_is_propagated_from_enum_to_variants_and_their_fields::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_clap` found for enum `test_rename_all_is_propagated_from_enum_to_variants_and_their_fields::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:282:14 [INFO] [stdout] | [INFO] [stdout] 267 | enum Opt { [INFO] [stdout] | -------- variant or associated item `from_clap` not found here [INFO] [stdout] ... [INFO] [stdout] 282 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "SECOND_VARIANT", "--FOO"])) [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `test_rename_all_is_propagated_from_enum_to_variants_and_their_fields::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `clap` found for enum `test_rename_all_is_propagated_from_enum_to_variants_and_their_fields::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:282:30 [INFO] [stdout] | [INFO] [stdout] 267 | enum Opt { [INFO] [stdout] | -------- variant or associated item `clap` not found here [INFO] [stdout] ... [INFO] [stdout] 282 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "SECOND_VARIANT", "--FOO"])) [INFO] [stdout] | ^^^^ variant or associated item not found in `test_rename_all_is_propagated_from_enum_to_variants_and_their_fields::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_clap` found for enum `test_rename_all_is_propagation_can_be_overridden::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:304:14 [INFO] [stdout] | [INFO] [stdout] 290 | enum Opt { [INFO] [stdout] | -------- variant or associated item `from_clap` not found here [INFO] [stdout] ... [INFO] [stdout] 304 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "first-variant", "--foo-option"])) [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `test_rename_all_is_propagation_can_be_overridden::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `clap` found for enum `test_rename_all_is_propagation_can_be_overridden::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:304:30 [INFO] [stdout] | [INFO] [stdout] 290 | enum Opt { [INFO] [stdout] | -------- variant or associated item `clap` not found here [INFO] [stdout] ... [INFO] [stdout] 304 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "first-variant", "--foo-option"])) [INFO] [stdout] | ^^^^ variant or associated item not found in `test_rename_all_is_propagation_can_be_overridden::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_clap` found for enum `test_rename_all_is_propagation_can_be_overridden::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:309:14 [INFO] [stdout] | [INFO] [stdout] 290 | enum Opt { [INFO] [stdout] | -------- variant or associated item `from_clap` not found here [INFO] [stdout] ... [INFO] [stdout] 309 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "SECOND_VARIANT", "--foo-option"])) [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `test_rename_all_is_propagation_can_be_overridden::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `clap` found for enum `test_rename_all_is_propagation_can_be_overridden::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:309:30 [INFO] [stdout] | [INFO] [stdout] 290 | enum Opt { [INFO] [stdout] | -------- variant or associated item `clap` not found here [INFO] [stdout] ... [INFO] [stdout] 309 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "SECOND_VARIANT", "--foo-option"])) [INFO] [stdout] | ^^^^ variant or associated item not found in `test_rename_all_is_propagation_can_be_overridden::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `test_lower_is_renamed::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:323:14 [INFO] [stdout] | [INFO] [stdout] 316 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 323 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--foooption"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_lower_is_renamed::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_lower_is_renamed::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:323:30 [INFO] [stdout] | [INFO] [stdout] 316 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 323 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--foooption"])) [INFO] [stdout] | ^^^^ function or associated item not found in `test_lower_is_renamed::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `test_upper_is_renamed::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:337:14 [INFO] [stdout] | [INFO] [stdout] 330 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 337 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--FOOOPTION"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_upper_is_renamed::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_upper_is_renamed::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:337:30 [INFO] [stdout] | [INFO] [stdout] 330 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 337 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--FOOOPTION"])) [INFO] [stdout] | ^^^^ function or associated item not found in `test_upper_is_renamed::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 98 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter_safe` found for struct `skip_1::Opt` in the current scope [INFO] [stdout] --> tests/skip.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 14 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter_safe` not found for this [INFO] [stdout] ... [INFO] [stdout] 21 | assert!(Opt::from_iter_safe(&["test", "-x", "10", "20"]).is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `skip_1::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_iter_safe`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `skip_1::Opt` in the current scope [INFO] [stdout] --> tests/skip.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 14 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 23 | Opt::from_iter(&["test", "-x", "10"]), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `skip_1::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `skip_2::Opt` in the current scope [INFO] [stdout] --> tests/skip.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 34 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 48 | Opt::from_iter(&["test", "-x", "10", "20", "30"]), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `skip_2::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `skip_enum::Opt` in the current scope [INFO] [stdout] --> tests/skip.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct Opt { [INFO] [stdout] | -------------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 86 | Opt::from_iter(&["test", "-n", "10"]), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `skip_enum::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `skip_help_doc_comments::Opt` in the current scope [INFO] [stdout] --> tests/skip.rs:116:14 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct Opt { [INFO] [stdout] | -------------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 116 | Opt::from_iter(&["test", "-n", "10"]), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `skip_help_doc_comments::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `skip_val::Opt` in the current scope [INFO] [stdout] --> tests/skip.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct Opt { [INFO] [stdout] | -------------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 141 | Opt::from_iter(&["test", "-n", "10"]), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `skip_val::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ffc32b7a6eee92acd1f91141f28a5f4d657c3bf188ddb4ca8b8f559a878c3286", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffc32b7a6eee92acd1f91141f28a5f4d657c3bf188ddb4ca8b8f559a878c3286", kill_on_drop: false }` [INFO] [stdout] ffc32b7a6eee92acd1f91141f28a5f4d657c3bf188ddb4ca8b8f559a878c3286