[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#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxxrlzzz%2FRustNESEmulator" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xxrlzzz/RustNESEmulator on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 158 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.45) [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.6) [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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e84cd38e8f8f029278a4475431171f0f215ec96ab5d896585c17aec8d1e6049 [INFO] running `Command { std: "docker" "start" "-a" "4e84cd38e8f8f029278a4475431171f0f215ec96ab5d896585c17aec8d1e6049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e84cd38e8f8f029278a4475431171f0f215ec96ab5d896585c17aec8d1e6049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e84cd38e8f8f029278a4475431171f0f215ec96ab5d896585c17aec8d1e6049", kill_on_drop: false }` [INFO] [stdout] 4e84cd38e8f8f029278a4475431171f0f215ec96ab5d896585c17aec8d1e6049 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e5484778e95e553c7906d33d91c97cab68495494e5c9be7a4846b8418dfadbb [INFO] running `Command { std: "docker" "start" "-a" "6e5484778e95e553c7906d33d91c97cab68495494e5c9be7a4846b8418dfadbb", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Compiling glfw-sys v3.3.5 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking weezl v0.1.10 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking rgb v0.8.52 [INFO] [stderr] Checking gif v0.11.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Compiling rust_nes v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking semver v0.9.0 [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)]` 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 tiff v0.6.1 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking raw-window-handle v0.3.4 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking configparser v1.0.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking ini v1.3.0 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking glfw v0.42.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking serde_bytes v0.11.17 [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: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: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: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: 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)]` 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:27 [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)]` 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: 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)]` 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:27 [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)]` 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 50.34s [INFO] running `Command { std: "docker" "inspect" "6e5484778e95e553c7906d33d91c97cab68495494e5c9be7a4846b8418dfadbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e5484778e95e553c7906d33d91c97cab68495494e5c9be7a4846b8418dfadbb", kill_on_drop: false }` [INFO] [stdout] 6e5484778e95e553c7906d33d91c97cab68495494e5c9be7a4846b8418dfadbb