[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 master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanthonydotmoe%2Fmines" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anthonydotmoe/mines on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7-tc1/source/Cargo.toml [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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91bf73081c0b1129a8acf6d500340b326ce3f75ee4839b6a3f4506c0d2c019de [INFO] running `Command { std: "docker" "start" "-a" "91bf73081c0b1129a8acf6d500340b326ce3f75ee4839b6a3f4506c0d2c019de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91bf73081c0b1129a8acf6d500340b326ce3f75ee4839b6a3f4506c0d2c019de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91bf73081c0b1129a8acf6d500340b326ce3f75ee4839b6a3f4506c0d2c019de", kill_on_drop: false }` [INFO] [stdout] 91bf73081c0b1129a8acf6d500340b326ce3f75ee4839b6a3f4506c0d2c019de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afbb6a0c4b3b3355f8bebf22cf1dd0e863a5cc87ed91ec70f69233647f92b061 [INFO] running `Command { std: "docker" "start" "-a" "afbb6a0c4b3b3355f8bebf22cf1dd0e863a5cc87ed91ec70f69233647f92b061", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.8 [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] Checking fastrand v1.9.0 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Checking num-traits v0.2.15 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [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] [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)]` 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)]` 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: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: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: 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] [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] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.02s [INFO] running `Command { std: "docker" "inspect" "afbb6a0c4b3b3355f8bebf22cf1dd0e863a5cc87ed91ec70f69233647f92b061", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afbb6a0c4b3b3355f8bebf22cf1dd0e863a5cc87ed91ec70f69233647f92b061", kill_on_drop: false }` [INFO] [stdout] afbb6a0c4b3b3355f8bebf22cf1dd0e863a5cc87ed91ec70f69233647f92b061