[INFO] fetching crate optargs 0.1.2... [INFO] checking optargs-0.1.2 against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] extracting crate optargs 0.1.2 into /workspace/builds/worker-62/source [INFO] validating manifest of crates.io crate optargs 0.1.2 on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "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-62/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" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v1.0.67 [INFO] [stderr] Downloaded optargs-macro v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c71808fb4cbb4ad0f332ad06ec0514535785f9e960524513c10668f2b5a18285 [INFO] running `Command { std: "docker" "start" "-a" "c71808fb4cbb4ad0f332ad06ec0514535785f9e960524513c10668f2b5a18285", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c71808fb4cbb4ad0f332ad06ec0514535785f9e960524513c10668f2b5a18285", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c71808fb4cbb4ad0f332ad06ec0514535785f9e960524513c10668f2b5a18285", kill_on_drop: false }` [INFO] [stdout] c71808fb4cbb4ad0f332ad06ec0514535785f9e960524513c10668f2b5a18285 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76f808d178a3b6e100e5928023f83fc6af940f66ea1f42a733f50451320c0be3 [INFO] running `Command { std: "docker" "start" "-a" "76f808d178a3b6e100e5928023f83fc6af940f66ea1f42a733f50451320c0be3", 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: 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: 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_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: 6 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized] target(s) in 14.41s [INFO] running `Command { std: "docker" "inspect" "76f808d178a3b6e100e5928023f83fc6af940f66ea1f42a733f50451320c0be3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76f808d178a3b6e100e5928023f83fc6af940f66ea1f42a733f50451320c0be3", kill_on_drop: false }` [INFO] [stdout] 76f808d178a3b6e100e5928023f83fc6af940f66ea1f42a733f50451320c0be3