[INFO] fetching crate indigo-structopt 0.3.21... [INFO] checking indigo-structopt-0.3.21 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate indigo-structopt 0.3.21 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate indigo-structopt 0.3.21 [INFO] finished tweaking crates.io crate indigo-structopt 0.3.21 [INFO] tweaked toml for crates.io crate indigo-structopt 0.3.21 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate indigo-structopt 0.3.21 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate indigo-structopt 0.3.21 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-utils v0.8.1 [INFO] [stderr] Downloaded indigo-structopt-derive v0.4.14 [INFO] [stderr] Downloaded rustversion v1.0.4 [INFO] [stderr] Downloaded getrandom v0.1.15 [INFO] [stderr] Downloaded trybuild v1.0.38 [INFO] [stderr] Downloaded dissimilar v1.0.2 [INFO] [stderr] Downloaded syn v1.0.54 [INFO] [stderr] Downloaded serde_json v1.0.60 [INFO] [stderr] Downloaded libc v0.2.81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 153827a3a0d0f0fbd668a66656b76e2ece1be778184518e0d0410494c64a91bf [INFO] running `Command { std: "docker" "start" "-a" "153827a3a0d0f0fbd668a66656b76e2ece1be778184518e0d0410494c64a91bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "153827a3a0d0f0fbd668a66656b76e2ece1be778184518e0d0410494c64a91bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "153827a3a0d0f0fbd668a66656b76e2ece1be778184518e0d0410494c64a91bf", kill_on_drop: false }` [INFO] [stdout] 153827a3a0d0f0fbd668a66656b76e2ece1be778184518e0d0410494c64a91bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f09f2a45200eed132a8516f8258a711d5c0dfb15b157aa43a24058206c28a60 [INFO] running `Command { std: "docker" "start" "-a" "5f09f2a45200eed132a8516f8258a711d5c0dfb15b157aa43a24058206c28a60", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling trybuild v1.0.38 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking dissimilar v1.0.2 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling indigo-structopt-derive v0.4.14 [INFO] [stderr] Checking indigo-structopt v0.3.21 (/opt/rustwide/workdir) [INFO] [stderr] Checking toml v0.5.8 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `structopt` [INFO] [stdout] --> tests/non_literal_attributes.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use structopt::clap::AppSettings; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `structopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `structopt`, use `cargo add structopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/deny-warnings.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `structopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `structopt`, use `cargo add structopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/we_need_syn_full.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `structopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `structopt`, use `cargo add structopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/non_literal_attributes.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `structopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `structopt`, use `cargo add structopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/doc_comments.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `structopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `structopt`, use `cargo add structopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/custom-string-parsers.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `structopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `structopt`, use `cargo add structopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] help: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 17 + #[derive(StructOpt)] [INFO] [stdout] 18 | struct Opt { [INFO] [stdout] | [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/regressions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `structopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `structopt`, use `cargo add structopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `structopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `structopt`, use `cargo add structopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `structopt` [INFO] [stdout] --> tests/regressions.rs:33:40 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, PartialEq, structopt::StructOpt)] [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `structopt` [INFO] [stdout] ... [INFO] [stdout] 41 | / Command! {GitCmd, [ [INFO] [stdout] 42 | | #[structopt(external_subcommand)] [INFO] [stdout] 43 | | Ext(Vec) [INFO] [stdout] 44 | | ]} [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `Command` (in Nightly builds, run with -Z macro-backtrace for more info) [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/nested-subcommands.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `structopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `structopt`, use `cargo add structopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/we_need_syn_full.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | #[structopt( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/after_help.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `structopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `structopt`, use `cargo add structopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/deny-warnings.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | #[structopt(parse(try_from_str = try_str))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/doc_comments.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[structopt(name = "basic")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 9 + #[derive(StructOpt)] [INFO] [stdout] 10| struct Opt { [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/doc_comments.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[structopt(short, long, parse(from_os_str))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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] help: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 113 + #[derive(StructOpt)] [INFO] [stdout] 114 | enum Sub2 { [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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] help: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 145 + #[derive(StructOpt)] [INFO] [stdout] 146 | enum SubSubCmdWithOption { [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] help: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 145 + #[derive(StructOpt)] [INFO] [stdout] 146 | enum SubSubCmdWithOption { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/after_help.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[structopt(after_help = "Beware `-d`, dragons be here")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 10+ #[derive(StructOpt)] [INFO] [stdout] 11| struct Opt { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/deny-warnings.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | #[structopt(parse(try_from_str = try_str))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 35 + #[derive(StructOpt)] [INFO] [stdout] 36 | enum Opt { [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/after_help.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[structopt(short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/skip.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `structopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `structopt`, use `cargo add structopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/flatten.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `structopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `structopt`, use `cargo add structopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `structopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `structopt`, use `cargo add structopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> examples/doc_comments.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 56 | #[structopt()] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 57 + #[derive(StructOpt)] [INFO] [stdout] 58 | enum SubCommand { [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `indigo-structopt` (test "we_need_syn_full") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_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 struct [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 struct [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[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `structopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `structopt`, use `cargo add structopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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 unresolved module or unlinked crate `structopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `structopt`, use `cargo add structopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_args` found for struct `Opt` in the current scope [INFO] [stdout] --> examples/after_help.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 10 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_args` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 17 | let opt = Opt::from_args(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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 struct [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 struct [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] 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/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 struct [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[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 struct [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 struct [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 struct [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 `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 39 | let result = Opt::clap().get_matches_from_safe(&["test"]); [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `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 struct [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: 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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/flags.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `structopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `structopt`, use `cargo add structopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `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 struct [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 `Opt2` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 28 | struct Opt2 { [INFO] [stdout] | ----------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 48 | Opt2::from_clap(&Opt2::clap().get_matches_from(&["test"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt2` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:48:32 [INFO] [stdout] | [INFO] [stdout] 28 | struct Opt2 { [INFO] [stdout] | ----------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 48 | Opt2::from_clap(&Opt2::clap().get_matches_from(&["test"])) [INFO] [stdout] | ^^^^ function or associated item not found in `Opt2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `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 struct [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: 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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/skip.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | #[structopt(short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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 struct [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: 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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 60 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-vvv", "fetch"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `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 struct [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: 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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/skip.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | #[structopt(skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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 struct [INFO] [stdout] ... [INFO] [stdout] 60 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-vvv", "fetch"])) [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `structopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `structopt`, use `cargo add structopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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 unresolved module or unlinked crate `structopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `structopt`, use `cargo add structopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/rename_all_env.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | #[structopt(rename_all_env = "pascal", env)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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 struct [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 `from_clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 68 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--force", "fetch"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `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 struct [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/nested-subcommands.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 68 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--force", "fetch"])) [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `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 struct [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 struct [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 `from_clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 80 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "add"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `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 struct [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 `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 80 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "add"])) [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `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 struct [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: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flatten.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[structopt(flatten)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/skip.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | #[structopt(short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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 struct [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 `from_clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 88 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-vv", "add"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `indigo-structopt` (example "after_help") due to 4 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `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 struct [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: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flatten.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | #[structopt(flatten)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:88:30 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 88 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-vv", "add"])) [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_args` found for struct `Opt` in the current scope [INFO] [stdout] --> examples/doc_comments.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 9 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_args` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 72 | let opt = Opt::from_args(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flags.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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 `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 94 | let result = Opt::clap().get_matches_from_safe(&["test", "badcmd"]); [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flags.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | #[structopt(short, long, parse(from_occurrences))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flags.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | #[structopt(short, long, parse(from_occurrences))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 96 | let result = Opt::clap().get_matches_from_safe(&["test", "add", "--verbose"]); [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flags.rs:87:11 [INFO] [stdout] | [INFO] [stdout] 87 | #[structopt(short, long, parse(from_flag = parse_from_flag))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flags.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | #[structopt(short, long, parse(from_flag))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 98 | let result = Opt::clap().get_matches_from_safe(&["test", "--badopt", "add"]); [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flatten.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | #[structopt(flatten)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flags.rs:114:11 [INFO] [stdout] | [INFO] [stdout] 114 | #[structopt(short, long)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 12 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 100 | let result = Opt::clap().get_matches_from_safe(&["test", "add", "--badopt"]); [INFO] [stdout] | ^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flags.rs:116:11 [INFO] [stdout] | [INFO] [stdout] 116 | #[structopt(short, long, parse(from_occurrences))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/skip.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | #[structopt(skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/skip.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | #[structopt(skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flatten.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | #[structopt(short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flatten.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | #[structopt(flatten)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `Opt3` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 105 | struct Opt3 { [INFO] [stdout] | ----------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 138 | Opt3::from_clap( [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt3` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `warning_never_struct::Opt` in the current scope [INFO] [stdout] --> tests/deny-warnings.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 20 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 28 | Opt::from_iter(&["test", "foo"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `warning_never_struct::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> tests/raw_bool_literal.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `structopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `structopt`, use `cargo add structopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Opt3` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 105 | struct Opt3 { [INFO] [stdout] | ----------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 139 | &Opt3::clap().get_matches_from(&["test", "--all", "foo", "lib.rs", "quux"]) [INFO] [stdout] | ^^^^ function or associated item not found in `Opt3` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flatten.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | #[structopt(short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 72 + #[derive(StructOpt)] [INFO] [stdout] 73 | enum Opt { [INFO] [stdout] | [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flatten.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | #[structopt(flatten)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 72 + #[derive(StructOpt)] [INFO] [stdout] 73 | enum Opt { [INFO] [stdout] | [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_iter` found for enum `warning_never_enum::Opt` in the current scope [INFO] [stdout] --> tests/deny-warnings.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 35 | enum Opt { [INFO] [stdout] | -------- variant or associated item `from_iter` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 45 | Opt::from_iter(&["test", "foo", "foo"]) [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `warning_never_enum::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `indigo-structopt` (test "non_literal_attributes") due to 29 previous errors [INFO] [stdout] error[E0599]: no variant or associated item named `clap` found for enum `SubSubCmdWithOption` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:170:30 [INFO] [stdout] | [INFO] [stdout] 145 | enum SubSubCmdWithOption { [INFO] [stdout] | ------------------------ variant or associated item `clap` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 170 | SubSubCmdWithOption::clap() [INFO] [stdout] | ^^^^ variant or associated item not found in `SubSubCmdWithOption` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `indigo-structopt` (test "rename_all_env") due to 8 previous errors [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `indigo-structopt` (test "flatten") due to 13 previous errors [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flatten.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 118 | #[structopt(flatten)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 117 + #[derive(StructOpt)] [INFO] [stdout] 118 | enum Opt { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_clap` found for enum `SubSubCmdWithOption` in the current scope [INFO] [stdout] --> tests/nested-subcommands.rs:173:43 [INFO] [stdout] | [INFO] [stdout] 145 | enum SubSubCmdWithOption { [INFO] [stdout] | ------------------------ variant or associated item `from_clap` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 173 | .map(|m| SubSubCmdWithOption::from_clap(&m)) [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `SubSubCmdWithOption` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/doc-comments-help.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | #[structopt(help = "foo")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 99 + #[derive(StructOpt)] [INFO] [stdout] 100 | pub enum SubCommand { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flatten.rs:139:11 [INFO] [stdout] | [INFO] [stdout] 139 | #[structopt(flatten)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 138 + #[derive(StructOpt)] [INFO] [stdout] 139 | pub enum Struct1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/regressions.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | #[structopt(long = "x")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | m!(bool); [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info) [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `unique_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 14 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 21 | Opt::from_clap(&Opt::clap().get_matches_from(&["test"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `unique_flag::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flatten.rs:145:11 [INFO] [stdout] | [INFO] [stdout] 145 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/regressions.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | #[structopt(external_subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/flatten.rs:169:11 [INFO] [stdout] | [INFO] [stdout] 169 | #[structopt(flatten)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `unique_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 14 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 21 | Opt::from_clap(&Opt::clap().get_matches_from(&["test"])) [INFO] [stdout] | ^^^^ function or associated item not found in `unique_flag::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/skip.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | #[structopt(skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/skip.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | #[structopt(long, short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `unique_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 14 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 25 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-a"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `unique_flag::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/skip.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | #[structopt(skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> examples/negative_flag.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `structopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `structopt`, use `cargo add structopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `unique_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 14 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 25 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-a"])) [INFO] [stdout] | ^^^^ function or associated item not found in `unique_flag::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/skip.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | #[structopt(skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/skip.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[structopt(skip, help = "internal_stuff")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `unique_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 14 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 29 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--alice"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `unique_flag::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/skip.rs:102:11 [INFO] [stdout] | [INFO] [stdout] 102 | #[structopt(skip, long_help = "internal_stuff\ndo not touch")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `unique_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 14 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 29 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--alice"])) [INFO] [stdout] | ^^^^ function or associated item not found in `unique_flag::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/skip.rs:108:11 [INFO] [stdout] | [INFO] [stdout] 108 | #[structopt(skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/skip.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | #[structopt(short, parse(try_from_str))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `unique_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 14 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 31 | assert!(Opt::clap().get_matches_from_safe(&["test", "-i"]).is_err()); [INFO] [stdout] | ^^^^ function or associated item not found in `unique_flag::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/skip.rs:130:11 [INFO] [stdout] | [INFO] [stdout] 130 | #[structopt(long, short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `unique_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 14 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 32 | assert!(Opt::clap() [INFO] [stdout] | ^^^^ function or associated item not found in `unique_flag::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/custom-string-parsers.rs:212:11 [INFO] [stdout] | [INFO] [stdout] 212 | #[structopt( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/skip.rs:133:11 [INFO] [stdout] | [INFO] [stdout] 133 | #[structopt(skip = "key")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `unique_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 14 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 35 | assert!(Opt::clap() [INFO] [stdout] | ^^^^ function or associated item not found in `unique_flag::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/skip.rs:136:11 [INFO] [stdout] | [INFO] [stdout] 136 | #[structopt(skip = vec![1, 2, 3])] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `unique_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 14 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 38 | assert!(Opt::clap() [INFO] [stdout] | ^^^^ function or associated item not found in `unique_flag::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `multiple_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 46 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 55 | Opt::from_clap(&Opt::clap().get_matches_from(&["test"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `multiple_flag::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `multiple_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 46 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 55 | Opt::from_clap(&Opt::clap().get_matches_from(&["test"])) [INFO] [stdout] | ^^^^ function or associated item not found in `multiple_flag::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `multiple_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 46 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 59 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-a"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `multiple_flag::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `indigo-structopt` (test "nested-subcommands") due to 31 previous errors [INFO] [stderr] error: could not compile `indigo-structopt` (test "deny-warnings") due to 5 previous errors [INFO] [stderr] error: could not compile `indigo-structopt` (test "doc-comments-help") due to 16 previous errors [INFO] [stderr] error: could not compile `indigo-structopt` (example "doc_comments") due to 8 previous errors [INFO] [stderr] error: could not compile `indigo-structopt` (test "regressions") due to 5 previous errors [INFO] [stderr] error: could not compile `indigo-structopt` (example "negative_flag") due to 3 previous errors [INFO] [stderr] error: could not compile `indigo-structopt` (test "raw_bool_literal") due to 5 previous errors [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] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/raw_bool_literal.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | #[structopt(raw(false))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> tests/raw_bool_literal.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | #[structopt(raw(true))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `structopt` is an attribute that can be used by the derive macro `StructOpt`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `multiple_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 46 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 59 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-a"])) [INFO] [stdout] | ^^^^ function or associated item not found in `multiple_flag::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_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 struct [INFO] [stdout] ... [INFO] [stdout] 13 | let cmd = Opt::from_args(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter_safe` found for struct `skip_1::Opt` in the current scope [INFO] [stdout] --> tests/skip.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 14 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter_safe` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 21 | assert!(Opt::from_iter_safe(&["test", "-x", "10", "20"]).is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `skip_1::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_iter_safe`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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 `skip_1::Opt` in the current scope [INFO] [stdout] --> tests/skip.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 14 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 23 | Opt::from_iter(&["test", "-x", "10"]), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `skip_1::Opt` [INFO] [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 `multiple_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 46 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 63 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-a", "-a"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `multiple_flag::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `multiple_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:63:30 [INFO] [stdout] | [INFO] [stdout] 46 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 63 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-a", "-a"])) [INFO] [stdout] | ^^^^ function or associated item not found in `multiple_flag::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `skip_2::Opt` in the current scope [INFO] [stdout] --> tests/skip.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 34 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 48 | Opt::from_iter(&["test", "-x", "10", "20", "30"]), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `skip_2::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `PathOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 16 | struct PathOpt { [INFO] [stdout] | -------------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 47 | PathOpt::from_clap(&PathOpt::clap().get_matches_from(&[ [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `PathOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `PathOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:47:38 [INFO] [stdout] | [INFO] [stdout] 16 | struct PathOpt { [INFO] [stdout] | -------------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 47 | PathOpt::from_clap(&PathOpt::clap().get_matches_from(&[ [INFO] [stdout] | ^^^^ function or associated item not found in `PathOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `multiple_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 46 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 67 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-a", "--alice", "-bb"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `multiple_flag::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `multiple_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:67:30 [INFO] [stdout] | [INFO] [stdout] 46 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 67 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-a", "--alice", "-bb"])) [INFO] [stdout] | ^^^^ function or associated item not found in `multiple_flag::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `skip_enum::Opt` in the current scope [INFO] [stdout] --> tests/skip.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct Opt { [INFO] [stdout] | -------------- function or associated item `from_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 86 | Opt::from_iter(&["test", "-n", "10"]), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `skip_enum::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `multiple_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 46 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 71 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-aaa", "--bob"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `multiple_flag::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `HexOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 59 | struct HexOpt { [INFO] [stdout] | ------------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 69 | HexOpt::from_clap(&HexOpt::clap().get_matches_from(&["test", "-n", "5"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `HexOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `multiple_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:71:30 [INFO] [stdout] | [INFO] [stdout] 46 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 71 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-aaa", "--bob"])) [INFO] [stdout] | ^^^^ function or associated item not found in `multiple_flag::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `HexOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:69:36 [INFO] [stdout] | [INFO] [stdout] 59 | struct HexOpt { [INFO] [stdout] | ------------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 69 | HexOpt::from_clap(&HexOpt::clap().get_matches_from(&["test", "-n", "5"])) [INFO] [stdout] | ^^^^ function or associated item not found in `HexOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `skip_help_doc_comments::Opt` in the current scope [INFO] [stdout] --> tests/skip.rs:116:14 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct Opt { [INFO] [stdout] | -------------- function or associated item `from_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 116 | Opt::from_iter(&["test", "-n", "10"]), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `skip_help_doc_comments::Opt` [INFO] [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 `multiple_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 46 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 73 | assert!(Opt::clap().get_matches_from_safe(&["test", "-i"]).is_err()); [INFO] [stdout] | ^^^^ function or associated item not found in `multiple_flag::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `multiple_flag::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 46 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 74 | assert!(Opt::clap() [INFO] [stdout] | ^^^^ function or associated item not found in `multiple_flag::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `HexOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 59 | struct HexOpt { [INFO] [stdout] | ------------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 73 | HexOpt::from_clap(&HexOpt::clap().get_matches_from(&["test", "-n", "abcdef"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `HexOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `Opt` in the current scope [INFO] [stdout] --> tests/raw_bool_literal.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 15 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 27 | Opt::from_iter(&["test", "one", "--", "--help"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `HexOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:73:36 [INFO] [stdout] | [INFO] [stdout] 59 | struct HexOpt { [INFO] [stdout] | ------------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 73 | HexOpt::from_clap(&HexOpt::clap().get_matches_from(&["test", "-n", "abcdef"])) [INFO] [stdout] | ^^^^ function or associated item not found in `HexOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `skip_val::Opt` in the current scope [INFO] [stdout] --> tests/skip.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct Opt { [INFO] [stdout] | -------------- function or associated item `from_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 141 | Opt::from_iter(&["test", "-n", "10"]), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `skip_val::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `HexOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 59 | struct HexOpt { [INFO] [stdout] | ------------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 76 | let err = HexOpt::clap() [INFO] [stdout] | ^^^^ function or associated item not found in `HexOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `non_bool_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 86 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 93 | let falsey = Opt::from_clap(&Opt::clap().get_matches_from(&["test"])); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `non_bool_flags::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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 `non_bool_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:93:39 [INFO] [stdout] | [INFO] [stdout] 86 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 93 | let falsey = Opt::from_clap(&Opt::clap().get_matches_from(&["test"])); [INFO] [stdout] | ^^^^ function or associated item not found in `non_bool_flags::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `NoOpOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 96 | struct NoOpOpt { [INFO] [stdout] | -------------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 116 | NoOpOpt::from_clap( [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `NoOpOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `non_bool_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 86 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 97 | let alice = Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-a"])); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `non_bool_flags::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `NoOpOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 96 | struct NoOpOpt { [INFO] [stdout] | -------------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 117 | &NoOpOpt::clap().get_matches_from(&["test", "-a=?", "-b=?", "-c=?", "-d=?"]) [INFO] [stdout] | ^^^^ function or associated item not found in `NoOpOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [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 `non_bool_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:97:38 [INFO] [stdout] | [INFO] [stdout] 86 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 97 | let alice = Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-a"])); [INFO] [stdout] | ^^^^ function or associated item not found in `non_bool_flags::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `non_bool_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 86 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 101 | let bob = Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-b"])); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `non_bool_flags::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `non_bool_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:101:36 [INFO] [stdout] | [INFO] [stdout] 86 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 101 | let bob = Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-b"])); [INFO] [stdout] | ^^^^ function or associated item not found in `non_bool_flags::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `DefaultedOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:146:23 [INFO] [stdout] | [INFO] [stdout] 127 | struct DefaultedOpt { [INFO] [stdout] | ------------------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 146 | DefaultedOpt::from_clap(&DefaultedOpt::clap().get_matches_from(&[ [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `DefaultedOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `DefaultedOpt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:146:48 [INFO] [stdout] | [INFO] [stdout] 127 | struct DefaultedOpt { [INFO] [stdout] | ------------------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 146 | DefaultedOpt::from_clap(&DefaultedOpt::clap().get_matches_from(&[ [INFO] [stdout] | ^^^^ function or associated item not found in `DefaultedOpt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `non_bool_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 86 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 105 | let both = Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-b", "-a"])); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `non_bool_flags::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `non_bool_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:105:37 [INFO] [stdout] | [INFO] [stdout] 86 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 105 | let both = Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-b", "-a"])); [INFO] [stdout] | ^^^^ function or associated item not found in `non_bool_flags::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `Occurrences` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:193:22 [INFO] [stdout] | [INFO] [stdout] 166 | struct Occurrences { [INFO] [stdout] | ------------------ function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 193 | Occurrences::from_clap(&Occurrences::clap().get_matches_from(&[ [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Occurrences` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `indigo-structopt` (test "skip") due to 23 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `combined_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 113 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 125 | Opt::from_clap(&Opt::clap().get_matches_from(&["test"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `combined_flags::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `combined_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:125:30 [INFO] [stdout] | [INFO] [stdout] 113 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 125 | Opt::from_clap(&Opt::clap().get_matches_from(&["test"])) [INFO] [stdout] | ^^^^ function or associated item not found in `combined_flags::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `Occurrences` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:193:46 [INFO] [stdout] | [INFO] [stdout] 166 | struct Occurrences { [INFO] [stdout] | ------------------ function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 193 | Occurrences::from_clap(&Occurrences::clap().get_matches_from(&[ [INFO] [stdout] | ^^^^ function or associated item not found in `Occurrences` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `combined_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:132:14 [INFO] [stdout] | [INFO] [stdout] 113 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 132 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-a"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `combined_flags::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `combined_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:132:30 [INFO] [stdout] | [INFO] [stdout] 113 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 132 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-a"])) [INFO] [stdout] | ^^^^ function or associated item not found in `combined_flags::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 224 | assert!(Opt::clap().get_matches_from_safe(&["test"]).is_err()); [INFO] [stdout] | ^^^^ function or associated item not found in `test_custom_bool::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:225:18 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 225 | assert!(Opt::clap().get_matches_from_safe(&["test", "-d"]).is_err()); [INFO] [stdout] | ^^^^ function or associated item not found in `test_custom_bool::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `combined_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 113 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 139 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-a"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `combined_flags::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `combined_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:139:30 [INFO] [stdout] | [INFO] [stdout] 113 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 139 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-a"])) [INFO] [stdout] | ^^^^ function or associated item not found in `combined_flags::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:226:18 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 226 | assert!(Opt::clap() [INFO] [stdout] | ^^^^ function or associated item not found in `test_custom_bool::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `combined_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:146:14 [INFO] [stdout] | [INFO] [stdout] 113 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 146 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-b"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `combined_flags::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `combined_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 113 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 146 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-b"])) [INFO] [stdout] | ^^^^ function or associated item not found in `combined_flags::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `combined_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:153:14 [INFO] [stdout] | [INFO] [stdout] 113 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 153 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--alice", "--bob"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `combined_flags::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:236:14 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 236 | Opt::from_iter(&["test", "-dfalse"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_custom_bool::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `combined_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:153:30 [INFO] [stdout] | [INFO] [stdout] 113 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 153 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--alice", "--bob"])) [INFO] [stdout] | ^^^^ function or associated item not found in `combined_flags::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_clap` found for struct `combined_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:160:14 [INFO] [stdout] | [INFO] [stdout] 113 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 160 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-bb", "-a", "-bb"])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `combined_flags::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `combined_flags::Opt` in the current scope [INFO] [stdout] --> tests/flags.rs:160:30 [INFO] [stdout] | [INFO] [stdout] 113 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 160 | Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-bb", "-a", "-bb"])) [INFO] [stdout] | ^^^^ function or associated item not found in `combined_flags::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:245:14 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 245 | Opt::from_iter(&["test", "-dtrue"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_custom_bool::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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 `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:254:14 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 254 | Opt::from_iter(&["test", "-dtrue", "-vfalse"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_custom_bool::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:263:14 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 263 | Opt::from_iter(&["test", "-dtrue", "-vtrue"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_custom_bool::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `indigo-structopt` (test "flags") due to 50 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:272:14 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 272 | Opt::from_iter(&["test", "-dtrue", "-tfalse"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_custom_bool::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:281:14 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 281 | Opt::from_iter(&["test", "-dtrue", "-ttrue"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_custom_bool::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `test_custom_bool::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:290:14 [INFO] [stdout] | [INFO] [stdout] 209 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 290 | Opt::from_iter(&["test", "-dtrue", "-bfalse", "-btrue", "-bfalse", "-bfalse"]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_custom_bool::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_cstring::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:301:18 [INFO] [stdout] | [INFO] [stdout] 297 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 301 | assert!(Opt::clap().get_matches_from_safe(&["test"]).is_err()); [INFO] [stdout] | ^^^^ function or associated item not found in `test_cstring::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `test_cstring::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:302:21 [INFO] [stdout] | [INFO] [stdout] 297 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 302 | assert_eq!(Opt::from_iter(&["test", "bla"]).c_string.to_bytes(), b"bla"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `test_cstring::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FromIterator` [INFO] [stdout] candidate #2: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `clap` found for struct `test_cstring::Opt` in the current scope [INFO] [stdout] --> tests/custom-string-parsers.rs:303:18 [INFO] [stdout] | [INFO] [stdout] 297 | struct Opt { [INFO] [stdout] | ---------- function or associated item `clap` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 303 | assert!(Opt::clap() [INFO] [stdout] | ^^^^ function or associated item not found in `test_cstring::Opt` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clap`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `indigo_structopt::StructOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `indigo-structopt` (test "custom-string-parsers") due to 50 previous errors [INFO] running `Command { std: "docker" "inspect" "5f09f2a45200eed132a8516f8258a711d5c0dfb15b157aa43a24058206c28a60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f09f2a45200eed132a8516f8258a711d5c0dfb15b157aa43a24058206c28a60", kill_on_drop: false }` [INFO] [stdout] 5f09f2a45200eed132a8516f8258a711d5c0dfb15b157aa43a24058206c28a60