[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] testing eijikong21/gbc against try#8da20828b6ea601dfd8e2448cb50ace88876bd78 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feijikong21%2Fgbc" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/eijikong21/gbc on toolchain 8da20828b6ea601dfd8e2448cb50ace88876bd78 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "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" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 810b5340f893afcd2aeb9f6fe1af11c47893fe90598e8075b336867f7d32e0ec [INFO] running `Command { std: "docker" "start" "-a" "810b5340f893afcd2aeb9f6fe1af11c47893fe90598e8075b336867f7d32e0ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "810b5340f893afcd2aeb9f6fe1af11c47893fe90598e8075b336867f7d32e0ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "810b5340f893afcd2aeb9f6fe1af11c47893fe90598e8075b336867f7d32e0ec", kill_on_drop: false }` [INFO] [stdout] 810b5340f893afcd2aeb9f6fe1af11c47893fe90598e8075b336867f7d32e0ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f598900dee467d7e6bf946fc961913823c7cc7051276f267941a21109b77e0e [INFO] running `Command { std: "docker" "start" "-a" "6f598900dee467d7e6bf946fc961913823c7cc7051276f267941a21109b77e0e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling xml-rs v0.8.28 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling slotmap v1.1.1 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling xcursor v0.3.10 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling endi v1.1.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling gpu-alloc v0.5.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling toml_parser v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling flate2 v1.1.8 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling toml_edit v0.23.10+spec-1.0.0 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling async-lock v3.4.2 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling wgpu-types v0.16.1 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling glow v0.12.3 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling renderdoc-sys v1.1.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.8 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling async-fs v2.2.0 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling cc v1.2.53 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling xdg-home v1.3.0 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling async-broadcast v0.7.2 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zvariant_utils v2.1.0 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling minifb v0.24.0 [INFO] [stderr] Compiling rfd v0.14.1 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling pollster v0.3.0 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling alsa v0.9.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling owned_ttf_parser v0.25.1 [INFO] [stderr] Compiling ringbuf v0.4.8 [INFO] [stderr] Compiling ab_glyph v0.2.32 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling tempfile v3.24.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 async-trait v0.1.89 [INFO] [stderr] Compiling zbus_macros v4.4.0 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling async-net v2.0.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ultraviolet v0.9.2 [INFO] [stderr] Compiling naga v0.12.3 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling zvariant v4.2.0 [INFO] [stderr] Compiling wgpu-hal v0.16.2 [INFO] [stderr] Compiling zbus_names v3.0.0 [INFO] [stderr] Compiling zbus v4.4.0 [INFO] [stderr] Compiling wgpu-core v0.16.1 [INFO] [stderr] Compiling wgpu v0.16.3 [INFO] [stderr] Compiling ashpd v0.8.1 [INFO] [stderr] Compiling pixels v0.13.0 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 03s [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 1` [INFO] running `Command { std: "docker" "inspect" "6f598900dee467d7e6bf946fc961913823c7cc7051276f267941a21109b77e0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f598900dee467d7e6bf946fc961913823c7cc7051276f267941a21109b77e0e", kill_on_drop: false }` [INFO] [stdout] 6f598900dee467d7e6bf946fc961913823c7cc7051276f267941a21109b77e0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb08b634313084e6300724894541b1f1308e551db5f7fd45ff208e7f5d0acd0e [INFO] running `Command { std: "docker" "start" "-a" "fb08b634313084e6300724894541b1f1308e551db5f7fd45ff208e7f5d0acd0e", kill_on_drop: false }` [INFO] [stderr] Compiling 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.35s [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 1` [INFO] running `Command { std: "docker" "inspect" "fb08b634313084e6300724894541b1f1308e551db5f7fd45ff208e7f5d0acd0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb08b634313084e6300724894541b1f1308e551db5f7fd45ff208e7f5d0acd0e", kill_on_drop: false }` [INFO] [stdout] fb08b634313084e6300724894541b1f1308e551db5f7fd45ff208e7f5d0acd0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 81af146a90df03765fd56ad6499b9102abc0a02038d1b98d1b833929361a06ac [INFO] running `Command { std: "docker" "start" "-a" "81af146a90df03765fd56ad6499b9102abc0a02038d1b98d1b833929361a06ac", kill_on_drop: false }` [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/cpu.rs:292:9 [INFO] [stderr] | [INFO] [stderr] 244 | 0x10..=0x17 => { [INFO] [stderr] | ----------- matches all the relevant values [INFO] [stderr] ... [INFO] [stderr] 292 | 0x10..=0x17 => { [INFO] [stderr] | ^^^^^^^^^^^ no value can reach this [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/cpu.rs:312:9 [INFO] [stderr] | [INFO] [stderr] 312 | _ => { [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/cpu.rs:312:9 [INFO] [stderr] | [INFO] [stderr] 200 | 0x28 => { self.registers.b = self.sra_8bit(self.registers.b); } [INFO] [stderr] | ---- matches some of the same values [INFO] [stderr] 201 | 0x29 => { self.registers.c = self.sra_8bit(self.registers.c); } [INFO] [stderr] | ---- matches some of the same values [INFO] [stderr] 202 | 0x2A => { self.registers.d = self.sra_8bit(self.registers.d); } [INFO] [stderr] | ---- matches some of the same values [INFO] [stderr] 203 | 0x2B => { self.registers.e = self.sra_8bit(self.registers.e); } [INFO] [stderr] | ---- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 312 | _ => { [INFO] [stderr] | ^ ...and 21 other patterns collectively make this unreachable [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/cpu.rs:727:1 [INFO] [stderr] | [INFO] [stderr] 641 | 0xF8 => { [INFO] [stderr] | ---- matches all the relevant values [INFO] [stderr] ... [INFO] [stderr] 727 | 0xF8 => { [INFO] [stderr] | ^^^^ no value can reach this [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/cpu.rs:850:1 [INFO] [stderr] | [INFO] [stderr] 586 | 0xCE => { [INFO] [stderr] | ---- matches all the relevant values [INFO] [stderr] ... [INFO] [stderr] 850 | 0xCE => { [INFO] [stderr] | ^^^^ no value can reach this [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/cpu.rs:1159:5 [INFO] [stderr] | [INFO] [stderr] 821 | 0xE2 => { [INFO] [stderr] | ---- matches all the relevant values [INFO] [stderr] ... [INFO] [stderr] 1159 | 0xE2 => { [INFO] [stderr] | ^^^^ no value can reach this [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/cpu.rs:1166:5 [INFO] [stderr] | [INFO] [stderr] 828 | 0xF2 => { [INFO] [stderr] | ---- matches all the relevant values [INFO] [stderr] ... [INFO] [stderr] 1166 | 0xF2 => { [INFO] [stderr] | ^^^^ no value can reach this [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/cpu.rs:1211:5 [INFO] [stderr] | [INFO] [stderr] 721 | 0xF3 => { [INFO] [stderr] | ---- matches all the relevant values [INFO] [stderr] ... [INFO] [stderr] 1211 | 0xF3 => { [INFO] [stderr] | ^^^^ no value can reach this [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/cpu.rs:1238:5 [INFO] [stderr] | [INFO] [stderr] 1047 | 0xA8..=0xAF => { [INFO] [stderr] | ----------- matches all the relevant values [INFO] [stderr] ... [INFO] [stderr] 1238 | 0xAF => { [INFO] [stderr] | ^^^^ no value can reach this [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/cpu.rs:1421:5 [INFO] [stderr] | [INFO] [stderr] 1248 | 0x20 => { [INFO] [stderr] | ---- matches all the relevant values [INFO] [stderr] ... [INFO] [stderr] 1421 | 0x20 => { [INFO] [stderr] | ^^^^ no value can reach this [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/mmu.rs:481:13 [INFO] [stderr] | [INFO] [stderr] 481 | let mut res = 0xC0 | (self.joyp_sel & 0x30); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rom_data` [INFO] [stderr] --> src/main.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | let rom_data = std::fs::read(&rom_path).expect("Failed to read ROM file"); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rom_data` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `sbc_a` is never used [INFO] [stderr] --> src/cpu.rs:323:8 [INFO] [stderr] | [INFO] [stderr] 20 | impl CPU { [INFO] [stderr] | -------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 323 | fn sbc_a(&mut self, value: u8) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `key1` is never read [INFO] [stderr] --> src/mmu.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct MMU { [INFO] [stderr] | --- field in this struct [INFO] [stderr] ... [INFO] [stderr] 52 | pub key1: u8, // Speed Switch (0xFF4D) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `has_save_data` and `save_ram` are never used [INFO] [stderr] --> src/mmu.rs:500:12 [INFO] [stderr] | [INFO] [stderr] 75 | impl MMU { [INFO] [stderr] | -------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 500 | pub fn has_save_data(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 514 | pub fn save_ram(&mut self) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `gbc` (bin "gbc" test) generated 14 warnings (run `cargo fix --bin "gbc" -p gbc --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [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 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gbc-eccacfd88f85dc96) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test mmu::tests::test_vram_banking ... ok [INFO] [stdout] test mmu::tests::test_palette_auto_increment ... ok [INFO] [stdout] test mmu::tests::test_wram_bank_zero_correction ... ok [INFO] [stdout] test mmu::tests::test_wram_banking ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "81af146a90df03765fd56ad6499b9102abc0a02038d1b98d1b833929361a06ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81af146a90df03765fd56ad6499b9102abc0a02038d1b98d1b833929361a06ac", kill_on_drop: false }` [INFO] [stdout] 81af146a90df03765fd56ad6499b9102abc0a02038d1b98d1b833929361a06ac