[INFO] fetching crate match_type 0.1.5... [INFO] checking match_type-0.1.5 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate match_type 0.1.5 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate match_type 0.1.5 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 match_type 0.1.5 [INFO] finished tweaking crates.io crate match_type 0.1.5 [INFO] tweaked toml for crates.io crate match_type 0.1.5 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate crates.io crate match_type 0.1.5 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 3c8c53a7a168d03f0ddd69dbc78018c89bb79c2033fa099062e54ec938adb1ed [INFO] running `Command { std: "docker" "start" "-a" "3c8c53a7a168d03f0ddd69dbc78018c89bb79c2033fa099062e54ec938adb1ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c8c53a7a168d03f0ddd69dbc78018c89bb79c2033fa099062e54ec938adb1ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c8c53a7a168d03f0ddd69dbc78018c89bb79c2033fa099062e54ec938adb1ed", kill_on_drop: false }` [INFO] [stdout] 3c8c53a7a168d03f0ddd69dbc78018c89bb79c2033fa099062e54ec938adb1ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] d385832e086fdf2a29320bc249f02d2dae93e8af0539032ac283452d7564f32f [INFO] running `Command { std: "docker" "start" "-a" "d385832e086fdf2a29320bc249f02d2dae93e8af0539032ac283452d7564f32f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Checking unicode-ident v1.0.11 [INFO] [stderr] Checking quote v1.0.32 [INFO] [stderr] Checking syn v2.0.27 [INFO] [stderr] Checking match_type v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> examples/experiments.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let c = vec![1, 2, 3, 4, 5]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> examples/experiments2.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 138 | / (MatchTypeWrapper0($e) [INFO] [stdout] 139 | | .match_type_w0() [INFO] [stdout] 140 | | .match_type_w1() [INFO] [stdout] 141 | | .match_type_w2() [INFO] [stdout] 142 | | .match_type_finish()) [INFO] [stdout] | |_________________________________- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 161 | let z = m!(&s); [INFO] [stdout] | ^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `as_string` [INFO] [stdout] --> examples/playground.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | macro_rules! as_string { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `w3` is never used [INFO] [stdout] --> examples/experiments4.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 3 | impl Done { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 10 | fn w3(self) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `w3` is never used [INFO] [stdout] --> examples/experiments3.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 3 | impl Done { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 10 | fn w3(self) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> examples/experiments2.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | let q = MatchTypeWrapper0(vec![1, 2, 3]) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> examples/experiments2.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | let s = S(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> examples/experiments2.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | let x = m!(&i); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> examples/experiments2.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let y = m!(&v); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> examples/experiments2.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | let z = m!(&s); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `arm0` is never used [INFO] [stdout] --> examples/experiments5.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | impl Done { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 6 | fn arm0(self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MatchTypeMatch1` is never used [INFO] [stdout] --> examples/experiments2.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | trait MatchTypeMatch1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `arm2` is never used [INFO] [stdout] --> examples/experiments5.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 22 | trait Catch { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] ... [INFO] [stdout] 25 | fn arm2(self) -> Self; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `match_type_w1` is never used [INFO] [stdout] --> examples/experiments2.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 65 | impl MatchTypeWrapper1 { [INFO] [stdout] | --------------------------------------------- method in this implementation [INFO] [stdout] 66 | fn match_type_w1(self) -> MatchTypeDone<::MatchTypeReturnType> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MatchTypeMatch2` is never used [INFO] [stdout] --> examples/experiments2.rs:93:7 [INFO] [stdout] | [INFO] [stdout] 93 | trait MatchTypeMatch2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `match_type_w2` is never used [INFO] [stdout] --> examples/experiments2.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 100 | impl MatchTypeWrapper2 { [INFO] [stdout] | --------------------------------------------- method in this implementation [INFO] [stdout] 101 | fn match_type_w2(self) -> MatchTypeDone<::MatchTypeReturnType> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `A` is never constructed [INFO] [stdout] --> examples/playground.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | struct A; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `B` is never constructed [INFO] [stdout] --> examples/playground.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | struct B; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> examples/as_string.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | struct Foo(u32); [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.56s [INFO] running `Command { std: "docker" "inspect" "d385832e086fdf2a29320bc249f02d2dae93e8af0539032ac283452d7564f32f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d385832e086fdf2a29320bc249f02d2dae93e8af0539032ac283452d7564f32f", kill_on_drop: false }` [INFO] [stdout] d385832e086fdf2a29320bc249f02d2dae93e8af0539032ac283452d7564f32f