[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 never-type-fallback-to-never [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanthonydotmoe%2Fmines" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 4c6cbfaac8b3b8ccf89bd88ee972ef5ac96660c77c68f63923efe027ee00cd03 [INFO] running `Command { std: "docker" "start" "-a" "4c6cbfaac8b3b8ccf89bd88ee972ef5ac96660c77c68f63923efe027ee00cd03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c6cbfaac8b3b8ccf89bd88ee972ef5ac96660c77c68f63923efe027ee00cd03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c6cbfaac8b3b8ccf89bd88ee972ef5ac96660c77c68f63923efe027ee00cd03", kill_on_drop: false }` [INFO] [stdout] 4c6cbfaac8b3b8ccf89bd88ee972ef5ac96660c77c68f63923efe027ee00cd03 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] cc904c0a8afa497d449dc84dba6064121c097652d09e5f48bf2a97dc80f2b567 [INFO] running `Command { std: "docker" "start" "-a" "cc904c0a8afa497d449dc84dba6064121c097652d09e5f48bf2a97dc80f2b567", 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 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] 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_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [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: 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: 7 warnings emitted [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.20s [INFO] running `Command { std: "docker" "inspect" "cc904c0a8afa497d449dc84dba6064121c097652d09e5f48bf2a97dc80f2b567", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc904c0a8afa497d449dc84dba6064121c097652d09e5f48bf2a97dc80f2b567", kill_on_drop: false }` [INFO] [stdout] cc904c0a8afa497d449dc84dba6064121c097652d09e5f48bf2a97dc80f2b567 [INFO] checking anthonydotmoe/mines against try#2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2 for never-type-fallback-to-never [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanthonydotmoe%2Fmines" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anthonydotmoe/mines on toolchain 2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "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-3-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" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0f3fd5fa204d2b3a34baa65fea05515af33d5bce3044bcd222209df9c71cdcd [INFO] running `Command { std: "docker" "start" "-a" "c0f3fd5fa204d2b3a34baa65fea05515af33d5bce3044bcd222209df9c71cdcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0f3fd5fa204d2b3a34baa65fea05515af33d5bce3044bcd222209df9c71cdcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0f3fd5fa204d2b3a34baa65fea05515af33d5bce3044bcd222209df9c71cdcd", kill_on_drop: false }` [INFO] [stdout] c0f3fd5fa204d2b3a34baa65fea05515af33d5bce3044bcd222209df9c71cdcd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d67287e82162d5c35172ab001aa6869992f9906d9791b7c9d84ae296e2eed0fc [INFO] running `Command { std: "docker" "start" "-a" "d67287e82162d5c35172ab001aa6869992f9906d9791b7c9d84ae296e2eed0fc", 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 num-integer v0.1.45 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling sdl2 v0.32.2 [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_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [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: 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: 7 warnings emitted [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.81s [INFO] running `Command { std: "docker" "inspect" "d67287e82162d5c35172ab001aa6869992f9906d9791b7c9d84ae296e2eed0fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d67287e82162d5c35172ab001aa6869992f9906d9791b7c9d84ae296e2eed0fc", kill_on_drop: false }` [INFO] [stdout] d67287e82162d5c35172ab001aa6869992f9906d9791b7c9d84ae296e2eed0fc