[INFO] cloning repository https://github.com/lautaroh2394/pockie_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lautaroh2394/pockie_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flautaroh2394%2Fpockie_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flautaroh2394%2Fpockie_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fb7ffcb129534c236c1cee0b2d56d2529bc0edfb
[INFO] checking lautaroh2394/pockie_rust against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flautaroh2394%2Fpockie_rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/lautaroh2394/pockie_rust
[INFO] finished tweaking git repo https://github.com/lautaroh2394/pockie_rust
[INFO] tweaked toml for git repo https://github.com/lautaroh2394/pockie_rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lautaroh2394/pockie_rust on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/lautaroh2394/pockie_rust 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cc49353c2a082eeb27a769434acbd6652ffe7adb27f8e5190c1c7e72d717d7cc
[INFO] running `Command { std: "docker" "start" "-a" "cc49353c2a082eeb27a769434acbd6652ffe7adb27f8e5190c1c7e72d717d7cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cc49353c2a082eeb27a769434acbd6652ffe7adb27f8e5190c1c7e72d717d7cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cc49353c2a082eeb27a769434acbd6652ffe7adb27f8e5190c1c7e72d717d7cc", kill_on_drop: false }`
[INFO] [stdout] cc49353c2a082eeb27a769434acbd6652ffe7adb27f8e5190c1c7e72d717d7cc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f00a4de28330c8302a2e79b59838c6ad0d6cd8f40d4c4259d7490dc6c3beb565
[INFO] running `Command { std: "docker" "start" "-a" "f00a4de28330c8302a2e79b59838c6ad0d6cd8f40d4c4259d7490dc6c3beb565", kill_on_drop: false }`
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]     Checking adler2 v2.0.0
[INFO] [stderr]     Checking once_cell v1.20.2
[INFO] [stderr]     Checking crc32fast v1.4.2
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]    Compiling miniquad v0.4.6
[INFO] [stderr]     Checking fdeflate v0.3.7
[INFO] [stderr]     Checking miniz_oxide v0.8.3
[INFO] [stderr]     Checking ttf-parser v0.15.2
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling slotmap v1.0.7
[INFO] [stderr]     Checking bytemuck v1.21.0
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking flate2 v1.0.35
[INFO] [stderr]     Checking hashbrown v0.13.2
[INFO] [stderr]     Checking glam v0.27.0
[INFO] [stderr]    Compiling macroquad_macro v0.1.8
[INFO] [stderr]     Checking quad-rand v0.2.3
[INFO] [stderr]     Checking png v0.17.16
[INFO] [stderr]     Checking fontdue v0.7.3
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking macroquad v0.4.13
[INFO] [stderr]     Checking pockieninja v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `push_global_event`
[INFO] [stdout]  --> src/models/scene_manager.rs:1:55
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::global_events::{global_events_iterate_mut, push_global_event, remove_global_event_by_id, remove_global_events};
[INFO] [stdout]   |                                                       ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/models/scene_manager.rs:57:49
[INFO] [stdout]    |
[INFO] [stdout] 57 |             if exec { remove_global_event_by_id((event.id()));}
[INFO] [stdout]    |                                                 ^          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 57 -             if exec { remove_global_event_by_id((event.id()));}
[INFO] [stdout] 57 +             if exec { remove_global_event_by_id(event.id());}
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/models/scenes/character_menu.rs:39:16
[INFO] [stdout]    |
[INFO] [stdout] 39 |             if (option_title == "Move") {
[INFO] [stdout]    |                ^                      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 39 -             if (option_title == "Move") {
[INFO] [stdout] 39 +             if option_title == "Move" {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/models/scenes/character_menu.rs:52:16
[INFO] [stdout]    |
[INFO] [stdout] 52 |             if (option_title == "Attack") {
[INFO] [stdout]    |                ^                        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 52 -             if (option_title == "Attack") {
[INFO] [stdout] 52 +             if option_title == "Attack" {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `enums::event::SceneEvent`
[INFO] [stdout]  --> src/models/space.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     enums::event::SceneEvent, 
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `enums::event::SceneEvent`
[INFO] [stdout]  --> src/models/buttons/button.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{enums::event::SceneEvent, models::position::Position, traits::game_object::GameObject};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `space::Space`
[INFO] [stdout]  --> src/enums/event.rs:1:39
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::models::{fighter::Fighter, space::Space};
[INFO] [stdout]   |                                       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `global_events::GLOBAL_EVENTS`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use global_events::GLOBAL_EVENTS;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/global_events.rs:21:65
[INFO] [stdout]    |
[INFO] [stdout] 21 |             let found = GLOBAL_EVENTS.iter().enumerate().find(|(index, event)|{
[INFO] [stdout]    |                                                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/models/scene_manager.rs:50:37
[INFO] [stdout]    |
[INFO] [stdout] 50 |                 SceneEvent::PopLast(data) => {
[INFO] [stdout]    |                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `push_global_event`
[INFO] [stdout]  --> src/models/scene_manager.rs:1:55
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::global_events::{global_events_iterate_mut, push_global_event, remove_global_event_by_id, remove_global_events};
[INFO] [stdout]   |                                                       ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/models/scene_manager.rs:57:49
[INFO] [stdout]    |
[INFO] [stdout] 57 |             if exec { remove_global_event_by_id((event.id()));}
[INFO] [stdout]    |                                                 ^          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 57 -             if exec { remove_global_event_by_id((event.id()));}
[INFO] [stdout] 57 +             if exec { remove_global_event_by_id(event.id());}
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/models/scenes/character_menu.rs:39:16
[INFO] [stdout]    |
[INFO] [stdout] 39 |             if (option_title == "Move") {
[INFO] [stdout]    |                ^                      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 39 -             if (option_title == "Move") {
[INFO] [stdout] 39 +             if option_title == "Move" {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/models/scenes/character_menu.rs:52:16
[INFO] [stdout]    |
[INFO] [stdout] 52 |             if (option_title == "Attack") {
[INFO] [stdout]    |                ^                        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 52 -             if (option_title == "Attack") {
[INFO] [stdout] 52 +             if option_title == "Attack" {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `enums::event::SceneEvent`
[INFO] [stdout]  --> src/models/space.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     enums::event::SceneEvent, 
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `enums::event::SceneEvent`
[INFO] [stdout]  --> src/models/buttons/button.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{enums::event::SceneEvent, models::position::Position, traits::game_object::GameObject};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `space::Space`
[INFO] [stdout]  --> src/enums/event.rs:1:39
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::models::{fighter::Fighter, space::Space};
[INFO] [stdout]   |                                       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `global_events::GLOBAL_EVENTS`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use global_events::GLOBAL_EVENTS;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/models/board.rs:126:25
[INFO] [stdout]     |
[INFO] [stdout] 126 |                         _ => { exec = false;} 
[INFO] [stdout]     |                         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/models/board.rs:126:25
[INFO] [stdout]     |
[INFO] [stdout]  92 |                         BoardEvent::BoardSelectMove(fighter) => {
[INFO] [stdout]     |                         ------------------------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout]  96 |                         BoardEvent::BoardIdle => {
[INFO] [stdout]     |                         --------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout]  99 |                         BoardEvent::DropFighter(fighter) => {
[INFO] [stdout]     |                         -------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 103 |                         BoardEvent::SetFighter(fighter) => {
[INFO] [stdout]     |                         ------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 126 |                         _ => { exec = false;} 
[INFO] [stdout]     |                         ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `events` is never read
[INFO] [stdout]   --> src/models/scenes/scene.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Scene {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 13 |     pub elements: Vec<Box<dyn GameObject>>,
[INFO] [stdout] 14 |     pub events: Vec<SceneEvent>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_status` is never used
[INFO] [stdout]   --> src/models/board.rs:74:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Board {    
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 74 |     fn get_status(&self) -> &BoardState { &self.state }
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_def` and `get_movement` are never used
[INFO] [stdout]   --> src/models/fighter.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Fighter {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn get_def(&self) -> i32 { self.defense }
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 52 |     pub fn get_movement(&self) -> i32 { self.movement }
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_name` is never used
[INFO] [stdout]   --> src/traits/game_object.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub trait GameObject {
[INFO] [stdout]    |           ---------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 44 |     fn get_name(&self) -> String { String::from("Nombre sin definir") }
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]  --> src/global_events.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |         GLOBAL_EVENTS.push(ev);
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]   |
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]   = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]   = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/global_events.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |         REMOVABLE_EVENTS.push(id);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/global_events.rs:20:19
[INFO] [stdout]    |
[INFO] [stdout] 20 |         for id in REMOVABLE_EVENTS.iter() {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/global_events.rs:21:25
[INFO] [stdout]    |
[INFO] [stdout] 21 |             let found = GLOBAL_EVENTS.iter().enumerate().find(|(index, event)|{
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/global_events.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |                 GLOBAL_EVENTS.remove(index);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/global_events.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |         REMOVABLE_EVENTS.clear();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/global_events.rs:36:26
[INFO] [stdout]    |
[INFO] [stdout] 36 |             for event in GLOBAL_EVENTS.iter() {
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/global_events.rs:21:65
[INFO] [stdout]    |
[INFO] [stdout] 21 |             let found = GLOBAL_EVENTS.iter().enumerate().find(|(index, event)|{
[INFO] [stdout]    |                                                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/models/scene_manager.rs:50:37
[INFO] [stdout]    |
[INFO] [stdout] 50 |                 SceneEvent::PopLast(data) => {
[INFO] [stdout]    |                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/models/board.rs:126:25
[INFO] [stdout]     |
[INFO] [stdout] 126 |                         _ => { exec = false;} 
[INFO] [stdout]     |                         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/models/board.rs:126:25
[INFO] [stdout]     |
[INFO] [stdout]  92 |                         BoardEvent::BoardSelectMove(fighter) => {
[INFO] [stdout]     |                         ------------------------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout]  96 |                         BoardEvent::BoardIdle => {
[INFO] [stdout]     |                         --------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout]  99 |                         BoardEvent::DropFighter(fighter) => {
[INFO] [stdout]     |                         -------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 103 |                         BoardEvent::SetFighter(fighter) => {
[INFO] [stdout]     |                         ------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 126 |                         _ => { exec = false;} 
[INFO] [stdout]     |                         ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `events` is never read
[INFO] [stdout]   --> src/models/scenes/scene.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Scene {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 13 |     pub elements: Vec<Box<dyn GameObject>>,
[INFO] [stdout] 14 |     pub events: Vec<SceneEvent>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_status` is never used
[INFO] [stdout]   --> src/models/board.rs:74:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Board {    
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 74 |     fn get_status(&self) -> &BoardState { &self.state }
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_def` and `get_movement` are never used
[INFO] [stdout]   --> src/models/fighter.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Fighter {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn get_def(&self) -> i32 { self.defense }
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 52 |     pub fn get_movement(&self) -> i32 { self.movement }
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_name` is never used
[INFO] [stdout]   --> src/traits/game_object.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub trait GameObject {
[INFO] [stdout]    |           ---------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 44 |     fn get_name(&self) -> String { String::from("Nombre sin definir") }
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]  --> src/global_events.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |         GLOBAL_EVENTS.push(ev);
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]   |
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]   = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]   = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/global_events.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |         REMOVABLE_EVENTS.push(id);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/global_events.rs:20:19
[INFO] [stdout]    |
[INFO] [stdout] 20 |         for id in REMOVABLE_EVENTS.iter() {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/global_events.rs:21:25
[INFO] [stdout]    |
[INFO] [stdout] 21 |             let found = GLOBAL_EVENTS.iter().enumerate().find(|(index, event)|{
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/global_events.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |                 GLOBAL_EVENTS.remove(index);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/global_events.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |         REMOVABLE_EVENTS.clear();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/global_events.rs:36:26
[INFO] [stdout]    |
[INFO] [stdout] 36 |             for event in GLOBAL_EVENTS.iter() {
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.15s
[INFO] running `Command { std: "docker" "inspect" "f00a4de28330c8302a2e79b59838c6ad0d6cd8f40d4c4259d7490dc6c3beb565", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f00a4de28330c8302a2e79b59838c6ad0d6cd8f40d4c4259d7490dc6c3beb565", kill_on_drop: false }`
[INFO] [stdout] f00a4de28330c8302a2e79b59838c6ad0d6cd8f40d4c4259d7490dc6c3beb565
