[INFO] cloning repository https://github.com/Awungia112/snake_game
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Awungia112/snake_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAwungia112%2Fsnake_game", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAwungia112%2Fsnake_game'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 26731444d293d2397bbdc7eb4d9eebd91ae3f6aa
[INFO] testing Awungia112/snake_game against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAwungia112%2Fsnake_game" "/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/Awungia112/snake_game
[INFO] finished tweaking git repo https://github.com/Awungia112/snake_game
[INFO] tweaked toml for git repo https://github.com/Awungia112/snake_game written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Awungia112/snake_game on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Awungia112/snake_game 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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.17
[INFO] [stderr]   Downloaded zerocopy v0.8.17
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fbc3c1b4412d6e695bfd2df843e80be2c90745e2255aeea1561603c6d2cb7a98
[INFO] running `Command { std: "docker" "start" "-a" "fbc3c1b4412d6e695bfd2df843e80be2c90745e2255aeea1561603c6d2cb7a98", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fbc3c1b4412d6e695bfd2df843e80be2c90745e2255aeea1561603c6d2cb7a98", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fbc3c1b4412d6e695bfd2df843e80be2c90745e2255aeea1561603c6d2cb7a98", kill_on_drop: false }`
[INFO] [stdout] fbc3c1b4412d6e695bfd2df843e80be2c90745e2255aeea1561603c6d2cb7a98
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] af9711318bb0f8aebfa8778be04e136f2c6bdceedbeee3276b82c07727da28fb
[INFO] running `Command { std: "docker" "start" "-a" "af9711318bb0f8aebfa8778be04e136f2c6bdceedbeee3276b82c07727da28fb", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling unicode-ident v1.0.16
[INFO] [stderr]    Compiling rustversion v1.0.19
[INFO] [stderr]    Compiling zerocopy v0.8.17
[INFO] [stderr]    Compiling getrandom v0.3.1
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling bitflags v2.8.0
[INFO] [stderr]    Compiling castaway v0.2.4
[INFO] [stderr]    Compiling compact_str v0.7.1
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling lru v0.12.5
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling dirs v5.0.1
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling rand_core v0.9.0
[INFO] [stderr]    Compiling unicode-truncate v1.1.0
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]    Compiling signal-hook-mio v0.2.5
[INFO] [stderr]    Compiling crossterm v0.27.0
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling stability v0.2.1
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand v0.9.0
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]    Compiling ratatui v0.26.3
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling snake-game v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `ActiveEffects`, `CellType`, `Obstacle`, `PowerupType`, and `Powerup`
[INFO] [stdout]  --> src/game/mod.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub use entities::{Obstacle, Powerup, PowerupType, CellType, ActiveEffects};
[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: `settings::GameSettings`
[INFO] [stdout]   --> src/game/mod.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub use settings::GameSettings;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `food_eaten`, `obstacles`, and `powerups` are never used
[INFO] [stdout]    --> src/game_logic.rs:146:12
[INFO] [stdout]     |
[INFO] [stdout]  89 | impl Game {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn food_eaten(&self) -> u32 {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 338 |     pub fn obstacles(&self) -> &Vec<Obstacle> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 342 |     pub fn powerups(&self) -> &Vec<Powerup> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `draw_popup` is never used
[INFO] [stdout]   --> src/ui/components.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn draw_popup(f: &mut Frame, size: Rect, title: &str, lines: Vec<&str>, border_color: Color) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Obstacle` is never constructed
[INFO] [stdout]  --> src/game/entities.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Obstacle {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Powerup` is never constructed
[INFO] [stdout]   --> src/game/entities.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Powerup {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PowerupType` is never used
[INFO] [stdout]   --> src/game/entities.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub enum PowerupType {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CellType` is never used
[INFO] [stdout]   --> src/game/entities.rs:26:10
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub enum CellType {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ActiveEffects` is never used
[INFO] [stdout]   --> src/game/entities.rs:36:10
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub type ActiveEffects = HashMap<PowerupType, f64>;
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GameSettings` is never constructed
[INFO] [stdout]  --> src/game/settings.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct GameSettings {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `reset_round` is never used
[INFO] [stdout]   --> src/multiplayer/game_state.rs:94:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl MultiplayerGame {
[INFO] [stdout]    | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 94 |     pub fn reset_round(&mut self, width: i32, height: i32) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.27s
[INFO] running `Command { std: "docker" "inspect" "af9711318bb0f8aebfa8778be04e136f2c6bdceedbeee3276b82c07727da28fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "af9711318bb0f8aebfa8778be04e136f2c6bdceedbeee3276b82c07727da28fb", kill_on_drop: false }`
[INFO] [stdout] af9711318bb0f8aebfa8778be04e136f2c6bdceedbeee3276b82c07727da28fb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bef0cd015747a25d61fa3332d3af16e28c7d7b5e6d91c6db37592f8c60b78425
[INFO] running `Command { std: "docker" "start" "-a" "bef0cd015747a25d61fa3332d3af16e28c7d7b5e6d91c6db37592f8c60b78425", kill_on_drop: false }`
[INFO] [stderr]    Compiling snake-game v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `ActiveEffects`, `CellType`, `Obstacle`, `PowerupType`, and `Powerup`
[INFO] [stdout]  --> src/game/mod.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub use entities::{Obstacle, Powerup, PowerupType, CellType, ActiveEffects};
[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: `settings::GameSettings`
[INFO] [stdout]   --> src/game/mod.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub use settings::GameSettings;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `food_eaten`, `obstacles`, and `powerups` are never used
[INFO] [stdout]    --> src/game_logic.rs:146:12
[INFO] [stdout]     |
[INFO] [stdout]  89 | impl Game {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn food_eaten(&self) -> u32 {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 338 |     pub fn obstacles(&self) -> &Vec<Obstacle> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 342 |     pub fn powerups(&self) -> &Vec<Powerup> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `draw_popup` is never used
[INFO] [stdout]   --> src/ui/components.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn draw_popup(f: &mut Frame, size: Rect, title: &str, lines: Vec<&str>, border_color: Color) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Obstacle` is never constructed
[INFO] [stdout]  --> src/game/entities.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Obstacle {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Powerup` is never constructed
[INFO] [stdout]   --> src/game/entities.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Powerup {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PowerupType` is never used
[INFO] [stdout]   --> src/game/entities.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub enum PowerupType {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CellType` is never used
[INFO] [stdout]   --> src/game/entities.rs:26:10
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub enum CellType {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ActiveEffects` is never used
[INFO] [stdout]   --> src/game/entities.rs:36:10
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub type ActiveEffects = HashMap<PowerupType, f64>;
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GameSettings` is never constructed
[INFO] [stdout]  --> src/game/settings.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct GameSettings {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `reset_round` is never used
[INFO] [stdout]   --> src/multiplayer/game_state.rs:94:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl MultiplayerGame {
[INFO] [stdout]    | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 94 |     pub fn reset_round(&mut self, width: i32, height: i32) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.46s
[INFO] running `Command { std: "docker" "inspect" "bef0cd015747a25d61fa3332d3af16e28c7d7b5e6d91c6db37592f8c60b78425", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bef0cd015747a25d61fa3332d3af16e28c7d7b5e6d91c6db37592f8c60b78425", kill_on_drop: false }`
[INFO] [stdout] bef0cd015747a25d61fa3332d3af16e28c7d7b5e6d91c6db37592f8c60b78425
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1c2fb15c0b8d3d822042bcceae36aad9b5dc1d993c46204ad0e5791bde744f2b
[INFO] running `Command { std: "docker" "start" "-a" "1c2fb15c0b8d3d822042bcceae36aad9b5dc1d993c46204ad0e5791bde744f2b", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `ActiveEffects`, `CellType`, `Obstacle`, `PowerupType`, and `Powerup`
[INFO] [stderr]  --> src/game/mod.rs:9:20
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub use entities::{Obstacle, Powerup, PowerupType, CellType, ActiveEffects};
[INFO] [stderr]   |                    ^^^^^^^^  ^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `settings::GameSettings`
[INFO] [stderr]   --> src/game/mod.rs:12:9
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub use settings::GameSettings;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `food_eaten`, `obstacles`, and `powerups` are never used
[INFO] [stderr]    --> src/game_logic.rs:146:12
[INFO] [stderr]     |
[INFO] [stderr]  89 | impl Game {
[INFO] [stderr]     | --------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 146 |     pub fn food_eaten(&self) -> u32 {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 338 |     pub fn obstacles(&self) -> &Vec<Obstacle> {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 342 |     pub fn powerups(&self) -> &Vec<Powerup> {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `draw_popup` is never used
[INFO] [stderr]   --> src/ui/components.rs:12:8
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub fn draw_popup(f: &mut Frame, size: Rect, title: &str, lines: Vec<&str>, border_color: Color) {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Obstacle` is never constructed
[INFO] [stderr]  --> src/game/entities.rs:6:12
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub struct Obstacle {
[INFO] [stderr]   |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Powerup` is never constructed
[INFO] [stderr]   --> src/game/entities.rs:12:12
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub struct Powerup {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `PowerupType` is never used
[INFO] [stderr]   --> src/game/entities.rs:20:10
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub enum PowerupType {
[INFO] [stderr]    |          ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `CellType` is never used
[INFO] [stderr]   --> src/game/entities.rs:26:10
[INFO] [stderr]    |
[INFO] [stderr] 26 | pub enum CellType {
[INFO] [stderr]    |          ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: type alias `ActiveEffects` is never used
[INFO] [stderr]   --> src/game/entities.rs:36:10
[INFO] [stderr]    |
[INFO] [stdout] 
[INFO] [stderr] 36 | pub type ActiveEffects = HashMap<PowerupType, f64>;
[INFO] [stdout] running 4 tests
[INFO] [stderr]    |          ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `GameSettings` is never constructed
[INFO] [stderr]  --> src/game/settings.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub struct GameSettings {
[INFO] [stderr]   |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `reset_round` is never used
[INFO] [stderr]   --> src/multiplayer/game_state.rs:94:12
[INFO] [stderr]    |
[INFO] [stderr] 22 | impl MultiplayerGame {
[INFO] [stderr]    | -------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 94 |     pub fn reset_round(&mut self, width: i32, height: i32) {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stdout] test game_logic::tests::test_upper_wall_collision ... ok
[INFO] [stderr] warning: `snake-game` (bin "snake-game" test) generated 11 warnings (run `cargo fix --bin "snake-game" -p snake-game --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/snake_game-5256520429e35c10)
[INFO] [stdout] test game_logic::tests::test_wall_collision ... ok
[INFO] [stdout] test game_logic::tests::test_multiplier_powerup ... ok
[INFO] [stdout] test game_logic::tests::test_obstacle_spawning ... FAILED
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- game_logic::tests::test_obstacle_spawning stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'game_logic::tests::test_obstacle_spawning' (18) panicked at src/game_logic.rs:649:9:
[INFO] [stdout] assertion `left == right` failed: Should have 1 obstacle after eating 5th food
[INFO] [stdout]   left: 0
[INFO] [stdout]  right: 1
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5cc8791f755a - std[f92b4c606f291077]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5cc8791f755a - std[f92b4c606f291077]::backtrace_rs::backtrace::trace_unsynchronized::<std[f92b4c606f291077]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5cc8791f755a - std[f92b4c606f291077]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5cc8791f755a - <<std[f92b4c606f291077]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[786f478f706679df]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5cc87920be3a - <core[786f478f706679df]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5cc87920be3a - core[786f478f706679df]::fmt::write
[INFO] [stdout]    6:     0x5cc8791fbe92 - std[f92b4c606f291077]::io::default_write_fmt::<alloc[64763625b5a07cdb]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5cc8791fbe92 - <alloc[64763625b5a07cdb]::vec::Vec<u8> as std[f92b4c606f291077]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x5cc8791d625f - <std[f92b4c606f291077]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5cc8791d625f - std[f92b4c606f291077]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5cc8791ef5f9 - std[f92b4c606f291077]::panicking::default_hook
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5cc87914986c - <alloc[64763625b5a07cdb]::boxed::Box<dyn for<'a, 'b> core[786f478f706679df]::ops::function::Fn<(&'a std[f92b4c606f291077]::panic::PanicHookInfo<'b>,), Output = ()> + core[786f478f706679df]::marker::Sync + core[786f478f706679df]::marker::Send> as core[786f478f706679df]::ops::function::Fn<(&std[f92b4c606f291077]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/boxed.rs:2254:9
[INFO] [stdout]   12:     0x5cc87914986c - test[20e1f0ae6cad7a17]::test_main_with_exit_callback::<test[20e1f0ae6cad7a17]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5cc8791ef7b2 - <alloc[64763625b5a07cdb]::boxed::Box<dyn for<'a, 'b> core[786f478f706679df]::ops::function::Fn<(&'a std[f92b4c606f291077]::panic::PanicHookInfo<'b>,), Output = ()> + core[786f478f706679df]::marker::Sync + core[786f478f706679df]::marker::Send> as core[786f478f706679df]::ops::function::Fn<(&std[f92b4c606f291077]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/boxed.rs:2254:9
[INFO] [stdout]   14:     0x5cc8791ef7b2 - std[f92b4c606f291077]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5cc8791d6318 - std[f92b4c606f291077]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5cc8791cdb39 - std[f92b4c606f291077]::sys::backtrace::__rust_end_short_backtrace::<std[f92b4c606f291077]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5cc8791d702d - __rustc[8241495c18a89d70]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5cc87920c5cc - core[786f478f706679df]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5cc87920c4e3 - core[786f478f706679df]::panicking::assert_failed_inner
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panicking.rs:434:23
[INFO] [stdout]   20:     0x5cc87920883d - core[786f478f706679df]::panicking::assert_failed::<usize, usize>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x5cc87910d794 - snake_game[5713c75d84f3ac1]::game_logic::tests::test_obstacle_spawning
[INFO] [stdout]                                at /opt/rustwide/workdir/src/game_logic.rs:649:9
[INFO] [stdout]   22:     0x5cc87910b7e7 - snake_game[5713c75d84f3ac1]::game_logic::tests::test_obstacle_spawning::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/game_logic.rs:626:32
[INFO] [stdout]   23:     0x5cc87910fec6 - <snake_game[5713c75d84f3ac1]::game_logic::tests::test_obstacle_spawning::{closure#0} as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5cc87913d94b - <fn() -> core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5cc87913d94b - test[20e1f0ae6cad7a17]::__rust_begin_short_backtrace::<core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>, fn() -> core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:663:18
[INFO] [stdout]   26:     0x5cc87914a33b - test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:686:74
[INFO] [stdout]   27:     0x5cc87914a33b - <core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   28:     0x5cc87914a33b - std[f92b4c606f291077]::panicking::catch_unwind::do_call::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}>, core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x5cc87914a33b - std[f92b4c606f291077]::panicking::catch_unwind::<core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>, core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x5cc87914a33b - std[f92b4c606f291077]::panic::catch_unwind::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}>, core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5cc87914a33b - test[20e1f0ae6cad7a17]::run_test_in_process
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:686:27
[INFO] [stdout]   32:     0x5cc87914a33b - test[20e1f0ae6cad7a17]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:607:43
[INFO] [stdout]   33:     0x5cc879145a54 - test[20e1f0ae6cad7a17]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:637:41
[INFO] [stdout]   34:     0x5cc879145a54 - std[f92b4c606f291077]::sys::backtrace::__rust_begin_short_backtrace::<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   35:     0x5cc87914cf42 - std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked::<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   36:     0x5cc87914cf42 - <core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   37:     0x5cc87914cf42 - std[f92b4c606f291077]::panicking::catch_unwind::do_call::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:581:40
[INFO] [stdout]   38:     0x5cc87914cf42 - std[f92b4c606f291077]::panicking::catch_unwind::<(), core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:544:19
[INFO] [stdout]   39:     0x5cc87914cf42 - std[f92b4c606f291077]::panic::catch_unwind::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x5cc87914cf42 - std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked::<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   41:     0x5cc87914cf42 - <std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1} as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5cc8791f694f - <alloc[64763625b5a07cdb]::boxed::Box<dyn core[786f478f706679df]::ops::function::FnOnce<(), Output = ()> + core[786f478f706679df]::marker::Send> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/boxed.rs:2240:9
[INFO] [stdout]   43:     0x5cc8791f694f - <std[f92b4c606f291077]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   44:     0x7baa6788faa4 - <unknown>
[INFO] [stdout]   45:     0x7baa6791ca64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     game_logic::tests::test_obstacle_spawning
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "1c2fb15c0b8d3d822042bcceae36aad9b5dc1d993c46204ad0e5791bde744f2b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1c2fb15c0b8d3d822042bcceae36aad9b5dc1d993c46204ad0e5791bde744f2b", kill_on_drop: false }`
[INFO] [stdout] 1c2fb15c0b8d3d822042bcceae36aad9b5dc1d993c46204ad0e5791bde744f2b
