[INFO] fetching crate indigo-structopt 0.3.21... [INFO] checking indigo-structopt-0.3.21 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate indigo-structopt 0.3.21 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate indigo-structopt 0.3.21 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate indigo-structopt 0.3.21 [INFO] finished tweaking crates.io crate indigo-structopt 0.3.21 [INFO] tweaked toml for crates.io crate indigo-structopt 0.3.21 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate crates.io crate indigo-structopt 0.3.21 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30f5cda184f18bb90bb75da415bce298049a7c5aa84e42bc1e45c023faf8f9d1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "30f5cda184f18bb90bb75da415bce298049a7c5aa84e42bc1e45c023faf8f9d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30f5cda184f18bb90bb75da415bce298049a7c5aa84e42bc1e45c023faf8f9d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30f5cda184f18bb90bb75da415bce298049a7c5aa84e42bc1e45c023faf8f9d1", kill_on_drop: false }` [INFO] [stdout] 30f5cda184f18bb90bb75da415bce298049a7c5aa84e42bc1e45c023faf8f9d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24d6825bb4fc47321b0a454d95a0b8451a01569ae98932e33c465b83f1790f30 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "24d6825bb4fc47321b0a454d95a0b8451a01569ae98932e33c465b83f1790f30", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling trybuild v1.0.38 [INFO] [stderr] Checking dissimilar v1.0.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indigo-structopt-derive v0.4.14 [INFO] [stderr] Checking indigo-structopt v0.3.21 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde v1.0.118 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `structopt` [INFO] [stdout] --> examples/no_version.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::clap::AppSettings; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/no_version.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/deny_missing_docs.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/no_version.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/deny_missing_docs.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/basic.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/no_version.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[structopt( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/basic.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/basic.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[structopt(name = "basic")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/basic.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/deny_missing_docs.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[structopt(short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/basic.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[structopt(short, long, parse(from_occurrences))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/basic.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[structopt(short, long, default_value = "42")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/basic.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[structopt(short, long, parse(from_os_str))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/basic.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[structopt(short = "c", long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/basic.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/basic.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[structopt(name = "FILE", parse(from_os_str))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/deny_missing_docs.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/deny_missing_docs.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/deny_missing_docs.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | #[structopt(short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/deny_missing_docs.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/deny_missing_docs.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | #[structopt(short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/doc_comments.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/doc_comments.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/rename_all.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `structopt`, `super::StructOpt`, `super::StructOpt` [INFO] [stdout] --> tests/privacy.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] ... [INFO] [stdout] 12 | use super::StructOpt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | use super::StructOpt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/rename_all.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/privacy.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/privacy.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/nested-subcommands.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/nested-subcommands.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/keyvalue.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/doc_comments.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[structopt(name = "basic")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/keyvalue.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> 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] --> examples/rename_all.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[structopt(name = "rename_all", rename_all = "screaming_snake_case")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `indigo-structopt` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/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: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/privacy.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/default_value.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/default_value.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/rename_all.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | #[structopt(long, short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/rename_all.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | #[structopt(rename_all = "pascal_case")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/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] --> examples/rename_all.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | #[structopt(rename_all = "snake_case", long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/nested-subcommands.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/nested-subcommands.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[structopt(short, long, parse(from_occurrences))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/doc_comments.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/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/rename_all.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/rename_all.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | #[structopt(flatten)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/rename_all.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/rename_all.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/rename_all.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | #[structopt(long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/nested-subcommands.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/nested-subcommands.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/nested-subcommands.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/nested-subcommands.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/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[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/enum_tuple.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot 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/nested-subcommands.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/nested-subcommands.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/nested-subcommands.rs:106:7 [INFO] [stdout] | [INFO] [stdout] 106 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/enum_tuple.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/enum_tuple.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/default_value.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | #[structopt(default_value)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/custom-string-parsers.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/nested-subcommands.rs:108:7 [INFO] [stdout] | [INFO] [stdout] 108 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/nested-subcommands.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/nested-subcommands.rs:116:11 [INFO] [stdout] | [INFO] [stdout] 116 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/custom-string-parsers.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/nested-subcommands.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 122 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/nested-subcommands.rs:144:10 [INFO] [stdout] | [INFO] [stdout] 144 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/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: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/nested-subcommands.rs:155:10 [INFO] [stdout] | [INFO] [stdout] 155 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/nested-subcommands.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/enum_tuple.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[structopt(name = "foo")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/enum_tuple.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/enum_tuple.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[structopt(name = "classify")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/enum_tuple.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: 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] --> tests/custom-string-parsers.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[structopt(short, parse(from_os_str))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[structopt(short, parse(from_os_str))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[structopt(short = "q", parse(from_os_str))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/custom-string-parsers.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | #[structopt(short, parse(try_from_str = parse_hex))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/custom-string-parsers.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/custom-string-parsers.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | #[structopt(short, parse(from_str))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:131:7 [INFO] [stdout] | [INFO] [stdout] 131 | #[structopt(short, parse(try_from_str))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:134:7 [INFO] [stdout] | [INFO] [stdout] 134 | #[structopt(short, parse(from_os_str))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/custom-string-parsers.rs:165:10 [INFO] [stdout] | [INFO] [stdout] 165 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:167:7 [INFO] [stdout] | [INFO] [stdout] 167 | #[structopt(short, long, parse(from_occurrences))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:170:7 [INFO] [stdout] | [INFO] [stdout] 170 | #[structopt(short, parse(from_occurrences))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/skip.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/skip.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/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 determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/custom-string-parsers.rs:208:14 [INFO] [stdout] | [INFO] [stdout] 208 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [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: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:218:11 [INFO] [stdout] | [INFO] [stdout] 218 | #[structopt(short, parse(try_from_str = parse_bool))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:220:11 [INFO] [stdout] | [INFO] [stdout] 220 | #[structopt(short, parse(try_from_str = parse_bool))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/custom-string-parsers.rs:296:14 [INFO] [stdout] | [INFO] [stdout] 296 | #[derive(StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:298:11 [INFO] [stdout] | [INFO] [stdout] 298 | #[structopt(parse(try_from_str = CString::new))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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[E0599]: no variant or associated item named `from_args` found for enum `Opt` in the current scope [INFO] [stdout] --> examples/rename_all.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 29 | enum Opt { [INFO] [stdout] | -------- variant or associated item `from_args` not found here [INFO] [stdout] ... [INFO] [stdout] 76 | let opt = Opt::from_args(); [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_args` found for struct `Opt` in the current scope [INFO] [stdout] --> examples/deny_missing_docs.rs:50:27 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Opt { [INFO] [stdout] | -------------- function or associated item `from_args` not found for this [INFO] [stdout] ... [INFO] [stdout] 50 | println!("{:?}", Opt::from_args()); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_args` found for struct `Opt` in the current scope [INFO] [stdout] --> examples/basic.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 9 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_args` not found for this [INFO] [stdout] ... [INFO] [stdout] 46 | let opt = Opt::from_args(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_args` found for struct `Opt` in the current scope [INFO] [stdout] --> examples/no_version.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt {} [INFO] [stdout] | ---------- function or associated item `from_args` not found for this [INFO] [stdout] ... [INFO] [stdout] 15 | let opt = Opt::from_args(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, 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, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `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 [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: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_args` found for struct `ApplicationArguments` in the current scope [INFO] [stdout] --> examples/enum_tuple.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ApplicationArguments { [INFO] [stdout] | ------------------------------- function or associated item `from_args` not found for this [INFO] [stdout] ... [INFO] [stdout] 24 | let opt = ApplicationArguments::from_args(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `ApplicationArguments` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 39 | let result = Opt::clap().get_matches_from_safe(&["test"]); [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `Opt2` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 28 | struct Opt2 { [INFO] [stdout] | ----------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 48 | Opt2::from_clap(&Opt2::clap().get_matches_from(&["test"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt2` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:48:32 [INFO] [stdout] | [INFO] [stdout] 28 | struct Opt2 { [INFO] [stdout] | ----------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 48 | Opt2::from_clap(&Opt2::clap().get_matches_from(&["test"])) [INFO] [stdout] | ^^^^ function or associated item not found in `Opt2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 60 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-vvv", "fetch"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 60 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-vvv", "fetch"])) [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 68 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--force", "fetch"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 68 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--force", "fetch"])) [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 80 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "add"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 80 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "add"])) [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 88 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-vv", "add"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:88:30 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 88 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-vv", "add"])) [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_args` found for struct `Opt` in the current scope [INFO] [stdout] --> examples/keyvalue.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 21 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_args` not found for this [INFO] [stdout] ... [INFO] [stdout] 34 | let opt = Opt::from_args(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 94 | let result = Opt::clap().get_matches_from_safe(&["test", "badcmd"]); [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 96 | let result = Opt::clap().get_matches_from_safe(&["test", "add", "--verbose"]); [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 98 | let result = Opt::clap().get_matches_from_safe(&["test", "--badopt", "add"]); [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 100 | let result = Opt::clap().get_matches_from_safe(&["test", "add", "--badopt"]); [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `Opt3` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 105 | struct Opt3 { [INFO] [stdout] | ----------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 138 | Opt3::from_clap( [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt3` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt3` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 105 | struct Opt3 { [INFO] [stdout] | ----------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 139 | &Opt3::clap().get_matches_from(&["test", "--all", "foo", "lib.rs", "quux"]) [INFO] [stdout] | ^^^^ function or associated item not found in `Opt3` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `clap` found for enum `SubSubCmdWithOption` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:170:30 [INFO] [stdout] | [INFO] [stdout] 145 | enum SubSubCmdWithOption { [INFO] [stdout] | ------------------------ variant or associated item `clap` not found here [INFO] [stdout] ... [INFO] [stdout] 170 | SubSubCmdWithOption::clap() [INFO] [stdout] | ^^^^ variant or associated item not found in `SubSubCmdWithOption` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_clap` found for enum `SubSubCmdWithOption` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:173:43 [INFO] [stdout] | [INFO] [stdout] 145 | enum SubSubCmdWithOption { [INFO] [stdout] | ------------------------ variant or associated item `from_clap` not found here [INFO] [stdout] ... [INFO] [stdout] 173 | .map(|m| SubSubCmdWithOption::from_clap(&m)) [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `SubSubCmdWithOption` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 40 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `PathOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 16 | struct PathOpt { [INFO] [stdout] | -------------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 47 | PathOpt::from_clap(&PathOpt::clap().get_matches_from(&[ [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `PathOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `PathOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:47:38 [INFO] [stdout] | [INFO] [stdout] 16 | struct PathOpt { [INFO] [stdout] | -------------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 47 | PathOpt::from_clap(&PathOpt::clap().get_matches_from(&[ [INFO] [stdout] | ^^^^ function or associated item not found in `PathOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `HexOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 59 | struct HexOpt { [INFO] [stdout] | ------------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 69 | HexOpt::from_clap(&HexOpt::clap().get_matches_from(&["test", "-n", "5"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `HexOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `HexOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:69:36 [INFO] [stdout] | [INFO] [stdout] 59 | struct HexOpt { [INFO] [stdout] | ------------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 69 | HexOpt::from_clap(&HexOpt::clap().get_matches_from(&["test", "-n", "5"])) [INFO] [stdout] | ^^^^ function or associated item not found in `HexOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `HexOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 59 | struct HexOpt { [INFO] [stdout] | ------------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 73 | HexOpt::from_clap(&HexOpt::clap().get_matches_from(&["test", "-n", "abcdef"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `HexOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `HexOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:73:36 [INFO] [stdout] | [INFO] [stdout] 59 | struct HexOpt { [INFO] [stdout] | ------------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 73 | HexOpt::from_clap(&HexOpt::clap().get_matches_from(&["test", "-n", "abcdef"])) [INFO] [stdout] | ^^^^ function or associated item not found in `HexOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `HexOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 59 | struct HexOpt { [INFO] [stdout] | ------------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 76 | let err = HexOpt::clap() [INFO] [stdout] | ^^^^ function or associated item not found in `HexOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `NoOpOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 96 | struct NoOpOpt { [INFO] [stdout] | -------------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 116 | NoOpOpt::from_clap( [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `NoOpOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `NoOpOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 96 | struct NoOpOpt { [INFO] [stdout] | -------------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 117 | &NoOpOpt::clap().get_matches_from(&["test", "-a=?", "-b=?", "-c=?", "-d=?"]) [INFO] [stdout] | ^^^^ function or associated item not found in `NoOpOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `DefaultedOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:146:23 [INFO] [stdout] | [INFO] [stdout] 127 | struct DefaultedOpt { [INFO] [stdout] | ------------------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 146 | DefaultedOpt::from_clap(&DefaultedOpt::clap().get_matches_from(&[ [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `DefaultedOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `DefaultedOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:146:48 [INFO] [stdout] | [INFO] [stdout] 127 | struct DefaultedOpt { [INFO] [stdout] | ------------------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 146 | DefaultedOpt::from_clap(&DefaultedOpt::clap().get_matches_from(&[ [INFO] [stdout] | ^^^^ function or associated item not found in `DefaultedOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `Occurrences` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:193:22 [INFO] [stdout] | [INFO] [stdout] 166 | struct Occurrences { [INFO] [stdout] | ------------------ function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 193 | Occurrences::from_clap(&Occurrences::clap().get_matches_from(&[ [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Occurrences` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Occurrences` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:193:46 [INFO] [stdout] | [INFO] [stdout] 166 | struct Occurrences { [INFO] [stdout] | ------------------ function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 193 | Occurrences::from_clap(&Occurrences::clap().get_matches_from(&[ [INFO] [stdout] | ^^^^ function or associated item not found in `Occurrences` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 224 | assert!(Opt::clap().get_matches_from_safe(&["test"]).is_err()); [INFO] [stdout] | ^^^^ function or associated item not found in `test_custom_bool::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:225:18 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 225 | assert!(Opt::clap().get_matches_from_safe(&["test", "-d"]).is_err()); [INFO] [stdout] | ^^^^ function or associated item not found in `test_custom_bool::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:226:18 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 226 | assert!(Opt::clap() [INFO] [stdout] | ^^^^ function or associated item not found in `test_custom_bool::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:236:14 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 236 | Opt::from_iter(&["test", "-dfalse"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_custom_bool::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:245:14 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 245 | Opt::from_iter(&["test", "-dtrue"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_custom_bool::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:254:14 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 254 | Opt::from_iter(&["test", "-dtrue", "-vfalse"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_custom_bool::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:263:14 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 263 | Opt::from_iter(&["test", "-dtrue", "-vtrue"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_custom_bool::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:272:14 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 272 | Opt::from_iter(&["test", "-dtrue", "-tfalse"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_custom_bool::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:281:14 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 281 | Opt::from_iter(&["test", "-dtrue", "-ttrue"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_custom_bool::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:290:14 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 290 | Opt::from_iter(&["test", "-dtrue", "-bfalse", "-btrue", "-bfalse", "-bfalse"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_custom_bool::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `Opt` in the current scope [INFO] [stdout] --> examples/skip.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Opt { [INFO] [stdout] | -------------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 36 | Opt::from_iter(&["test", "-n", "10"]), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_cstring::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:301:18 [INFO] [stdout] | [INFO] [stdout] 297 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 301 | assert!(Opt::clap().get_matches_from_safe(&["test"]).is_err()); [INFO] [stdout] | ^^^^ function or associated item not found in `test_cstring::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `test_cstring::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:302:21 [INFO] [stdout] | [INFO] [stdout] 297 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 302 | assert_eq!(Opt::from_iter(&["test", "bla"]).c_string.to_bytes(), b"bla"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_cstring::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_cstring::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:303:18 [INFO] [stdout] | [INFO] [stdout] 297 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 303 | assert!(Opt::clap() [INFO] [stdout] | ^^^^ function or associated item not found in `test_cstring::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 57 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "24d6825bb4fc47321b0a454d95a0b8451a01569ae98932e33c465b83f1790f30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24d6825bb4fc47321b0a454d95a0b8451a01569ae98932e33c465b83f1790f30", kill_on_drop: false }` [INFO] [stdout] 24d6825bb4fc47321b0a454d95a0b8451a01569ae98932e33c465b83f1790f30