[INFO] cloning repository https://github.com/JVelab/rust-minesweeper-v2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JVelab/rust-minesweeper-v2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJVelab%2Frust-minesweeper-v2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJVelab%2Frust-minesweeper-v2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3259cd7f7a2ac77fd92b8633835b7d21d4f5bf37 [INFO] checking JVelab/rust-minesweeper-v2 against try#4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7 for pr-158816 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJVelab%2Frust-minesweeper-v2" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JVelab/rust-minesweeper-v2 [INFO] finished tweaking git repo https://github.com/JVelab/rust-minesweeper-v2 [INFO] tweaked toml for git repo https://github.com/JVelab/rust-minesweeper-v2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JVelab/rust-minesweeper-v2 on toolchain 4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JVelab/rust-minesweeper-v2 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" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] c761f8edc769e2b7929c337e244e1c298b564efca8ecb6acfc453c41aee11070 [INFO] running `Command { std: "docker" "start" "c761f8edc769e2b7929c337e244e1c298b564efca8ecb6acfc453c41aee11070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c761f8edc769e2b7929c337e244e1c298b564efca8ecb6acfc453c41aee11070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c761f8edc769e2b7929c337e244e1c298b564efca8ecb6acfc453c41aee11070" "/opt/rustwide/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c761f8edc769e2b7929c337e244e1c298b564efca8ecb6acfc453c41aee11070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c761f8edc769e2b7929c337e244e1c298b564efca8ecb6acfc453c41aee11070" "/opt/rustwide/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling wayland-sys v0.31.11 [INFO] [stderr] Checking rustix v1.1.4 [INFO] [stderr] Compiling cc v1.2.63 [INFO] [stderr] Compiling zerocopy v0.8.49 [INFO] [stderr] Compiling quick-xml v0.39.4 [INFO] [stderr] Compiling wayland-client v0.31.14 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling zvariant_utils v2.1.0 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking typenum v1.20.0 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking piper v0.2.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling zvariant_derive v4.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking nix v0.29.0 [INFO] [stderr] Compiling zbus_macros v4.4.0 [INFO] [stderr] Checking tinystr v0.8.3 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Checking xdg-home v1.3.0 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking enumflags2 v0.7.12 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking async-executor v1.14.0 [INFO] [stderr] Checking async-fs v2.2.0 [INFO] [stderr] Checking zvariant v4.2.0 [INFO] [stderr] Compiling wayland-scanner v0.31.10 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking icu_locale_core v2.2.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling wayland-backend v0.3.15 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking zerotrie v0.2.4 [INFO] [stderr] Checking memmap2 v0.9.10 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking icu_collections v2.2.0 [INFO] [stderr] Checking accesskit v0.16.3 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking emath v0.29.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking simd-adler32 v0.3.9 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking accesskit_consumer v0.24.3 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking icu_provider v2.2.0 [INFO] [stderr] Checking ecolor v0.29.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking epaint_default_fonts v0.29.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Checking icu_properties v2.2.0 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Checking zbus_names v3.0.0 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking calloop v0.14.4 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking pxfm v0.1.29 [INFO] [stderr] Checking zbus_xml v4.0.0 [INFO] [stderr] Checking glow v0.14.2 [INFO] [stderr] Checking serde_json v1.0.150 [INFO] [stderr] Checking png v0.18.1 [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Checking zbus-lockstep v0.4.4 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking webbrowser v1.2.1 [INFO] [stderr] Compiling zbus-lockstep-macros v0.4.4 [INFO] [stderr] Checking wayland-protocols v0.32.12 [INFO] [stderr] Checking wayland-cursor v0.31.14 [INFO] [stderr] Checking calloop-wayland-source v0.4.1 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking arboard v3.6.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking epaint v0.29.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.6 [INFO] [stderr] Checking egui v0.29.1 [INFO] [stderr] Checking zbus v4.4.0 [INFO] [stderr] Checking moxcms v0.8.1 [INFO] [stderr] Checking egui_glow v0.29.1 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.12 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.12 [INFO] [stderr] Checking wayland-protocols-experimental v20250721.0.1 [INFO] [stderr] Checking wayland-protocols-misc v0.3.12 [INFO] [stderr] Checking image v0.25.10 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking smithay-client-toolkit v0.20.0 [INFO] [stderr] Checking atspi-common v0.6.0 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking smithay-clipboard v0.7.3 [INFO] [stderr] Checking winit v0.30.13 [INFO] [stderr] Checking atspi-proxies v0.6.0 [INFO] [stderr] Checking accesskit_atspi_common v0.9.3 [INFO] [stderr] Checking atspi-connection v0.6.0 [INFO] [stderr] Checking atspi v0.22.0 [INFO] [stderr] Checking accesskit_unix v0.12.3 [INFO] [stderr] Checking accesskit_winit v0.22.4 [INFO] [stderr] Checking egui-winit v0.29.1 [INFO] [stderr] Checking eframe v0.29.1 [INFO] [stderr] Checking minesweeper v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/app.rs:221:54 [INFO] [stdout] | [INFO] [stdout] 221 | ... (base, egui::Stroke::new(1.0, Self::darken(base, 0.1))) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] = note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/app.rs:225:83 [INFO] [stdout] | [INFO] [stdout] 225 | ... (self.theme.colors.accent_lose, egui::Stroke::new(1.0, self.theme.colors.mine_color)) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/app.rs:227:85 [INFO] [stdout] | [INFO] [stdout] 227 | ... (self.theme.colors.cell_revealed, egui::Stroke::new(0.0, egui::Color32::TRANSPARENT)) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `0.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/app.rs:274:86 [INFO] [stdout] | [INFO] [stdout] 274 | painter.add(egui::Shape::convex_polygon(tri_points, color, egui::Stroke::new(0.0, egui::Color32::TRANSPARENT))); [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `0.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/ui.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | (base, Stroke::new(1.0, Self::darken(base, 0.1))) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/ui.rs:44:53 [INFO] [stdout] | [INFO] [stdout] 44 | (theme.accent_lose, Stroke::new(1.0, theme.mine_color)) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/ui.rs:46:55 [INFO] [stdout] | [INFO] [stdout] 46 | (theme.cell_revealed, Stroke::new(0.0, Color32::TRANSPARENT)) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `0.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/ui.rs:85:86 [INFO] [stdout] | [INFO] [stdout] 85 | ui.painter().add(egui::Shape::convex_polygon(tri_points, *color, Stroke::new(0.0, Color32::TRANSPARENT))); [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `0.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/app.rs:221:54 [INFO] [stdout] | [INFO] [stdout] 221 | ... (base, egui::Stroke::new(1.0, Self::darken(base, 0.1))) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] = note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/app.rs:225:83 [INFO] [stdout] | [INFO] [stdout] 225 | ... (self.theme.colors.accent_lose, egui::Stroke::new(1.0, self.theme.colors.mine_color)) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/app.rs:227:85 [INFO] [stdout] | [INFO] [stdout] 227 | ... (self.theme.colors.cell_revealed, egui::Stroke::new(0.0, egui::Color32::TRANSPARENT)) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `0.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/app.rs:274:86 [INFO] [stdout] | [INFO] [stdout] 274 | painter.add(egui::Shape::convex_polygon(tri_points, color, egui::Stroke::new(0.0, egui::Color32::TRANSPARENT))); [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `0.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/ui.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | (base, Stroke::new(1.0, Self::darken(base, 0.1))) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/ui.rs:44:53 [INFO] [stdout] | [INFO] [stdout] 44 | (theme.accent_lose, Stroke::new(1.0, theme.mine_color)) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/ui.rs:46:55 [INFO] [stdout] | [INFO] [stdout] 46 | (theme.cell_revealed, Stroke::new(0.0, Color32::TRANSPARENT)) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `0.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/ui.rs:85:86 [INFO] [stdout] | [INFO] [stdout] 85 | ui.painter().add(egui::Shape::convex_polygon(tri_points, *color, Stroke::new(0.0, Color32::TRANSPARENT))); [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `0.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `toggle_question` is never used [INFO] [stdout] --> src/board.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn toggle_question(&mut self, row: usize, col: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Questioned` is never constructed [INFO] [stdout] --> src/cell.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum CellState { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 6 | Questioned, [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: methods `with_mine`, `toggle_question`, and `is_revealed` are never used [INFO] [stdout] --> src/cell.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Cell { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn with_mine(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn toggle_question(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn is_revealed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `start` and `question` are never used [INFO] [stdout] --> src/game.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Game { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn start(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn question(&mut self, row: usize, col: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `validate` is never used [INFO] [stdout] --> src/settings.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Settings { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 57 | pub fn validate(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `primary`, `primary_hover`, `secondary`, and `accent_win` are never read [INFO] [stdout] --> src/theme.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ThemeColors { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub primary: Color32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | pub primary_hover: Color32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub secondary: Color32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub accent_win: Color32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ThemeColors` 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 `corner_radius` and `cell_spacing` are never read [INFO] [stdout] --> src/theme.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct Theme { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 88 | pub corner_radius: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 89 | pub cell_spacing: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Theme` 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 `paint_cell_at`, `cell_to_pixel`, `paint_flag`, `paint_number`, `paint_question`, and `darken` are never used [INFO] [stdout] --> src/ui.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl CellPainter { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn paint_cell_at( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn cell_to_pixel(&self, row: usize, col: usize, cell_size: f32) -> egui::Pos2 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn paint_flag(&self, ui: &mut egui::Ui, rect: egui::Rect, color: &Color32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn paint_number(&self, ui: &mut egui::Ui, rect: egui::Rect, num: u8) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn paint_question(&self, ui: &mut egui::Ui, rect: egui::Rect, theme: &ThemeColors) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn darken(color: Color32, amount: f32) -> Color32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `toggle_question` is never used [INFO] [stdout] --> src/board.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn toggle_question(&mut self, row: usize, col: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Questioned` is never constructed [INFO] [stdout] --> src/cell.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum CellState { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 6 | Questioned, [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: methods `with_mine`, `toggle_question`, and `is_revealed` are never used [INFO] [stdout] --> src/cell.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Cell { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn with_mine(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn toggle_question(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn is_revealed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `start` and `question` are never used [INFO] [stdout] --> src/game.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Game { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn start(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn question(&mut self, row: usize, col: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `validate` is never used [INFO] [stdout] --> src/settings.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Settings { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 57 | pub fn validate(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `primary`, `primary_hover`, `secondary`, and `accent_win` are never read [INFO] [stdout] --> src/theme.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ThemeColors { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub primary: Color32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | pub primary_hover: Color32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub secondary: Color32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub accent_win: Color32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ThemeColors` 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 `corner_radius` and `cell_spacing` are never read [INFO] [stdout] --> src/theme.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct Theme { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 88 | pub corner_radius: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 89 | pub cell_spacing: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Theme` 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 `paint_cell_at`, `cell_to_pixel`, `paint_flag`, `paint_number`, `paint_question`, and `darken` are never used [INFO] [stdout] --> src/ui.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl CellPainter { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn paint_cell_at( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn cell_to_pixel(&self, row: usize, col: usize, cell_size: f32) -> egui::Pos2 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn paint_flag(&self, ui: &mut egui::Ui, rect: egui::Rect, color: &Color32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn paint_number(&self, ui: &mut egui::Ui, rect: egui::Rect, num: u8) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn paint_question(&self, ui: &mut egui::Ui, rect: egui::Rect, theme: &ThemeColors) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn darken(color: Color32, amount: f32) -> Color32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.34s [INFO] running `Command { std: "docker" "inspect" "c761f8edc769e2b7929c337e244e1c298b564efca8ecb6acfc453c41aee11070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c761f8edc769e2b7929c337e244e1c298b564efca8ecb6acfc453c41aee11070", kill_on_drop: false }` [INFO] [stdout] c761f8edc769e2b7929c337e244e1c298b564efca8ecb6acfc453c41aee11070