[INFO] cloning repository https://github.com/eijikong21/gbc
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eijikong21/gbc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feijikong21%2Fgbc", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feijikong21%2Fgbc'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 788ebc0625ef5aae6bdb53889de69236aeaf32e9
[INFO] checking eijikong21/gbc against master#c290daa1e5274a52e54a0f49e31bd70192abc606 for pr-133502-23
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feijikong21%2Fgbc" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/eijikong21/gbc
[INFO] finished tweaking git repo https://github.com/eijikong21/gbc
[INFO] tweaked toml for git repo https://github.com/eijikong21/gbc written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/eijikong21/gbc on toolchain c290daa1e5274a52e54a0f49e31bd70192abc606
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/eijikong21/gbc already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sctk-adwaita v0.5.4
[INFO] [stderr]   Downloaded tiny-skia-path v0.8.4
[INFO] [stderr]   Downloaded calloop v0.10.6
[INFO] [stderr]   Downloaded version-compare v0.1.1
[INFO] [stderr]   Downloaded redox_syscall v0.7.0
[INFO] [stderr]   Downloaded pixels v0.13.0
[INFO] [stderr]   Downloaded gpu-alloc-types v0.2.0
[INFO] [stderr]   Downloaded flate2 v1.1.8
[INFO] [stderr]   Downloaded smithay-client-toolkit v0.16.1
[INFO] [stderr]   Downloaded gpu-alloc v0.5.4
[INFO] [stderr]   Downloaded d3d12 v0.6.0
[INFO] [stderr]   Downloaded wgpu-types v0.16.1
[INFO] [stderr]   Downloaded ultraviolet v0.9.2
[INFO] [stderr]   Downloaded tiny-skia v0.8.4
[INFO] [stderr]   Downloaded safe_arch v0.7.4
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.33
[INFO] [stderr]   Downloaded minifb v0.24.0
[INFO] [stderr]   Downloaded wide v0.7.33
[INFO] [stderr]   Downloaded portable-atomic v1.13.0
[INFO] [stderr]   Downloaded wgpu v0.16.3
[INFO] [stderr]   Downloaded sdl2 v0.38.0
[INFO] [stderr]   Downloaded wgpu-core v0.16.1
[INFO] [stderr]   Downloaded zerocopy v0.8.33
[INFO] [stderr]   Downloaded wgpu-hal v0.16.2
[INFO] [stderr]   Downloaded naga v0.12.3
[INFO] [stderr]   Downloaded metal v0.24.0
[INFO] [stderr]   Downloaded orbclient v0.3.50
[INFO] [stderr]   Downloaded sdl2-sys v0.38.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3484f72fd98e92381ee3bcead2976a98e4e19346a2fd5a22968fb9d11e6ea897
[INFO] running `Command { std: "docker" "start" "3484f72fd98e92381ee3bcead2976a98e4e19346a2fd5a22968fb9d11e6ea897", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3484f72fd98e92381ee3bcead2976a98e4e19346a2fd5a22968fb9d11e6ea897", 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" "3484f72fd98e92381ee3bcead2976a98e4e19346a2fd5a22968fb9d11e6ea897" "/opt/rustwide/cargo-home/bin/cargo" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3484f72fd98e92381ee3bcead2976a98e4e19346a2fd5a22968fb9d11e6ea897", 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" "3484f72fd98e92381ee3bcead2976a98e4e19346a2fd5a22968fb9d11e6ea897" "/opt/rustwide/cargo-home/bin/cargo" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.105
[INFO] [stderr]    Compiling quote v1.0.43
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling zerocopy v0.8.33
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]    Compiling indexmap v2.13.0
[INFO] [stderr]     Checking linux-raw-sys v0.11.0
[INFO] [stderr]     Checking bytemuck v1.24.0
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking arrayvec v0.7.6
[INFO] [stderr]    Compiling slotmap v1.1.1
[INFO] [stderr]     Checking libloading v0.7.4
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking termcolor v1.4.1
[INFO] [stderr]     Checking bit-vec v0.6.3
[INFO] [stderr]    Compiling ash v0.37.3+1.3.251
[INFO] [stderr]    Compiling khronos-egl v4.1.0
[INFO] [stderr]     Checking codespan-reporting v0.11.1
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]     Checking spirv v0.2.0+1.5.4
[INFO] [stderr]     Checking gpu-alloc-types v0.2.0
[INFO] [stderr]     Checking gpu-descriptor-types v0.1.2
[INFO] [stderr]     Checking rustc-hash v1.1.0
[INFO] [stderr]     Checking bit-set v0.5.3
[INFO] [stderr]     Checking raw-window-handle v0.5.2
[INFO] [stderr]     Checking unicode-xid v0.2.6
[INFO] [stderr]     Checking hexf-parse v0.2.1
[INFO] [stderr]     Checking flate2 v1.1.8
[INFO] [stderr]     Checking wgpu-types v0.16.1
[INFO] [stderr]     Checking gpu-alloc v0.5.4
[INFO] [stderr]    Compiling alsa-sys v0.3.1
[INFO] [stderr]    Compiling smithay-client-toolkit v0.16.1
[INFO] [stderr]     Checking glow v0.12.3
[INFO] [stderr]    Compiling find-msvc-tools v0.1.8
[INFO] [stderr]     Checking renderdoc-sys v1.1.0
[INFO] [stderr]     Checking tiny-skia-path v0.8.4
[INFO] [stderr]     Checking async-fs v2.2.0
[INFO] [stderr]    Compiling toml_edit v0.23.10+spec-1.0.0
[INFO] [stderr]     Checking safe_arch v0.7.4
[INFO] [stderr]    Compiling cc v1.2.53
[INFO] [stderr]    Compiling cfg_aliases v0.1.1
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]    Compiling rfd v0.14.1
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]     Checking png v0.17.16
[INFO] [stderr]    Compiling cpal v0.15.3
[INFO] [stderr]     Checking cty v0.2.2
[INFO] [stderr]     Checking pollster v0.3.0
[INFO] [stderr]     Checking raw-window-handle v0.4.3
[INFO] [stderr]     Checking wide v0.7.33
[INFO] [stderr]     Checking instant v0.1.13
[INFO] [stderr]     Checking raw-window-handle v0.6.2
[INFO] [stderr]     Checking urlencoding v2.1.3
[INFO] [stderr]     Checking ringbuf v0.4.8
[INFO] [stderr]    Compiling proc-macro-crate v3.4.0
[INFO] [stderr]     Checking tiny-skia v0.8.4
[INFO] [stderr]    Compiling minifb v0.24.0
[INFO] [stderr]     Checking ultraviolet v0.9.2
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]    Compiling winit v0.28.7
[INFO] [stderr]     Checking nix v0.24.3
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking nix v0.25.1
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking memmap2 v0.5.10
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking xdg-home v1.3.0
[INFO] [stderr]     Checking x11-dl v2.21.0
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking alsa v0.9.1
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking gpu-descriptor v0.2.4
[INFO] [stderr]     Checking wayland-commons v0.29.5
[INFO] [stderr]     Checking wayland-cursor v0.29.5
[INFO] [stderr]     Checking polling v3.11.0
[INFO] [stderr]     Checking tempfile v3.24.0
[INFO] [stderr]     Checking async-io v2.6.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zvariant_utils v2.1.0
[INFO] [stderr]     Checking async-net v2.0.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling enumflags2_derive v0.7.12
[INFO] [stderr]    Compiling zvariant_derive v4.2.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_repr v0.1.20
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling zbus_macros v4.4.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking naga v0.12.3
[INFO] [stderr]     Checking calloop v0.10.6
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking enumflags2 v0.7.12
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking zvariant v4.2.0
[INFO] [stderr]     Checking wgpu-hal v0.16.2
[INFO] [stderr]     Checking zbus_names v3.0.0
[INFO] [stderr]     Checking zbus v4.4.0
[INFO] [stderr]     Checking wgpu-core v0.16.1
[INFO] [stderr]     Checking wgpu v0.16.3
[INFO] [stderr]     Checking sctk-adwaita v0.5.4
[INFO] [stderr]     Checking ashpd v0.8.1
[INFO] [stderr]     Checking pixels v0.13.0
[INFO] [stderr]     Checking gbc v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/cpu.rs:292:9
[INFO] [stdout]     |
[INFO] [stdout] 244 |     0x10..=0x17 => {
[INFO] [stdout]     |     ----------- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 292 |         0x10..=0x17 => {
[INFO] [stdout]     |         ^^^^^^^^^^^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/cpu.rs:312:9
[INFO] [stdout]     |
[INFO] [stdout] 312 |         _ => {
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/cpu.rs:312:9
[INFO] [stdout]     |
[INFO] [stdout] 200 | 0x28 => { self.registers.b = self.sra_8bit(self.registers.b); }
[INFO] [stdout]     | ---- matches some of the same values
[INFO] [stdout] 201 | 0x29 => { self.registers.c = self.sra_8bit(self.registers.c); }
[INFO] [stdout]     | ---- matches some of the same values
[INFO] [stdout] 202 | 0x2A => { self.registers.d = self.sra_8bit(self.registers.d); }
[INFO] [stdout]     | ---- matches some of the same values
[INFO] [stdout] 203 | 0x2B => { self.registers.e = self.sra_8bit(self.registers.e); }
[INFO] [stdout]     | ---- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 312 |         _ => {
[INFO] [stdout]     |         ^ ...and 21 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/cpu.rs:727:1
[INFO] [stdout]     |
[INFO] [stdout] 641 |         0xF8 => {
[INFO] [stdout]     |         ---- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 727 | 0xF8 => {
[INFO] [stdout]     | ^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/cpu.rs:850:1
[INFO] [stdout]     |
[INFO] [stdout] 586 |         0xCE => {
[INFO] [stdout]     |         ---- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 850 | 0xCE => {
[INFO] [stdout]     | ^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]     --> src/cpu.rs:1159:5
[INFO] [stdout]      |
[INFO] [stdout]  821 | 0xE2 => {
[INFO] [stdout]      | ---- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 1159 |     0xE2 => {
[INFO] [stdout]      |     ^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]     --> src/cpu.rs:1166:5
[INFO] [stdout]      |
[INFO] [stdout]  828 | 0xF2 => {
[INFO] [stdout]      | ---- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 1166 |     0xF2 => {
[INFO] [stdout]      |     ^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]     --> src/cpu.rs:1211:5
[INFO] [stdout]      |
[INFO] [stdout]  721 | 0xF3 => {
[INFO] [stdout]      | ---- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 1211 |     0xF3 => {
[INFO] [stdout]      |     ^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]     --> src/cpu.rs:1238:5
[INFO] [stdout]      |
[INFO] [stdout] 1047 | 0xA8..=0xAF => {
[INFO] [stdout]      | ----------- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 1238 |     0xAF => {
[INFO] [stdout]      |     ^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]     --> src/cpu.rs:1421:5
[INFO] [stdout]      |
[INFO] [stdout] 1248 |     0x20 => {
[INFO] [stdout]      |     ---- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 1421 |     0x20 => {
[INFO] [stdout]      |     ^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/mmu.rs:481:13
[INFO] [stdout]     |
[INFO] [stdout] 481 |         let mut res = 0xC0 | (self.joyp_sel & 0x30);
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rom_data`
[INFO] [stdout]   --> src/main.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let rom_data = std::fs::read(&rom_path).expect("Failed to read ROM file");
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rom_data`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `sbc_a` is never used
[INFO] [stdout]    --> src/cpu.rs:323:8
[INFO] [stdout]     |
[INFO] [stdout]  20 | impl CPU {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 323 |     fn sbc_a(&mut self, value: u8) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `key1` is never read
[INFO] [stdout]   --> src/mmu.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct MMU {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub key1: u8,  // Speed Switch (0xFF4D)
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `has_save_data` and `save_ram` are never used
[INFO] [stdout]    --> src/mmu.rs:500:12
[INFO] [stdout]     |
[INFO] [stdout]  75 | impl MMU {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 500 |     pub fn has_save_data(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 514 |     pub fn save_ram(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/cpu.rs:292:9
[INFO] [stdout]     |
[INFO] [stdout] 244 |     0x10..=0x17 => {
[INFO] [stdout]     |     ----------- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 292 |         0x10..=0x17 => {
[INFO] [stdout]     |         ^^^^^^^^^^^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/cpu.rs:312:9
[INFO] [stdout]     |
[INFO] [stdout] 312 |         _ => {
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/cpu.rs:312:9
[INFO] [stdout]     |
[INFO] [stdout] 200 | 0x28 => { self.registers.b = self.sra_8bit(self.registers.b); }
[INFO] [stdout]     | ---- matches some of the same values
[INFO] [stdout] 201 | 0x29 => { self.registers.c = self.sra_8bit(self.registers.c); }
[INFO] [stdout]     | ---- matches some of the same values
[INFO] [stdout] 202 | 0x2A => { self.registers.d = self.sra_8bit(self.registers.d); }
[INFO] [stdout]     | ---- matches some of the same values
[INFO] [stdout] 203 | 0x2B => { self.registers.e = self.sra_8bit(self.registers.e); }
[INFO] [stdout]     | ---- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 312 |         _ => {
[INFO] [stdout]     |         ^ ...and 21 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/cpu.rs:727:1
[INFO] [stdout]     |
[INFO] [stdout] 641 |         0xF8 => {
[INFO] [stdout]     |         ---- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 727 | 0xF8 => {
[INFO] [stdout]     | ^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/cpu.rs:850:1
[INFO] [stdout]     |
[INFO] [stdout] 586 |         0xCE => {
[INFO] [stdout]     |         ---- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 850 | 0xCE => {
[INFO] [stdout]     | ^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]     --> src/cpu.rs:1159:5
[INFO] [stdout]      |
[INFO] [stdout]  821 | 0xE2 => {
[INFO] [stdout]      | ---- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 1159 |     0xE2 => {
[INFO] [stdout]      |     ^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]     --> src/cpu.rs:1166:5
[INFO] [stdout]      |
[INFO] [stdout]  828 | 0xF2 => {
[INFO] [stdout]      | ---- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 1166 |     0xF2 => {
[INFO] [stdout]      |     ^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]     --> src/cpu.rs:1211:5
[INFO] [stdout]      |
[INFO] [stdout]  721 | 0xF3 => {
[INFO] [stdout]      | ---- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 1211 |     0xF3 => {
[INFO] [stdout]      |     ^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]     --> src/cpu.rs:1238:5
[INFO] [stdout]      |
[INFO] [stdout] 1047 | 0xA8..=0xAF => {
[INFO] [stdout]      | ----------- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 1238 |     0xAF => {
[INFO] [stdout]      |     ^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]     --> src/cpu.rs:1421:5
[INFO] [stdout]      |
[INFO] [stdout] 1248 |     0x20 => {
[INFO] [stdout]      |     ---- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 1421 |     0x20 => {
[INFO] [stdout]      |     ^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/mmu.rs:481:13
[INFO] [stdout]     |
[INFO] [stdout] 481 |         let mut res = 0xC0 | (self.joyp_sel & 0x30);
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rom_data`
[INFO] [stdout]   --> src/main.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let rom_data = std::fs::read(&rom_path).expect("Failed to read ROM file");
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rom_data`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `sbc_a` is never used
[INFO] [stdout]    --> src/cpu.rs:323:8
[INFO] [stdout]     |
[INFO] [stdout]  20 | impl CPU {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 323 |     fn sbc_a(&mut self, value: u8) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `key1` is never read
[INFO] [stdout]   --> src/mmu.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct MMU {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub key1: u8,  // Speed Switch (0xFF4D)
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `has_save_data` and `save_ram` are never used
[INFO] [stdout]    --> src/mmu.rs:500:12
[INFO] [stdout]     |
[INFO] [stdout]  75 | impl MMU {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 500 |     pub fn has_save_data(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 514 |     pub fn save_ram(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 12s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ashpd v0.8.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "3484f72fd98e92381ee3bcead2976a98e4e19346a2fd5a22968fb9d11e6ea897", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3484f72fd98e92381ee3bcead2976a98e4e19346a2fd5a22968fb9d11e6ea897", kill_on_drop: false }`
[INFO] [stdout] 3484f72fd98e92381ee3bcead2976a98e4e19346a2fd5a22968fb9d11e6ea897
