[INFO] fetching crate optargs 0.1.2... [INFO] checking optargs-0.1.2 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate optargs 0.1.2 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate optargs 0.1.2 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate optargs 0.1.2 [INFO] finished tweaking crates.io crate optargs 0.1.2 [INFO] tweaked toml for crates.io crate optargs 0.1.2 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate crates.io crate optargs 0.1.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded optargs-macro v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 169ae5a4b16a0dd88c738b817fa1e7f14008da70ba37120bc90691b69e38dc96 [INFO] running `Command { std: "docker" "start" "-a" "169ae5a4b16a0dd88c738b817fa1e7f14008da70ba37120bc90691b69e38dc96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "169ae5a4b16a0dd88c738b817fa1e7f14008da70ba37120bc90691b69e38dc96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "169ae5a4b16a0dd88c738b817fa1e7f14008da70ba37120bc90691b69e38dc96", kill_on_drop: false }` [INFO] [stdout] 169ae5a4b16a0dd88c738b817fa1e7f14008da70ba37120bc90691b69e38dc96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f227642a5c925688d2c6ae6e937b853528434c84ac1bcd9ce87ee3134116e06 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2f227642a5c925688d2c6ae6e937b853528434c84ac1bcd9ce87ee3134116e06", 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.67 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling optargs-macro v0.1.2 [INFO] [stderr] Checking optargs v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> examples/optstruct_reference.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let p = Example! { a: 10 }; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/optstruct_reference.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | fn build(mut self) -> bool { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `a` [INFO] [stdout] --> examples/optstruct_reference.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | a: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `b` [INFO] [stdout] --> examples/optstruct_reference.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | b: Option<&'static str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> examples/optstruct_reference.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | fn build(mut self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> examples/optfn_reference.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | fn example(a: i32, b: Option<&str>) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> examples/optfn_reference.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | fn example(a: i32, b: Option<&str>) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `b` [INFO] [stdout] --> examples/optfn_reference.rs:22:48 [INFO] [stdout] | [INFO] [stdout] 22 | impl Validator { fn b(self) -> Validator { self }} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | example_src!(a: 10); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `example_src` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ex` [INFO] [stdout] --> examples/optstruct_demo.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let ex = Example! { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ex` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `a` [INFO] [stdout] --> examples/optstruct_demo.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | a: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `b` [INFO] [stdout] --> examples/optstruct_demo.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | b: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> examples/optfn_multiple_dyns.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | fn blah2(a: Option<&dyn Iterator>) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized] target(s) in 17.64s [INFO] running `Command { std: "docker" "inspect" "2f227642a5c925688d2c6ae6e937b853528434c84ac1bcd9ce87ee3134116e06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f227642a5c925688d2c6ae6e937b853528434c84ac1bcd9ce87ee3134116e06", kill_on_drop: false }` [INFO] [stdout] 2f227642a5c925688d2c6ae6e937b853528434c84ac1bcd9ce87ee3134116e06