[INFO] fetching crate indigo-structopt 0.3.21... [INFO] checking indigo-structopt-0.3.21 against master#836c31742687ba4e2f857b5b698e1e9e6b67619c for pr-81789 [INFO] extracting crate indigo-structopt 0.3.21 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate indigo-structopt 0.3.21 on toolchain 836c31742687ba4e2f857b5b698e1e9e6b67619c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "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-1/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" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49605e7dfa4ce486173381b0417cba045d8b6dfd1b77abff76b30a78ce56c5cb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "49605e7dfa4ce486173381b0417cba045d8b6dfd1b77abff76b30a78ce56c5cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49605e7dfa4ce486173381b0417cba045d8b6dfd1b77abff76b30a78ce56c5cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49605e7dfa4ce486173381b0417cba045d8b6dfd1b77abff76b30a78ce56c5cb", kill_on_drop: false }` [INFO] [stdout] 49605e7dfa4ce486173381b0417cba045d8b6dfd1b77abff76b30a78ce56c5cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 26938e79ad74e7fc14d3acd28fe41221112b8fa2c59e127d6c09b05ef5a48e64 [INFO] running `Command { std: "docker" "start" "-a" "26938e79ad74e7fc14d3acd28fe41221112b8fa2c59e127d6c09b05ef5a48e64", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling trybuild v1.0.38 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking dissimilar v1.0.2 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [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 quote v1.0.7 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling indigo-structopt-derive v0.4.14 [INFO] [stderr] Checking indigo-structopt v0.3.21 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde v1.0.118 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking serde_json v1.0.60 [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] --> 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] --> 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[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] --> 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 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[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/special_types.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/special_types.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | #[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/special_types.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | #[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[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[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/enum_tuple.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/enum_tuple.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[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] --> examples/enum_tuple.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[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] --> 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[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/custom-string-parsers.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/custom-string-parsers.rs:15:10 [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[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[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[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/env.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/env.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: 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 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] --> 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/rename_all.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | #[structopt(long, short)] [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/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/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] --> 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/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[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: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/env.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[structopt(name = "env")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/enum_tuple.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[structopt(name = "foo")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/enum_tuple.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[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] --> examples/enum_tuple.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[structopt(name = "classify")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/special_types.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | #[structopt(parse(from_str = parser))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/special_types.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | #[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/special_types.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | #[structopt(parse(from_str = parser))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> tests/special_types.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/env.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[structopt(long, env = "API_URL")] [INFO] [stdout] | ^^^^^^^^^ [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: 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] --> 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: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[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] --> tests/custom-string-parsers.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[structopt(short, default_value = "../", parse(from_os_str))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/env.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[structopt(long, env = "RETRIES", default_value = "5")] [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: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/enum_tuple.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [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[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/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 a macro (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 a macro (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] --> 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/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/custom-string-parsers.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[structopt(short, parse(from_os_str))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[structopt(short, parse(from_os_str))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[structopt(short = "q", parse(from_os_str))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/custom-string-parsers.rs:58:10 [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 find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | #[structopt(short, parse(try_from_str = parse_hex))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/custom-string-parsers.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | #[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[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: 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/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] --> 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/subcommands.rs:29:11 [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/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] --> examples/git.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | #[structopt(default_value = "origin")] [INFO] [stdout] | ^^^^^^^^^ [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] --> tests/custom-string-parsers.rs:97:7 [INFO] [stdout] | [INFO] [stdout] 97 | #[structopt(short, parse(from_str = custom_parser_1))] [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 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/subcommands.rs:125:3 [INFO] [stdout] | [INFO] [stdout] 125 | #[structopt(about = "Not shown")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:99:7 [INFO] [stdout] | [INFO] [stdout] 99 | #[structopt(short, parse(try_from_str = custom_parser_2))] [INFO] [stdout] | ^^^^^^^^^ [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 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/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/custom-string-parsers.rs:101:7 [INFO] [stdout] | [INFO] [stdout] 101 | #[structopt(short, parse(from_os_str = custom_parser_3))] [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/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/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/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/subcommands.rs:261:11 [INFO] [stdout] | [INFO] [stdout] 261 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:103:7 [INFO] [stdout] | [INFO] [stdout] 103 | #[structopt(short, parse(try_from_os_str = custom_parser_4))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/custom-string-parsers.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] --> tests/custom-string-parsers.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | #[structopt(short, parse(from_str))] [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/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/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/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 a macro (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/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/regressions.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | #[structopt(external_subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:131:7 [INFO] [stdout] | [INFO] [stdout] 131 | #[structopt(short, parse(try_from_str))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:134:7 [INFO] [stdout] | [INFO] [stdout] 134 | #[structopt(short, parse(from_os_str))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/custom-string-parsers.rs:165:10 [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/custom-string-parsers.rs:167:7 [INFO] [stdout] | [INFO] [stdout] 167 | #[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/custom-string-parsers.rs:170:7 [INFO] [stdout] | [INFO] [stdout] 170 | #[structopt(short, parse(from_occurrences))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 30 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [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/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 find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:173:7 [INFO] [stdout] | [INFO] [stdout] 173 | #[structopt(short, parse(from_occurrences))] [INFO] [stdout] | ^^^^^^^^^ [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] [stderr] error: could not compile `indigo-structopt` [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:176:7 [INFO] [stdout] | [INFO] [stdout] 176 | #[structopt(short = "r", parse(from_occurrences))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:179:7 [INFO] [stdout] | [INFO] [stdout] 179 | #[structopt(short, long, parse(from_occurrences = foo))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/custom-string-parsers.rs:208:14 [INFO] [stdout] | [INFO] [stdout] 208 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:210:11 [INFO] [stdout] | [INFO] [stdout] 210 | #[structopt(short, parse(try_from_str = parse_bool))] [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: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:212:11 [INFO] [stdout] | [INFO] [stdout] 212 | #[structopt( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:218:11 [INFO] [stdout] | [INFO] [stdout] 218 | #[structopt(short, parse(try_from_str = parse_bool))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:220:11 [INFO] [stdout] | [INFO] [stdout] 220 | #[structopt(short, parse(try_from_str = parse_bool))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/custom-string-parsers.rs:296:14 [INFO] [stdout] | [INFO] [stdout] 296 | #[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/custom-string-parsers.rs:298:11 [INFO] [stdout] | [INFO] [stdout] 298 | #[structopt(parse(try_from_str = CString::new))] [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/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 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[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_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 7 previous errors [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/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] 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: 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 `ApplicationArguments` in the current scope [INFO] [stdout] --> examples/enum_tuple.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ApplicationArguments { [INFO] [stdout] | ------------------------------- function or associated item `from_args` not found for this [INFO] [stdout] ... [INFO] [stdout] 24 | let opt = ApplicationArguments::from_args(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `ApplicationArguments` [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 8 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` found for struct `special_types_bool::Opt` in the current scope [INFO] [stdout] --> tests/special_types.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 23 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 31 | Opt::from_iter(&["test", "success"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `special_types_bool::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 `special_types_option::Opt` in the current scope [INFO] [stdout] --> tests/special_types.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 42 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 51 | Opt::from_iter(&["test", "success"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `special_types_option::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 `special_types_vec::Opt` in the current scope [INFO] [stdout] --> tests/special_types.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 62 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 71 | Opt::from_iter(&["test", "success"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `special_types_vec::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; 1 warning emitted [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_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[E0599]: no function or associated item named `from_args` found for struct `Opt` in the current scope [INFO] [stdout] --> examples/env.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 9 | 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[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] 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/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 `from_clap` found for struct `PathOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 16 | struct PathOpt { [INFO] [stdout] | -------------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 47 | PathOpt::from_clap(&PathOpt::clap().get_matches_from(&[ [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `PathOpt` [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 `PathOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:47:38 [INFO] [stdout] | [INFO] [stdout] 16 | struct PathOpt { [INFO] [stdout] | -------------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 47 | PathOpt::from_clap(&PathOpt::clap().get_matches_from(&[ [INFO] [stdout] | ^^^^ function or associated item not found in `PathOpt` [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 6 previous errors [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] 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 `HexOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 59 | struct HexOpt { [INFO] [stdout] | ------------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 69 | 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: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an 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/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[E0599]: no function or associated item named `clap` found for struct `HexOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:69:36 [INFO] [stdout] | [INFO] [stdout] 59 | struct HexOpt { [INFO] [stdout] | ------------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 69 | 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/custom-string-parsers.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 59 | struct HexOpt { [INFO] [stdout] | ------------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 73 | 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/custom-string-parsers.rs:73:36 [INFO] [stdout] | [INFO] [stdout] 59 | struct HexOpt { [INFO] [stdout] | ------------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 73 | 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: 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[E0599]: no function or associated item named `clap` found for struct `HexOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 59 | struct HexOpt { [INFO] [stdout] | ------------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 76 | 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[E0599]: no function or associated item named `from_clap` found for struct `NoOpOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 96 | struct NoOpOpt { [INFO] [stdout] | -------------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 116 | NoOpOpt::from_clap( [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `NoOpOpt` [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_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[E0599]: no function or associated item named `clap` found for struct `NoOpOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 96 | struct NoOpOpt { [INFO] [stdout] | -------------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 117 | &NoOpOpt::clap().get_matches_from(&["test", "-a=?", "-b=?", "-c=?", "-d=?"]) [INFO] [stdout] | ^^^^ function or associated item not found in `NoOpOpt` [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 `DefaultedOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:146:23 [INFO] [stdout] | [INFO] [stdout] 127 | struct DefaultedOpt { [INFO] [stdout] | ------------------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 146 | DefaultedOpt::from_clap(&DefaultedOpt::clap().get_matches_from(&[ [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `DefaultedOpt` [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 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[E0599]: no function or associated item named `clap` found for struct `DefaultedOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:146:48 [INFO] [stdout] | [INFO] [stdout] 127 | struct DefaultedOpt { [INFO] [stdout] | ------------------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 146 | DefaultedOpt::from_clap(&DefaultedOpt::clap().get_matches_from(&[ [INFO] [stdout] | ^^^^ function or associated item not found in `DefaultedOpt` [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 `Occurrences` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:193:22 [INFO] [stdout] | [INFO] [stdout] 166 | struct Occurrences { [INFO] [stdout] | ------------------ function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 193 | Occurrences::from_clap(&Occurrences::clap().get_matches_from(&[ [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Occurrences` [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 `Occurrences` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:193:46 [INFO] [stdout] | [INFO] [stdout] 166 | struct Occurrences { [INFO] [stdout] | ------------------ function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 193 | Occurrences::from_clap(&Occurrences::clap().get_matches_from(&[ [INFO] [stdout] | ^^^^ function or associated item not found in `Occurrences` [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 `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 224 | assert!(Opt::clap().get_matches_from_safe(&["test"]).is_err()); [INFO] [stdout] | ^^^^ function or associated item not found in `test_custom_bool::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 `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:225:18 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 225 | assert!(Opt::clap().get_matches_from_safe(&["test", "-d"]).is_err()); [INFO] [stdout] | ^^^^ function or associated item not found in `test_custom_bool::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 `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:226:18 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 226 | assert!(Opt::clap() [INFO] [stdout] | ^^^^ function or associated item not found in `test_custom_bool::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 `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:236:14 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 236 | Opt::from_iter(&["test", "-dfalse"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_custom_bool::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 `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:245:14 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 245 | Opt::from_iter(&["test", "-dtrue"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_custom_bool::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 `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:254:14 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 254 | Opt::from_iter(&["test", "-dtrue", "-vfalse"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_custom_bool::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 `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:263:14 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 263 | Opt::from_iter(&["test", "-dtrue", "-vtrue"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_custom_bool::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 `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:272:14 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 272 | Opt::from_iter(&["test", "-dtrue", "-tfalse"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_custom_bool::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 `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:281:14 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 281 | Opt::from_iter(&["test", "-dtrue", "-ttrue"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_custom_bool::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 `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:290:14 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 290 | Opt::from_iter(&["test", "-dtrue", "-bfalse", "-btrue", "-bfalse", "-bfalse"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_custom_bool::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 `test_cstring::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:301:18 [INFO] [stdout] | [INFO] [stdout] 297 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 301 | assert!(Opt::clap().get_matches_from_safe(&["test"]).is_err()); [INFO] [stdout] | ^^^^ function or associated item not found in `test_cstring::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 `test_cstring::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:302:21 [INFO] [stdout] | [INFO] [stdout] 297 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 302 | assert_eq!(Opt::from_iter(&["test", "bla"]).c_string.to_bytes(), b"bla"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_cstring::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 `test_cstring::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:303:18 [INFO] [stdout] | [INFO] [stdout] 297 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 303 | assert!(Opt::clap() [INFO] [stdout] | ^^^^ function or associated item not found in `test_cstring::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 57 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" "26938e79ad74e7fc14d3acd28fe41221112b8fa2c59e127d6c09b05ef5a48e64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26938e79ad74e7fc14d3acd28fe41221112b8fa2c59e127d6c09b05ef5a48e64", kill_on_drop: false }` [INFO] [stdout] 26938e79ad74e7fc14d3acd28fe41221112b8fa2c59e127d6c09b05ef5a48e64