[INFO] cloning repository https://github.com/xxrlzzz/RustNESEmulator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xxrlzzz/RustNESEmulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxxrlzzz%2FRustNESEmulator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxxrlzzz%2FRustNESEmulator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 622e3164c5176305cb4886ed3720e90981e334b6
[INFO] checking xxrlzzz/RustNESEmulator against try#163937523761cc0def32f1ba9ed63fdf65ad3478 for pr-156749
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxxrlzzz%2FRustNESEmulator" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/xxrlzzz/RustNESEmulator
[INFO] finished tweaking git repo https://github.com/xxrlzzz/RustNESEmulator
[INFO] tweaked toml for git repo https://github.com/xxrlzzz/RustNESEmulator written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/xxrlzzz/RustNESEmulator on toolchain 163937523761cc0def32f1ba9ed63fdf65ad3478
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 157 packages to latest compatible versions
[INFO] [stderr]       Adding android_logger v0.11.3 (available: v0.15.1)
[INFO] [stderr]       Adding clap v3.2.25 (available: v4.6.1)
[INFO] [stderr]       Adding getrandom v0.2.17 (available: v0.4.3)
[INFO] [stderr]       Adding glfw v0.42.0 (available: v0.62.0)
[INFO] [stderr]       Adding image v0.23.14 (available: v0.25.10)
[INFO] [stderr]       Adding jni v0.19.0 (available: v0.22.4)
[INFO] [stderr]       Adding num_enum v0.5.11 (available: v0.7.6)
[INFO] [stderr]       Adding portaudio v0.7.1 (available: v0.8.0)
[INFO] [stderr]       Adding rand v0.8.6 (available: v0.10.1)
[INFO] [stderr]       Adding sdl2 v0.35.2 (available: v0.38.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 1b6e3eef3fd1bb8f7c176691efe564e8cf7490a871af22d3bbdc82df78dffce9
[INFO] running `Command { std: "docker" "start" "1b6e3eef3fd1bb8f7c176691efe564e8cf7490a871af22d3bbdc82df78dffce9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1b6e3eef3fd1bb8f7c176691efe564e8cf7490a871af22d3bbdc82df78dffce9" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1b6e3eef3fd1bb8f7c176691efe564e8cf7490a871af22d3bbdc82df78dffce9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1b6e3eef3fd1bb8f7c176691efe564e8cf7490a871af22d3bbdc82df78dffce9" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling autocfg v1.5.1
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling zerocopy v0.8.52
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling shlex v2.0.1
[INFO] [stderr]    Compiling find-msvc-tools v0.1.9
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling hashbrown v0.17.1
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling cc v1.2.64
[INFO] [stderr]     Checking either v1.16.0
[INFO] [stderr]    Compiling xml-rs v0.8.28
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]     Checking adler32 v1.2.0
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling syn v2.0.118
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling cmake v0.1.58
[INFO] [stderr]    Compiling log v0.4.32
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling glfw-sys v3.3.5
[INFO] [stderr]     Checking rayon v1.12.0
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking weezl v0.1.12
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]     Checking deflate v0.8.6
[INFO] [stderr]    Compiling gl v0.14.0
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking miniz_oxide v0.3.7
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]     Checking bytemuck v1.25.0
[INFO] [stderr]     Checking os_str_bytes v6.6.1
[INFO] [stderr]     Checking semver-parser v0.7.0
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]     Checking clap_lex v0.2.4
[INFO] [stderr]     Checking semver v0.9.0
[INFO] [stderr]     Checking rgb v0.8.53
[INFO] [stderr]    Compiling rust_nes v0.2.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `library_name`
[INFO] [stdout]  --> src/build.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 |   let library_name = "SDL2";
[INFO] [stdout]   |       ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_library_name`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `root`
[INFO] [stdout]  --> src/build.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 |   let root = PathBuf::from(env::var_os("CARGO_MANIFEST_DIR").unwrap());
[INFO] [stdout]   |       ^^^^ help: if this is intentional, prefix it with an underscore: `_root`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking png v0.16.8
[INFO] [stderr]     Checking gif v0.11.4
[INFO] [stderr]     Checking jpeg-decoder v0.1.22
[INFO] [stderr]     Checking raw-window-handle v0.3.4
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]     Checking tiff v0.6.1
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking configparser v1.0.0
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking itoa v1.0.18
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]     Checking textwrap v0.16.2
[INFO] [stderr]     Checking memchr v2.8.2
[INFO] [stderr]     Checking image v0.23.14
[INFO] [stderr]     Checking ini v1.3.0
[INFO] [stderr]     Checking serde_bytes v0.11.19
[INFO] [stderr]    Compiling clap_derive v3.2.25
[INFO] [stderr]    Compiling num_enum_derive v0.5.11
[INFO] [stderr]    Compiling zerocopy-derive v0.8.52
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]     Checking glfw v0.42.0
[INFO] [stderr]     Checking num_enum v0.5.11
[INFO] [stderr]     Checking clap v3.2.25
[INFO] [stderr]     Checking half v2.7.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.6
[INFO] [stdout] warning: unexpected `cfg` condition value: `debug_audio`
[INFO] [stdout]   --> src/apu/mod.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |   #[cfg(feature = "debug_audio")]
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `gl`, `glfw`, `native-audio`, `portaudio`, `sdl2`, `use_gl`, `use_sdl2`, `wasm`, `wasm-miniapp`, and `web-sys`
[INFO] [stdout]    = help: consider adding `debug_audio` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `debug_audio`
[INFO] [stdout]    --> src/apu/mod.rs:107:13
[INFO] [stdout]     |
[INFO] [stdout] 107 |       #[cfg(feature = "debug_audio")]
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `gl`, `glfw`, `native-audio`, `portaudio`, `sdl2`, `use_gl`, `use_sdl2`, `wasm`, `wasm-miniapp`, and `web-sys`
[INFO] [stdout]     = help: consider adding `debug_audio` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `debug_audio`
[INFO] [stdout]    --> src/apu/mod.rs:132:11
[INFO] [stdout]     |
[INFO] [stdout] 132 |     #[cfg(feature = "debug_audio")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `gl`, `glfw`, `native-audio`, `portaudio`, `sdl2`, `use_gl`, `use_sdl2`, `wasm`, `wasm-miniapp`, and `web-sys`
[INFO] [stdout]     = help: consider adding `debug_audio` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `debug_audio`
[INFO] [stdout]    --> src/apu/mod.rs:169:11
[INFO] [stdout]     |
[INFO] [stdout] 169 |     #[cfg(feature = "debug_audio")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `gl`, `glfw`, `native-audio`, `portaudio`, `sdl2`, `use_gl`, `use_sdl2`, `wasm`, `wasm-miniapp`, and `web-sys`
[INFO] [stdout]     = help: consider adding `debug_audio` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `debug_audio`
[INFO] [stdout]    --> src/apu/mod.rs:177:11
[INFO] [stdout]     |
[INFO] [stdout] 177 |     #[cfg(feature = "debug_audio")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `gl`, `glfw`, `native-audio`, `portaudio`, `sdl2`, `use_gl`, `use_sdl2`, `wasm`, `wasm-miniapp`, and `web-sys`
[INFO] [stdout]     = help: consider adding `debug_audio` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `debug_audio`
[INFO] [stdout]   --> src/apu/mod.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |   #[cfg(feature = "debug_audio")]
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `gl`, `glfw`, `native-audio`, `portaudio`, `sdl2`, `use_gl`, `use_sdl2`, `wasm`, `wasm-miniapp`, and `web-sys`
[INFO] [stdout]    = help: consider adding `debug_audio` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `debug_audio`
[INFO] [stdout]    --> src/apu/mod.rs:107:13
[INFO] [stdout]     |
[INFO] [stdout] 107 |       #[cfg(feature = "debug_audio")]
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `gl`, `glfw`, `native-audio`, `portaudio`, `sdl2`, `use_gl`, `use_sdl2`, `wasm`, `wasm-miniapp`, and `web-sys`
[INFO] [stdout]     = help: consider adding `debug_audio` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `debug_audio`
[INFO] [stdout]    --> src/apu/mod.rs:132:11
[INFO] [stdout]     |
[INFO] [stdout] 132 |     #[cfg(feature = "debug_audio")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `gl`, `glfw`, `native-audio`, `portaudio`, `sdl2`, `use_gl`, `use_sdl2`, `wasm`, `wasm-miniapp`, and `web-sys`
[INFO] [stdout]     = help: consider adding `debug_audio` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `debug_audio`
[INFO] [stdout]    --> src/apu/mod.rs:169:11
[INFO] [stdout]     |
[INFO] [stdout] 169 |     #[cfg(feature = "debug_audio")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `gl`, `glfw`, `native-audio`, `portaudio`, `sdl2`, `use_gl`, `use_sdl2`, `wasm`, `wasm-miniapp`, and `web-sys`
[INFO] [stdout]     = help: consider adding `debug_audio` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `debug_audio`
[INFO] [stdout]    --> src/apu/mod.rs:177:11
[INFO] [stdout]     |
[INFO] [stdout] 177 |     #[cfg(feature = "debug_audio")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `gl`, `glfw`, `native-audio`, `portaudio`, `sdl2`, `use_gl`, `use_sdl2`, `wasm`, `wasm-miniapp`, and `web-sys`
[INFO] [stdout]     = help: consider adding `debug_audio` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `audio_frame` is never used
[INFO] [stdout]    --> src/apu/mod.rs:112:10
[INFO] [stdout]     |
[INFO] [stdout]  82 | impl Apu {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 112 |   pub fn audio_frame(&mut self, buf_size: usize) -> NesResult<Vec<f32>> {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EXROM` is never used
[INFO] [stdout]   --> src/mapper/mod.rs:19:18
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub(crate) const EXROM: MapperType = 5;
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `AXROM` is never used
[INFO] [stdout]   --> src/mapper/mod.rs:20:18
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub(crate) const AXROM: MapperType = 7;
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PXROM` is never used
[INFO] [stdout]   --> src/mapper/mod.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub(crate) const PXROM: MapperType = 9;
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/bus/main_bus.rs:77:86
[INFO] [stdout]    |
[INFO] [stdout] 77 |   pub fn save_binary<'a>(&'a self, mut writer: BufWriter<&'a mut File>) -> BufWriter<&mut File> {
[INFO] [stdout]    |                           --                              --                         ^^^^^^^^^ the same lifetime is elided here
[INFO] [stdout]    |                           |                               |
[INFO] [stdout]    |                           the lifetime is named here      the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 77 |   pub fn save_binary<'a>(&'a self, mut writer: BufWriter<&'a mut File>) -> BufWriter<&'a mut File> {
[INFO] [stdout]    |                                                                                       ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/controller/gl_key.rs:10:31
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let window_ref = unsafe { WINDOW_INSTANCE.as_ref().unwrap().borrow() };
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/controller/gl_key.rs:18:31
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let window_ref = unsafe { WINDOW_INSTANCE.as_ref().unwrap().borrow() };
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `audio_frame` is never used
[INFO] [stdout]    --> src/apu/mod.rs:112:10
[INFO] [stdout]     |
[INFO] [stdout]  82 | impl Apu {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 112 |   pub fn audio_frame(&mut self, buf_size: usize) -> NesResult<Vec<f32>> {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EXROM` is never used
[INFO] [stdout]   --> src/mapper/mod.rs:19:18
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub(crate) const EXROM: MapperType = 5;
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `AXROM` is never used
[INFO] [stdout]   --> src/mapper/mod.rs:20:18
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub(crate) const AXROM: MapperType = 7;
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PXROM` is never used
[INFO] [stdout]   --> src/mapper/mod.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub(crate) const PXROM: MapperType = 9;
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/bus/main_bus.rs:77:86
[INFO] [stdout]    |
[INFO] [stdout] 77 |   pub fn save_binary<'a>(&'a self, mut writer: BufWriter<&'a mut File>) -> BufWriter<&mut File> {
[INFO] [stdout]    |                           --                              --                         ^^^^^^^^^ the same lifetime is elided here
[INFO] [stdout]    |                           |                               |
[INFO] [stdout]    |                           the lifetime is named here      the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 77 |   pub fn save_binary<'a>(&'a self, mut writer: BufWriter<&'a mut File>) -> BufWriter<&'a mut File> {
[INFO] [stdout]    |                                                                                       ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/controller/gl_key.rs:10:31
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let window_ref = unsafe { WINDOW_INSTANCE.as_ref().unwrap().borrow() };
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/controller/gl_key.rs:18:31
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let window_ref = unsafe { WINDOW_INSTANCE.as_ref().unwrap().borrow() };
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 12s
[INFO] running `Command { std: "docker" "inspect" "1b6e3eef3fd1bb8f7c176691efe564e8cf7490a871af22d3bbdc82df78dffce9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1b6e3eef3fd1bb8f7c176691efe564e8cf7490a871af22d3bbdc82df78dffce9", kill_on_drop: false }`
[INFO] [stdout] 1b6e3eef3fd1bb8f7c176691efe564e8cf7490a871af22d3bbdc82df78dffce9
