[INFO] fetching crate optargs 0.1.2... [INFO] checking optargs-0.1.2 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] extracting crate optargs 0.1.2 into /workspace/builds/worker-113/source [INFO] validating manifest of crates.io crate optargs 0.1.2 on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-113/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 268021cf88a8589a8f717b9360fdd582659a3735e4f06ed5c7f4e2389067447c [INFO] running `Command { std: "docker" "start" "-a" "268021cf88a8589a8f717b9360fdd582659a3735e4f06ed5c7f4e2389067447c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "268021cf88a8589a8f717b9360fdd582659a3735e4f06ed5c7f4e2389067447c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "268021cf88a8589a8f717b9360fdd582659a3735e4f06ed5c7f4e2389067447c", kill_on_drop: false }` [INFO] [stdout] 268021cf88a8589a8f717b9360fdd582659a3735e4f06ed5c7f4e2389067447c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e42b6ca0e842ed05e937e5809b6e42ca0fdfa06ed5539bdb8ebfcf448b110c90 [INFO] running `Command { std: "docker" "start" "-a" "e42b6ca0e842ed05e937e5809b6e42ca0fdfa06ed5539bdb8ebfcf448b110c90", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: trailing semicolon in macro used in expression position [INFO] [stdout] --> examples/optstruct_reference.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | $src.0 = Some($value); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 42 | let p = Example! { a: 10 }; [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `Example` [INFO] [stdout] = note: this warning originates in the macro `Example` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [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: 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: 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: 6 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: 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: 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: 1 warning emitted [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized] target(s) in 10.54s [INFO] running `Command { std: "docker" "inspect" "e42b6ca0e842ed05e937e5809b6e42ca0fdfa06ed5539bdb8ebfcf448b110c90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e42b6ca0e842ed05e937e5809b6e42ca0fdfa06ed5539bdb8ebfcf448b110c90", kill_on_drop: false }` [INFO] [stdout] e42b6ca0e842ed05e937e5809b6e42ca0fdfa06ed5539bdb8ebfcf448b110c90