[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] building xxrlzzz/RustNESEmulator against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [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 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 151 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.5.48) [INFO] [stderr] Adding getrandom v0.2.16 (available: v0.3.3) [INFO] [stderr] Adding glfw v0.42.0 (available: v0.60.0) [INFO] [stderr] Adding image v0.23.14 (available: v0.25.8) [INFO] [stderr] Adding jni v0.19.0 (available: v0.21.1) [INFO] [stderr] Adding num_enum v0.5.11 (available: v0.7.4) [INFO] [stderr] Adding portaudio v0.7.1 (available: v0.8.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 611fc4feb3b2fa0e5e027204682346b6d0ac7f28ce9480951174362fd510d9be [INFO] running `Command { std: "docker" "start" "-a" "611fc4feb3b2fa0e5e027204682346b6d0ac7f28ce9480951174362fd510d9be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "611fc4feb3b2fa0e5e027204682346b6d0ac7f28ce9480951174362fd510d9be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "611fc4feb3b2fa0e5e027204682346b6d0ac7f28ce9480951174362fd510d9be", kill_on_drop: false }` [INFO] [stdout] 611fc4feb3b2fa0e5e027204682346b6d0ac7f28ce9480951174362fd510d9be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 0fef72ab2233d0be3d794b5835ed157016f2bbd2058ddeae6bc443f3b6369af9 [INFO] running `Command { std: "docker" "start" "-a" "0fef72ab2233d0be3d794b5835ed157016f2bbd2058ddeae6bc443f3b6369af9", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling glfw-sys v3.3.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rust_nes v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling anyhow v1.0.100 [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] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling configparser v1.0.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ini v1.3.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling glfw v0.42.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling ciborium v0.2.2 [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 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 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 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 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 for more information about checking conditional configuration [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: 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> { [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: 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: 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] --> 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: 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 `dev` profile [unoptimized + debuginfo] target(s) in 34.48s [INFO] running `Command { std: "docker" "inspect" "0fef72ab2233d0be3d794b5835ed157016f2bbd2058ddeae6bc443f3b6369af9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fef72ab2233d0be3d794b5835ed157016f2bbd2058ddeae6bc443f3b6369af9", kill_on_drop: false }` [INFO] [stdout] 0fef72ab2233d0be3d794b5835ed157016f2bbd2058ddeae6bc443f3b6369af9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] f070e7ab7fbe9c4a01d2ccc93f3779c4215431a4d84cc3983693b79e626a3ee9 [INFO] running `Command { std: "docker" "start" "-a" "f070e7ab7fbe9c4a01d2ccc93f3779c4215431a4d84cc3983693b79e626a3ee9", kill_on_drop: false }` [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] Compiling rust_nes v0.2.3 (/opt/rustwide/workdir) [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 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 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 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 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 for more information about checking conditional configuration [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: 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> { [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: 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: 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] --> 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: 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: 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 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 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 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 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 for more information about checking conditional configuration [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: 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] --> 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: 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: 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: 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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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> { [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.01s [INFO] running `Command { std: "docker" "inspect" "f070e7ab7fbe9c4a01d2ccc93f3779c4215431a4d84cc3983693b79e626a3ee9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f070e7ab7fbe9c4a01d2ccc93f3779c4215431a4d84cc3983693b79e626a3ee9", kill_on_drop: false }` [INFO] [stdout] f070e7ab7fbe9c4a01d2ccc93f3779c4215431a4d84cc3983693b79e626a3ee9