[INFO] fetching crate indigo-structopt 0.3.21... [INFO] checking indigo-structopt-0.3.21 against master#4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 for pr-81174 [INFO] extracting crate indigo-structopt 0.3.21 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate indigo-structopt 0.3.21 on toolchain 4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "read-manifest" "--manifest-path" "Cargo.toml", 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-11/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" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 427207f860dd4019239b257d6447b51ccdba4b34f90908608efd7bed85b509c3 [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" "427207f860dd4019239b257d6447b51ccdba4b34f90908608efd7bed85b509c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "427207f860dd4019239b257d6447b51ccdba4b34f90908608efd7bed85b509c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "427207f860dd4019239b257d6447b51ccdba4b34f90908608efd7bed85b509c3", kill_on_drop: false }` [INFO] [stdout] 427207f860dd4019239b257d6447b51ccdba4b34f90908608efd7bed85b509c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae182211601172ea41ef780addba3e45752fa4bc907916c2aa415298c60d6fb9 [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" "ae182211601172ea41ef780addba3e45752fa4bc907916c2aa415298c60d6fb9", 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 serde v1.0.118 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling trybuild v1.0.38 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking dissimilar v1.0.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [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 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/subcommand_aliases.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[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/subcommand_aliases.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/subcommand_aliases.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[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/true_or_false.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/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: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/true_or_false.rs:13:10 [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[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/flags.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/flags.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | #[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: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] --> examples/basic.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [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] --> 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/basic.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[structopt(short, long, default_value = "42")] [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 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/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/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] --> examples/basic.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [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/subcommand_aliases.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[structopt(setting = AppSettings::InferSubcommands)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/subcommand_aliases.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[structopt(alias = "foobar")] [INFO] [stdout] | ^^^^^^^^^ [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: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/true_or_false.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[structopt(long, parse(try_from_str))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/subcommand_aliases.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[structopt(aliases = &["baz", "fizz"])] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/true_or_false.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[structopt(long, parse(try_from_str = true_or_false))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/true_or_false.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[structopt(long, parse(try_from_str))] [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[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: 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[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/flags.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [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 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: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/flags.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] --> tests/flags.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | #[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/flags.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | #[structopt(short, long, parse(from_occurrences))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/flags.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | #[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/flags.rs:87:11 [INFO] [stdout] | [INFO] [stdout] 87 | #[structopt(short, long, parse(from_flag = parse_from_flag))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flags.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | #[structopt(short, long, parse(from_flag))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/flags.rs:112:14 [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/flags.rs:114:11 [INFO] [stdout] | [INFO] [stdout] 114 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [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/flags.rs:116:11 [INFO] [stdout] | [INFO] [stdout] 116 | #[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/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] --> 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] --> examples/git.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | #[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/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] --> 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 previous error [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] --> 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/privacy.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | #[structopt(subcommand)] [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 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] --> 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/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] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/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/subcommands.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/enum_in_args.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/enum_in_args.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[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: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/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/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/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] --> tests/flatten.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | #[structopt(flatten)] [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 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/flatten.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | #[structopt(short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [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/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 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 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[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/deny_missing_docs.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | 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/deny_missing_docs.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[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/flatten.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | #[structopt(short)] [INFO] [stdout] | ^^^^^^^^^ [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] 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/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/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/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 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/subcommands.rs:267:11 [INFO] [stdout] | [INFO] [stdout] 267 | #[structopt(external_subcommand)] [INFO] [stdout] | ^^^^^^^^^ [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 find attribute `structopt` in this scope [INFO] [stdout] --> examples/enum_in_args.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[structopt(possible_values = &Baz::variants(), case_insensitive = true)] [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 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[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: 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[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] --> 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: 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: 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/subcommands.rs:291:11 [INFO] [stdout] | [INFO] [stdout] 291 | #[structopt(external_subcommand)] [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: 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: aborting due to 3 previous errors [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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/deny_missing_docs.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[structopt(short)] [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/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] --> examples/deny_missing_docs.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/deny_missing_docs.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[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/deny_missing_docs.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | #[structopt(short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/deny_missing_docs.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | #[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/deny_missing_docs.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | #[structopt(short)] [INFO] [stdout] | ^^^^^^^^^ [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[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 `from_clap` found for struct `unique_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 14 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 21 | Opt::from_clap(&Opt::clap().get_matches_from(&["test"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `unique_flag::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/subcommand_aliases.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 9 | enum Opt { [INFO] [stdout] | -------- variant or associated item `from_args` not found here [INFO] [stdout] ... [INFO] [stdout] 19 | 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[E0599]: no function or associated item named `clap` found for struct `unique_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 14 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 21 | Opt::from_clap(&Opt::clap().get_matches_from(&["test"])) [INFO] [stdout] | ^^^^ function or associated item not found in `unique_flag::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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `unique_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 14 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 25 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-a"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `unique_flag::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 11 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] 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 `unique_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 14 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 25 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-a"])) [INFO] [stdout] | ^^^^ function or associated item not found in `unique_flag::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 `unique_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 14 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 29 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--alice"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `unique_flag::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 `unique_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 14 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 29 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--alice"])) [INFO] [stdout] | ^^^^ function or associated item not found in `unique_flag::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 `unique_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 14 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 31 | assert!(Opt::clap().get_matches_from_safe(&["test", "-i"]).is_err()); [INFO] [stdout] | ^^^^ function or associated item not found in `unique_flag::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 `unique_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 14 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 32 | assert!(Opt::clap() [INFO] [stdout] | ^^^^ function or associated item not found in `unique_flag::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 `unique_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 14 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 35 | assert!(Opt::clap() [INFO] [stdout] | ^^^^ function or associated item not found in `unique_flag::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 `unique_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 14 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 38 | assert!(Opt::clap() [INFO] [stdout] | ^^^^ function or associated item not found in `unique_flag::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 `multiple_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 46 | 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"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `multiple_flag::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 `multiple_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 46 | 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"])) [INFO] [stdout] | ^^^^ function or associated item not found in `multiple_flag::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 `multiple_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 46 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 59 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-a"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `multiple_flag::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 `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 `multiple_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 46 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 59 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-a"])) [INFO] [stdout] | ^^^^ function or associated item not found in `multiple_flag::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 `multiple_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 46 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 63 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-a", "-a"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `multiple_flag::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 `multiple_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:63:30 [INFO] [stdout] | [INFO] [stdout] 46 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 63 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-a", "-a"])) [INFO] [stdout] | ^^^^ function or associated item not found in `multiple_flag::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] error[E0599]: no function or associated item named `from_clap` found for struct `multiple_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 46 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 67 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-a", "--alice", "-bb"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `multiple_flag::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 `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: 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 `multiple_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:67:30 [INFO] [stdout] | [INFO] [stdout] 46 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 67 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-a", "--alice", "-bb"])) [INFO] [stdout] | ^^^^ function or associated item not found in `multiple_flag::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] 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 `multiple_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 46 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 71 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-aaa", "--bob"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `multiple_flag::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 `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[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[E0599]: no function or associated item named `from_args` found for struct `Opt` in the current scope [INFO] [stdout] --> examples/enum_in_args.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 16 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_args` not found for this [INFO] [stdout] ... [INFO] [stdout] 23 | 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 `multiple_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:71:30 [INFO] [stdout] | [INFO] [stdout] 46 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 71 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-aaa", "--bob"])) [INFO] [stdout] | ^^^^ function or associated item not found in `multiple_flag::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 `multiple_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 46 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 73 | assert!(Opt::clap().get_matches_from_safe(&["test", "-i"]).is_err()); [INFO] [stdout] | ^^^^ function or associated item not found in `multiple_flag::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 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 `multiple_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 46 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 74 | assert!(Opt::clap() [INFO] [stdout] | ^^^^ function or associated item not found in `multiple_flag::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 `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 `from_iter` found for struct `Opt` in the current scope [INFO] [stdout] --> examples/true_or_false.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 14 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 32 | Opt::from_iter(&["test", "--foo=true", "--bar=false", "true"]), [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_iter_safe` found for struct `Opt` in the current scope [INFO] [stdout] --> examples/true_or_false.rs:40: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] 40 | assert!(Opt::from_iter_safe(&["test", "--foo=beauty"]).is_err()); [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_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_clap` found for struct `non_bool_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 86 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 93 | let falsey = Opt::from_clap(&Opt::clap().get_matches_from(&["test"])); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `non_bool_flags::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 `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 `clap` found for struct `non_bool_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:93:39 [INFO] [stdout] | [INFO] [stdout] 86 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 93 | let falsey = Opt::from_clap(&Opt::clap().get_matches_from(&["test"])); [INFO] [stdout] | ^^^^ function or associated item not found in `non_bool_flags::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 `non_bool_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 86 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 97 | let alice = Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-a"])); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `non_bool_flags::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 `non_bool_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:97:38 [INFO] [stdout] | [INFO] [stdout] 86 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 97 | let alice = Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-a"])); [INFO] [stdout] | ^^^^ function or associated item not found in `non_bool_flags::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 `non_bool_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 86 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 101 | let bob = Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-b"])); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `non_bool_flags::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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `non_bool_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:101:36 [INFO] [stdout] | [INFO] [stdout] 86 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 101 | let bob = Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-b"])); [INFO] [stdout] | ^^^^ function or associated item not found in `non_bool_flags::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] 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 `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_clap` found for struct `non_bool_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 86 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 105 | let both = Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-b", "-a"])); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `non_bool_flags::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 `non_bool_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:105:37 [INFO] [stdout] | [INFO] [stdout] 86 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 105 | let both = Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-b", "-a"])); [INFO] [stdout] | ^^^^ function or associated item not found in `non_bool_flags::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_clap` found for struct `combined_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 113 | 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"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `combined_flags::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 `combined_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:125:30 [INFO] [stdout] | [INFO] [stdout] 113 | 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"])) [INFO] [stdout] | ^^^^ function or associated item not found in `combined_flags::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 `combined_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:132:14 [INFO] [stdout] | [INFO] [stdout] 113 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 132 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-a"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `combined_flags::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 `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[E0599]: no function or associated item named `clap` found for struct `combined_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:132:30 [INFO] [stdout] | [INFO] [stdout] 113 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 132 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-a"])) [INFO] [stdout] | ^^^^ function or associated item not found in `combined_flags::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 `combined_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 113 | 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", "-a"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `combined_flags::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 `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[E0599]: no function or associated item named `clap` found for struct `combined_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:139:30 [INFO] [stdout] | [INFO] [stdout] 113 | 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", "-a"])) [INFO] [stdout] | ^^^^ function or associated item not found in `combined_flags::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 `combined_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:146:14 [INFO] [stdout] | [INFO] [stdout] 113 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 146 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-b"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `combined_flags::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 `combined_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 113 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 146 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-b"])) [INFO] [stdout] | ^^^^ function or associated item not found in `combined_flags::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 `combined_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:153:14 [INFO] [stdout] | [INFO] [stdout] 113 | 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", "--alice", "--bob"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `combined_flags::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 `combined_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:153:30 [INFO] [stdout] | [INFO] [stdout] 113 | 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", "--alice", "--bob"])) [INFO] [stdout] | ^^^^ function or associated item not found in `combined_flags::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_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[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[E0599]: no function or associated item named `from_clap` found for struct `combined_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:160:14 [INFO] [stdout] | [INFO] [stdout] 113 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 160 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-bb", "-a", "-bb"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `combined_flags::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 `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[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[E0599]: no function or associated item named `clap` found for struct `combined_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:160:30 [INFO] [stdout] | [INFO] [stdout] 113 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 160 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-bb", "-a", "-bb"])) [INFO] [stdout] | ^^^^ function or associated item not found in `combined_flags::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] --> 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: aborting due to 54 previous errors [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 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] 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 `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: 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 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 `from_args` found for struct `Opt` in the current scope [INFO] [stdout] --> examples/deny_missing_docs.rs:50:27 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Opt { [INFO] [stdout] | -------------- function or associated item `from_args` not found for this [INFO] [stdout] ... [INFO] [stdout] 50 | println!("{:?}", 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 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ae182211601172ea41ef780addba3e45752fa4bc907916c2aa415298c60d6fb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae182211601172ea41ef780addba3e45752fa4bc907916c2aa415298c60d6fb9", kill_on_drop: false }` [INFO] [stdout] ae182211601172ea41ef780addba3e45752fa4bc907916c2aa415298c60d6fb9