[INFO] fetching crate clapme 0.1.16... [INFO] building clapme-0.1.16 against try#b755f8b9936d084e0363ce6b393c7e444a37080e for pr-97334-1 [INFO] extracting crate clapme 0.1.16 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate clapme 0.1.16 on toolchain b755f8b9936d084e0363ce6b393c7e444a37080e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "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-4/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: "/workspace/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75285e9d5512705694e6ce308436d5313cff1463c8d2cb1734ecb8139c168c1c [INFO] running `Command { std: "docker" "start" "-a" "75285e9d5512705694e6ce308436d5313cff1463c8d2cb1734ecb8139c168c1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75285e9d5512705694e6ce308436d5313cff1463c8d2cb1734ecb8139c168c1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75285e9d5512705694e6ce308436d5313cff1463c8d2cb1734ecb8139c168c1c", kill_on_drop: false }` [INFO] [stdout] 75285e9d5512705694e6ce308436d5313cff1463c8d2cb1734ecb8139c168c1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6cb6afd69ec2f2fad7d9c854d88583abafcd13cad8453faeb1070ddf467a6bb8 [INFO] running `Command { std: "docker" "start" "-a" "6cb6afd69ec2f2fad7d9c854d88583abafcd13cad8453faeb1070ddf467a6bb8", kill_on_drop: false }` [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] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling nom v1.2.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling meval v0.1.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling clapme_derive v0.1.10 [INFO] [stderr] Compiling clapme v0.1.16 (/opt/rustwide/workdir) [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.50s [INFO] running `Command { std: "docker" "inspect" "6cb6afd69ec2f2fad7d9c854d88583abafcd13cad8453faeb1070ddf467a6bb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cb6afd69ec2f2fad7d9c854d88583abafcd13cad8453faeb1070ddf467a6bb8", kill_on_drop: false }` [INFO] [stdout] 6cb6afd69ec2f2fad7d9c854d88583abafcd13cad8453faeb1070ddf467a6bb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d7b05bd510201563e861e2a9e8234a03eed881f20c531000374a68c34d97919 [INFO] running `Command { std: "docker" "start" "-a" "3d7b05bd510201563e861e2a9e8234a03eed881f20c531000374a68c34d97919", kill_on_drop: false }` [INFO] [stderr] Compiling clapme v0.1.16 (/opt/rustwide/workdir) [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: 1 warning emitted [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/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: 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: 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/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 `#[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 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] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [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/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/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: 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/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/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: 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/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: 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: `#[warn(dead_code)]` on by default [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: 1 warning emitted [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: 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: 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: 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: `#[warn(dead_code)]` on by default [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings 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: 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 18.83s [INFO] running `Command { std: "docker" "inspect" "3d7b05bd510201563e861e2a9e8234a03eed881f20c531000374a68c34d97919", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d7b05bd510201563e861e2a9e8234a03eed881f20c531000374a68c34d97919", kill_on_drop: false }` [INFO] [stdout] 3d7b05bd510201563e861e2a9e8234a03eed881f20c531000374a68c34d97919