[INFO] fetching crate indigo-structopt 0.3.21... [INFO] checking indigo-structopt-0.3.21 against master#a5f164faad4a2fed606b8160fd7ecd2d5cbba381 for pr-84920 [INFO] extracting crate indigo-structopt 0.3.21 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate indigo-structopt 0.3.21 on toolchain a5f164faad4a2fed606b8160fd7ecd2d5cbba381 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate indigo-structopt 0.3.21 [INFO] finished tweaking crates.io crate indigo-structopt 0.3.21 [INFO] tweaked toml for crates.io crate indigo-structopt 0.3.21 written to /workspace/builds/worker-2/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" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27667799b3f5d2748423e8d54c2bbb3a9b88fd30942716a94e711284270779d2 [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" "27667799b3f5d2748423e8d54c2bbb3a9b88fd30942716a94e711284270779d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27667799b3f5d2748423e8d54c2bbb3a9b88fd30942716a94e711284270779d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27667799b3f5d2748423e8d54c2bbb3a9b88fd30942716a94e711284270779d2", kill_on_drop: false }` [INFO] [stdout] 27667799b3f5d2748423e8d54c2bbb3a9b88fd30942716a94e711284270779d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 850f27b707952f90ff1fc1d0d47445b2a6ca63f7f40fb4e40a28113b7b03daca [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" "850f27b707952f90ff1fc1d0d47445b2a6ca63f7f40fb4e40a28113b7b03daca", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling trybuild v1.0.38 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking dissimilar v1.0.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling indigo-structopt-derive v0.4.14 [INFO] [stderr] Checking indigo-structopt v0.3.21 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde v1.0.118 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking serde_json v1.0.60 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `structopt` [INFO] [stdout] --> examples/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[E0433]: failed to resolve: use of undeclared crate or module `structopt` [INFO] [stdout] --> examples/subcommand_aliases.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::clap::AppSettings; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `structopt` [INFO] [stdout] --> tests/non_literal_attributes.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | 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/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 import `structopt` [INFO] [stdout] --> examples/subcommand_aliases.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/subcommand_aliases.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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/rename_all.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/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[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/non_literal_attributes.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/non_literal_attributes.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(StructOpt, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/rename_all.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[structopt(name = "rename_all", rename_all = "screaming_snake_case")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/rename_all.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | #[structopt(long, short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/subcommand_aliases.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[structopt(setting = AppSettings::InferSubcommands)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/no_version.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[structopt( [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/subcommand_aliases.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[structopt(alias = "foobar")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/rename_all.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | #[structopt(rename_all = "snake_case", long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/rename_all.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/subcommand_aliases.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[structopt(aliases = &["baz", "fizz"])] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/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] --> examples/skip.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[structopt(long, short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/skip.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[structopt(skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/skip.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[structopt(skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/skip.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[structopt(skip = Kind::A)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/skip.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[structopt(skip = vec![1, 2, 3])] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/skip.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[structopt(skip = "cake")] // &str implements Into [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/non_literal_attributes.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[structopt(global_settings = &[AppSettings::ColoredHelp])] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/doc-comments-help.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/doc-comments-help.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | #[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/non_literal_attributes.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[structopt( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/non_literal_attributes.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[structopt(short = "l", long = "level", aliases = &["set-level", "lvl"])] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/non_literal_attributes.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[structopt(long("values"))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/non_literal_attributes.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[structopt(name = "FILE", requires_if("FILE", "values"))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/non_literal_attributes.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[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/explicit_name_no_renaming.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/explicit_name_no_renaming.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | #[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/non_literal_attributes.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | #[structopt(short = "n", parse(try_from_str = parse_hex))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `indigo-structopt` [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/negative_flag.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/negative_flag.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [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] [stderr] warning: build failed, waiting for other jobs to finish... [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] --> tests/explicit_name_no_renaming.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | #[structopt(short = ".", long = ".foo")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/explicit_name_no_renaming.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | #[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/explicit_name_no_renaming.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | #[structopt(name = ".options")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/doc-comments-help.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/doc-comments-help.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | #[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/negative_flag.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[structopt(long = "no-verbose", parse(from_flag = std::ops::Not::not))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/doc-comments-help.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[structopt(name = "lorem-ipsum", about = "Dolor sit amet")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/doc-comments-help.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | #[structopt(short, long, help = "DO NOT PASS A BAR UNDER ANY CIRCUMSTANCES")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/rename_all_env.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/rename_all_env.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, PartialEq, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/doc-comments-help.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | #[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/doc-comments-help.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | #[structopt(name = "lorem-ipsum", no_version)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/doc-comments-help.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/doc-comments-help.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | #[structopt(name = "lorem-ipsum", about = "Dolor sit amet")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/doc-comments-help.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | #[structopt(long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/doc-comments-help.rs:73:11 [INFO] [stdout] | [INFO] [stdout] 73 | #[structopt(long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/doc-comments-help.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/doc-comments-help.rs:92:7 [INFO] [stdout] | [INFO] [stdout] 92 | #[structopt(name = "lorem-ipsum", about = "Dolor sit amet")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/doc-comments-help.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/special_types.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/special_types.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/special_types.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/doc-comments-help.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/doc-comments-help.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | #[structopt(help = "foo")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/doc-comments-help.rs:136:14 [INFO] [stdout] | [INFO] [stdout] 136 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/doc-comments-help.rs:137:7 [INFO] [stdout] | [INFO] [stdout] 137 | #[structopt(verbatim_doc_comment)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/doc-comments-help.rs:139:11 [INFO] [stdout] | [INFO] [stdout] 139 | #[structopt(long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/doc-comments-help.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/doc-comments-help.rs:169:11 [INFO] [stdout] | [INFO] [stdout] 169 | #[structopt(long, verbatim_doc_comment)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/doc-comments-help.rs:172:11 [INFO] [stdout] | [INFO] [stdout] 172 | #[structopt(long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/enum_in_args.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/enum_in_args.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/rename_all_env.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[structopt(rename_all_env = "kebab")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/raw_bool_literal.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/raw_bool_literal.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(StructOpt, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/rename_all_env.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | #[structopt(env)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/rename_all_env.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug, PartialEq, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/rename_all_env.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | #[structopt(env)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/rename_all_env.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, PartialEq, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/rename_all_env.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[structopt(rename_all_env = "kebab")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/rename_all_env.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | #[structopt(env)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/rename_all_env.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | #[structopt(rename_all_env = "pascal", env)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/env.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> examples/env.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/special_types.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | #[structopt(parse(from_str = parser))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> tests/special_types.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(StructOpt, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> 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] --> tests/special_types.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | #[structopt(parse(from_str = parser))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> tests/special_types.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/raw_bool_literal.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[structopt(no_version, name = "raw_bool")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/raw_bool_literal.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | #[structopt(raw(false))] [INFO] [stdout] | ^^^^^^^^^ [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/raw_bool_literal.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | #[structopt(raw(true))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/env.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[structopt(name = "env")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/env.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[structopt(long, env = "API_URL")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/env.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[structopt(long, env = "RETRIES", default_value = "5")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_args` found for enum `Opt` in the current scope [INFO] [stdout] --> examples/subcommand_aliases.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 9 | enum Opt { [INFO] [stdout] | -------- variant or associated item `from_args` not found here [INFO] [stdout] ... [INFO] [stdout] 19 | let opt = Opt::from_args(); [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no 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[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: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no 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 `from_clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/non_literal_attributes.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 17 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 46 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-l", "1"])) [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/non_literal_attributes.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 17 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 46 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-l", "1"])) [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/non_literal_attributes.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 17 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 55 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--level", "1"])) [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/non_literal_attributes.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 17 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 55 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--level", "1"])) [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/non_literal_attributes.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 17 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 64 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--set-level", "1"])) [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: 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 `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/non_literal_attributes.rs:64:30 [INFO] [stdout] | [INFO] [stdout] 17 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 64 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--set-level", "1"])) [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/non_literal_attributes.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 17 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 73 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--lvl", "1"])) [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/non_literal_attributes.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 17 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 73 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--lvl", "1"])) [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/non_literal_attributes.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 17 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 86 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-l", "1", "file"])) [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/non_literal_attributes.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 17 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 86 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-l", "1", "file"])) [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/non_literal_attributes.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 17 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 95 | Opt::from_clap( [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/non_literal_attributes.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 17 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 96 | &Opt::clap().get_matches_from(&["test", "-l", "1", "--values", "1", "--", "FILE"]), [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/non_literal_attributes.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 17 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 103 | let result = Opt::clap().get_matches_from_safe(&["test", "-l", "1", "--", "FILE"]); [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/non_literal_attributes.rs:116:14 [INFO] [stdout] | [INFO] [stdout] 17 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 116 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-l", "1", "--x=1"])) [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/non_literal_attributes.rs:116:30 [INFO] [stdout] | [INFO] [stdout] 17 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 116 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-l", "1", "--x=1"])) [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/non_literal_attributes.rs:118:23 [INFO] [stdout] | [INFO] [stdout] 17 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 118 | let result = Opt::clap().get_matches_from_safe(&["test", "-l", "1", "--x", "1"]); [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 `HexOpt` in the current scope [INFO] [stdout] --> tests/non_literal_attributes.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 127 | struct HexOpt { [INFO] [stdout] | ------------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 136 | 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/non_literal_attributes.rs:136:36 [INFO] [stdout] | [INFO] [stdout] 127 | struct HexOpt { [INFO] [stdout] | ------------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 136 | 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/non_literal_attributes.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 127 | struct HexOpt { [INFO] [stdout] | ------------- function or associated item `from_clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 140 | 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/non_literal_attributes.rs:140:36 [INFO] [stdout] | [INFO] [stdout] 127 | struct HexOpt { [INFO] [stdout] | ------------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 140 | 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/non_literal_attributes.rs:143:23 [INFO] [stdout] | [INFO] [stdout] 127 | struct HexOpt { [INFO] [stdout] | ------------- function or associated item `clap` not found for this [INFO] [stdout] ... [INFO] [stdout] 143 | 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_args` found for struct `Opt` in the current scope [INFO] [stdout] --> examples/negative_flag.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 7 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_args` not found for this [INFO] [stdout] ... [INFO] [stdout] 13 | let cmd = Opt::from_args(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_args` found for struct `Opt` in the current scope [INFO] [stdout] --> examples/enum_in_args.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 16 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_args` not found for this [INFO] [stdout] ... [INFO] [stdout] 23 | let opt = Opt::from_args(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `special_types_bool::Opt` in the current scope [INFO] [stdout] --> tests/special_types.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 23 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 31 | Opt::from_iter(&["test", "success"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `special_types_bool::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/raw_bool_literal.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 15 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 27 | Opt::from_iter(&["test", "one", "--", "--help"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `special_types_option::Opt` in the current scope [INFO] [stdout] --> tests/special_types.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 42 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 51 | Opt::from_iter(&["test", "success"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `special_types_option::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `special_types_vec::Opt` in the current scope [INFO] [stdout] --> tests/special_types.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 62 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this [INFO] [stdout] ... [INFO] [stdout] 71 | Opt::from_iter(&["test", "success"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `special_types_vec::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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/env.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 9 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_args` not found for this [INFO] [stdout] ... [INFO] [stdout] 24 | let opt = Opt::from_args(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [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 6 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" "850f27b707952f90ff1fc1d0d47445b2a6ca63f7f40fb4e40a28113b7b03daca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "850f27b707952f90ff1fc1d0d47445b2a6ca63f7f40fb4e40a28113b7b03daca", kill_on_drop: false }` [INFO] [stdout] 850f27b707952f90ff1fc1d0d47445b2a6ca63f7f40fb4e40a28113b7b03daca