[INFO] cloning repository https://github.com/oosawak/rustgames
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oosawak/rustgames" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foosawak%2Frustgames", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foosawak%2Frustgames'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 86342c84995e5384ff2d89d4a55d047e2326c82b
[INFO] checking oosawak/rustgames against try#8a2f6fe57adadb246778b8d41925d3dc46d468cb for pr-158320
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foosawak%2Frustgames" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  88% (699/787)
Updating files:  89% (701/787)
Updating files:  90% (709/787)
Updating files:  91% (717/787)
Updating files:  92% (725/787)
Updating files:  93% (732/787)
Updating files:  94% (740/787)
Updating files:  95% (748/787)
Updating files:  96% (756/787)
Updating files:  97% (764/787)
Updating files:  98% (772/787)
Updating files:  99% (780/787)
Updating files: 100% (787/787)
Updating files: 100% (787/787), done.
[INFO] started tweaking git repo https://github.com/oosawak/rustgames
[INFO] finished tweaking git repo https://github.com/oosawak/rustgames
[INFO] tweaked toml for git repo https://github.com/oosawak/rustgames written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/oosawak/rustgames on toolchain 8a2f6fe57adadb246778b8d41925d3dc46d468cb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/oosawak/rustgames 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" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /workspace/builds/worker-3-tc2/source/ffi_bridge/Cargo.toml
[INFO] [stderr] workspace: /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /workspace/builds/worker-3-tc2/source/wasm_app/Cargo.toml
[INFO] [stderr] workspace: /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 71cebaa33e9e05df7d2fb6cde8fd92e5af152a3bcd87863e564bd210ff5f9a58
[INFO] running `Command { std: "docker" "start" "71cebaa33e9e05df7d2fb6cde8fd92e5af152a3bcd87863e564bd210ff5f9a58", 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" "71cebaa33e9e05df7d2fb6cde8fd92e5af152a3bcd87863e564bd210ff5f9a58" "/opt/rustwide/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "71cebaa33e9e05df7d2fb6cde8fd92e5af152a3bcd87863e564bd210ff5f9a58", 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" "71cebaa33e9e05df7d2fb6cde8fd92e5af152a3bcd87863e564bd210ff5f9a58" "/opt/rustwide/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /opt/rustwide/workdir/ffi_bridge/Cargo.toml
[INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /opt/rustwide/workdir/wasm_app/Cargo.toml
[INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml
[INFO] [stderr]     Checking bitflags v2.11.1
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking linux-raw-sys v0.12.1
[INFO] [stderr]     Checking dlib v0.5.3
[INFO] [stderr]    Compiling wayland-sys v0.31.11
[INFO] [stderr]    Compiling cc v1.2.61
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]    Compiling bytemuck_derive v1.10.2
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.120
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]     Checking hashbrown v0.17.0
[INFO] [stderr]    Compiling wgpu-hal v0.19.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling wayland-client v0.31.14
[INFO] [stderr]     Checking khronos-egl v6.0.0
[INFO] [stderr]    Compiling wgpu-core v0.19.4
[INFO] [stderr]     Checking gpu-alloc-types v0.3.0
[INFO] [stderr]     Checking spirv v0.3.0+sdk-1.3.268.0
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]     Checking gpu-descriptor-types v0.1.2
[INFO] [stderr]     Checking wgpu-types v0.19.2
[INFO] [stderr]     Checking profiling v1.0.18
[INFO] [stderr]     Checking gpu-alloc v0.6.0
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]    Compiling wgpu v0.19.4
[INFO] [stderr]    Compiling cgmath v0.18.0
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking approx v0.4.0
[INFO] [stderr]    Compiling bumpalo v3.20.2
[INFO] [stderr]    Compiling quick-xml v0.39.3
[INFO] [stderr]    Compiling wasm-bindgen v0.2.120
[INFO] [stderr]     Checking indexmap v2.14.0
[INFO] [stderr]     Checking rustix v0.38.44
[INFO] [stderr]     Checking gpu-descriptor v0.2.4
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.120
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.18.1
[INFO] [stderr]     Checking pollster v0.3.0
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking memmap2 v0.9.10
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling winit v0.29.15
[INFO] [stderr]     Checking anstream v1.0.0
[INFO] [stderr]     Checking xkbcommon-dl v0.4.2
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking jiff v0.2.24
[INFO] [stderr]     Checking naga v0.19.2
[INFO] [stderr]     Checking tokio v1.52.2
[INFO] [stderr]     Checking bytemuck v1.25.0
[INFO] [stderr]    Compiling wayland-scanner v0.31.10
[INFO] [stderr]    Compiling wayland-backend v0.3.15
[INFO] [stderr]     Checking tiny-skia-path v0.11.4
[INFO] [stderr]     Checking tiny-skia v0.11.4
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking glam v0.25.0
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking env_filter v1.0.1
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.120
[INFO] [stderr]     Checking env_logger v0.11.10
[INFO] [stderr]     Checking polling v3.11.0
[INFO] [stderr]     Checking gethostname v1.1.0
[INFO] [stderr]     Checking x11rb v0.13.2
[INFO] [stderr]     Checking calloop v0.12.4
[INFO] [stderr]     Checking js-sys v0.3.97
[INFO] [stderr]     Checking console_error_panic_hook v0.1.7
[INFO] [stderr]     Checking wayland-csd-frame v0.3.0
[INFO] [stderr]     Checking game_logic v0.1.0 (/opt/rustwide/workdir/game_logic)
[INFO] [stderr]     Checking wayland-protocols v0.31.2
[INFO] [stderr]     Checking calloop-wayland-source v0.2.0
[INFO] [stderr]     Checking wayland-cursor v0.31.14
[INFO] [stderr]     Checking wayland-protocols-wlr v0.2.0
[INFO] [stderr]     Checking wayland-protocols-plasma v0.2.0
[INFO] [stderr]     Checking wasm-bindgen-futures v0.4.70
[INFO] [stderr]     Checking web-sys v0.3.97
[INFO] [stderr]     Checking sctk-adwaita v0.8.3
[INFO] [stderr]     Checking engine v0.1.0 (/opt/rustwide/workdir/engine)
[INFO] [stderr]     Checking wasm_app v0.1.0 (/opt/rustwide/workdir/wasm_app)
[INFO] [stderr]     Checking ffi_bridge v0.1.0 (/opt/rustwide/workdir/ffi_bridge)
[INFO] [stderr]     Checking native_app v0.1.0 (/opt/rustwide/workdir/native_app)
[INFO] [stdout] warning: unused import: `puzzle::PuzzleState`
[INFO] [stdout]  --> ffi_bridge/src/lib.rs:1:29
[INFO] [stdout]   |
[INFO] [stdout] 1 | use game_logic::{GameState, puzzle::PuzzleState};
[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: `std::ptr`
[INFO] [stdout]  --> ffi_bridge/src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::ptr;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `puzzle::PuzzleState`
[INFO] [stdout]  --> ffi_bridge/src/lib.rs:1:29
[INFO] [stdout]   |
[INFO] [stdout] 1 | use game_logic::{GameState, puzzle::PuzzleState};
[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: `std::ptr`
[INFO] [stdout]  --> ffi_bridge/src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::ptr;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> ffi_bridge/src/lib.rs:175:22
[INFO] [stdout]     |
[INFO] [stdout] 175 |         let result = unsafe { game_initialize(1280, 720) };
[INFO] [stdout]     |                      ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> ffi_bridge/src/lib.rs:177:22
[INFO] [stdout]     |
[INFO] [stdout] 177 |         let result = unsafe { game_cleanup() };
[INFO] [stdout]     |                      ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> ffi_bridge/src/lib.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 |         if GAME_STATE.is_some() {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[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]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> ffi_bridge/src/lib.rs:50:15
[INFO] [stdout]    |
[INFO] [stdout] 50 |         match &GAME_STATE {
[INFO] [stdout]    |               ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[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]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 50 |         match &raw const GAME_STATE {
[INFO] [stdout]    |                +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> ffi_bridge/src/lib.rs:65:15
[INFO] [stdout]    |
[INFO] [stdout] 65 |         match &GAME_STATE {
[INFO] [stdout]    |               ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[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]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 65 |         match &raw const GAME_STATE {
[INFO] [stdout]    |                +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> ffi_bridge/src/lib.rs:85:15
[INFO] [stdout]    |
[INFO] [stdout] 85 |         match &GAME_STATE {
[INFO] [stdout]    |               ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[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]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 85 |         match &raw const GAME_STATE {
[INFO] [stdout]    |                +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> ffi_bridge/src/lib.rs:105:15
[INFO] [stdout]     |
[INFO] [stdout] 105 |         match &GAME_STATE {
[INFO] [stdout]     |               ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[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]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 105 |         match &raw const GAME_STATE {
[INFO] [stdout]     |                +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> ffi_bridge/src/lib.rs:130:15
[INFO] [stdout]     |
[INFO] [stdout] 130 |         match &GAME_STATE {
[INFO] [stdout]     |               ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[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]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 130 |         match &raw const GAME_STATE {
[INFO] [stdout]     |                +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> ffi_bridge/src/lib.rs:145:15
[INFO] [stdout]     |
[INFO] [stdout] 145 |         match &GAME_STATE {
[INFO] [stdout]     |               ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[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]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 145 |         match &raw const GAME_STATE {
[INFO] [stdout]     |                +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> ffi_bridge/src/lib.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 |         if GAME_STATE.is_some() {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[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]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> ffi_bridge/src/lib.rs:50:15
[INFO] [stdout]    |
[INFO] [stdout] 50 |         match &GAME_STATE {
[INFO] [stdout]    |               ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[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]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 50 |         match &raw const GAME_STATE {
[INFO] [stdout]    |                +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> ffi_bridge/src/lib.rs:65:15
[INFO] [stdout]    |
[INFO] [stdout] 65 |         match &GAME_STATE {
[INFO] [stdout]    |               ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[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]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 65 |         match &raw const GAME_STATE {
[INFO] [stdout]    |                +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> ffi_bridge/src/lib.rs:85:15
[INFO] [stdout]    |
[INFO] [stdout] 85 |         match &GAME_STATE {
[INFO] [stdout]    |               ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[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]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 85 |         match &raw const GAME_STATE {
[INFO] [stdout]    |                +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> ffi_bridge/src/lib.rs:105:15
[INFO] [stdout]     |
[INFO] [stdout] 105 |         match &GAME_STATE {
[INFO] [stdout]     |               ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[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]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 105 |         match &raw const GAME_STATE {
[INFO] [stdout]     |                +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> ffi_bridge/src/lib.rs:130:15
[INFO] [stdout]     |
[INFO] [stdout] 130 |         match &GAME_STATE {
[INFO] [stdout]     |               ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[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]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 130 |         match &raw const GAME_STATE {
[INFO] [stdout]     |                +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> ffi_bridge/src/lib.rs:145:15
[INFO] [stdout]     |
[INFO] [stdout] 145 |         match &GAME_STATE {
[INFO] [stdout]     |               ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[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]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 145 |         match &raw const GAME_STATE {
[INFO] [stdout]     |                +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> native_app/src/main.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let mut engine = Engine::new(config).await?;
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `engine`
[INFO] [stdout]   --> native_app/src/main.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let mut engine = Engine::new(config).await?;
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> native_app/src/main.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let mut engine = Engine::new(config).await?;
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `engine`
[INFO] [stdout]   --> native_app/src/main.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let mut engine = Engine::new(config).await?;
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vsync`
[INFO] [stdout]   --> wasm_app/src/gpu.rs:26:58
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub async fn new(canvas: web_sys::HtmlCanvasElement, vsync: bool) -> Result<Self, String> {
[INFO] [stdout]    |                                                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_vsync`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vsync`
[INFO] [stdout]   --> wasm_app/src/gpu.rs:26:58
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub async fn new(canvas: web_sys::HtmlCanvasElement, vsync: bool) -> Result<Self, String> {
[INFO] [stdout]    |                                                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_vsync`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `generate_level` is never used
[INFO] [stdout]    --> wasm_app/src/penpen.rs:177:8
[INFO] [stdout]     |
[INFO] [stdout]  94 | impl PenPenGame {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 177 |     fn generate_level(&mut self) {
[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 `generate_level` is never used
[INFO] [stdout]    --> wasm_app/src/penpen.rs:177:8
[INFO] [stdout]     |
[INFO] [stdout]  94 | impl PenPenGame {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 177 |     fn generate_level(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s
[INFO] running `Command { std: "docker" "inspect" "71cebaa33e9e05df7d2fb6cde8fd92e5af152a3bcd87863e564bd210ff5f9a58", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "71cebaa33e9e05df7d2fb6cde8fd92e5af152a3bcd87863e564bd210ff5f9a58", kill_on_drop: false }`
[INFO] [stdout] 71cebaa33e9e05df7d2fb6cde8fd92e5af152a3bcd87863e564bd210ff5f9a58
