[INFO] cloning repository https://github.com/CanyonTurtle/mqt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CanyonTurtle/mqt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCanyonTurtle%2Fmqt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCanyonTurtle%2Fmqt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f11a75962bf97115f3e34cd13f874e7c39c594f5 [INFO] building CanyonTurtle/mqt against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCanyonTurtle%2Fmqt" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/CanyonTurtle/mqt [INFO] finished tweaking git repo https://github.com/CanyonTurtle/mqt [INFO] tweaked toml for git repo https://github.com/CanyonTurtle/mqt written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/CanyonTurtle/mqt on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/CanyonTurtle/mqt 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded buddy-alloc v0.4.2 [INFO] [stderr] Downloaded bevy_gilrs v0.13.0 [INFO] [stderr] Downloaded bevy_a11y v0.13.0 [INFO] [stderr] Downloaded bevy_winit v0.13.0 [INFO] [stderr] Downloaded bevy_internal v0.13.0 [INFO] [stderr] Downloaded wgpu v0.19.1 [INFO] [stderr] Downloaded bevy_pbr v0.13.0 [INFO] [stderr] Downloaded bevy_app v0.13.0 [INFO] [stderr] Downloaded bevy_diagnostic v0.13.0 [INFO] [stderr] Downloaded quad-rand v0.2.1 [INFO] [stderr] Downloaded bevy_animation v0.13.0 [INFO] [stderr] Downloaded bevy_gizmos v0.13.0 [INFO] [stderr] Downloaded macroquad_macro v0.1.7 [INFO] [stderr] Downloaded gilrs-core v0.5.10 [INFO] [stderr] Downloaded sysinfo v0.30.5 [INFO] [stderr] Downloaded wgpu-types v0.19.0 [INFO] [stderr] Downloaded bevy_reflect_derive v0.13.0 [INFO] [stderr] Downloaded fontdue v0.7.3 [INFO] [stderr] Downloaded miniquad v0.4.0-alpha.10 [INFO] [stderr] Downloaded bevy_asset v0.13.0 [INFO] [stderr] Downloaded bevy_core_pipeline v0.13.0 [INFO] [stderr] Downloaded png v0.17.11 [INFO] [stderr] Downloaded bevy_encase_derive v0.13.0 [INFO] [stderr] Downloaded bevy_render v0.13.0 [INFO] [stderr] Downloaded wgpu-core v0.19.0 [INFO] [stderr] Downloaded wgpu-hal v0.19.1 [INFO] [stderr] Downloaded gilrs v0.10.4 [INFO] [stderr] Downloaded bevy_scene v0.13.0 [INFO] [stderr] Downloaded async-fs v2.1.1 [INFO] [stderr] Downloaded bevy_text v0.13.0 [INFO] [stderr] Downloaded bevy_dylib v0.13.0 [INFO] [stderr] Downloaded bevy_audio v0.13.0 [INFO] [stderr] Downloaded bevy_gizmos_macros v0.13.0 [INFO] [stderr] Downloaded bevy_asset_macros v0.13.0 [INFO] [stderr] Downloaded bevy_render_macros v0.13.0 [INFO] [stderr] Downloaded profiling v1.0.14 [INFO] [stderr] Downloaded bevy_ui v0.13.0 [INFO] [stderr] Downloaded bevy_hierarchy v0.13.0 [INFO] [stderr] Downloaded bevy_reflect v0.13.0 [INFO] [stderr] Downloaded crossbeam-channel v0.5.11 [INFO] [stderr] Downloaded bevy_gltf v0.13.0 [INFO] [stderr] Downloaded bevy_time v0.13.0 [INFO] [stderr] Downloaded bevy_log v0.13.0 [INFO] [stderr] Downloaded erased-serde v0.4.3 [INFO] [stderr] Downloaded naga v0.19.0 [INFO] [stderr] Downloaded bevy_core v0.13.0 [INFO] [stderr] Downloaded bevy_window v0.13.0 [INFO] [stderr] Downloaded bevy_sprite v0.13.0 [INFO] [stderr] Downloaded bevy_transform v0.13.0 [INFO] [stderr] Downloaded bevy_derive v0.13.0 [INFO] [stderr] Downloaded bevy_input v0.13.0 [INFO] [stderr] Downloaded bevy_math v0.13.0 [INFO] [stderr] Downloaded bevy_mikktspace v0.13.0 [INFO] [stderr] Downloaded bevy_macro_utils v0.13.0 [INFO] [stderr] Downloaded bevy_utils v0.13.0 [INFO] [stderr] Downloaded bevy_ecs_macros v0.13.0 [INFO] [stderr] Downloaded bevy_tasks v0.13.0 [INFO] [stderr] Downloaded bevy_ecs v0.13.0 [INFO] [stderr] Downloaded bevy_ptr v0.13.0 [INFO] [stderr] Downloaded bevy_utils_proc_macros v0.13.0 [INFO] [stderr] Downloaded winit v0.29.10 [INFO] [stderr] Downloaded bevy v0.13.0 [INFO] [stderr] Downloaded polling v3.5.0 [INFO] [stderr] Downloaded spin_sleep v1.2.0 [INFO] [stderr] Downloaded bevy_framepace v0.15.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.41 [INFO] [stderr] Downloaded macroquad v0.4.4 [INFO] [stderr] Downloaded image v0.24.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7db58ca7ec95fb075e3681ac16198add36d28f0d653fdffcf913f5e69a9d5635 [INFO] running `Command { std: "docker" "start" "-a" "7db58ca7ec95fb075e3681ac16198add36d28f0d653fdffcf913f5e69a9d5635", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7db58ca7ec95fb075e3681ac16198add36d28f0d653fdffcf913f5e69a9d5635", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7db58ca7ec95fb075e3681ac16198add36d28f0d653fdffcf913f5e69a9d5635", kill_on_drop: false }` [INFO] [stdout] 7db58ca7ec95fb075e3681ac16198add36d28f0d653fdffcf913f5e69a9d5635 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] a4b341f0e4916b144fa7003224ba680e5190bb8cfafaad4fd6ad1d68791abdfa [INFO] running `Command { std: "docker" "start" "-a" "a4b341f0e4916b144fa7003224ba680e5190bb8cfafaad4fd6ad1d68791abdfa", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling miniquad v0.4.0-alpha.10 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling glam v0.21.3 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling png v0.17.11 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling fontdue v0.7.3 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling image v0.24.8 [INFO] [stderr] Compiling macroquad v0.4.4 [INFO] [stderr] Compiling num v0.4.1 [INFO] [stderr] Compiling kittygame v0.1.0 (/opt/rustwide/workdir/kittygame) [INFO] [stdout] warning: fields `name`, `f1_note_duration`, and `f2_note_duration` are never read [INFO] [stdout] --> kittygame/src/game/music.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Song { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 4 | pub name: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub f1_note_duration: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub f2_note_duration: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> kittygame/src/lib.rs:271:15 [INFO] [stdout] | [INFO] [stdout] 271 | match &mut GAME_STATE_HOLDER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 271 | match &raw mut GAME_STATE_HOLDER { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> kittygame/src/lib.rs:284:15 [INFO] [stdout] | [INFO] [stdout] 284 | match &mut GAME_STATE_HOLDER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 284 | match &raw mut GAME_STATE_HOLDER { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> kittygame/src/lib.rs:425:50 [INFO] [stdout] | [INFO] [stdout] 425 | let inputs: &mut [u8; MAX_N_NPCS] = unsafe { &mut NPC_INPUTS }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 425 | let inputs: &mut [u8; MAX_N_NPCS] = unsafe { &raw mut NPC_INPUTS }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> kittygame/src/spritesheet.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | match &mut SPRITES { [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 149 | match &raw mut SPRITES { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> kittygame/src/spritesheet.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 162 | match &mut SPRITES { [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 162 | match &raw mut SPRITES { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> kittygame/src/spritesheet.rs:351:19 [INFO] [stdout] | [INFO] [stdout] 351 | match &SPRITES { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 351 | match &raw const SPRITES { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> kittygame/src/spritesheet.rs:390:19 [INFO] [stdout] | [INFO] [stdout] 390 | match &mut SPRITES { [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 390 | match &raw mut SPRITES { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mqt v0.1.0 (/opt/rustwide/workdir/macroquad_plat) [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 35.83s [INFO] running `Command { std: "docker" "inspect" "a4b341f0e4916b144fa7003224ba680e5190bb8cfafaad4fd6ad1d68791abdfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4b341f0e4916b144fa7003224ba680e5190bb8cfafaad4fd6ad1d68791abdfa", kill_on_drop: false }` [INFO] [stdout] a4b341f0e4916b144fa7003224ba680e5190bb8cfafaad4fd6ad1d68791abdfa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 9662983eb1c984ffc72a8f1c54b0178139548479f35b64722416c2d3d3407a46 [INFO] running `Command { std: "docker" "start" "-a" "9662983eb1c984ffc72a8f1c54b0178139548479f35b64722416c2d3d3407a46", kill_on_drop: false }` [INFO] [stdout] warning: fields `name`, `f1_note_duration`, and `f2_note_duration` are never read [INFO] [stdout] --> kittygame/src/game/music.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Song { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 4 | pub name: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub f1_note_duration: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub f2_note_duration: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> kittygame/src/lib.rs:271:15 [INFO] [stdout] | [INFO] [stdout] 271 | match &mut GAME_STATE_HOLDER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 271 | match &raw mut GAME_STATE_HOLDER { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> kittygame/src/lib.rs:284:15 [INFO] [stdout] | [INFO] [stdout] 284 | match &mut GAME_STATE_HOLDER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 284 | match &raw mut GAME_STATE_HOLDER { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> kittygame/src/lib.rs:425:50 [INFO] [stdout] | [INFO] [stdout] 425 | let inputs: &mut [u8; MAX_N_NPCS] = unsafe { &mut NPC_INPUTS }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 425 | let inputs: &mut [u8; MAX_N_NPCS] = unsafe { &raw mut NPC_INPUTS }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> kittygame/src/spritesheet.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | match &mut SPRITES { [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 149 | match &raw mut SPRITES { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> kittygame/src/spritesheet.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 162 | match &mut SPRITES { [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 162 | match &raw mut SPRITES { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> kittygame/src/spritesheet.rs:351:19 [INFO] [stdout] | [INFO] [stdout] 351 | match &SPRITES { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 351 | match &raw const SPRITES { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> kittygame/src/spritesheet.rs:390:19 [INFO] [stdout] | [INFO] [stdout] 390 | match &mut SPRITES { [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 390 | match &raw mut SPRITES { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling kittygame v0.1.0 (/opt/rustwide/workdir/kittygame) [INFO] [stderr] Compiling mqt v0.1.0 (/opt/rustwide/workdir/macroquad_plat) [INFO] [stdout] warning: fields `name`, `f1_note_duration`, and `f2_note_duration` are never read [INFO] [stdout] --> kittygame/src/game/music.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Song { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 4 | pub name: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub f1_note_duration: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub f2_note_duration: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> kittygame/src/lib.rs:271:15 [INFO] [stdout] | [INFO] [stdout] 271 | match &mut GAME_STATE_HOLDER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 271 | match &raw mut GAME_STATE_HOLDER { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> kittygame/src/lib.rs:284:15 [INFO] [stdout] | [INFO] [stdout] 284 | match &mut GAME_STATE_HOLDER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 284 | match &raw mut GAME_STATE_HOLDER { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> kittygame/src/lib.rs:425:50 [INFO] [stdout] | [INFO] [stdout] 425 | let inputs: &mut [u8; MAX_N_NPCS] = unsafe { &mut NPC_INPUTS }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 425 | let inputs: &mut [u8; MAX_N_NPCS] = unsafe { &raw mut NPC_INPUTS }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> kittygame/src/spritesheet.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | match &mut SPRITES { [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 149 | match &raw mut SPRITES { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> kittygame/src/spritesheet.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 162 | match &mut SPRITES { [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 162 | match &raw mut SPRITES { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> kittygame/src/spritesheet.rs:351:19 [INFO] [stdout] | [INFO] [stdout] 351 | match &SPRITES { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 351 | match &raw const SPRITES { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> kittygame/src/spritesheet.rs:390:19 [INFO] [stdout] | [INFO] [stdout] 390 | match &mut SPRITES { [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 390 | match &raw mut SPRITES { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 2.20s [INFO] running `Command { std: "docker" "inspect" "9662983eb1c984ffc72a8f1c54b0178139548479f35b64722416c2d3d3407a46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9662983eb1c984ffc72a8f1c54b0178139548479f35b64722416c2d3d3407a46", kill_on_drop: false }` [INFO] [stdout] 9662983eb1c984ffc72a8f1c54b0178139548479f35b64722416c2d3d3407a46