[INFO] cloning repository https://github.com/Gizardpl/Game_of_life [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Gizardpl/Game_of_life" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGizardpl%2FGame_of_life", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGizardpl%2FGame_of_life'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db125ffd4cd6e4f6d27df9dbd7a8afe23dad3407 [INFO] checking Gizardpl/Game_of_life against try#54e27f559f23913c1d5afb1a0f0114e9e61b81b8 for pr-147589 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGizardpl%2FGame_of_life" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Gizardpl/Game_of_life [INFO] finished tweaking git repo https://github.com/Gizardpl/Game_of_life [INFO] tweaked toml for git repo https://github.com/Gizardpl/Game_of_life written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Gizardpl/Game_of_life on toolchain 54e27f559f23913c1d5afb1a0f0114e9e61b81b8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Gizardpl/Game_of_life 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" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5301e4c7afc05c82072c7ee06647a3ee2e99cbd550144df94917d81583767c3 [INFO] running `Command { std: "docker" "start" "-a" "b5301e4c7afc05c82072c7ee06647a3ee2e99cbd550144df94917d81583767c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5301e4c7afc05c82072c7ee06647a3ee2e99cbd550144df94917d81583767c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5301e4c7afc05c82072c7ee06647a3ee2e99cbd550144df94917d81583767c3", kill_on_drop: false }` [INFO] [stdout] b5301e4c7afc05c82072c7ee06647a3ee2e99cbd550144df94917d81583767c3 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d045710c0d383db9e36823e7b6144aefaf724a59a5fa38931499e94d5d03023a [INFO] running `Command { std: "docker" "start" "-a" "d045710c0d383db9e36823e7b6144aefaf724a59a5fa38931499e94d5d03023a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling serde_core v1.0.226 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Compiling serde v1.0.226 [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling wayland-sys v0.31.7 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling cc v1.2.38 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling endi v1.1.0 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking async-lock v3.4.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking async-executor v1.13.3 [INFO] [stderr] Checking async-broadcast v0.7.2 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Checking memmap2 v0.9.8 [INFO] [stderr] Checking accesskit v0.19.0 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking gethostname v1.0.2 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking async-signal v0.2.13 [INFO] [stderr] Checking async-process v2.5.0 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Checking wayland-client v0.31.11 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking accesskit_consumer v0.28.0 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling wgpu-hal v0.19.5 [INFO] [stderr] Checking pxfm v0.1.24 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking epaint_default_fonts v0.32.3 [INFO] [stderr] Checking wayland-protocols v0.32.9 [INFO] [stderr] Checking wayland-cursor v0.31.11 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Compiling serde_derive v1.0.226 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking emath v0.32.3 [INFO] [stderr] Compiling zvariant_utils v3.2.1 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Compiling zvariant_derive v5.7.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.9 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Compiling zvariant v5.7.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.9 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking ecolor v0.32.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking epaint v0.32.3 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling zbus_names v4.2.0 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking naga v0.19.2 [INFO] [stderr] Compiling zbus_xml v5.0.2 [INFO] [stderr] Checking moxcms v0.7.5 [INFO] [stderr] Compiling zbus_macros v5.11.0 [INFO] [stderr] Compiling zbus-lockstep v0.5.1 [INFO] [stderr] Checking png v0.18.0 [INFO] [stderr] Checking winit v0.30.12 [INFO] [stderr] Compiling zbus-lockstep-macros v0.5.1 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling wgpu-core v0.19.4 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Checking wgpu-types v0.19.2 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking egui v0.32.3 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Compiling wgpu v0.19.4 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Checking zbus v5.11.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking image v0.25.8 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Checking webbrowser v1.0.5 [INFO] [stderr] Checking smithay-clipboard v0.7.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking arboard v3.6.1 [INFO] [stderr] Checking ultraviolet v0.9.2 [INFO] [stderr] Checking egui_glow v0.32.3 [INFO] [stderr] Checking atspi-common v0.9.0 [INFO] [stderr] Checking atspi-proxies v0.9.0 [INFO] [stderr] Checking accesskit_atspi_common v0.12.0 [INFO] [stderr] Checking atspi-connection v0.9.0 [INFO] [stderr] Checking atspi v0.25.0 [INFO] [stderr] Checking accesskit_unix v0.15.0 [INFO] [stderr] Checking accesskit_winit v0.27.0 [INFO] [stderr] Checking egui-winit v0.32.3 [INFO] [stderr] Checking eframe v0.32.3 [INFO] [stderr] Checking pixels v0.15.0 [INFO] [stderr] Checking Game_of_life v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `default_button_size` is never read [INFO] [stdout] --> src/config/rules.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct UIConfig { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 99 | pub default_button_size: (f32, f32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UIConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_current_board_size` are never used [INFO] [stdout] --> src/config/rules.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 172 | impl GameConfig { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 173 | /// Tworzy nową konfigurację z domyślnymi wartościami [INFO] [stdout] 174 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn get_current_board_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Block`, `Blinker`, `Glider`, and `Custom` are never constructed [INFO] [stdout] --> src/config/initial_state.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Pattern { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | Block, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | /// Oscylator "Blinker" (3 komórki w linii) [INFO] [stdout] 19 | Blinker, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | /// Glider - poruszający się wzór [INFO] [stdout] 21 | Glider, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | /// Niestandardowy wzór zdefiniowany przez listę pozycji [INFO] [stdout] 23 | Custom(Vec), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pattern` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `create_board_with_size` are never used [INFO] [stdout] --> src/config/initial_state.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl InitialState { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 81 | /// Tworzy nową konfigurację początkowego stanu [INFO] [stdout] 82 | pub fn new(pattern: Pattern, offset: Position) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn create_board_with_size(&self, size: usize) -> Board { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_available_patterns` is never used [INFO] [stdout] --> src/config/initial_state.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn get_available_patterns() -> Vec<(&'static str, Pattern)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reset_config` is never used [INFO] [stdout] --> src/config/manager.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn reset_config() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_config` is never used [INFO] [stdout] --> src/config/manager.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn set_config(new_config: GameConfig) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Position` is never used [INFO] [stdout] --> src/logic/board/mod.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub type Position = (usize, usize); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CellIterator` is never used [INFO] [stdout] --> src/logic/board/mod.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub type CellIterator<'a> = std::iter::Map< [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_from_config`, `total_cells`, and `iter_alive_cells` are never used [INFO] [stdout] --> src/logic/board/structure.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Board { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn new_from_config() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn total_cells(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn iter_alive_cells(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `expand` and `expand_by_layers` are never used [INFO] [stdout] --> src/logic/board/expansion.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Board { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 11 | pub fn expand(&self) -> Board { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn expand_by_layers(&self, layers: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_stable` and `is_empty` are never used [INFO] [stdout] --> src/logic/life_cycle.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Board { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn is_stable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `drag_state` is never used [INFO] [stdout] --> src/logic/change_state.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl CellStateManager { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn drag_state(&self) -> &DragState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `will_be_born`, `will_die`, and `will_be_alive` are never used [INFO] [stdout] --> src/logic/prediction.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl PredictionResult { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn will_be_born(&self, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn will_die(&self, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn will_be_alive(&self, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `predict_birth_cells` is never used [INFO] [stdout] --> src/logic/prediction.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn predict_birth_cells(board: &Board) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `predict_death_cells` is never used [INFO] [stdout] --> src/logic/prediction.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn predict_death_cells(board: &Board) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `will_cell_be_born` is never used [INFO] [stdout] --> src/logic/prediction.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn will_cell_be_born(board: &Board, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `will_cell_die` is never used [INFO] [stdout] --> src/logic/prediction.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn will_cell_die(board: &Board, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_next_reset_description` and `next_reset_is_empty` are never used [INFO] [stdout] --> src/logic/reset.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl ResetManager { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn get_next_reset_description(&self, ever_started: bool) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn next_reset_is_empty(&self, ever_started: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_simple_random_board` is never used [INFO] [stdout] --> src/logic/randomizer.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn generate_simple_random_board(current_board: &Board) -> Board { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `grid_color` is never read [INFO] [stdout] --> src/ui/render.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct GameRenderer { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | grid_color: Color32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cell_size`, `render_board`, and `render_board_with_preview` are never used [INFO] [stdout] --> src/ui/render.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl GameRenderer { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn cell_size(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn render_board( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn render_board_with_preview( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `EditCell` and `PlacePattern` are never constructed [INFO] [stdout] --> src/ui/side_panel.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum UserAction { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | EditCell(usize, usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | PlacePattern(String, usize, usize), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserAction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_generation_count`, `set_simulation_speed`, `simulation_speed`, `set_show_preview`, `show_preview`, and `has_selected_pattern` are never used [INFO] [stdout] --> src/ui/side_panel.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl SidePanel { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn set_generation_count(&mut self, count: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn set_simulation_speed(&mut self, speed: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn simulation_speed(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn set_show_preview(&mut self, show: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn show_preview(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 436 | pub fn has_selected_pattern(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_birth_highlight_color`, `set_death_highlight_color`, `render_birth_highlights`, `render_death_highlights`, `birth_highlight_color`, and `death_highlight_color` are never used [INFO] [stdout] --> src/ui/preview_render.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl PreviewRenderer { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn set_birth_highlight_color(&mut self, color: Color32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn set_death_highlight_color(&mut self, color: Color32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn render_birth_highlights( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn render_death_highlights( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn birth_highlight_color(&self) -> Color32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn death_highlight_color(&self) -> Color32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `birth_highlight` is never used [INFO] [stdout] --> src/ui/preview_render.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn birth_highlight(alpha: u8) -> Color32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `death_highlight` is never used [INFO] [stdout] --> src/ui/preview_render.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn death_highlight(alpha: u8) -> Color32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `warning_highlight` is never used [INFO] [stdout] --> src/ui/preview_render.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn warning_highlight(alpha: u8) -> Color32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `info_highlight` is never used [INFO] [stdout] --> src/ui/preview_render.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn info_highlight(alpha: u8) -> Color32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `render`, `render_rules_section`, `render_board_settings_section`, `render_dynamic_settings`, and `render_static_settings` are never used [INFO] [stdout] --> src/ui/settings.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl SettingsPanel { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn render(&mut self, ui: &mut egui::Ui) -> SettingsAction { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | fn render_rules_section(&mut self, ui: &mut egui::Ui) -> SettingsAction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | fn render_board_settings_section(&mut self, ui: &mut egui::Ui) -> SettingsAction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | fn render_dynamic_settings(&mut self, ui: &mut egui::Ui) -> SettingsAction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | fn render_static_settings(&mut self, ui: &mut egui::Ui) -> SettingsAction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `primary`, `secondary`, `accent`, `background_dark`, `warning`, and `glass_effect` are never read [INFO] [stdout] --> src/ui/styles.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ColorPalette { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 10 | // Kolory główne [INFO] [stdout] 11 | pub primary: Color32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | pub secondary: Color32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | pub accent: Color32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub background_dark: Color32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub warning: Color32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub glass_effect: Color32, // Efekt szkła [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `slider_width` and `margin_large` are never read [INFO] [stdout] --> src/ui/styles.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Dimensions { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 103 | pub slider_width: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub margin_large: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `slider_size` is never used [INFO] [stdout] --> src/ui/styles.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 165 | impl UIStyles { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn slider_size(&self) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Heading` is never constructed [INFO] [stdout] --> src/ui/styles.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 243 | pub enum TextType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 247 | Heading, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `styled_slider` is never used [INFO] [stdout] --> src/ui/styles.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn styled_slider<'a>(value: &'a mut f32, range: std::ops::RangeInclusive, text: &str, _styles: &UIStyles) -> Slider<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/assets/patterns.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Pattern { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 20 | pub name: String, [INFO] [stdout] 21 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pattern` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_pattern` is never used [INFO] [stdout] --> src/assets/patterns.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl PatternManager { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn add_pattern(&mut self, pattern: Pattern) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `default_button_size` is never read [INFO] [stdout] --> src/config/rules.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct UIConfig { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 99 | pub default_button_size: (f32, f32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UIConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_current_board_size` are never used [INFO] [stdout] --> src/config/rules.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 172 | impl GameConfig { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 173 | /// Tworzy nową konfigurację z domyślnymi wartościami [INFO] [stdout] 174 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn get_current_board_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Block`, `Blinker`, `Glider`, and `Custom` are never constructed [INFO] [stdout] --> src/config/initial_state.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Pattern { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | Block, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | /// Oscylator "Blinker" (3 komórki w linii) [INFO] [stdout] 19 | Blinker, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | /// Glider - poruszający się wzór [INFO] [stdout] 21 | Glider, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | /// Niestandardowy wzór zdefiniowany przez listę pozycji [INFO] [stdout] 23 | Custom(Vec), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pattern` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `create_board_with_size` are never used [INFO] [stdout] --> src/config/initial_state.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl InitialState { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 81 | /// Tworzy nową konfigurację początkowego stanu [INFO] [stdout] 82 | pub fn new(pattern: Pattern, offset: Position) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn create_board_with_size(&self, size: usize) -> Board { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_available_patterns` is never used [INFO] [stdout] --> src/config/initial_state.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn get_available_patterns() -> Vec<(&'static str, Pattern)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reset_config` is never used [INFO] [stdout] --> src/config/manager.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn reset_config() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_config` is never used [INFO] [stdout] --> src/config/manager.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn set_config(new_config: GameConfig) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Position` is never used [INFO] [stdout] --> src/logic/board/mod.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub type Position = (usize, usize); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CellIterator` is never used [INFO] [stdout] --> src/logic/board/mod.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub type CellIterator<'a> = std::iter::Map< [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_from_config`, `total_cells`, and `iter_alive_cells` are never used [INFO] [stdout] --> src/logic/board/structure.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Board { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn new_from_config() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn total_cells(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn iter_alive_cells(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `expand` and `expand_by_layers` are never used [INFO] [stdout] --> src/logic/board/expansion.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Board { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 11 | pub fn expand(&self) -> Board { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn expand_by_layers(&self, layers: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_stable` and `is_empty` are never used [INFO] [stdout] --> src/logic/life_cycle.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Board { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn is_stable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `drag_state` is never used [INFO] [stdout] --> src/logic/change_state.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl CellStateManager { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn drag_state(&self) -> &DragState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `will_be_born`, `will_die`, and `will_be_alive` are never used [INFO] [stdout] --> src/logic/prediction.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl PredictionResult { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn will_be_born(&self, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn will_die(&self, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn will_be_alive(&self, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `predict_birth_cells` is never used [INFO] [stdout] --> src/logic/prediction.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn predict_birth_cells(board: &Board) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `predict_death_cells` is never used [INFO] [stdout] --> src/logic/prediction.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn predict_death_cells(board: &Board) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `will_cell_be_born` is never used [INFO] [stdout] --> src/logic/prediction.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn will_cell_be_born(board: &Board, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `will_cell_die` is never used [INFO] [stdout] --> src/logic/prediction.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn will_cell_die(board: &Board, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_next_reset_description` and `next_reset_is_empty` are never used [INFO] [stdout] --> src/logic/reset.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl ResetManager { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn get_next_reset_description(&self, ever_started: bool) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn next_reset_is_empty(&self, ever_started: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_simple_random_board` is never used [INFO] [stdout] --> src/logic/randomizer.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn generate_simple_random_board(current_board: &Board) -> Board { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `grid_color` is never read [INFO] [stdout] --> src/ui/render.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct GameRenderer { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | grid_color: Color32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cell_size`, `render_board`, and `render_board_with_preview` are never used [INFO] [stdout] --> src/ui/render.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl GameRenderer { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn cell_size(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn render_board( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn render_board_with_preview( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `EditCell` and `PlacePattern` are never constructed [INFO] [stdout] --> src/ui/side_panel.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum UserAction { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | EditCell(usize, usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | PlacePattern(String, usize, usize), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserAction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_generation_count`, `set_simulation_speed`, `simulation_speed`, `set_show_preview`, `show_preview`, and `has_selected_pattern` are never used [INFO] [stdout] --> src/ui/side_panel.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl SidePanel { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn set_generation_count(&mut self, count: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn set_simulation_speed(&mut self, speed: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn simulation_speed(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn set_show_preview(&mut self, show: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn show_preview(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 436 | pub fn has_selected_pattern(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_birth_highlight_color`, `set_death_highlight_color`, `render_birth_highlights`, `render_death_highlights`, `birth_highlight_color`, and `death_highlight_color` are never used [INFO] [stdout] --> src/ui/preview_render.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl PreviewRenderer { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn set_birth_highlight_color(&mut self, color: Color32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn set_death_highlight_color(&mut self, color: Color32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn render_birth_highlights( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn render_death_highlights( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn birth_highlight_color(&self) -> Color32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn death_highlight_color(&self) -> Color32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `birth_highlight` is never used [INFO] [stdout] --> src/ui/preview_render.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn birth_highlight(alpha: u8) -> Color32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `death_highlight` is never used [INFO] [stdout] --> src/ui/preview_render.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn death_highlight(alpha: u8) -> Color32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `warning_highlight` is never used [INFO] [stdout] --> src/ui/preview_render.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn warning_highlight(alpha: u8) -> Color32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `info_highlight` is never used [INFO] [stdout] --> src/ui/preview_render.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn info_highlight(alpha: u8) -> Color32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `render`, `render_rules_section`, `render_board_settings_section`, `render_dynamic_settings`, and `render_static_settings` are never used [INFO] [stdout] --> src/ui/settings.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl SettingsPanel { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn render(&mut self, ui: &mut egui::Ui) -> SettingsAction { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | fn render_rules_section(&mut self, ui: &mut egui::Ui) -> SettingsAction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | fn render_board_settings_section(&mut self, ui: &mut egui::Ui) -> SettingsAction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | fn render_dynamic_settings(&mut self, ui: &mut egui::Ui) -> SettingsAction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | fn render_static_settings(&mut self, ui: &mut egui::Ui) -> SettingsAction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `primary`, `secondary`, `accent`, `background_dark`, `warning`, and `glass_effect` are never read [INFO] [stdout] --> src/ui/styles.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ColorPalette { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 10 | // Kolory główne [INFO] [stdout] 11 | pub primary: Color32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | pub secondary: Color32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | pub accent: Color32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub background_dark: Color32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub warning: Color32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub glass_effect: Color32, // Efekt szkła [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `slider_width` and `margin_large` are never read [INFO] [stdout] --> src/ui/styles.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Dimensions { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 103 | pub slider_width: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub margin_large: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `slider_size` is never used [INFO] [stdout] --> src/ui/styles.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 165 | impl UIStyles { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn slider_size(&self) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Heading` is never constructed [INFO] [stdout] --> src/ui/styles.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 243 | pub enum TextType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 247 | Heading, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `styled_slider` is never used [INFO] [stdout] --> src/ui/styles.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn styled_slider<'a>(value: &'a mut f32, range: std::ops::RangeInclusive, text: &str, _styles: &UIStyles) -> Slider<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/assets/patterns.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Pattern { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 20 | pub name: String, [INFO] [stdout] 21 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pattern` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_pattern` is never used [INFO] [stdout] --> src/assets/patterns.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl PatternManager { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn add_pattern(&mut self, pattern: Pattern) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 13s [INFO] running `Command { std: "docker" "inspect" "d045710c0d383db9e36823e7b6144aefaf724a59a5fa38931499e94d5d03023a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d045710c0d383db9e36823e7b6144aefaf724a59a5fa38931499e94d5d03023a", kill_on_drop: false }` [INFO] [stdout] d045710c0d383db9e36823e7b6144aefaf724a59a5fa38931499e94d5d03023a