[INFO] cloning repository https://github.com/vanisyd/gameengine
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vanisyd/gameengine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvanisyd%2Fgameengine", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvanisyd%2Fgameengine'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b8ea8076c0b3490c4dcd4dbb7f7284a3592d78d2
[INFO] checking vanisyd/gameengine against 3d50c25bc66853bf0ad205529d0f305a1d841b5e for pr-159598
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvanisyd%2Fgameengine" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/vanisyd/gameengine
[INFO] finished tweaking git repo https://github.com/vanisyd/gameengine
[INFO] tweaked toml for git repo https://github.com/vanisyd/gameengine written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/vanisyd/gameengine on toolchain 3d50c25bc66853bf0ad205529d0f305a1d841b5e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3d50c25bc66853bf0ad205529d0f305a1d841b5e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/vanisyd/gameengine 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" "+3d50c25bc66853bf0ad205529d0f305a1d841b5e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded regex v1.12.1
[INFO] [stderr]   Downloaded regex-syntax v0.8.7
[INFO] [stderr]   Downloaded regex-automata v0.4.12
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 69731219c3d96fc8cd1bbe1f8c43a3a8428b99128c52d7d5538ec4a8a9926908
[INFO] running `Command { std: "docker" "start" "69731219c3d96fc8cd1bbe1f8c43a3a8428b99128c52d7d5538ec4a8a9926908", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "69731219c3d96fc8cd1bbe1f8c43a3a8428b99128c52d7d5538ec4a8a9926908", 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" "69731219c3d96fc8cd1bbe1f8c43a3a8428b99128c52d7d5538ec4a8a9926908" "/opt/rustwide/cargo-home/bin/cargo" "+3d50c25bc66853bf0ad205529d0f305a1d841b5e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "69731219c3d96fc8cd1bbe1f8c43a3a8428b99128c52d7d5538ec4a8a9926908", 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" "69731219c3d96fc8cd1bbe1f8c43a3a8428b99128c52d7d5538ec4a8a9926908" "/opt/rustwide/cargo-home/bin/cargo" "+3d50c25bc66853bf0ad205529d0f305a1d841b5e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]     Checking cfg-if v1.0.3
[INFO] [stderr]     Checking bitflags v2.9.4
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]     Checking linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling find-msvc-tools v0.1.4
[INFO] [stderr]    Compiling wayland-sys v0.31.7
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling wayland-client v0.31.11
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]     Checking simd-adler32 v0.3.10
[INFO] [stderr]    Compiling drm-sys v0.7.0
[INFO] [stderr]     Checking libloading v0.8.9
[INFO] [stderr]     Checking getrandom v0.3.3
[INFO] [stderr]     Checking memmap2 v0.9.8
[INFO] [stderr]     Checking regex-syntax v0.8.7
[INFO] [stderr]     Checking linux-raw-sys v0.6.5
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking crc32fast v1.5.0
[INFO] [stderr]    Compiling cc v1.2.41
[INFO] [stderr]     Checking dlib v0.5.2
[INFO] [stderr]    Compiling tiny-xlib v0.2.4
[INFO] [stderr]     Checking x11rb-protocol v0.13.2
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking fdeflate v0.3.7
[INFO] [stderr]    Compiling winit v0.30.12
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling softbuffer v0.4.6
[INFO] [stderr]    Compiling palette v0.7.6
[INFO] [stderr]    Compiling quick-xml v0.37.5
[INFO] [stderr]     Checking pxfm v0.1.30
[INFO] [stderr]     Checking flate2 v1.1.9
[INFO] [stderr]     Checking anstyle-query v1.1.4
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]     Checking anstream v0.6.21
[INFO] [stderr]     Checking xkbcommon-dl v0.4.2
[INFO] [stderr]     Checking png v0.18.1
[INFO] [stderr]     Checking x11-dl v2.21.0
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]     Checking jiff v0.2.15
[INFO] [stderr]     Checking glam v0.30.8
[INFO] [stderr]    Compiling wayland-scanner v0.31.7
[INFO] [stderr]    Compiling wayland-backend v0.3.11
[INFO] [stderr]     Checking regex-automata v0.4.12
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking moxcms v0.8.1
[INFO] [stderr]     Checking regex v1.12.1
[INFO] [stderr]     Checking env_filter v0.1.3
[INFO] [stderr]     Checking drm-ffi v0.8.0
[INFO] [stderr]     Checking env_logger v0.11.8
[INFO] [stderr]    Compiling bytemuck_derive v1.10.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling phf_macros v0.11.3
[INFO] [stderr]    Compiling palette_derive v0.7.6
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]     Checking phf v0.11.3
[INFO] [stderr]     Checking polling v3.11.0
[INFO] [stderr]     Checking gethostname v1.0.2
[INFO] [stderr]     Checking bytemuck v1.24.0
[INFO] [stderr]     Checking tiny-skia-path v0.11.4
[INFO] [stderr]     Checking drm v0.12.0
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking calloop v0.13.0
[INFO] [stderr]     Checking tiny-skia v0.11.4
[INFO] [stderr]     Checking image v0.25.10
[INFO] [stderr]     Checking wayland-csd-frame v0.3.0
[INFO] [stderr]     Checking wayland-protocols v0.32.9
[INFO] [stderr]     Checking calloop-wayland-source v0.3.0
[INFO] [stderr]     Checking wayland-cursor v0.31.11
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking x11rb v0.13.2
[INFO] [stderr]     Checking wayland-protocols-wlr v0.3.9
[INFO] [stderr]     Checking wayland-protocols-plasma v0.3.9
[INFO] [stderr]     Checking smithay-client-toolkit v0.19.2
[INFO] [stderr]     Checking sctk-adwaita v0.10.1
[INFO] [stderr]     Checking gameengine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/engine/render/mod.rs:13:21
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub type Rotation = (usize);
[INFO] [stdout]    |                     ^     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 13 - pub type Rotation = (usize);
[INFO] [stdout] 13 + pub type Rotation = usize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::info`
[INFO] [stdout]   --> src/games/tetris/game.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use log::info;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::games::tetris::game::TetrisGame`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::games::tetris::game::TetrisGame;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/engine/render/mod.rs:13:21
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub type Rotation = (usize);
[INFO] [stdout]    |                     ^     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 13 - pub type Rotation = (usize);
[INFO] [stdout] 13 + pub type Rotation = usize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::info`
[INFO] [stdout]   --> src/games/tetris/game.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use log::info;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::games::tetris::game::TetrisGame`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::games::tetris::game::TetrisGame;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/games/chess/board.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |           return true;
[INFO] [stdout]    |           ----------- any code following this expression is unreachable
[INFO] [stdout] 68 | /         if let Some((_, piece_color)) = self.state.get(&position) {
[INFO] [stdout] 69 | |             player == piece_color
[INFO] [stdout] 70 | |         } else {
[INFO] [stdout] 71 | |             false
[INFO] [stdout] 72 | |         }
[INFO] [stdout]    | |_________^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/games/chess/board.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |           return true;
[INFO] [stdout]    |           ----------- any code following this expression is unreachable
[INFO] [stdout] 82 | /         if let Some((piece_type, _)) = self.state.get(&from_pos) {
[INFO] [stdout] 83 | |             let allowed_squares = piece_type.allowed_squares(to_pos);
[INFO] [stdout] 84 | |             if !allowed_squares.contains(&to_pos) {
[INFO] [stdout] 85 | |                 return false;
[INFO] [stdout] ...  |
[INFO] [stdout] 96 | |             };
[INFO] [stdout] 97 | |         }
[INFO] [stdout]    | |_________^ unreachable statement
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/games/chess/game.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |               return Ok(());
[INFO] [stdout]    |               ------------- any code following this expression is unreachable
[INFO] [stdout] 53 | /             let _ = self.board.update(
[INFO] [stdout] 54 | |                 BoardSignal::MoveChess {
[INFO] [stdout] 55 | |                     from: piece_pos,
[INFO] [stdout] 56 | |                     to: position,
[INFO] [stdout] 57 | |                 },
[INFO] [stdout] 58 | |                 self.get_current_player(),
[INFO] [stdout] 59 | |             );
[INFO] [stdout]    | |______________^ unreachable statement
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/games/chess/board.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |           return true;
[INFO] [stdout]    |           ----------- any code following this expression is unreachable
[INFO] [stdout] 68 | /         if let Some((_, piece_color)) = self.state.get(&position) {
[INFO] [stdout] 69 | |             player == piece_color
[INFO] [stdout] 70 | |         } else {
[INFO] [stdout] 71 | |             false
[INFO] [stdout] 72 | |         }
[INFO] [stdout]    | |_________^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/games/chess/board.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |           return true;
[INFO] [stdout]    |           ----------- any code following this expression is unreachable
[INFO] [stdout] 82 | /         if let Some((piece_type, _)) = self.state.get(&from_pos) {
[INFO] [stdout] 83 | |             let allowed_squares = piece_type.allowed_squares(to_pos);
[INFO] [stdout] 84 | |             if !allowed_squares.contains(&to_pos) {
[INFO] [stdout] 85 | |                 return false;
[INFO] [stdout] ...  |
[INFO] [stdout] 96 | |             };
[INFO] [stdout] 97 | |         }
[INFO] [stdout]    | |_________^ unreachable statement
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/games/chess/game.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |               return Ok(());
[INFO] [stdout]    |               ------------- any code following this expression is unreachable
[INFO] [stdout] 53 | /             let _ = self.board.update(
[INFO] [stdout] 54 | |                 BoardSignal::MoveChess {
[INFO] [stdout] 55 | |                     from: piece_pos,
[INFO] [stdout] 56 | |                     to: position,
[INFO] [stdout] 57 | |                 },
[INFO] [stdout] 58 | |                 self.get_current_player(),
[INFO] [stdout] 59 | |             );
[INFO] [stdout]    | |______________^ unreachable statement
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mouse_btn`
[INFO] [stdout]    --> src/app.rs:120:25
[INFO] [stdout]     |
[INFO] [stdout] 120 |                 button: mouse_btn,
[INFO] [stdout]     |                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_btn`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mouse_btn`
[INFO] [stdout]    --> src/app.rs:120:25
[INFO] [stdout]     |
[INFO] [stdout] 120 |                 button: mouse_btn,
[INFO] [stdout]     |                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_btn`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `position`
[INFO] [stdout]   --> src/games/chess/board.rs:66:28
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub fn can_pick(&self, position: ChessPosition, player: super::game::Player) -> bool {
[INFO] [stdout]    |                            ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `player`
[INFO] [stdout]   --> src/games/chess/board.rs:66:53
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub fn can_pick(&self, position: ChessPosition, player: super::game::Player) -> bool {
[INFO] [stdout]    |                                                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `from_pos`
[INFO] [stdout]   --> src/games/chess/board.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |         from_pos: ChessPosition,
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to_pos`
[INFO] [stdout]   --> src/games/chess/board.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |         to_pos: ChessPosition,
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `player`
[INFO] [stdout]   --> src/games/chess/board.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |         player: super::game::Player,
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `world`
[INFO] [stdout]    --> src/games/chess/board.rs:102:51
[INFO] [stdout]     |
[INFO] [stdout] 102 |     pub fn render(&self, renderer: &mut Renderer, world: &mut World) {
[INFO] [stdout]     |                                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_world`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `col_idx`
[INFO] [stdout]    --> src/games/chess/board.rs:129:18
[INFO] [stdout]     |
[INFO] [stdout] 129 |             for (col_idx, square) in line.into_iter().enumerate() {
[INFO] [stdout]     |                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_col_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `square`
[INFO] [stdout]    --> src/games/chess/board.rs:130:29
[INFO] [stdout]     |
[INFO] [stdout] 130 |                 if let Some(square) = square {
[INFO] [stdout]     |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_square`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `renderer`
[INFO] [stdout]    --> src/games/chess/board.rs:137:28
[INFO] [stdout]     |
[INFO] [stdout] 137 |     pub fn init(&mut self, renderer: &mut Renderer, world: &mut World) {
[INFO] [stdout]     |                            ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `highlighter_pos`
[INFO] [stdout]    --> src/games/chess/game.rs:237:33
[INFO] [stdout]     |
[INFO] [stdout] 237 |                     if let Some(highlighter_pos) = self.highlighted.take() {
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_highlighter_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cursor_x`
[INFO] [stdout]    --> src/games/chess/game.rs:238:30
[INFO] [stdout]     |
[INFO] [stdout] 238 |                         let (cursor_x, cursor_y) = {
[INFO] [stdout]     |                              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cursor_y`
[INFO] [stdout]    --> src/games/chess/game.rs:238:40
[INFO] [stdout]     |
[INFO] [stdout] 238 |                         let (cursor_x, cursor_y) = {
[INFO] [stdout]     |                                        ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `renderer`
[INFO] [stdout]    --> src/games/chess/game.rs:253:47
[INFO] [stdout]     |
[INFO] [stdout] 253 |     pub fn init(&mut self, world: &mut World, renderer: &mut Renderer, board_entity: EntityId) {
[INFO] [stdout]     |                                               ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `world`
[INFO] [stdout]    --> src/games/tetris/game.rs:155:24
[INFO] [stdout]     |
[INFO] [stdout] 155 |     fn init(&mut self, world: &mut World, renderer: &mut Renderer) {
[INFO] [stdout]     |                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_world`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `renderer`
[INFO] [stdout]    --> src/games/tetris/game.rs:155:43
[INFO] [stdout]     |
[INFO] [stdout] 155 |     fn init(&mut self, world: &mut World, renderer: &mut Renderer) {
[INFO] [stdout]     |                                           ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `depth`
[INFO] [stdout]    --> src/games/tetris/game.rs:219:45
[INFO] [stdout]     |
[INFO] [stdout] 219 |                         CollisionSide::Left(depth) => {
[INFO] [stdout]     |                                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `depth`
[INFO] [stdout]    --> src/games/tetris/game.rs:225:46
[INFO] [stdout]     |
[INFO] [stdout] 225 |                         CollisionSide::Right(depth) => {
[INFO] [stdout]     |                                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `depth`
[INFO] [stdout]    --> src/games/tetris/game.rs:231:47
[INFO] [stdout]     |
[INFO] [stdout] 231 |                         CollisionSide::Bottom(depth) => {
[INFO] [stdout]     |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/games/tetris/game.rs:240:52
[INFO] [stdout]     |
[INFO] [stdout] 240 |                         CollisionSide::Contained { x, y } => {
[INFO] [stdout]     |                                                    ^ help: try ignoring the field: `x: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/games/tetris/game.rs:240:55
[INFO] [stdout]     |
[INFO] [stdout] 240 |                         CollisionSide::Contained { x, y } => {
[INFO] [stdout]     |                                                       ^ help: try ignoring the field: `y: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `position`
[INFO] [stdout]   --> src/games/chess/board.rs:66:28
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub fn can_pick(&self, position: ChessPosition, player: super::game::Player) -> bool {
[INFO] [stdout]    |                            ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `player`
[INFO] [stdout]   --> src/games/chess/board.rs:66:53
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub fn can_pick(&self, position: ChessPosition, player: super::game::Player) -> bool {
[INFO] [stdout]    |                                                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `from_pos`
[INFO] [stdout]   --> src/games/chess/board.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |         from_pos: ChessPosition,
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to_pos`
[INFO] [stdout]   --> src/games/chess/board.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |         to_pos: ChessPosition,
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `player`
[INFO] [stdout]   --> src/games/chess/board.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |         player: super::game::Player,
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `world`
[INFO] [stdout]    --> src/games/chess/board.rs:102:51
[INFO] [stdout]     |
[INFO] [stdout] 102 |     pub fn render(&self, renderer: &mut Renderer, world: &mut World) {
[INFO] [stdout]     |                                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_world`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `col_idx`
[INFO] [stdout]    --> src/games/chess/board.rs:129:18
[INFO] [stdout]     |
[INFO] [stdout] 129 |             for (col_idx, square) in line.into_iter().enumerate() {
[INFO] [stdout]     |                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_col_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `square`
[INFO] [stdout]    --> src/games/chess/board.rs:130:29
[INFO] [stdout]     |
[INFO] [stdout] 130 |                 if let Some(square) = square {
[INFO] [stdout]     |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_square`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `renderer`
[INFO] [stdout]    --> src/games/chess/board.rs:137:28
[INFO] [stdout]     |
[INFO] [stdout] 137 |     pub fn init(&mut self, renderer: &mut Renderer, world: &mut World) {
[INFO] [stdout]     |                            ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `highlighter_pos`
[INFO] [stdout]    --> src/games/chess/game.rs:237:33
[INFO] [stdout]     |
[INFO] [stdout] 237 |                     if let Some(highlighter_pos) = self.highlighted.take() {
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_highlighter_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cursor_x`
[INFO] [stdout]    --> src/games/chess/game.rs:238:30
[INFO] [stdout]     |
[INFO] [stdout] 238 |                         let (cursor_x, cursor_y) = {
[INFO] [stdout]     |                              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cursor_y`
[INFO] [stdout]    --> src/games/chess/game.rs:238:40
[INFO] [stdout]     |
[INFO] [stdout] 238 |                         let (cursor_x, cursor_y) = {
[INFO] [stdout]     |                                        ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `renderer`
[INFO] [stdout]    --> src/games/chess/game.rs:253:47
[INFO] [stdout]     |
[INFO] [stdout] 253 |     pub fn init(&mut self, world: &mut World, renderer: &mut Renderer, board_entity: EntityId) {
[INFO] [stdout]     |                                               ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ColliderShape` is never used
[INFO] [stdout]   --> src/engine/ecs/component/mod.rs:78:6
[INFO] [stdout]    |
[INFO] [stdout] 78 | enum ColliderShape {
[INFO] [stdout]    |      ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_points` is never used
[INFO] [stdout]   --> src/engine/ecs/component/mod.rs:83:12
[INFO] [stdout]    |
[INFO] [stdout] 82 | impl Collider {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] 83 |     pub fn get_points(&self, entity_pos: RenderPosition) -> (RenderPosition, RenderPosition) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CollisionInfo` is never constructed
[INFO] [stdout]    --> src/engine/ecs/component/mod.rs:100:12
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub struct CollisionInfo {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_collision` is never used
[INFO] [stdout]    --> src/engine/ecs/component/mod.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl CollisionInfo {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] 105 |     pub fn add_collision(&mut self, entity_id: EntityId, collision_sides: HashSet<CollisionSide>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Collision` is never constructed
[INFO] [stdout]    --> src/engine/ecs/component/mod.rs:112:12
[INFO] [stdout]     |
[INFO] [stdout] 112 | pub struct Collision {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/engine/ecs/component/mod.rs:118:12
[INFO] [stdout]     |
[INFO] [stdout] 117 | impl Collision {
[INFO] [stdout]     | -------------- associated function in this implementation
[INFO] [stdout] 118 |     pub fn new(entity_id: EntityId, sides: HashSet<CollisionSide>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CollisionSide` is never used
[INFO] [stdout]    --> src/engine/ecs/component/mod.rs:124:10
[INFO] [stdout]     |
[INFO] [stdout] 124 | pub enum CollisionSide {
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]    --> src/engine/ecs/component/mod.rs:183:9
[INFO] [stdout]     |
[INFO] [stdout] 182 | pub struct Size {
[INFO] [stdout]     |            ---- fields in this struct
[INFO] [stdout] 183 |     pub x: usize,
[INFO] [stdout]     |         ^
[INFO] [stdout] 184 |     pub y: usize,
[INFO] [stdout]     |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_collision` is never used
[INFO] [stdout]   --> src/engine/ecs/world.rs:88:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl World {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 88 |     pub fn get_collision(&self, entity_id: EntityId) -> Result<CollisionInfo, ComponentError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `key_down` and `mouse_pressed` are never used
[INFO] [stdout]   --> src/engine/input.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl InputState {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] 14 |     pub fn key_down(&mut self, key: KeyCode) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn mouse_pressed(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Vec2` is never constructed
[INFO] [stdout]  --> src/engine/math/mod.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Vec2 {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Point` is never constructed
[INFO] [stdout]  --> src/engine/math/mod.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Point {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rect` is never constructed
[INFO] [stdout]   --> src/engine/math/mod.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Rect {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Renderable` is never used
[INFO] [stdout]   --> src/engine/render/mod.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub trait Renderable {
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `triangle` and `rect` are never used
[INFO] [stdout]   --> src/engine/render/renderer.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Renderer {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn triangle(&mut self, p0: Point, p1: Point, p2: Point, color: Color) -> Triangle {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn rect(&mut self, position: Position, size: Size, color: Color) -> Rectangle {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `world`
[INFO] [stdout]    --> src/games/tetris/game.rs:155:24
[INFO] [stdout]     |
[INFO] [stdout] 155 |     fn init(&mut self, world: &mut World, renderer: &mut Renderer) {
[INFO] [stdout]     |                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_world`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_file`, `width`, `height`, and `size` are never used
[INFO] [stdout]   --> src/engine/render/texture.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Texture {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 16 |     pub fn from_file(path: impl AsRef<Path>) -> image::ImageResult<Self> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn width(&self) -> usize {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn height(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn size(&self) -> (usize, usize) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `renderer`
[INFO] [stdout]    --> src/games/tetris/game.rs:155:43
[INFO] [stdout]     |
[INFO] [stdout] 155 |     fn init(&mut self, world: &mut World, renderer: &mut Renderer) {
[INFO] [stdout]     |                                           ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `with_position` and `size` are never used
[INFO] [stdout]    --> src/engine/render/texture.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout]  85 | impl<'a> Sprite<'a> {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn with_position(mut self, position: SpritePosition) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |     pub fn size(&self) -> (usize, usize) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `outline` is never used
[INFO] [stdout]   --> src/engine/render/triangle.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Triangle {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn outline(&self, renderer: &mut Renderer) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update`, `can_pick`, and `can_put` are never used
[INFO] [stdout]   --> src/games/chess/board.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Board {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn update(
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn can_pick(&self, position: ChessPosition, player: super::game::Player) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub fn can_put(
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BoardEvent` is never used
[INFO] [stdout]    --> src/games/chess/board.rs:153:17
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub(super) enum BoardEvent {
[INFO] [stdout]     |                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get`, `remove`, and `set` are never used
[INFO] [stdout]    --> src/games/chess/board.rs:172:12
[INFO] [stdout]     |
[INFO] [stdout] 171 | impl BoardState {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] 172 |     pub fn get(&self, position: &ChessPosition) -> Option<(PieceType, PieceColor)> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 180 |     pub fn remove(&mut self, position: &ChessPosition) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 184 |     pub fn set(&mut self, position: &ChessPosition, piece: PieceType, piece_color: PieceColor) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BoardSignal` is never used
[INFO] [stdout]    --> src/games/chess/board.rs:198:17
[INFO] [stdout]     |
[INFO] [stdout] 198 | pub(super) enum BoardSignal {
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Pawn`, `Knight`, `Bishop`, `Rook`, `Queen`, and `King` are never constructed
[INFO] [stdout]  --> src/games/chess/chess.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub(super) enum PieceType {
[INFO] [stdout]   |                 --------- variants in this enum
[INFO] [stdout] 4 |     Pawn = 0,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 5 |     Knight = 1,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 6 |     Bishop = 2,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 7 |     Rook = 3,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 8 |     Queen = 4,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 9 |     King = 5,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `PieceType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `allowed_squares` is never used
[INFO] [stdout]   --> src/games/chess/chess.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl PieceType {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] 13 |     pub fn allowed_squares(self, position: ChessPosition) -> Vec<ChessPosition> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Black` is never constructed
[INFO] [stdout]   --> src/games/chess/chess.rs:96:5
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub(super) enum PieceColor {
[INFO] [stdout]    |                 ---------- variant in this enum
[INFO] [stdout] 95 |     White = 0,
[INFO] [stdout] 96 |     Black = 1,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PieceColor` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `into_parts` is never used
[INFO] [stdout]    --> src/games/chess/chess.rs:102:12
[INFO] [stdout]     |
[INFO] [stdout] 101 | impl ChessPosition {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] 102 |     pub fn into_parts(self) -> (u8, u8) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `player` is never read
[INFO] [stdout]   --> src/games/chess/game.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct ChessGame {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 23 |     player: Player,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `try_pick`, `try_put`, and `get_current_player` are never used
[INFO] [stdout]   --> src/games/chess/game.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl ChessGame {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 37 |     fn try_pick(&mut self, position: ChessPosition) -> Result<(), ()> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     fn try_put(&mut self, position: ChessPosition) -> Result<(), ()> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     fn get_current_player(&self) -> Player {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_position`, `get_highlighted`, `pick`, and `put` are never used
[INFO] [stdout]    --> src/games/chess/game.rs:144:12
[INFO] [stdout]     |
[INFO] [stdout] 121 | impl Cursor {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 144 |     pub fn get_position(&self) -> ChessPosition {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 148 |     pub fn get_highlighted(&self) -> Option<ChessPosition> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 152 |     fn pick(&mut self) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 156 |     fn put(&mut self) -> Option<(ChessPosition, ChessPosition)> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BOARD_CELLS` is never used
[INFO] [stdout]   --> src/games/tetris/game.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const BOARD_CELLS: usize = 10;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BOARD_ROWS` is never used
[INFO] [stdout]   --> src/games/tetris/game.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const BOARD_ROWS: usize = 20;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Board` is never constructed
[INFO] [stdout]   --> src/games/tetris/game.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Board {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `render` are never used
[INFO] [stdout]   --> src/games/tetris/game.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl Board {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 25 |     pub fn new(world: &mut World) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn render(&self, renderer: &mut Renderer) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetrisGame` is never constructed
[INFO] [stdout]   --> src/games/tetris/game.rs:74:12
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub struct TetrisGame {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push_landed_tetrominos`, `move_tetromino`, `refresh_cells`, and `handle_lines` are never used
[INFO] [stdout]    --> src/games/tetris/game.rs:161:12
[INFO] [stdout]     |
[INFO] [stdout] 160 | impl TetrisGame {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] 161 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 171 |     fn push_landed_tetrominos(&mut self, world: &mut World) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 202 |     fn move_tetromino(&mut self, world: &mut World, move_direction: MoveDirection, speed: f32) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 252 |     fn refresh_cells(&mut self, world: &mut World) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 297 |     fn handle_lines(&mut self, world: &mut World) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `depth`
[INFO] [stdout]    --> src/games/tetris/game.rs:219:45
[INFO] [stdout]     |
[INFO] [stdout] 219 |                         CollisionSide::Left(depth) => {
[INFO] [stdout]     |                                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `depth`
[INFO] [stdout]    --> src/games/tetris/game.rs:225:46
[INFO] [stdout]     |
[INFO] [stdout] 225 |                         CollisionSide::Right(depth) => {
[INFO] [stdout]     |                                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `depth`
[INFO] [stdout]    --> src/games/tetris/game.rs:231:47
[INFO] [stdout]     |
[INFO] [stdout] 231 |                         CollisionSide::Bottom(depth) => {
[INFO] [stdout]     |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/games/tetris/game.rs:240:52
[INFO] [stdout]     |
[INFO] [stdout] 240 |                         CollisionSide::Contained { x, y } => {
[INFO] [stdout]     |                                                    ^ help: try ignoring the field: `x: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/games/tetris/game.rs:240:55
[INFO] [stdout]     |
[INFO] [stdout] 240 |                         CollisionSide::Contained { x, y } => {
[INFO] [stdout]     |                                                       ^ help: try ignoring the field: `y: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ColliderShape` is never used
[INFO] [stdout]   --> src/engine/ecs/component/mod.rs:78:6
[INFO] [stdout]    |
[INFO] [stdout] 78 | enum ColliderShape {
[INFO] [stdout]    |      ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_points` is never used
[INFO] [stdout]   --> src/engine/ecs/component/mod.rs:83:12
[INFO] [stdout]    |
[INFO] [stdout] 82 | impl Collider {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] 83 |     pub fn get_points(&self, entity_pos: RenderPosition) -> (RenderPosition, RenderPosition) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CollisionInfo` is never constructed
[INFO] [stdout]    --> src/engine/ecs/component/mod.rs:100:12
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub struct CollisionInfo {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_collision` is never used
[INFO] [stdout]    --> src/engine/ecs/component/mod.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl CollisionInfo {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] 105 |     pub fn add_collision(&mut self, entity_id: EntityId, collision_sides: HashSet<CollisionSide>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Collision` is never constructed
[INFO] [stdout]    --> src/engine/ecs/component/mod.rs:112:12
[INFO] [stdout]     |
[INFO] [stdout] 112 | pub struct Collision {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/engine/ecs/component/mod.rs:118:12
[INFO] [stdout]     |
[INFO] [stdout] 117 | impl Collision {
[INFO] [stdout]     | -------------- associated function in this implementation
[INFO] [stdout] 118 |     pub fn new(entity_id: EntityId, sides: HashSet<CollisionSide>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CollisionSide` is never used
[INFO] [stdout]    --> src/engine/ecs/component/mod.rs:124:10
[INFO] [stdout]     |
[INFO] [stdout] 124 | pub enum CollisionSide {
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]    --> src/engine/ecs/component/mod.rs:183:9
[INFO] [stdout]     |
[INFO] [stdout] 182 | pub struct Size {
[INFO] [stdout]     |            ---- fields in this struct
[INFO] [stdout] 183 |     pub x: usize,
[INFO] [stdout]     |         ^
[INFO] [stdout] 184 |     pub y: usize,
[INFO] [stdout]     |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_collision` is never used
[INFO] [stdout]   --> src/engine/ecs/world.rs:88:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl World {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 88 |     pub fn get_collision(&self, entity_id: EntityId) -> Result<CollisionInfo, ComponentError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `key_down` and `mouse_pressed` are never used
[INFO] [stdout]   --> src/engine/input.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl InputState {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] 14 |     pub fn key_down(&mut self, key: KeyCode) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn mouse_pressed(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Vec2` is never constructed
[INFO] [stdout]  --> src/engine/math/mod.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Vec2 {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Point` is never constructed
[INFO] [stdout]  --> src/engine/math/mod.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Point {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rect` is never constructed
[INFO] [stdout]   --> src/engine/math/mod.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Rect {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Renderable` is never used
[INFO] [stdout]   --> src/engine/render/mod.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub trait Renderable {
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `triangle`, `rect`, and `blend_pixel` are never used
[INFO] [stdout]   --> src/engine/render/renderer.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Renderer {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn triangle(&mut self, p0: Point, p1: Point, p2: Point, color: Color) -> Triangle {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn rect(&mut self, position: Position, size: Size, color: Color) -> Rectangle {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn blend_pixel(&mut self, x: i32, y: i32, color: Color, alpha: u8) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `SpriteSource` is never used
[INFO] [stdout]  --> src/engine/render/texture.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub type SpriteSource = (usize, usize, usize, usize);
[INFO] [stdout]   |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `SpritePosition` is never used
[INFO] [stdout]  --> src/engine/render/texture.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub type SpritePosition = (i32, i32);
[INFO] [stdout]   |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Texture` is never constructed
[INFO] [stdout]  --> src/engine/render/texture.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Texture {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/engine/render/texture.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Texture {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 16 |     pub fn from_file(path: impl AsRef<Path>) -> image::ImageResult<Self> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn from_rgba(width: usize, height: usize, rgba: Vec<u8>) -> Option<Self> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn width(&self) -> usize {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn height(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn size(&self) -> (usize, usize) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn sprite(&self, source: SpriteSource, position: SpritePosition) -> Option<Sprite<'_>> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn full_sprite(&self, position: SpritePosition) -> Sprite<'_> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72 |     fn pixel(&self, x: usize, y: usize) -> (u32, u8) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Sprite` is never constructed
[INFO] [stdout]   --> src/engine/render/texture.rs:78:12
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub struct Sprite<'a> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_scale`, `with_position`, `size`, and `draw` are never used
[INFO] [stdout]    --> src/engine/render/texture.rs:86:12
[INFO] [stdout]     |
[INFO] [stdout]  85 | impl<'a> Sprite<'a> {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout]  86 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn with_scale(mut self, scale: usize) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn with_position(mut self, position: SpritePosition) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |     pub fn size(&self) -> (usize, usize) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub fn draw(&self, renderer: &mut Renderer) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `outline` is never used
[INFO] [stdout]   --> src/engine/render/triangle.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Triangle {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn outline(&self, renderer: &mut Renderer) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update`, `can_pick`, and `can_put` are never used
[INFO] [stdout]   --> src/games/chess/board.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Board {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn update(
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn can_pick(&self, position: ChessPosition, player: super::game::Player) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub fn can_put(
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BoardEvent` is never used
[INFO] [stdout]    --> src/games/chess/board.rs:153:17
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub(super) enum BoardEvent {
[INFO] [stdout]     |                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get`, `remove`, and `set` are never used
[INFO] [stdout]    --> src/games/chess/board.rs:172:12
[INFO] [stdout]     |
[INFO] [stdout] 171 | impl BoardState {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] 172 |     pub fn get(&self, position: &ChessPosition) -> Option<(PieceType, PieceColor)> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 180 |     pub fn remove(&mut self, position: &ChessPosition) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 184 |     pub fn set(&mut self, position: &ChessPosition, piece: PieceType, piece_color: PieceColor) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BoardSignal` is never used
[INFO] [stdout]    --> src/games/chess/board.rs:198:17
[INFO] [stdout]     |
[INFO] [stdout] 198 | pub(super) enum BoardSignal {
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Pawn`, `Knight`, `Bishop`, `Rook`, `Queen`, and `King` are never constructed
[INFO] [stdout]  --> src/games/chess/chess.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub(super) enum PieceType {
[INFO] [stdout]   |                 --------- variants in this enum
[INFO] [stdout] 4 |     Pawn = 0,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 5 |     Knight = 1,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 6 |     Bishop = 2,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 7 |     Rook = 3,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 8 |     Queen = 4,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 9 |     King = 5,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `PieceType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `allowed_squares` is never used
[INFO] [stdout]   --> src/games/chess/chess.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl PieceType {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] 13 |     pub fn allowed_squares(self, position: ChessPosition) -> Vec<ChessPosition> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Black` is never constructed
[INFO] [stdout]   --> src/games/chess/chess.rs:96:5
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub(super) enum PieceColor {
[INFO] [stdout]    |                 ---------- variant in this enum
[INFO] [stdout] 95 |     White = 0,
[INFO] [stdout] 96 |     Black = 1,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PieceColor` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `into_parts` is never used
[INFO] [stdout]    --> src/games/chess/chess.rs:102:12
[INFO] [stdout]     |
[INFO] [stdout] 101 | impl ChessPosition {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] 102 |     pub fn into_parts(self) -> (u8, u8) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `player` is never read
[INFO] [stdout]   --> src/games/chess/game.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct ChessGame {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 23 |     player: Player,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `try_pick`, `try_put`, and `get_current_player` are never used
[INFO] [stdout]   --> src/games/chess/game.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl ChessGame {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 37 |     fn try_pick(&mut self, position: ChessPosition) -> Result<(), ()> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     fn try_put(&mut self, position: ChessPosition) -> Result<(), ()> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     fn get_current_player(&self) -> Player {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_position`, `get_highlighted`, `pick`, and `put` are never used
[INFO] [stdout]    --> src/games/chess/game.rs:144:12
[INFO] [stdout]     |
[INFO] [stdout] 121 | impl Cursor {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 144 |     pub fn get_position(&self) -> ChessPosition {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 148 |     pub fn get_highlighted(&self) -> Option<ChessPosition> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 152 |     fn pick(&mut self) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 156 |     fn put(&mut self) -> Option<(ChessPosition, ChessPosition)> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BOARD_CELLS` is never used
[INFO] [stdout]   --> src/games/tetris/game.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const BOARD_CELLS: usize = 10;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BOARD_ROWS` is never used
[INFO] [stdout]   --> src/games/tetris/game.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const BOARD_ROWS: usize = 20;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Board` is never constructed
[INFO] [stdout]   --> src/games/tetris/game.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Board {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `render` are never used
[INFO] [stdout]   --> src/games/tetris/game.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl Board {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 25 |     pub fn new(world: &mut World) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn render(&self, renderer: &mut Renderer) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetrisGame` is never constructed
[INFO] [stdout]   --> src/games/tetris/game.rs:74:12
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub struct TetrisGame {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push_landed_tetrominos`, `move_tetromino`, `refresh_cells`, and `handle_lines` are never used
[INFO] [stdout]    --> src/games/tetris/game.rs:161:12
[INFO] [stdout]     |
[INFO] [stdout] 160 | impl TetrisGame {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] 161 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 171 |     fn push_landed_tetrominos(&mut self, world: &mut World) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 202 |     fn move_tetromino(&mut self, world: &mut World, move_direction: MoveDirection, speed: f32) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 252 |     fn refresh_cells(&mut self, world: &mut World) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 297 |     fn handle_lines(&mut self, world: &mut World) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.36s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: softbuffer v0.4.6, winit v0.30.12
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6`
[INFO] running `Command { std: "docker" "inspect" "69731219c3d96fc8cd1bbe1f8c43a3a8428b99128c52d7d5538ec4a8a9926908", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "69731219c3d96fc8cd1bbe1f8c43a3a8428b99128c52d7d5538ec4a8a9926908", kill_on_drop: false }`
[INFO] [stdout] 69731219c3d96fc8cd1bbe1f8c43a3a8428b99128c52d7d5538ec4a8a9926908
