[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 master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxxrlzzz%2FRustNESEmulator" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xxrlzzz/RustNESEmulator on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_bytes v0.11.19 [INFO] [stderr] Downloaded bitflags v0.8.2 [INFO] [stderr] Downloaded android_logger v0.11.3 [INFO] [stderr] Downloaded portaudio-sys2 v0.1.0 [INFO] [stderr] Downloaded sdl2 v0.35.2 [INFO] [stderr] Downloaded dmsort v0.1.3 [INFO] [stderr] Downloaded gl v0.14.0 [INFO] [stderr] Downloaded ini v1.3.0 [INFO] [stderr] Downloaded clap_derive v3.2.25 [INFO] [stderr] Downloaded raii-counter v0.1.1 [INFO] [stderr] Downloaded configparser v1.0.0 [INFO] [stderr] Downloaded glfw v0.42.0 [INFO] [stderr] Downloaded wasm-rgame v0.0.1 [INFO] [stderr] Downloaded portaudio v0.7.1 [INFO] [stderr] Downloaded wasm-logger v0.2.0 [INFO] [stderr] Downloaded glfw-sys v3.3.5 [INFO] [stderr] Downloaded sdl2-sys v0.35.2 [INFO] [stderr] Downloaded pdqsort v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 759689c41b42fec8dfce24b099ed8a6c1331417fedd75bfbd35eae33a5bdec42 [INFO] running `Command { std: "docker" "start" "-a" "759689c41b42fec8dfce24b099ed8a6c1331417fedd75bfbd35eae33a5bdec42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "759689c41b42fec8dfce24b099ed8a6c1331417fedd75bfbd35eae33a5bdec42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "759689c41b42fec8dfce24b099ed8a6c1331417fedd75bfbd35eae33a5bdec42", kill_on_drop: false }` [INFO] [stdout] 759689c41b42fec8dfce24b099ed8a6c1331417fedd75bfbd35eae33a5bdec42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54d638e835a31bdbcf36b1a9955d39b915be53d6d2fdc658e3c9d49e26515599 [INFO] running `Command { std: "docker" "start" "-a" "54d638e835a31bdbcf36b1a9955d39b915be53d6d2fdc658e3c9d49e26515599", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling glfw-sys v3.3.5 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rust_nes v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling gif v0.11.4 [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 png v0.16.8 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling configparser v1.0.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling ini v1.3.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling glfw v0.42.0 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling clap v3.2.25 [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: 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: 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: 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 45.82s [INFO] running `Command { std: "docker" "inspect" "54d638e835a31bdbcf36b1a9955d39b915be53d6d2fdc658e3c9d49e26515599", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54d638e835a31bdbcf36b1a9955d39b915be53d6d2fdc658e3c9d49e26515599", kill_on_drop: false }` [INFO] [stdout] 54d638e835a31bdbcf36b1a9955d39b915be53d6d2fdc658e3c9d49e26515599 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 630084e7f2ec1d120423dc84070121d8198575aecf448f76b210dde64d0e8a4d [INFO] running `Command { std: "docker" "start" "-a" "630084e7f2ec1d120423dc84070121d8198575aecf448f76b210dde64d0e8a4d", 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] [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: 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] [stderr] Compiling rust_nes v0.2.3 (/opt/rustwide/workdir) [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: 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: 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: 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 3.76s [INFO] running `Command { std: "docker" "inspect" "630084e7f2ec1d120423dc84070121d8198575aecf448f76b210dde64d0e8a4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "630084e7f2ec1d120423dc84070121d8198575aecf448f76b210dde64d0e8a4d", kill_on_drop: false }` [INFO] [stdout] 630084e7f2ec1d120423dc84070121d8198575aecf448f76b210dde64d0e8a4d