[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#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanthonydotmoe%2Fmines" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anthonydotmoe/mines on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-2-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be024d4802097152e762c835e6034195342ab74b00893a20632e5afaff9f7170 [INFO] running `Command { std: "docker" "start" "-a" "be024d4802097152e762c835e6034195342ab74b00893a20632e5afaff9f7170", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be024d4802097152e762c835e6034195342ab74b00893a20632e5afaff9f7170", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be024d4802097152e762c835e6034195342ab74b00893a20632e5afaff9f7170", kill_on_drop: false }` [INFO] [stdout] be024d4802097152e762c835e6034195342ab74b00893a20632e5afaff9f7170 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d37ae186fa6913ad5c32d3cf43ba8382e2bb49ce6d3c6e6d4bfef6122dcd710 [INFO] running `Command { std: "docker" "start" "-a" "8d37ae186fa6913ad5c32d3cf43ba8382e2bb49ce6d3c6e6d4bfef6122dcd710", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [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_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking num-iter v0.1.43 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking mines v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `fastrand` is imported redundantly [INFO] [stdout] --> src/game/minesweeper.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use fastrand; [INFO] [stdout] | ^^^^^^^^ the item `fastrand` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fastrand` is imported redundantly [INFO] [stdout] --> src/game/minesweeper.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use fastrand; [INFO] [stdout] | ^^^^^^^^ the item `fastrand` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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] [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] [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 `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] [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] [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.29s [INFO] running `Command { std: "docker" "inspect" "8d37ae186fa6913ad5c32d3cf43ba8382e2bb49ce6d3c6e6d4bfef6122dcd710", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d37ae186fa6913ad5c32d3cf43ba8382e2bb49ce6d3c6e6d4bfef6122dcd710", kill_on_drop: false }` [INFO] [stdout] 8d37ae186fa6913ad5c32d3cf43ba8382e2bb49ce6d3c6e6d4bfef6122dcd710 [INFO] checking anthonydotmoe/mines against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanthonydotmoe%2Fmines" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anthonydotmoe/mines on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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-2-tc2/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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1eaa82bc3706b6b8ac074dfaa7966b723d2c76b69a569e980bb819abc4f9eadc [INFO] running `Command { std: "docker" "start" "-a" "1eaa82bc3706b6b8ac074dfaa7966b723d2c76b69a569e980bb819abc4f9eadc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1eaa82bc3706b6b8ac074dfaa7966b723d2c76b69a569e980bb819abc4f9eadc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1eaa82bc3706b6b8ac074dfaa7966b723d2c76b69a569e980bb819abc4f9eadc", kill_on_drop: false }` [INFO] [stdout] 1eaa82bc3706b6b8ac074dfaa7966b723d2c76b69a569e980bb819abc4f9eadc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d20d2eee2625083178f64f6571ace9f2c3cfbad4c241ce4c767e596b4fdce8a [INFO] running `Command { std: "docker" "start" "-a" "5d20d2eee2625083178f64f6571ace9f2c3cfbad4c241ce4c767e596b4fdce8a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [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_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking num-iter v0.1.43 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking mines v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `fastrand` is imported redundantly [INFO] [stdout] --> src/game/minesweeper.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use fastrand; [INFO] [stdout] | ^^^^^^^^ the item `fastrand` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fastrand` is imported redundantly [INFO] [stdout] --> src/game/minesweeper.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use fastrand; [INFO] [stdout] | ^^^^^^^^ the item `fastrand` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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] [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] [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 `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] [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] [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.75s [INFO] running `Command { std: "docker" "inspect" "5d20d2eee2625083178f64f6571ace9f2c3cfbad4c241ce4c767e596b4fdce8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d20d2eee2625083178f64f6571ace9f2c3cfbad4c241ce4c767e596b4fdce8a", kill_on_drop: false }` [INFO] [stdout] 5d20d2eee2625083178f64f6571ace9f2c3cfbad4c241ce4c767e596b4fdce8a