[INFO] fetching crate clapme 0.1.16... [INFO] checking clapme-0.1.16 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate clapme 0.1.16 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate clapme 0.1.16 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate clapme 0.1.16 [INFO] finished tweaking crates.io crate clapme 0.1.16 [INFO] tweaked toml for crates.io crate clapme 0.1.16 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate crates.io crate clapme 0.1.16 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hermit-abi v0.1.16 [INFO] [stderr] Downloaded nom v1.2.4 [INFO] [stderr] Downloaded clapme_derive v0.1.10 [INFO] [stderr] Downloaded meval v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25ee7b9a4e1d922fdf65252b9f4f1e851cbab3ac78a3ea5caa65f453438c8b78 [INFO] running `Command { std: "docker" "start" "-a" "25ee7b9a4e1d922fdf65252b9f4f1e851cbab3ac78a3ea5caa65f453438c8b78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25ee7b9a4e1d922fdf65252b9f4f1e851cbab3ac78a3ea5caa65f453438c8b78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25ee7b9a4e1d922fdf65252b9f4f1e851cbab3ac78a3ea5caa65f453438c8b78", kill_on_drop: false }` [INFO] [stdout] 25ee7b9a4e1d922fdf65252b9f4f1e851cbab3ac78a3ea5caa65f453438c8b78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cc02919189a833f47b8ae81e282b4e28c2440ad3ac62ba04387d89415509adc [INFO] running `Command { std: "docker" "start" "-a" "9cc02919189a833f47b8ae81e282b4e28c2440ad3ac62ba04387d89415509adc", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling libc v0.2.78 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking nom v1.2.4 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking meval v0.1.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling clapme_derive v0.1.10 [INFO] [stderr] Checking clapme v0.1.16 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/only-one-variant.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/underscore-in-optional-field.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/generic.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/unit-struct.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> tests/unit-struct.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/enum-required-by-optional-struct.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/nested.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/deeply-nested-with-underscores.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/enum-required-by-optional-struct.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | ResumeFrom(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Params` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | ResumeFrom(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sys` is never read [INFO] [stdout] --> tests/enum-required-by-optional-struct.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | _Params { [INFO] [stdout] | ------- field in this variant [INFO] [stdout] 18 | sys: SquareWellParams, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Params` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/enum-required-by-optional-struct.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | Width(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Dimensions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 25 | Width(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/enum-required-by-optional-struct.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | Volume(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Dimensions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 27 | Volume(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `well_width` and `cell` are never read [INFO] [stdout] --> tests/enum-required-by-optional-struct.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct SquareWellParams { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 32 | well_width: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | cell: Dimensions, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SquareWellParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/underscore-in-optional-field.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | ResumeFrom(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Params` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | ResumeFrom(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sys` is never read [INFO] [stdout] --> tests/underscore-in-optional-field.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | _Params { [INFO] [stdout] | ------- field in this variant [INFO] [stdout] 18 | sys: SquareWellParams, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Params` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `well_width` is never read [INFO] [stdout] --> tests/underscore-in-optional-field.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct SquareWellParams { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 24 | well_width: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SquareWellParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/create-guide.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/create-guide.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | /// This gives the following usage. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | strings.push(Foo::help_message("foo")); [INFO] [stdout] | -------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/create-guide.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | /// This gives the following usage. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 91 | strings.push(Help::help_message("help")); [INFO] [stdout] | ---------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/create-guide.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | /// This gives the following usage. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 115 | strings.push(Flags::help_message("flags")); [INFO] [stdout] | ------------------------------------------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/create-guide.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | /// This gives the following usage. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 139 | strings.push(Types::help_message("types")); [INFO] [stdout] | ------------------------------------------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/create-guide.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | /// This gives the following usage. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 168 | strings.push(Optional::help_message("optional")); [INFO] [stdout] | ------------------------------------------------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/create-guide.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | /// This gives the following usage. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 196 | strings.push(Exclusive::help_message("exclusive")); [INFO] [stdout] | -------------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/create-guide.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | /// This gives the following usage. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 238 | strings.push(Nested::help_message("nested")); [INFO] [stdout] | -------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/create-guide.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | /// This gives the following usage. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 270 | strings.push(Flattened::help_message("flattened")); [INFO] [stdout] | -------------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/create-guide.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | / /// This may be a good idea if `MyConfig` and `YourConfig` are [INFO] [stdout] 273 | | /// implementation details that your user need not be aware of. [INFO] [stdout] 274 | | [INFO] [stdout] 275 | | /// ## Other possibilities [INFO] [stdout] ... | [INFO] [stdout] 290 | | /// an issue on github if there is a type that you would like to [INFO] [stdout] 291 | | /// have supported by clapme. Pull requests are most welcome. [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] 292 | [INFO] [stdout] 293 | strings.reverse(); [INFO] [stdout] | ----------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/flags.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/tuple-struct.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/phantom.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/enum.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/experiment.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `First_World` should have an upper camel case name [INFO] [stdout] --> tests/enum.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | First_World, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `FirstWorld` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/experiment.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/bool-and-option-in-substruct.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/options.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `foo` is never read [INFO] [stdout] --> tests/create-guide.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | struct Foo { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 68 | foo: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `verbose` and `T` are never read [INFO] [stdout] --> tests/create-guide.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 83 | struct Help { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 84 | /// Print excess messages. [INFO] [stdout] 85 | verbose: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 86 | /// The temperature. [INFO] [stdout] 87 | T: bool, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `verbose`, `blue_is_nice_`, and `min_T` are never read [INFO] [stdout] --> tests/create-guide.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 105 | struct Flags { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 106 | /// a simple word has "--" prepended to it. [INFO] [stdout] 107 | verbose: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 108 | /// Underscores are replaced with "-" ... [INFO] [stdout] 109 | blue_is_nice_: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 110 | /// and capital letters are preserved. [INFO] [stdout] 111 | min_T: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `T`, and `directory` are never read [INFO] [stdout] --> tests/create-guide.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 129 | struct Types { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 130 | /// The name of the type [INFO] [stdout] 131 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 132 | /// The temperature of the type [INFO] [stdout] 133 | T: f64, [INFO] [stdout] | ^ [INFO] [stdout] 134 | /// The place where it is [INFO] [stdout] 135 | directory: std::path::PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> tests/create-guide.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 162 | struct Optional { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 163 | /// The name is an optional argument. [INFO] [stdout] 164 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a` and `b` are never read [INFO] [stdout] --> tests/create-guide.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 181 | First { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 182 | /// This is the "a" value [INFO] [stdout] 183 | a: String, [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 187 | b: String, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/create-guide.rs:190:20 [INFO] [stdout] | [INFO] [stdout] 190 | SecondFlag(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 190 | SecondFlag(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> tests/create-guide.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 223 | struct Vec2d { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 224 | x: f64, y: f64, [INFO] [stdout] | ^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position` and `velocity` are never read [INFO] [stdout] --> tests/create-guide.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 227 | struct Nested { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 233 | position: Vec2d, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 234 | velocity: Vec2d, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> tests/create-guide.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 254 | struct MyConfig { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 255 | /// The user's name [INFO] [stdout] 256 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `address` is never read [INFO] [stdout] --> tests/create-guide.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 259 | struct YourConfig { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 260 | /// The user's address [INFO] [stdout] 261 | address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.90s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v1.2.4, syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "9cc02919189a833f47b8ae81e282b4e28c2440ad3ac62ba04387d89415509adc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cc02919189a833f47b8ae81e282b4e28c2440ad3ac62ba04387d89415509adc", kill_on_drop: false }` [INFO] [stdout] 9cc02919189a833f47b8ae81e282b4e28c2440ad3ac62ba04387d89415509adc