[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] testing Naruto-Leader/RustedNES against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNaruto-Leader%2FRustedNES" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Naruto-Leader/RustedNES on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.2.6 [INFO] [stderr] Downloaded bit_reverse v0.1.8 [INFO] [stderr] Downloaded fd-lock v4.0.2 [INFO] [stderr] Downloaded zip v2.2.2 [INFO] [stderr] Downloaded syn v2.0.93 [INFO] [stderr] Downloaded rustix v0.38.42 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca7f0f479e3206ad4091a414021544737118fd30ff753ba346c9366c2c1aad4d [INFO] running `Command { std: "docker" "start" "-a" "ca7f0f479e3206ad4091a414021544737118fd30ff753ba346c9366c2c1aad4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca7f0f479e3206ad4091a414021544737118fd30ff753ba346c9366c2c1aad4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca7f0f479e3206ad4091a414021544737118fd30ff753ba346c9366c2c1aad4d", kill_on_drop: false }` [INFO] [stdout] ca7f0f479e3206ad4091a414021544737118fd30ff753ba346c9366c2c1aad4d [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a43ed3560999a206e337cc6b00dc193fad2cad4d43e29828cf45ea795deb400 [INFO] running `Command { std: "docker" "start" "-a" "5a43ed3560999a206e337cc6b00dc193fad2cad4d43e29828cf45ea795deb400", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling thiserror v2.0.9 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling sdl2-sys v0.37.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling clap_builder v4.5.23 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling bit_reverse v0.1.8 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling miniz_oxide v0.8.2 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling syn v2.0.93 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling lockfree-object-pool v0.1.6 [INFO] [stderr] Compiling sdl2 v0.37.0 [INFO] [stderr] Compiling zip v2.2.2 [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 pbkdf2 v0.12.2 [INFO] [stderr] Compiling zopfli v0.8.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling cc v1.2.6 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rand_core v0.6.4 [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 serde_cbor v0.11.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling fd-lock v4.0.2 [INFO] [stderr] Compiling rustyline v15.0.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v2.0.9 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling clap v4.5.23 [INFO] [stderr] Compiling clap-verbosity-flag v3.0.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling zstd v0.13.2 [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 rustednes-sdl v0.1.0 (/opt/rustwide/workdir/rustednes-sdl) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.57s [INFO] running `Command { std: "docker" "inspect" "5a43ed3560999a206e337cc6b00dc193fad2cad4d43e29828cf45ea795deb400", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a43ed3560999a206e337cc6b00dc193fad2cad4d43e29828cf45ea795deb400", kill_on_drop: false }` [INFO] [stdout] 5a43ed3560999a206e337cc6b00dc193fad2cad4d43e29828cf45ea795deb400 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6286c066579e9b719254d4f08ba1c37d1de98c577db45dfd22ee64ce648af1fc [INFO] running `Command { std: "docker" "start" "-a" "6286c066579e9b719254d4f08ba1c37d1de98c577db45dfd22ee64ce648af1fc", 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-libretro v0.1.0 (/opt/rustwide/workdir/rustednes-libretro) [INFO] [stderr] Compiling rustednes-sdl v0.1.0 (/opt/rustwide/workdir/rustednes-sdl) [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 5.81s [INFO] running `Command { std: "docker" "inspect" "6286c066579e9b719254d4f08ba1c37d1de98c577db45dfd22ee64ce648af1fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6286c066579e9b719254d4f08ba1c37d1de98c577db45dfd22ee64ce648af1fc", kill_on_drop: false }` [INFO] [stdout] 6286c066579e9b719254d4f08ba1c37d1de98c577db45dfd22ee64ce648af1fc [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 79ca78d72e8e706ad2b8ea8bb4d509741b1ed5c7ebf7b888178281bc5de71ba2 [INFO] running `Command { std: "docker" "start" "-a" "79ca78d72e8e706ad2b8ea8bb4d509741b1ed5c7ebf7b888178281bc5de71ba2", kill_on_drop: false }` [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> rustednes-libretro/src/lib.rs:101:20 [INFO] [stderr] | [INFO] [stderr] 101 | if CALLBACKS.set_pixel_format(desired_pixel_format) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> rustednes-libretro/src/lib.rs:153:13 [INFO] [stderr] | [INFO] [stderr] 153 | CALLBACKS.input_poll(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> rustednes-libretro/src/lib.rs:159:27 [INFO] [stderr] | [INFO] [stderr] 159 | match CALLBACKS [INFO] [stderr] | ___________________________^ [INFO] [stderr] 160 | | .get_current_software_framebuffer(SCREEN_WIDTH as u32, SCREEN_HEIGHT as u32) [INFO] [stderr] | |____________________________________________________________________________________________________^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> rustednes-libretro/src/lib.rs:242:48 [INFO] [stderr] | [INFO] [stderr] 242 | game_pad.set_button_pressed(Button::A, CALLBACKS.joypad_button(JoypadButton::A, index)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> rustednes-libretro/src/lib.rs:243:48 [INFO] [stderr] | [INFO] [stderr] 243 | game_pad.set_button_pressed(Button::B, CALLBACKS.joypad_button(JoypadButton::B, index)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> rustednes-libretro/src/lib.rs:246:13 [INFO] [stderr] | [INFO] [stderr] 246 | CALLBACKS.joypad_button(JoypadButton::Start, index), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> rustednes-libretro/src/lib.rs:250:13 [INFO] [stderr] | [INFO] [stderr] 250 | CALLBACKS.joypad_button(JoypadButton::Select, index), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> rustednes-libretro/src/lib.rs:253:35 [INFO] [stderr] | [INFO] [stderr] 253 | let joypad_left_pressed = CALLBACKS.joypad_button(JoypadButton::Left, index); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> rustednes-libretro/src/lib.rs:254:36 [INFO] [stderr] | [INFO] [stderr] 254 | let joypad_right_pressed = CALLBACKS.joypad_button(JoypadButton::Right, index); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> rustednes-libretro/src/lib.rs:255:33 [INFO] [stderr] | [INFO] [stderr] 255 | let joypad_up_pressed = CALLBACKS.joypad_button(JoypadButton::Up, index); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> rustednes-libretro/src/lib.rs:256:35 [INFO] [stderr] | [INFO] [stderr] 256 | let joypad_down_pressed = CALLBACKS.joypad_button(JoypadButton::Down, index); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> rustednes-libretro/src/lib.rs:260:32 [INFO] [stderr] | [INFO] [stderr] 260 | let (left_x, left_y) = CALLBACKS.analog_xy(AnalogStick::Left, index); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> rustednes-libretro/src/lib.rs:296:5 [INFO] [stderr] | [INFO] [stderr] 296 | CALLBACKS.set_support_achievements(true); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: `rustednes-libretro` (lib test) generated 13 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rustednes_common-4d8a28184a375ca6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rustednes_core-afbdfce4291c13c4) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test game_genie::test_valid_cheats ... ok [INFO] [stdout] test game_genie::test_invalid_cheats ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rustednes_libretro-aa850a36ae4a79a9) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rustednes_sdl-ba50acbd4f75c545) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rustednes_common [INFO] [stderr] Doc-tests rustednes_core [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "79ca78d72e8e706ad2b8ea8bb4d509741b1ed5c7ebf7b888178281bc5de71ba2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79ca78d72e8e706ad2b8ea8bb4d509741b1ed5c7ebf7b888178281bc5de71ba2", kill_on_drop: false }` [INFO] [stdout] 79ca78d72e8e706ad2b8ea8bb4d509741b1ed5c7ebf7b888178281bc5de71ba2