[INFO] cloning repository https://github.com/anthonydotmoe/mines [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anthonydotmoe/mines" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanthonydotmoe%2Fmines", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanthonydotmoe%2Fmines'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c672b53f94504cd663e42584b560fd61c06d35b3 [INFO] checking anthonydotmoe/mines against try#38c2997544af84fe301d600d6896397738163002 for pr-154205-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanthonydotmoe%2Fmines" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/anthonydotmoe/mines [INFO] finished tweaking git repo https://github.com/anthonydotmoe/mines [INFO] tweaked toml for git repo https://github.com/anthonydotmoe/mines written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/anthonydotmoe/mines on toolchain 38c2997544af84fe301d600d6896397738163002 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/anthonydotmoe/mines 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" "+38c2997544af84fe301d600d6896397738163002" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdl2 v0.32.2 [INFO] [stderr] Downloaded sdl2-sys v0.32.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c95cdbad8bdb12d65c8203464949c66312418f786ffacce192e76ba39c28d7b9 [INFO] running `Command { std: "docker" "start" "-a" "c95cdbad8bdb12d65c8203464949c66312418f786ffacce192e76ba39c28d7b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c95cdbad8bdb12d65c8203464949c66312418f786ffacce192e76ba39c28d7b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c95cdbad8bdb12d65c8203464949c66312418f786ffacce192e76ba39c28d7b9", kill_on_drop: false }` [INFO] [stdout] c95cdbad8bdb12d65c8203464949c66312418f786ffacce192e76ba39c28d7b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72c3cb9c86414e0391be3a0007c82c34e2cf59be7bc85b406facb6503c5ae9d4 [INFO] running `Command { std: "docker" "start" "-a" "72c3cb9c86414e0391be3a0007c82c34e2cf59be7bc85b406facb6503c5ae9d4", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Checking num-traits v0.2.15 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking mines v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] [FMTARGS] {"crate":"mines","loc":"src/game/minesweeper.rs:166:23","p":0,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"mines","loc":"src/game/minesweeper.rs:166:23","p":0,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"mines","loc":"/rustc/38c2997544af84fe301d600d6896397738163002/library/std/src/macros.rs:140:23","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"mines","loc":"/rustc/38c2997544af84fe301d600d6896397738163002/library/std/src/macros.rs:140:23","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stdout] warning: variants `Flagged`, `Questioned`, `Revealed`, and `Exploded` are never constructed [INFO] [stdout] --> src/game/minesweeper.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | enum BlockState { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 5 | Hidden, [INFO] [stdout] 6 | Flagged, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | Questioned, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | Revealed, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | Exploded, // Only for bombs [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Flagged`, `Questioned`, `Revealed`, and `Exploded` are never constructed [INFO] [stdout] --> src/game/minesweeper.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | enum BlockState { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 5 | Hidden, [INFO] [stdout] 6 | Flagged, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | Questioned, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | Revealed, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | Exploded, // Only for bombs [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/game/minesweeper.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | Empty { state: BlockState, adjacent_bombs: usize }, [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Block` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/game/minesweeper.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | Bomb { state: BlockState }, [INFO] [stdout] | ---- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Block` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/game/minesweeper.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | Empty { state: BlockState, adjacent_bombs: usize }, [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Block` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Wow`, `Lost`, `Winner`, and `Clicked` are never constructed [INFO] [stdout] --> src/game/minesweeper.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | enum Smile { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 27 | Normal, [INFO] [stdout] 28 | Wow, [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | Lost, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | Winner, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | Clicked, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Smile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BoardPoint` is never constructed [INFO] [stdout] --> src/game/minesweeper.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct BoardPoint { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/game/minesweeper.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | Bomb { state: BlockState }, [INFO] [stdout] | ---- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Block` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `smile`, `timer_sec`, `num_empty_blocks`, and `num_revealed_blocks` are never read [INFO] [stdout] --> src/game/minesweeper.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct MinesweeperGame { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 42 | smile: Smile, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | timer_sec: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 50 | [INFO] [stdout] 51 | num_empty_blocks: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | num_revealed_blocks: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MinesweeperGame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Wow`, `Lost`, `Winner`, and `Clicked` are never constructed [INFO] [stdout] --> src/game/minesweeper.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | enum Smile { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 27 | Normal, [INFO] [stdout] 28 | Wow, [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | Lost, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | Winner, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | Clicked, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Smile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BoardPoint` is never constructed [INFO] [stdout] --> src/game/minesweeper.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct BoardPoint { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `smile`, `timer_sec`, `num_empty_blocks`, and `num_revealed_blocks` are never read [INFO] [stdout] --> src/game/minesweeper.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct MinesweeperGame { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 42 | smile: Smile, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | timer_sec: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 50 | [INFO] [stdout] 51 | num_empty_blocks: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | num_revealed_blocks: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MinesweeperGame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.08s [INFO] running `Command { std: "docker" "inspect" "72c3cb9c86414e0391be3a0007c82c34e2cf59be7bc85b406facb6503c5ae9d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72c3cb9c86414e0391be3a0007c82c34e2cf59be7bc85b406facb6503c5ae9d4", kill_on_drop: false }` [INFO] [stdout] 72c3cb9c86414e0391be3a0007c82c34e2cf59be7bc85b406facb6503c5ae9d4