[INFO] fetching crate indigo-structopt 0.3.21... [INFO] testing indigo-structopt-0.3.21 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate indigo-structopt 0.3.21 into /workspace/builds/worker-2-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate indigo-structopt 0.3.21 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustversion v1.0.4 [INFO] [stderr] Downloaded proc-macro2 v1.0.24 [INFO] [stderr] Downloaded clippy v0.0.302 [INFO] [stderr] Downloaded serde v1.0.118 [INFO] [stderr] Downloaded dirs v1.0.5 [INFO] [stderr] Downloaded hermit-abi v0.1.17 [INFO] [stderr] Downloaded redox_users v0.3.5 [INFO] [stderr] Downloaded getrandom v0.1.15 [INFO] [stderr] Downloaded rust-argon2 v0.8.3 [INFO] [stderr] Downloaded yaml-rust v0.3.5 [INFO] [stderr] Downloaded blake2b_simd v0.5.11 [INFO] [stderr] Downloaded crossbeam-utils v0.8.1 [INFO] [stderr] Downloaded serde_json v1.0.60 [INFO] [stderr] Downloaded term v0.5.2 [INFO] [stderr] Downloaded term_size v0.3.2 [INFO] [stderr] Downloaded serde_derive v1.0.118 [INFO] [stderr] Downloaded syn v1.0.54 [INFO] [stderr] Downloaded indigo-structopt-derive v0.4.14 [INFO] [stderr] Downloaded paw-attributes v1.0.2 [INFO] [stderr] Downloaded paw-raw v1.0.0 [INFO] [stderr] Downloaded paw v1.0.0 [INFO] [stderr] Downloaded dissimilar v1.0.2 [INFO] [stderr] Downloaded trybuild v1.0.38 [INFO] [stderr] Downloaded libc v0.2.81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d273d2fc87b803e26268d351472fd3602e5be88dd6675d45b4aa5991ab397df5 [INFO] running `Command { std: "docker" "start" "-a" "d273d2fc87b803e26268d351472fd3602e5be88dd6675d45b4aa5991ab397df5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d273d2fc87b803e26268d351472fd3602e5be88dd6675d45b4aa5991ab397df5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d273d2fc87b803e26268d351472fd3602e5be88dd6675d45b4aa5991ab397df5", kill_on_drop: false }` [INFO] [stdout] d273d2fc87b803e26268d351472fd3602e5be88dd6675d45b4aa5991ab397df5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0491cc1dc869a9e8eb73cae4e0a1752f8adce9496a9e30cc399e2ea7117f2bd [INFO] running `Command { std: "docker" "start" "-a" "b0491cc1dc869a9e8eb73cae4e0a1752f8adce9496a9e30cc399e2ea7117f2bd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.54 [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 strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling atty v0.2.14 [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 12.93s [INFO] running `Command { std: "docker" "inspect" "b0491cc1dc869a9e8eb73cae4e0a1752f8adce9496a9e30cc399e2ea7117f2bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0491cc1dc869a9e8eb73cae4e0a1752f8adce9496a9e30cc399e2ea7117f2bd", kill_on_drop: false }` [INFO] [stdout] b0491cc1dc869a9e8eb73cae4e0a1752f8adce9496a9e30cc399e2ea7117f2bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fc8216a186e2eb7e7d89db2d6be476acea0ecbf694ee085f2cb36b4930e68ad [INFO] running `Command { std: "docker" "start" "-a" "8fc8216a186e2eb7e7d89db2d6be476acea0ecbf694ee085f2cb36b4930e68ad", 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 rustversion v1.0.4 [INFO] [stderr] Compiling trybuild v1.0.38 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling dissimilar v1.0.2 [INFO] [stderr] Compiling glob v0.3.0 [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] --> 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[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[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/custom-string-parsers.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of 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] --> 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[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/keyvalue.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[structopt(after_help = "Beware `-d`, dragons be here")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/example.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[structopt(name = "example")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/arguments.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use structopt::clap; [INFO] [stdout] | ^^^^^^^^^ use of 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/arguments.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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] --> examples/enum_in_args.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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/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/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/after_help.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[structopt(short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/example.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[structopt(long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/flatten.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/utils.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/example.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | #[structopt(long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/example.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | #[structopt(skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/arguments.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | #[structopt(default_value = "42")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot 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/enum_in_args.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[structopt(possible_values = &Baz::variants(), case_insensitive = true)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/keyvalue.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[structopt(short = "D", parse(try_from_str = parse_key_val), number_of_values = 1)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[structopt(short, long, parse(from_os_str))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[structopt(short, default_value = "../", parse(from_os_str))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/doc_comments.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[structopt( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[structopt(short, parse(from_os_str))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[structopt(short, parse(from_os_str))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[structopt(short = "q", parse(from_os_str))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot 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: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | #[structopt(short, parse(try_from_str = parse_hex))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot 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] --> tests/custom-string-parsers.rs:97:7 [INFO] [stdout] | [INFO] [stdout] 97 | #[structopt(short, parse(from_str = custom_parser_1))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:99:7 [INFO] [stdout] | [INFO] [stdout] 99 | #[structopt(short, parse(try_from_str = custom_parser_2))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:101:7 [INFO] [stdout] | [INFO] [stdout] 101 | #[structopt(short, parse(from_os_str = custom_parser_3))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:103:7 [INFO] [stdout] | [INFO] [stdout] 103 | #[structopt(short, parse(try_from_os_str = custom_parser_4))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | #[structopt(short, parse(from_str))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:131:7 [INFO] [stdout] | [INFO] [stdout] 131 | #[structopt(short, parse(try_from_str))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:134:7 [INFO] [stdout] | [INFO] [stdout] 134 | #[structopt(short, parse(from_os_str))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:167:7 [INFO] [stdout] | [INFO] [stdout] 167 | #[structopt(short, long, parse(from_occurrences))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:170:7 [INFO] [stdout] | [INFO] [stdout] 170 | #[structopt(short, parse(from_occurrences))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:173:7 [INFO] [stdout] | [INFO] [stdout] 173 | #[structopt(short, parse(from_occurrences))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:176:7 [INFO] [stdout] | [INFO] [stdout] 176 | #[structopt(short = "r", parse(from_occurrences))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:179:7 [INFO] [stdout] | [INFO] [stdout] 179 | #[structopt(short, long, parse(from_occurrences = foo))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:210:11 [INFO] [stdout] | [INFO] [stdout] 210 | #[structopt(short, parse(try_from_str = parse_bool))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:212:11 [INFO] [stdout] | [INFO] [stdout] 212 | #[structopt( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_args` found for struct `Opt` in the current scope [INFO] [stdout] --> examples/keyvalue.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 21 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_args` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 34 | let opt = Opt::from_args(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:218:11 [INFO] [stdout] | [INFO] [stdout] 218 | #[structopt(short, parse(try_from_str = parse_bool))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:220:11 [INFO] [stdout] | [INFO] [stdout] 220 | #[structopt(short, parse(try_from_str = parse_bool))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:298:11 [INFO] [stdout] | [INFO] [stdout] 298 | #[structopt(parse(try_from_str = CString::new))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_args` found for struct `Opt` in the current scope [INFO] [stdout] --> examples/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[E0599]: no function or associated item named `from_args` found for struct `Opt` in the current scope [INFO] [stdout] --> examples/enum_in_args.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 16 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_args` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 23 | let opt = Opt::from_args(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `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] [stderr] error: could not compile `indigo-structopt` (example "keyvalue") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `indigo-structopt` (example "after_help") due to 4 previous errors [INFO] [stderr] error: could not compile `indigo-structopt` (example "doc_comments") due to 8 previous errors [INFO] [stderr] error: could not compile `indigo-structopt` (example "enum_in_args") due to 3 previous errors [INFO] [stderr] error: could not compile `indigo-structopt` (example "example") due to 8 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `required_argument::Opt` in the current scope [INFO] [stdout] --> tests/arguments.rs:18:38 [INFO] [stdout] | [INFO] [stdout] 15 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 18 | assert_eq!(Opt { arg: 42 }, Opt::from_iter(&["test", "42"])); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `required_argument::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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 `required_argument::Opt` in the current scope [INFO] [stdout] --> tests/arguments.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 15 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 19 | assert!(Opt::clap().get_matches_from_safe(&["test"]).is_err()); [INFO] [stdout] | ^^^^ function or associated item not found in `required_argument::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `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/flatten.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[structopt(flatten)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `required_argument::Opt` in the current scope [INFO] [stdout] --> tests/arguments.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 15 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 20 | assert!(Opt::clap() [INFO] [stdout] | ^^^^ function or associated item not found in `required_argument::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flatten.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | #[structopt(flatten)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `optional_argument::Opt` in the current scope [INFO] [stdout] --> tests/arguments.rs:31:44 [INFO] [stdout] | [INFO] [stdout] 28 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 31 | assert_eq!(Opt { arg: Some(42) }, Opt::from_iter(&["test", "42"])); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `optional_argument::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `PathOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 16 | struct PathOpt { [INFO] [stdout] | -------------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 47 | PathOpt::from_clap(&PathOpt::clap().get_matches_from(&[ [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `PathOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `optional_argument::Opt` in the current scope [INFO] [stdout] --> tests/arguments.rs:32:40 [INFO] [stdout] | [INFO] [stdout] 28 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 32 | assert_eq!(Opt { arg: None }, Opt::from_iter(&["test"])); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `optional_argument::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `optional_argument::Opt` in the current scope [INFO] [stdout] --> tests/arguments.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 28 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 33 | assert!(Opt::clap() [INFO] [stdout] | ^^^^ function or associated item not found in `optional_argument::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flatten.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | #[structopt(flatten)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flatten.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | #[structopt(short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `PathOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:47:38 [INFO] [stdout] | [INFO] [stdout] 16 | struct PathOpt { [INFO] [stdout] | -------------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 47 | PathOpt::from_clap(&PathOpt::clap().get_matches_from(&[ [INFO] [stdout] | ^^^^ function or associated item not found in `PathOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flatten.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | #[structopt(flatten)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flatten.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | #[structopt(short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `argument_with_default::Opt` in the current scope [INFO] [stdout] --> tests/arguments.rs:45:38 [INFO] [stdout] | [INFO] [stdout] 41 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 45 | assert_eq!(Opt { arg: 24 }, Opt::from_iter(&["test", "24"])); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `argument_with_default::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flatten.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | #[structopt(flatten)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flatten.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 118 | #[structopt(flatten)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `argument_with_default::Opt` in the current scope [INFO] [stdout] --> tests/arguments.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 41 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 46 | assert_eq!(Opt { arg: 42 }, Opt::from_iter(&["test"])); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `argument_with_default::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `argument_with_default::Opt` in the current scope [INFO] [stdout] --> tests/arguments.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 41 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 47 | assert!(Opt::clap() [INFO] [stdout] | ^^^^ function or associated item not found in `argument_with_default::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flatten.rs:139:11 [INFO] [stdout] | [INFO] [stdout] 139 | #[structopt(flatten)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `arguments::Opt` in the current scope [INFO] [stdout] --> tests/arguments.rs:58:44 [INFO] [stdout] | [INFO] [stdout] 55 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 58 | assert_eq!(Opt { arg: vec![24] }, Opt::from_iter(&["test", "24"])); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `arguments::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flatten.rs:145:11 [INFO] [stdout] | [INFO] [stdout] 145 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flatten.rs:169:11 [INFO] [stdout] | [INFO] [stdout] 169 | #[structopt(flatten)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `arguments::Opt` in the current scope [INFO] [stdout] --> tests/arguments.rs:59:42 [INFO] [stdout] | [INFO] [stdout] 55 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 59 | assert_eq!(Opt { arg: vec![] }, Opt::from_iter(&["test"])); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `arguments::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `HexOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 59 | struct HexOpt { [INFO] [stdout] | ------------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 69 | HexOpt::from_clap(&HexOpt::clap().get_matches_from(&["test", "-n", "5"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `HexOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `arguments::Opt` in the current scope [INFO] [stdout] --> tests/arguments.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 55 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 62 | Opt::from_iter(&["test", "24", "42"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `arguments::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `HexOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:69:36 [INFO] [stdout] | [INFO] [stdout] 59 | struct HexOpt { [INFO] [stdout] | ------------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 69 | HexOpt::from_clap(&HexOpt::clap().get_matches_from(&["test", "-n", "5"])) [INFO] [stdout] | ^^^^ function or associated item not found in `HexOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter_safe` found for struct `arguments_safe::Opt` in the current scope [INFO] [stdout] --> tests/arguments.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 69 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter_safe` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 74 | Opt::from_iter_safe(&["test", "24"]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `arguments_safe::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_iter_safe`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `HexOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 59 | struct HexOpt { [INFO] [stdout] | ------------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 73 | HexOpt::from_clap(&HexOpt::clap().get_matches_from(&["test", "-n", "abcdef"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `HexOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter_safe` found for struct `arguments_safe::Opt` in the current scope [INFO] [stdout] --> tests/arguments.rs:76:42 [INFO] [stdout] | [INFO] [stdout] 69 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter_safe` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 76 | assert_eq!(Opt { arg: vec![] }, Opt::from_iter_safe(&["test"]).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `arguments_safe::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_iter_safe`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `HexOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:73:36 [INFO] [stdout] | [INFO] [stdout] 59 | struct HexOpt { [INFO] [stdout] | ------------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 73 | HexOpt::from_clap(&HexOpt::clap().get_matches_from(&["test", "-n", "abcdef"])) [INFO] [stdout] | ^^^^ function or associated item not found in `HexOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter_safe` found for struct `arguments_safe::Opt` in the current scope [INFO] [stdout] --> tests/arguments.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 69 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter_safe` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 79 | Opt::from_iter_safe(&["test", "24", "42"]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `arguments_safe::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_iter_safe`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter_safe` found for struct `arguments_safe::Opt` in the current scope [INFO] [stdout] --> tests/arguments.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 69 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter_safe` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 84 | Opt::from_iter_safe(&["test", "NOPE"]).err().unwrap().kind [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `arguments_safe::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_iter_safe`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `HexOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 59 | struct HexOpt { [INFO] [stdout] | ------------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 76 | let err = HexOpt::clap() [INFO] [stdout] | ^^^^ function or associated item not found in `HexOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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 `NoOpOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 96 | struct NoOpOpt { [INFO] [stdout] | -------------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 116 | NoOpOpt::from_clap( [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `NoOpOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `NoOpOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 96 | struct NoOpOpt { [INFO] [stdout] | -------------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 117 | &NoOpOpt::clap().get_matches_from(&["test", "-a=?", "-b=?", "-c=?", "-d=?"]) [INFO] [stdout] | ^^^^ function or associated item not found in `NoOpOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `indigo-structopt` (test "arguments") due to 19 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `DefaultedOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:146:23 [INFO] [stdout] | [INFO] [stdout] 127 | struct DefaultedOpt { [INFO] [stdout] | ------------------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 146 | DefaultedOpt::from_clap(&DefaultedOpt::clap().get_matches_from(&[ [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `DefaultedOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `DefaultedOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:146:48 [INFO] [stdout] | [INFO] [stdout] 127 | struct DefaultedOpt { [INFO] [stdout] | ------------------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 146 | DefaultedOpt::from_clap(&DefaultedOpt::clap().get_matches_from(&[ [INFO] [stdout] | ^^^^ function or associated item not found in `DefaultedOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `Occurrences` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:193:22 [INFO] [stdout] | [INFO] [stdout] 166 | struct Occurrences { [INFO] [stdout] | ------------------ function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 193 | Occurrences::from_clap(&Occurrences::clap().get_matches_from(&[ [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Occurrences` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Occurrences` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:193:46 [INFO] [stdout] | [INFO] [stdout] 166 | struct Occurrences { [INFO] [stdout] | ------------------ function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 193 | Occurrences::from_clap(&Occurrences::clap().get_matches_from(&[ [INFO] [stdout] | ^^^^ function or associated item not found in `Occurrences` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 224 | assert!(Opt::clap().get_matches_from_safe(&["test"]).is_err()); [INFO] [stdout] | ^^^^ function or associated item not found in `test_custom_bool::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `indigo-structopt` (test "flatten") due to 13 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:225:18 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 225 | assert!(Opt::clap().get_matches_from_safe(&["test", "-d"]).is_err()); [INFO] [stdout] | ^^^^ function or associated item not found in `test_custom_bool::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:226:18 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 226 | assert!(Opt::clap() [INFO] [stdout] | ^^^^ function or associated item not found in `test_custom_bool::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:236:14 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 236 | Opt::from_iter(&["test", "-dfalse"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_custom_bool::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:245:14 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 245 | Opt::from_iter(&["test", "-dtrue"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_custom_bool::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:254:14 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 254 | Opt::from_iter(&["test", "-dtrue", "-vfalse"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_custom_bool::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:263:14 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 263 | Opt::from_iter(&["test", "-dtrue", "-vtrue"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_custom_bool::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:272:14 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 272 | Opt::from_iter(&["test", "-dtrue", "-tfalse"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_custom_bool::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:281:14 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 281 | Opt::from_iter(&["test", "-dtrue", "-ttrue"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_custom_bool::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:290:14 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 290 | Opt::from_iter(&["test", "-dtrue", "-bfalse", "-btrue", "-bfalse", "-bfalse"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_custom_bool::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_cstring::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:301:18 [INFO] [stdout] | [INFO] [stdout] 297 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 301 | assert!(Opt::clap().get_matches_from_safe(&["test"]).is_err()); [INFO] [stdout] | ^^^^ function or associated item not found in `test_cstring::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `test_cstring::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:302:21 [INFO] [stdout] | [INFO] [stdout] 297 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 302 | assert_eq!(Opt::from_iter(&["test", "bla"]).c_string.to_bytes(), b"bla"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_cstring::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_cstring::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:303:18 [INFO] [stdout] | [INFO] [stdout] 297 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 303 | assert!(Opt::clap() [INFO] [stdout] | ^^^^ function or associated item not found in `test_cstring::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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 "custom-string-parsers") due to 50 previous errors [INFO] running `Command { std: "docker" "inspect" "8fc8216a186e2eb7e7d89db2d6be476acea0ecbf694ee085f2cb36b4930e68ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fc8216a186e2eb7e7d89db2d6be476acea0ecbf694ee085f2cb36b4930e68ad", kill_on_drop: false }` [INFO] [stdout] 8fc8216a186e2eb7e7d89db2d6be476acea0ecbf694ee085f2cb36b4930e68ad