[INFO] cloning repository https://github.com/strangelovephd/minesweeper
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/strangelovephd/minesweeper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrangelovephd%2Fminesweeper", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrangelovephd%2Fminesweeper'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9ebc94507a558f3c8f62f0ad5a29af86bbf794e3
[INFO] checking strangelovephd/minesweeper against master#9bfa31f632912180dc742809bcc51a97f2d7079d for pr-140151
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrangelovephd%2Fminesweeper" "/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/strangelovephd/minesweeper on toolchain 9bfa31f632912180dc742809bcc51a97f2d7079d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9bfa31f632912180dc742809bcc51a97f2d7079d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/strangelovephd/minesweeper
[INFO] finished tweaking git repo https://github.com/strangelovephd/minesweeper
[INFO] tweaked toml for git repo https://github.com/strangelovephd/minesweeper written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/strangelovephd/minesweeper 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" "+9bfa31f632912180dc742809bcc51a97f2d7079d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pistoncore-glutin_window v0.52.0
[INFO] [stderr]   Downloaded pistoncore-event_loop v0.40.0
[INFO] [stderr]   Downloaded pistoncore-window v0.35.0
[INFO] [stderr]   Downloaded pistoncore-input v0.23.0
[INFO] [stderr]   Downloaded piston v0.40.0
[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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+9bfa31f632912180dc742809bcc51a97f2d7079d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2f7726d1c0ca905f5de255b694b70b5a9e18b6651a72d531e78f56647e8d7945
[INFO] running `Command { std: "docker" "start" "-a" "2f7726d1c0ca905f5de255b694b70b5a9e18b6651a72d531e78f56647e8d7945", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2f7726d1c0ca905f5de255b694b70b5a9e18b6651a72d531e78f56647e8d7945", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2f7726d1c0ca905f5de255b694b70b5a9e18b6651a72d531e78f56647e8d7945", kill_on_drop: false }`
[INFO] [stdout] 2f7726d1c0ca905f5de255b694b70b5a9e18b6651a72d531e78f56647e8d7945
[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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+9bfa31f632912180dc742809bcc51a97f2d7079d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 548cca18b5157587a39fcbc7c21baa7e90d2fb20281c697e2312e6e97cbf8320
[INFO] running `Command { std: "docker" "start" "-a" "548cca18b5157587a39fcbc7c21baa7e90d2fb20281c697e2312e6e97cbf8320", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.48
[INFO] [stderr]    Compiling proc-macro2 v0.4.27
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]     Checking lazy_static v1.2.0
[INFO] [stderr]    Compiling xml-rs v0.8.0
[INFO] [stderr]     Checking cfg-if v0.1.6
[INFO] [stderr]     Checking bitflags v1.0.4
[INFO] [stderr]    Compiling arrayvec v0.4.10
[INFO] [stderr]    Compiling byteorder v1.3.1
[INFO] [stderr]     Checking nodrop v0.1.13
[INFO] [stderr]     Checking rand_core v0.4.0
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking scopeguard v0.3.3
[INFO] [stderr]    Compiling autocfg v0.1.2
[INFO] [stderr]    Compiling cc v1.0.29
[INFO] [stderr]    Compiling khronos_api v3.0.0
[INFO] [stderr]    Compiling nix v0.12.0
[INFO] [stderr]    Compiling log v0.4.6
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking piston-float v0.3.0
[INFO] [stderr]     Checking rand_jitter v0.1.2
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking piston-viewport v0.5.0
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking crossbeam-utils v0.2.2
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]     Checking memoffset v0.2.1
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling serde v1.0.87
[INFO] [stderr]    Compiling rayon-core v1.4.1
[INFO] [stderr]     Checking unreachable v1.0.0
[INFO] [stderr]     Checking downcast-rs v1.0.3
[INFO] [stderr]     Checking stable_deref_trait v1.1.1
[INFO] [stderr]     Checking same-file v1.0.4
[INFO] [stderr]    Compiling pkg-config v0.3.14
[INFO] [stderr]     Checking smallvec v0.6.8
[INFO] [stderr]     Checking owning_ref v0.4.0
[INFO] [stderr]     Checking walkdir v2.2.7
[INFO] [stderr]    Compiling num-derive v0.2.4
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling num-iter v0.1.37
[INFO] [stderr]     Checking xdg v2.2.0
[INFO] [stderr]     Checking adler32 v1.0.3
[INFO] [stderr]     Checking shader_version v0.3.0
[INFO] [stderr]    Compiling rayon v1.0.3
[INFO] [stderr]     Checking rand_os v0.1.2
[INFO] [stderr]    Compiling x11-dl v2.18.3
[INFO] [stderr]    Compiling rand_pcg v0.1.1
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]     Checking crossbeam-epoch v0.3.1
[INFO] [stderr]     Checking num_cpus v1.9.0
[INFO] [stderr]     Checking stb_truetype v0.2.6
[INFO] [stderr]    Compiling quote v0.6.11
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking crossbeam-deque v0.2.0
[INFO] [stderr]    Compiling syn v0.15.26
[INFO] [stderr]    Compiling wayland-scanner v0.21.11
[INFO] [stderr]    Compiling gl_generator v0.10.0
[INFO] [stderr]     Checking lock_api v0.1.5
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]    Compiling num-rational v0.2.1
[INFO] [stderr]     Checking either v1.5.0
[INFO] [stderr]     Checking deflate v0.7.19
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]     Checking inflate v0.4.4
[INFO] [stderr]     Checking ordered-float v1.0.1
[INFO] [stderr]     Checking approx v0.3.1
[INFO] [stderr]     Checking line_drawing v0.7.0
[INFO] [stderr]     Checking rusttype v0.7.4
[INFO] [stderr]     Checking percent-encoding v1.0.1
[INFO] [stderr]     Checking color_quant v1.0.1
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking vecmath v0.3.1
[INFO] [stderr]     Checking gif v0.10.1
[INFO] [stderr]     Checking read_color v1.0.0
[INFO] [stderr]     Checking interpolation v0.2.0
[INFO] [stderr]     Checking fnv v1.0.6
[INFO] [stderr]    Compiling libloading v0.5.0
[INFO] [stderr]     Checking piston-texture v0.6.0
[INFO] [stderr]     Checking safe-transmute v0.10.1
[INFO] [stderr]     Checking png v0.14.0
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking piston-shaders_graphics2d v0.3.1
[INFO] [stderr]    Compiling gl v0.11.0
[INFO] [stderr]    Compiling glutin v0.19.0
[INFO] [stderr]     Checking andrew v0.1.6
[INFO] [stderr]     Checking piston2d-graphics v0.30.0
[INFO] [stderr]     Checking dlib v0.4.1
[INFO] [stderr]     Checking wayland-sys v0.21.11
[INFO] [stderr]     Checking parking_lot v0.7.1
[INFO] [stderr]    Compiling serde_derive v1.0.87
[INFO] [stderr]    Compiling wayland-client v0.21.11
[INFO] [stderr]    Compiling wayland-protocols v0.21.11
[INFO] [stderr]     Checking wayland-commons v0.21.11
[INFO] [stderr]     Checking jpeg-decoder v0.1.15
[INFO] [stderr]     Checking tiff v0.2.2
[INFO] [stderr]     Checking image v0.21.0
[INFO] [stderr]     Checking piston2d-opengl_graphics v0.59.0
[INFO] [stderr]     Checking pistoncore-input v0.23.0
[INFO] [stderr]     Checking pistoncore-window v0.35.0
[INFO] [stderr]     Checking pistoncore-event_loop v0.40.0
[INFO] [stderr]     Checking piston v0.40.0
[INFO] [stderr]     Checking smithay-client-toolkit v0.4.4
[INFO] [stderr]     Checking winit v0.18.1
[INFO] [stderr]     Checking pistoncore-glutin_window v0.52.0
[INFO] [stderr]     Checking minesweeper v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `temp_val`
[INFO] [stdout]   --> src/minesweeper.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let temp_val: i32 = index as i32;
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_val`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pos`
[INFO] [stdout]   --> src/minesweeper_controller.rs:27:46
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn event<E: GenericEvent>(&mut self, pos: [f64; 2], size: f64, e: &E) {
[INFO] [stdout]    |                                              ^^^ help: if this is intentional, prefix it with an underscore: `_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]   --> src/minesweeper_controller.rs:27:61
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn event<E: GenericEvent>(&mut self, pos: [f64; 2], size: f64, e: &E) {
[INFO] [stdout]    |                                                             ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/minesweeper_controller.rs:27:72
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn event<E: GenericEvent>(&mut self, pos: [f64; 2], size: f64, e: &E) {
[INFO] [stdout]    |                                                                        ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let mut minesweeper_controller = MinesweeperController::new(minesweeper);
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Intermediate` and `Expert` are never constructed
[INFO] [stdout]   --> src/minesweeper.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub enum GameMode {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 17 |     Beginner,
[INFO] [stdout] 18 |     Intermediate,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 19 |     Expert,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mine_number` is never read
[INFO] [stdout]   --> src/minesweeper.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Minesweeper {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 24 |     pub size: usize,
[INFO] [stdout] 25 |     pub mine_number: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `init` is never used
[INFO] [stdout]   --> src/minesweeper.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Minesweeper {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn init(&mut self) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Open` is never constructed
[INFO] [stdout]   --> src/minesweeper.rs:92:5
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub enum CellState {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] 92 |     Open(u8),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CellState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `temp_val`
[INFO] [stdout]   --> src/minesweeper.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let temp_val: i32 = index as i32;
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_val`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `mine` and `state` are never read
[INFO] [stdout]    --> src/minesweeper.rs:99:9
[INFO] [stdout]     |
[INFO] [stdout] 98  | pub struct Cell {
[INFO] [stdout]     |            ---- fields in this struct
[INFO] [stdout] 99  |     pub mine: bool,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 100 |     pub adjacency_num: u8,
[INFO] [stdout] 101 |     pub state: CellState,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Cell` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `toggle` are never used
[INFO] [stdout]    --> src/minesweeper.rs:106:12
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl Cell {
[INFO] [stdout]     | --------- associated items in this implementation
[INFO] [stdout] 105 |     /// Creates a new Cell.
[INFO] [stdout] 106 |     pub fn new() -> Cell {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |     pub fn toggle(&mut self) -> bool {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cursor_pos` is never read
[INFO] [stdout]   --> src/minesweeper_controller.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct MinesweeperController {
[INFO] [stdout]    |            --------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub cursor_pos: [f64; 2],
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `event` is never used
[INFO] [stdout]   --> src/minesweeper_controller.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl MinesweeperController {
[INFO] [stdout]    | -------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn event<E: GenericEvent>(&mut self, pos: [f64; 2], size: f64, e: &E) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `cell_open_color`, `cell_closed_color`, `outside_border_color`, and `hover_color_open` are never read
[INFO] [stdout]   --> src/minesweeper_view.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct MinesweeperViewSettings {
[INFO] [stdout]    |            ----------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub cell_open_color: Color,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 21 |
[INFO] [stdout] 22 |     pub cell_closed_color: Color,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub outside_border_color: Color,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 27 |
[INFO] [stdout] 28 |     pub hover_color_open: Color,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pos`
[INFO] [stdout]   --> src/minesweeper_controller.rs:27:46
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn event<E: GenericEvent>(&mut self, pos: [f64; 2], size: f64, e: &E) {
[INFO] [stdout]    |                                              ^^^ help: if this is intentional, prefix it with an underscore: `_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]   --> src/minesweeper_controller.rs:27:61
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn event<E: GenericEvent>(&mut self, pos: [f64; 2], size: f64, e: &E) {
[INFO] [stdout]    |                                                             ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/minesweeper_controller.rs:27:72
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn event<E: GenericEvent>(&mut self, pos: [f64; 2], size: f64, e: &E) {
[INFO] [stdout]    |                                                                        ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let mut minesweeper_controller = MinesweeperController::new(minesweeper);
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Intermediate` and `Expert` are never constructed
[INFO] [stdout]   --> src/minesweeper.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub enum GameMode {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 17 |     Beginner,
[INFO] [stdout] 18 |     Intermediate,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 19 |     Expert,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mine_number` is never read
[INFO] [stdout]   --> src/minesweeper.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Minesweeper {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 24 |     pub size: usize,
[INFO] [stdout] 25 |     pub mine_number: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `init` is never used
[INFO] [stdout]   --> src/minesweeper.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Minesweeper {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn init(&mut self) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Open` is never constructed
[INFO] [stdout]   --> src/minesweeper.rs:92:5
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub enum CellState {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] 92 |     Open(u8),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CellState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `mine` and `state` are never read
[INFO] [stdout]    --> src/minesweeper.rs:99:9
[INFO] [stdout]     |
[INFO] [stdout] 98  | pub struct Cell {
[INFO] [stdout]     |            ---- fields in this struct
[INFO] [stdout] 99  |     pub mine: bool,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 100 |     pub adjacency_num: u8,
[INFO] [stdout] 101 |     pub state: CellState,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Cell` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `toggle` are never used
[INFO] [stdout]    --> src/minesweeper.rs:106:12
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl Cell {
[INFO] [stdout]     | --------- associated items in this implementation
[INFO] [stdout] 105 |     /// Creates a new Cell.
[INFO] [stdout] 106 |     pub fn new() -> Cell {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |     pub fn toggle(&mut self) -> bool {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cursor_pos` is never read
[INFO] [stdout]   --> src/minesweeper_controller.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct MinesweeperController {
[INFO] [stdout]    |            --------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub cursor_pos: [f64; 2],
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `event` is never used
[INFO] [stdout]   --> src/minesweeper_controller.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl MinesweeperController {
[INFO] [stdout]    | -------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn event<E: GenericEvent>(&mut self, pos: [f64; 2], size: f64, e: &E) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `cell_open_color`, `cell_closed_color`, `outside_border_color`, and `hover_color_open` are never read
[INFO] [stdout]   --> src/minesweeper_view.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct MinesweeperViewSettings {
[INFO] [stdout]    |            ----------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub cell_open_color: Color,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 21 |
[INFO] [stdout] 22 |     pub cell_closed_color: Color,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub outside_border_color: Color,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 27 |
[INFO] [stdout] 28 |     pub hover_color_open: Color,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.23s
[INFO] running `Command { std: "docker" "inspect" "548cca18b5157587a39fcbc7c21baa7e90d2fb20281c697e2312e6e97cbf8320", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "548cca18b5157587a39fcbc7c21baa7e90d2fb20281c697e2312e6e97cbf8320", kill_on_drop: false }`
[INFO] [stdout] 548cca18b5157587a39fcbc7c21baa7e90d2fb20281c697e2312e6e97cbf8320
