[INFO] cloning repository https://github.com/Naruto-Leader/RustedNES [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Naruto-Leader/RustedNES" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNaruto-Leader%2FRustedNES", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNaruto-Leader%2FRustedNES'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7186db4b9513b8ded34f4d4afd2a3f6b83693b9e [INFO] building Naruto-Leader/RustedNES against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNaruto-Leader%2FRustedNES" "/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/Naruto-Leader/RustedNES [INFO] finished tweaking git repo https://github.com/Naruto-Leader/RustedNES [INFO] tweaked toml for git repo https://github.com/Naruto-Leader/RustedNES written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Naruto-Leader/RustedNES on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Naruto-Leader/RustedNES 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69f2588f480fd9b0b34a14439baa6a88b3306c179cbd0947498ab3ebb40f6613 [INFO] running `Command { std: "docker" "start" "-a" "69f2588f480fd9b0b34a14439baa6a88b3306c179cbd0947498ab3ebb40f6613", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69f2588f480fd9b0b34a14439baa6a88b3306c179cbd0947498ab3ebb40f6613", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69f2588f480fd9b0b34a14439baa6a88b3306c179cbd0947498ab3ebb40f6613", kill_on_drop: false }` [INFO] [stdout] 69f2588f480fd9b0b34a14439baa6a88b3306c179cbd0947498ab3ebb40f6613 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63ba841d3e4b2303d921019ce5d56ed371085c789c94cb671c8e6dd4ff97bbdf [INFO] running `Command { std: "docker" "start" "-a" "63ba841d3e4b2303d921019ce5d56ed371085c789c94cb671c8e6dd4ff97bbdf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling thiserror v2.0.9 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling sdl2-sys v0.37.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling clap_builder v4.5.23 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling bit_reverse v0.1.8 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling syn v2.0.93 [INFO] [stderr] Compiling miniz_oxide v0.8.2 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling cc v1.2.6 [INFO] [stderr] Compiling sdl2 v0.37.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling lockfree-object-pool v0.1.6 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling zip v2.2.2 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling zopfli v0.8.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling lzma-rs v0.3.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling deflate64 v0.1.9 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling thiserror-impl v2.0.9 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling fd-lock v4.0.2 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling rustyline v15.0.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling clap v4.5.23 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling clap-verbosity-flag v3.0.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustednes-core v0.1.0 (/opt/rustwide/workdir/rustednes-core) [INFO] [stderr] Compiling rustednes-common v0.1.0 (/opt/rustwide/workdir/rustednes-common) [INFO] [stderr] Compiling rustednes-libretro v0.1.0 (/opt/rustwide/workdir/rustednes-libretro) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> rustednes-libretro/src/lib.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 101 | if CALLBACKS.set_pixel_format(desired_pixel_format) { [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] = 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] --> rustednes-libretro/src/lib.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | CALLBACKS.input_poll(); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> rustednes-libretro/src/lib.rs:159:27 [INFO] [stdout] | [INFO] [stdout] 159 | match CALLBACKS [INFO] [stdout] | ___________________________^ [INFO] [stdout] 160 | | .get_current_software_framebuffer(SCREEN_WIDTH as u32, SCREEN_HEIGHT as u32) [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> rustednes-libretro/src/lib.rs:242:48 [INFO] [stdout] | [INFO] [stdout] 242 | game_pad.set_button_pressed(Button::A, CALLBACKS.joypad_button(JoypadButton::A, index)); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> rustednes-libretro/src/lib.rs:243:48 [INFO] [stdout] | [INFO] [stdout] 243 | game_pad.set_button_pressed(Button::B, CALLBACKS.joypad_button(JoypadButton::B, index)); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> rustednes-libretro/src/lib.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | CALLBACKS.joypad_button(JoypadButton::Start, index), [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> rustednes-libretro/src/lib.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | CALLBACKS.joypad_button(JoypadButton::Select, index), [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> rustednes-libretro/src/lib.rs:253:35 [INFO] [stdout] | [INFO] [stdout] 253 | let joypad_left_pressed = CALLBACKS.joypad_button(JoypadButton::Left, index); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> rustednes-libretro/src/lib.rs:254:36 [INFO] [stdout] | [INFO] [stdout] 254 | let joypad_right_pressed = CALLBACKS.joypad_button(JoypadButton::Right, index); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> rustednes-libretro/src/lib.rs:255:33 [INFO] [stdout] | [INFO] [stdout] 255 | let joypad_up_pressed = CALLBACKS.joypad_button(JoypadButton::Up, index); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> rustednes-libretro/src/lib.rs:256:35 [INFO] [stdout] | [INFO] [stdout] 256 | let joypad_down_pressed = CALLBACKS.joypad_button(JoypadButton::Down, index); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> rustednes-libretro/src/lib.rs:260:32 [INFO] [stdout] | [INFO] [stdout] 260 | let (left_x, left_y) = CALLBACKS.analog_xy(AnalogStick::Left, index); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> rustednes-libretro/src/lib.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 296 | CALLBACKS.set_support_achievements(true); [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] [INFO] [stdout] [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling rustednes-sdl v0.1.0 (/opt/rustwide/workdir/rustednes-sdl) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 29s [INFO] running `Command { std: "docker" "inspect" "63ba841d3e4b2303d921019ce5d56ed371085c789c94cb671c8e6dd4ff97bbdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63ba841d3e4b2303d921019ce5d56ed371085c789c94cb671c8e6dd4ff97bbdf", kill_on_drop: false }` [INFO] [stdout] 63ba841d3e4b2303d921019ce5d56ed371085c789c94cb671c8e6dd4ff97bbdf [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0837396ff12b372c714985157d42eeda8c0be1edd15435b493b8f3087d669cc8 [INFO] running `Command { std: "docker" "start" "-a" "0837396ff12b372c714985157d42eeda8c0be1edd15435b493b8f3087d669cc8", kill_on_drop: false }` [INFO] [stderr] Compiling rustednes-common v0.1.0 (/opt/rustwide/workdir/rustednes-common) [INFO] [stderr] Compiling rustednes-core v0.1.0 (/opt/rustwide/workdir/rustednes-core) [INFO] [stderr] Compiling rustednes-sdl v0.1.0 (/opt/rustwide/workdir/rustednes-sdl) [INFO] [stderr] Compiling rustednes-libretro v0.1.0 (/opt/rustwide/workdir/rustednes-libretro) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> rustednes-libretro/src/lib.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 101 | if CALLBACKS.set_pixel_format(desired_pixel_format) { [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] = 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] --> rustednes-libretro/src/lib.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | CALLBACKS.input_poll(); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> rustednes-libretro/src/lib.rs:159:27 [INFO] [stdout] | [INFO] [stdout] 159 | match CALLBACKS [INFO] [stdout] | ___________________________^ [INFO] [stdout] 160 | | .get_current_software_framebuffer(SCREEN_WIDTH as u32, SCREEN_HEIGHT as u32) [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> rustednes-libretro/src/lib.rs:242:48 [INFO] [stdout] | [INFO] [stdout] 242 | game_pad.set_button_pressed(Button::A, CALLBACKS.joypad_button(JoypadButton::A, index)); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> rustednes-libretro/src/lib.rs:243:48 [INFO] [stdout] | [INFO] [stdout] 243 | game_pad.set_button_pressed(Button::B, CALLBACKS.joypad_button(JoypadButton::B, index)); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> rustednes-libretro/src/lib.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | CALLBACKS.joypad_button(JoypadButton::Start, index), [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> rustednes-libretro/src/lib.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | CALLBACKS.joypad_button(JoypadButton::Select, index), [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> rustednes-libretro/src/lib.rs:253:35 [INFO] [stdout] | [INFO] [stdout] 253 | let joypad_left_pressed = CALLBACKS.joypad_button(JoypadButton::Left, index); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> rustednes-libretro/src/lib.rs:254:36 [INFO] [stdout] | [INFO] [stdout] 254 | let joypad_right_pressed = CALLBACKS.joypad_button(JoypadButton::Right, index); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> rustednes-libretro/src/lib.rs:255:33 [INFO] [stdout] | [INFO] [stdout] 255 | let joypad_up_pressed = CALLBACKS.joypad_button(JoypadButton::Up, index); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> rustednes-libretro/src/lib.rs:256:35 [INFO] [stdout] | [INFO] [stdout] 256 | let joypad_down_pressed = CALLBACKS.joypad_button(JoypadButton::Down, index); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> rustednes-libretro/src/lib.rs:260:32 [INFO] [stdout] | [INFO] [stdout] 260 | let (left_x, left_y) = CALLBACKS.analog_xy(AnalogStick::Left, index); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> rustednes-libretro/src/lib.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 296 | CALLBACKS.set_support_achievements(true); [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] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9.09s [INFO] running `Command { std: "docker" "inspect" "0837396ff12b372c714985157d42eeda8c0be1edd15435b493b8f3087d669cc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0837396ff12b372c714985157d42eeda8c0be1edd15435b493b8f3087d669cc8", kill_on_drop: false }` [INFO] [stdout] 0837396ff12b372c714985157d42eeda8c0be1edd15435b493b8f3087d669cc8