[INFO] fetching crate indigo-structopt 0.3.21... [INFO] testing indigo-structopt-0.3.21 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate indigo-structopt 0.3.21 into /workspace/builds/worker-2-tc2/source [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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate indigo-structopt 0.3.21 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate indigo-structopt 0.3.21 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc3cb0a45317fc822a0f9ee5d4ef6199a3ff4fc25cae0987dd4cba56eb5c6315 [INFO] running `Command { std: "docker" "start" "-a" "dc3cb0a45317fc822a0f9ee5d4ef6199a3ff4fc25cae0987dd4cba56eb5c6315", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc3cb0a45317fc822a0f9ee5d4ef6199a3ff4fc25cae0987dd4cba56eb5c6315", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc3cb0a45317fc822a0f9ee5d4ef6199a3ff4fc25cae0987dd4cba56eb5c6315", kill_on_drop: false }` [INFO] [stdout] dc3cb0a45317fc822a0f9ee5d4ef6199a3ff4fc25cae0987dd4cba56eb5c6315 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee2d82de1e288b5bf53283d40755ed6766c4893e8e86dac5443325b78e05fb13 [INFO] running `Command { std: "docker" "start" "-a" "ee2d82de1e288b5bf53283d40755ed6766c4893e8e86dac5443325b78e05fb13", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling indigo-structopt-derive v0.4.14 [INFO] [stderr] Compiling indigo-structopt v0.3.21 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.72s [INFO] running `Command { std: "docker" "inspect" "ee2d82de1e288b5bf53283d40755ed6766c4893e8e86dac5443325b78e05fb13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee2d82de1e288b5bf53283d40755ed6766c4893e8e86dac5443325b78e05fb13", kill_on_drop: false }` [INFO] [stdout] ee2d82de1e288b5bf53283d40755ed6766c4893e8e86dac5443325b78e05fb13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 142e4deed7452b8c5a00866cc654f1d3fd892a2d096b268e5816ce454d729e0a [INFO] running `Command { std: "docker" "start" "-a" "142e4deed7452b8c5a00866cc654f1d3fd892a2d096b268e5816ce454d729e0a", kill_on_drop: false }` [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] Compiling itoa v0.4.6 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling dissimilar v1.0.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling indigo-structopt v0.3.21 (/opt/rustwide/workdir) [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 unresolved module or unlinked crate `structopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `structopt`, use `cargo add structopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/raw_bool_literal.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `structopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `structopt`, use `cargo add structopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/argument_naming.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `structopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `structopt`, use `cargo add structopt` to add it to your `Cargo.toml` [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: 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 find attribute `structopt` in this scope [INFO] [stdout] --> tests/raw_bool_literal.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[structopt(no_version, name = "raw_bool")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> 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/raw_bool_literal.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | #[structopt(raw(false))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/raw_bool_literal.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | #[structopt(raw(true))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | #[structopt(long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `indigo-structopt` (test "raw_bool_literal") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | #[structopt(long = "foo")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot 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 find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | #[structopt(name = "foo", long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flags.rs:114:11 [INFO] [stdout] | [INFO] [stdout] 114 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [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] --> tests/argument_naming.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | #[structopt(long, name = "foo")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[structopt(short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:105:11 [INFO] [stdout] | [INFO] [stdout] 105 | #[structopt(short = "o")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:119:11 [INFO] [stdout] | [INFO] [stdout] 119 | #[structopt(name = "option", short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:133:11 [INFO] [stdout] | [INFO] [stdout] 133 | #[structopt(short, name = "option")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:147:11 [INFO] [stdout] | [INFO] [stdout] 147 | #[structopt(rename_all = "screaming_snake", long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:161:11 [INFO] [stdout] | [INFO] [stdout] 161 | #[structopt(rename_all = "screaming_snake", short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:176:11 [INFO] [stdout] | [INFO] [stdout] 176 | #[structopt(rename_all = "verbatim", long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:190:11 [INFO] [stdout] | [INFO] [stdout] 190 | #[structopt(rename_all = "verbatim", short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:203:7 [INFO] [stdout] | [INFO] [stdout] 203 | #[structopt(rename_all = "screaming_snake")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:205:11 [INFO] [stdout] | [INFO] [stdout] 205 | #[structopt(long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:218:7 [INFO] [stdout] | [INFO] [stdout] 218 | #[structopt(rename_all = "screaming_snake")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:220:11 [INFO] [stdout] | [INFO] [stdout] 220 | #[structopt(flatten)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:226:11 [INFO] [stdout] | [INFO] [stdout] 226 | #[structopt(long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:241:7 [INFO] [stdout] | [INFO] [stdout] 241 | #[structopt(rename_all = "screaming_snake")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:243:11 [INFO] [stdout] | [INFO] [stdout] 243 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:250:15 [INFO] [stdout] | [INFO] [stdout] 250 | #[structopt(long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:266:7 [INFO] [stdout] | [INFO] [stdout] 266 | #[structopt(rename_all = "screaming_snake")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:270:15 [INFO] [stdout] | [INFO] [stdout] 270 | #[structopt(long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:289:7 [INFO] [stdout] | [INFO] [stdout] 289 | #[structopt(rename_all = "screaming_snake")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:291:11 [INFO] [stdout] | [INFO] [stdout] 291 | #[structopt(rename_all = "kebab_case")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:293:15 [INFO] [stdout] | [INFO] [stdout] 293 | #[structopt(long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:297:15 [INFO] [stdout] | [INFO] [stdout] 297 | #[structopt(rename_all = "kebab_case", long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:317:11 [INFO] [stdout] | [INFO] [stdout] 317 | #[structopt(rename_all = "lower", long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/argument_naming.rs:331:11 [INFO] [stdout] | [INFO] [stdout] 331 | #[structopt(rename_all = "upper", long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/after_help.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `structopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `structopt`, use `cargo add structopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/raw_bool_literal.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 15 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 27 | Opt::from_iter(&["test", "one", "--", "--help"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/skip.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `structopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `structopt`, use `cargo add structopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/skip.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[structopt(long, short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/skip.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[structopt(skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/skip.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[structopt(skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/skip.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[structopt(skip = Kind::A)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/skip.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[structopt(skip = vec![1, 2, 3])] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/skip.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[structopt(skip = "cake")] // &str implements Into [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/after_help.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[structopt(after_help = "Beware `-d`, dragons be here")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/example.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `structopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `structopt`, use `cargo add structopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/after_help.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[structopt(short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/doc_comments.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `structopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `structopt`, use `cargo add structopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `Opt` in the current scope [INFO] [stdout] --> examples/skip.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Opt { [INFO] [stdout] | -------------- function or associated item `from_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 36 | Opt::from_iter(&["test", "-n", "10"]), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/nested-subcommands.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `structopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `structopt`, use `cargo add structopt` to add it to your `Cargo.toml` [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 struct [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 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 struct [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[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 struct [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] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_clap` found for enum `test_single_word_enum_variant_is_default_renamed_into_kebab_case::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 6 | enum Opt { [INFO] [stdout] | -------- variant or associated item `from_clap` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 12 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "command", "0"])) [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `test_single_word_enum_variant_is_default_renamed_into_kebab_case::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no 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 struct [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: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/example.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[structopt(name = "example")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/example.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/doc_comments.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/doc_comments.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [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 struct [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 struct [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: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/example.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[structopt(short, long, default_value = "42")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/example.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[structopt(long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `indigo-structopt` (example "skip") due to 8 previous errors [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/doc_comments.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/doc_comments.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[structopt( [INFO] [stdout] | ^^^^^^^^^ [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 struct [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 variant or associated item named `clap` found for enum `test_single_word_enum_variant_is_default_renamed_into_kebab_case::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 6 | enum Opt { [INFO] [stdout] | -------- variant or associated item `clap` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 12 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "command", "0"])) [INFO] [stdout] | ^^^^ variant or associated item not found in `test_single_word_enum_variant_is_default_renamed_into_kebab_case::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/example.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | #[structopt(long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/doc_comments.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [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 struct [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: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/doc_comments.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 56 | #[structopt()] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/example.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | #[structopt(skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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 struct [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 variant or associated item named `from_clap` found for enum `test_multi_word_enum_variant_is_renamed::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 19 | enum Opt { [INFO] [stdout] | -------- variant or associated item `from_clap` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 25 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "first-command", "0"])) [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `test_multi_word_enum_variant_is_renamed::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_args` found for struct `Opt` in the current scope [INFO] [stdout] --> examples/after_help.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 10 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_args` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 17 | let opt = Opt::from_args(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/nested-subcommands.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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 struct [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 variant or associated item named `clap` found for enum `test_multi_word_enum_variant_is_renamed::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 19 | enum Opt { [INFO] [stdout] | -------- variant or associated item `clap` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 25 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "first-command", "0"])) [INFO] [stdout] | ^^^^ variant or associated item not found in `test_multi_word_enum_variant_is_renamed::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `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 struct [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 struct [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: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/nested-subcommands.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[structopt(short, long, parse(from_occurrences))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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 struct [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] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/nested-subcommands.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [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 struct [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 struct [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 `from_args` found for struct `Opt` in the current scope [INFO] [stdout] --> examples/example.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 8 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_args` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 52 | let opt = Opt::from_args(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/nested-subcommands.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `test_standalone_long_generates_kebab_case::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 33 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 40 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--foo-option"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_standalone_long_generates_kebab_case::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_args` found for struct `Opt` in the current scope [INFO] [stdout] --> examples/doc_comments.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 9 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_args` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 72 | 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:63:30 [INFO] [stdout] | [INFO] [stdout] 46 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [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[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 struct [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: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/nested-subcommands.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[structopt(short, long, parse(from_occurrences))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_standalone_long_generates_kebab_case::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 33 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 40 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--foo-option"])) [INFO] [stdout] | ^^^^ function or associated item not found in `test_standalone_long_generates_kebab_case::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `indigo-structopt` (example "after_help") due to 4 previous errors [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 struct [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: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/nested-subcommands.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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 struct [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 `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 struct [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: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/nested-subcommands.rs:106:7 [INFO] [stdout] | [INFO] [stdout] 106 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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 struct [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[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 struct [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_clap` found for struct `test_custom_long_overwrites_default_name::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 47 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 54 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--foo"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_custom_long_overwrites_default_name::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/nested-subcommands.rs:108:7 [INFO] [stdout] | [INFO] [stdout] 108 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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 struct [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 `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 struct [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 `clap` found for struct `test_custom_long_overwrites_default_name::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 47 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 54 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--foo"])) [INFO] [stdout] | ^^^^ function or associated item not found in `test_custom_long_overwrites_default_name::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/nested-subcommands.rs:116:11 [INFO] [stdout] | [INFO] [stdout] 116 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/nested-subcommands.rs:147:11 [INFO] [stdout] | [INFO] [stdout] 147 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/nested-subcommands.rs:151:11 [INFO] [stdout] | [INFO] [stdout] 151 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [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 struct [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 struct [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 struct [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[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 struct [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] error[E0599]: no function or associated item named `from_clap` found for struct `test_standalone_long_uses_previous_defined_custom_name::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 61 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 68 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--foo"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_standalone_long_uses_previous_defined_custom_name::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `indigo-structopt` (example "doc_comments") due to 8 previous errors [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 struct [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] [stderr] error: could not compile `indigo-structopt` (example "example") due to 8 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_standalone_long_uses_previous_defined_custom_name::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 61 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 68 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--foo"])) [INFO] [stdout] | ^^^^ function or associated item not found in `test_standalone_long_uses_previous_defined_custom_name::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `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 struct [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_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 struct [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 struct [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 `test_standalone_long_ignores_afterwards_defined_custom_name::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 75 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 82 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--foo-option"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_standalone_long_ignores_afterwards_defined_custom_name::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `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 struct [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 `clap` found for struct `test_standalone_long_ignores_afterwards_defined_custom_name::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 75 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 82 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--foo-option"])) [INFO] [stdout] | ^^^^ function or associated item not found in `test_standalone_long_ignores_afterwards_defined_custom_name::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `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 struct [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 struct [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 `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 struct [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 struct [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 struct [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 `test_standalone_short_generates_kebab_case::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 90 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 97 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-f"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_standalone_short_generates_kebab_case::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `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 struct [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 `test_standalone_short_generates_kebab_case::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 90 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 97 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-f"])) [INFO] [stdout] | ^^^^ function or associated item not found in `test_standalone_short_generates_kebab_case::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `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 struct [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_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 struct [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 `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 struct [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 `from_clap` found for struct `test_custom_short_overwrites_default_name::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 104 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 111 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-o"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_custom_short_overwrites_default_name::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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 `test_custom_short_overwrites_default_name::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:111:30 [INFO] [stdout] | [INFO] [stdout] 104 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 111 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-o"])) [INFO] [stdout] | ^^^^ function or associated item not found in `test_custom_short_overwrites_default_name::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `test_standalone_short_uses_previous_defined_custom_name::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 118 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 125 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-o"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_standalone_short_uses_previous_defined_custom_name::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_standalone_short_uses_previous_defined_custom_name::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:125:30 [INFO] [stdout] | [INFO] [stdout] 118 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 125 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-o"])) [INFO] [stdout] | ^^^^ function or associated item not found in `test_standalone_short_uses_previous_defined_custom_name::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 39 | let result = Opt::clap().get_matches_from_safe(&["test"]); [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `test_standalone_short_ignores_afterwards_defined_custom_name::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 132 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 139 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-f"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_standalone_short_ignores_afterwards_defined_custom_name::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `Opt2` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 28 | struct Opt2 { [INFO] [stdout] | ----------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 48 | Opt2::from_clap(&Opt2::clap().get_matches_from(&["test"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt2` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:48:32 [INFO] [stdout] | [INFO] [stdout] 28 | struct Opt2 { [INFO] [stdout] | ----------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 48 | Opt2::from_clap(&Opt2::clap().get_matches_from(&["test"])) [INFO] [stdout] | ^^^^ function or associated item not found in `Opt2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_standalone_short_ignores_afterwards_defined_custom_name::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:139:30 [INFO] [stdout] | [INFO] [stdout] 132 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 139 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-f"])) [INFO] [stdout] | ^^^^ function or associated item not found in `test_standalone_short_ignores_afterwards_defined_custom_name::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `test_standalone_long_uses_previous_defined_casing::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:153:14 [INFO] [stdout] | [INFO] [stdout] 146 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 153 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--FOO_OPTION"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_standalone_long_uses_previous_defined_casing::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 60 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-vvv", "fetch"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_standalone_long_uses_previous_defined_casing::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:153:30 [INFO] [stdout] | [INFO] [stdout] 146 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 153 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--FOO_OPTION"])) [INFO] [stdout] | ^^^^ function or associated item not found in `test_standalone_long_uses_previous_defined_casing::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `indigo-structopt` (test "flags") due to 50 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 60 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-vvv", "fetch"])) [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 68 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--force", "fetch"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `test_standalone_short_uses_previous_defined_casing::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:167:14 [INFO] [stdout] | [INFO] [stdout] 160 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 167 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-F"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_standalone_short_uses_previous_defined_casing::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_standalone_short_uses_previous_defined_casing::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:167:30 [INFO] [stdout] | [INFO] [stdout] 160 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 167 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-F"])) [INFO] [stdout] | ^^^^ function or associated item not found in `test_standalone_short_uses_previous_defined_casing::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 68 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--force", "fetch"])) [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `test_standalone_long_works_with_verbatim_casing::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:182:14 [INFO] [stdout] | [INFO] [stdout] 175 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 182 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--_fOO_oPtiON"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_standalone_long_works_with_verbatim_casing::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 80 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "add"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_standalone_long_works_with_verbatim_casing::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:182:30 [INFO] [stdout] | [INFO] [stdout] 175 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 182 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--_fOO_oPtiON"])) [INFO] [stdout] | ^^^^ function or associated item not found in `test_standalone_long_works_with_verbatim_casing::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 80 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "add"])) [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 88 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-vv", "add"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `test_standalone_short_works_with_verbatim_casing::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:196:14 [INFO] [stdout] | [INFO] [stdout] 189 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 196 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-_"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_standalone_short_works_with_verbatim_casing::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:88:30 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 88 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-vv", "add"])) [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_standalone_short_works_with_verbatim_casing::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:196:30 [INFO] [stdout] | [INFO] [stdout] 189 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 196 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-_"])) [INFO] [stdout] | ^^^^ function or associated item not found in `test_standalone_short_works_with_verbatim_casing::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 94 | let result = Opt::clap().get_matches_from_safe(&["test", "badcmd"]); [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `test_rename_all_is_propagated_from_struct_to_fields::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:211:14 [INFO] [stdout] | [INFO] [stdout] 204 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 211 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--FOO"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_rename_all_is_propagated_from_struct_to_fields::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 96 | let result = Opt::clap().get_matches_from_safe(&["test", "add", "--verbose"]); [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 98 | let result = Opt::clap().get_matches_from_safe(&["test", "--badopt", "add"]); [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 100 | let result = Opt::clap().get_matches_from_safe(&["test", "add", "--badopt"]); [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_rename_all_is_propagated_from_struct_to_fields::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:211:30 [INFO] [stdout] | [INFO] [stdout] 204 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 211 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--FOO"])) [INFO] [stdout] | ^^^^ function or associated item not found in `test_rename_all_is_propagated_from_struct_to_fields::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `test_rename_all_is_not_propagated_from_struct_into_flattened::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:234:14 [INFO] [stdout] | [INFO] [stdout] 219 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 234 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--foo"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_rename_all_is_not_propagated_from_struct_into_flattened::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_rename_all_is_not_propagated_from_struct_into_flattened::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:234:30 [INFO] [stdout] | [INFO] [stdout] 219 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 234 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--foo"])) [INFO] [stdout] | ^^^^ function or associated item not found in `test_rename_all_is_not_propagated_from_struct_into_flattened::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `Opt3` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 105 | struct Opt3 { [INFO] [stdout] | ----------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 138 | Opt3::from_clap( [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt3` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt3` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 105 | struct Opt3 { [INFO] [stdout] | ----------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 139 | &Opt3::clap().get_matches_from(&["test", "--all", "foo", "lib.rs", "quux"]) [INFO] [stdout] | ^^^^ function or associated item not found in `Opt3` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `test_rename_all_is_not_propagated_from_struct_into_subcommand::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:259:14 [INFO] [stdout] | [INFO] [stdout] 242 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 259 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "command", "--foo"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_rename_all_is_not_propagated_from_struct_into_subcommand::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_rename_all_is_not_propagated_from_struct_into_subcommand::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:259:30 [INFO] [stdout] | [INFO] [stdout] 242 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 259 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "command", "--foo"])) [INFO] [stdout] | ^^^^ function or associated item not found in `test_rename_all_is_not_propagated_from_struct_into_subcommand::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `clap` found for enum `SubSubCmdWithOption` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:170:30 [INFO] [stdout] | [INFO] [stdout] 145 | enum SubSubCmdWithOption { [INFO] [stdout] | ------------------------ variant or associated item `clap` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 170 | SubSubCmdWithOption::clap() [INFO] [stdout] | ^^^^ variant or associated item not found in `SubSubCmdWithOption` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_clap` found for enum `SubSubCmdWithOption` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:173:43 [INFO] [stdout] | [INFO] [stdout] 145 | enum SubSubCmdWithOption { [INFO] [stdout] | ------------------------ variant or associated item `from_clap` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 173 | .map(|m| SubSubCmdWithOption::from_clap(&m)) [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `SubSubCmdWithOption` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_clap` found for enum `test_rename_all_is_propagated_from_enum_to_variants_and_their_fields::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:277:14 [INFO] [stdout] | [INFO] [stdout] 267 | enum Opt { [INFO] [stdout] | -------- variant or associated item `from_clap` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 277 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "FIRST_VARIANT"])) [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `test_rename_all_is_propagated_from_enum_to_variants_and_their_fields::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `clap` found for enum `test_rename_all_is_propagated_from_enum_to_variants_and_their_fields::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:277:30 [INFO] [stdout] | [INFO] [stdout] 267 | enum Opt { [INFO] [stdout] | -------- variant or associated item `clap` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 277 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "FIRST_VARIANT"])) [INFO] [stdout] | ^^^^ variant or associated item not found in `test_rename_all_is_propagated_from_enum_to_variants_and_their_fields::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_clap` found for enum `test_rename_all_is_propagated_from_enum_to_variants_and_their_fields::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:282:14 [INFO] [stdout] | [INFO] [stdout] 267 | enum Opt { [INFO] [stdout] | -------- variant or associated item `from_clap` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 282 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "SECOND_VARIANT", "--FOO"])) [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `test_rename_all_is_propagated_from_enum_to_variants_and_their_fields::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `clap` found for enum `test_rename_all_is_propagated_from_enum_to_variants_and_their_fields::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:282:30 [INFO] [stdout] | [INFO] [stdout] 267 | enum Opt { [INFO] [stdout] | -------- variant or associated item `clap` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 282 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "SECOND_VARIANT", "--FOO"])) [INFO] [stdout] | ^^^^ variant or associated item not found in `test_rename_all_is_propagated_from_enum_to_variants_and_their_fields::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_clap` found for enum `test_rename_all_is_propagation_can_be_overridden::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:304:14 [INFO] [stdout] | [INFO] [stdout] 290 | enum Opt { [INFO] [stdout] | -------- variant or associated item `from_clap` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 304 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "first-variant", "--foo-option"])) [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `test_rename_all_is_propagation_can_be_overridden::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `clap` found for enum `test_rename_all_is_propagation_can_be_overridden::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:304:30 [INFO] [stdout] | [INFO] [stdout] 290 | enum Opt { [INFO] [stdout] | -------- variant or associated item `clap` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 304 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "first-variant", "--foo-option"])) [INFO] [stdout] | ^^^^ variant or associated item not found in `test_rename_all_is_propagation_can_be_overridden::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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: could not compile `indigo-structopt` (test "nested-subcommands") due to 31 previous errors [INFO] [stdout] error[E0599]: no variant or associated item named `from_clap` found for enum `test_rename_all_is_propagation_can_be_overridden::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:309:14 [INFO] [stdout] | [INFO] [stdout] 290 | enum Opt { [INFO] [stdout] | -------- variant or associated item `from_clap` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 309 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "SECOND_VARIANT", "--foo-option"])) [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `test_rename_all_is_propagation_can_be_overridden::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `clap` found for enum `test_rename_all_is_propagation_can_be_overridden::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:309:30 [INFO] [stdout] | [INFO] [stdout] 290 | enum Opt { [INFO] [stdout] | -------- variant or associated item `clap` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 309 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "SECOND_VARIANT", "--foo-option"])) [INFO] [stdout] | ^^^^ variant or associated item not found in `test_rename_all_is_propagation_can_be_overridden::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `test_lower_is_renamed::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:323:14 [INFO] [stdout] | [INFO] [stdout] 316 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 323 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--foooption"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_lower_is_renamed::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_lower_is_renamed::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:323:30 [INFO] [stdout] | [INFO] [stdout] 316 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 323 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--foooption"])) [INFO] [stdout] | ^^^^ function or associated item not found in `test_lower_is_renamed::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `test_upper_is_renamed::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:337:14 [INFO] [stdout] | [INFO] [stdout] 330 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 337 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--FOOOPTION"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_upper_is_renamed::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_upper_is_renamed::Opt` in the current scope [INFO] [stdout] --> tests/argument_naming.rs:337:30 [INFO] [stdout] | [INFO] [stdout] 330 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 337 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--FOOOPTION"])) [INFO] [stdout] | ^^^^ function or associated item not found in `test_upper_is_renamed::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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: could not compile `indigo-structopt` (test "argument_naming") due to 75 previous errors [INFO] running `Command { std: "docker" "inspect" "142e4deed7452b8c5a00866cc654f1d3fd892a2d096b268e5816ce454d729e0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "142e4deed7452b8c5a00866cc654f1d3fd892a2d096b268e5816ce454d729e0a", kill_on_drop: false }` [INFO] [stdout] 142e4deed7452b8c5a00866cc654f1d3fd892a2d096b268e5816ce454d729e0a