[INFO] cloning repository https://github.com/Mertiin/gameboy-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mertiin/gameboy-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMertiin%2Fgameboy-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMertiin%2Fgameboy-emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d4339f0f097fc37c14a043b9d660be968cd6dd1f [INFO] checking Mertiin/gameboy-emulator against master#4068bafedd8ba724e332a5221c06a6fa531a30d2 for pr-146978 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMertiin%2Fgameboy-emulator" "/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/Mertiin/gameboy-emulator [INFO] finished tweaking git repo https://github.com/Mertiin/gameboy-emulator [INFO] tweaked toml for git repo https://github.com/Mertiin/gameboy-emulator written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Mertiin/gameboy-emulator on toolchain 4068bafedd8ba724e332a5221c06a6fa531a30d2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4068bafedd8ba724e332a5221c06a6fa531a30d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Mertiin/gameboy-emulator 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" "+4068bafedd8ba724e332a5221c06a6fa531a30d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pixels v0.15.0 [INFO] [stderr] Downloaded ecolor v0.32.1 [INFO] [stderr] Downloaded egui_glow v0.32.1 [INFO] [stderr] Downloaded egui-winit v0.32.1 [INFO] [stderr] Downloaded async-process v2.4.0 [INFO] [stderr] Downloaded zbus_macros v5.10.0 [INFO] [stderr] Downloaded egui-wgpu v0.32.1 [INFO] [stderr] Downloaded egui_extras v0.32.1 [INFO] [stderr] Downloaded eframe v0.32.1 [INFO] [stderr] Downloaded epaint v0.32.1 [INFO] [stderr] Downloaded ultraviolet v0.9.2 [INFO] [stderr] Downloaded emath v0.32.1 [INFO] [stderr] Downloaded zbus v5.10.0 [INFO] [stderr] Downloaded egui v0.32.1 [INFO] [stderr] Downloaded epaint_default_fonts v0.32.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+4068bafedd8ba724e332a5221c06a6fa531a30d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4af7aeb7cac6c8c31ba10793454b039696df4cb0129ad89bdd1ec687ce6eef3 [INFO] running `Command { std: "docker" "start" "-a" "e4af7aeb7cac6c8c31ba10793454b039696df4cb0129ad89bdd1ec687ce6eef3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4af7aeb7cac6c8c31ba10793454b039696df4cb0129ad89bdd1ec687ce6eef3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4af7aeb7cac6c8c31ba10793454b039696df4cb0129ad89bdd1ec687ce6eef3", kill_on_drop: false }` [INFO] [stdout] e4af7aeb7cac6c8c31ba10793454b039696df4cb0129ad89bdd1ec687ce6eef3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+4068bafedd8ba724e332a5221c06a6fa531a30d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 071c64a0899ccf63211239fa4b38b987eb14c044aba2ff7e3f9a57a95f3e5dda [INFO] running `Command { std: "docker" "start" "-a" "071c64a0899ccf63211239fa4b38b987eb14c044aba2ff7e3f9a57a95f3e5dda", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking wayland-sys v0.31.7 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking accesskit v0.19.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking async-lock v3.4.1 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Checking async-broadcast v0.7.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Checking epaint_default_fonts v0.32.1 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking async-executor v1.13.3 [INFO] [stderr] Checking accesskit_consumer v0.28.0 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling wgpu-hal v0.19.5 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Checking ash v0.37.3+1.3.251 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling wgpu-core v0.19.4 [INFO] [stderr] Checking wgpu-types v0.19.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Compiling mime_guess2 v2.3.1 [INFO] [stderr] Compiling wgpu v0.19.4 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Checking glow v0.16.0 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Checking jiff v0.2.15 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking polling v3.10.0 [INFO] [stderr] Checking async-io v2.5.0 [INFO] [stderr] Checking async-signal v0.2.12 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking async-process v2.4.0 [INFO] [stderr] Checking wayland-client v0.31.11 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Checking enum-map v2.7.3 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking naga v0.19.2 [INFO] [stderr] Checking emath v0.32.1 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking image v0.25.6 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking wayland-protocols v0.32.9 [INFO] [stderr] Checking wayland-cursor v0.31.11 [INFO] [stderr] Checking ecolor v0.32.1 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking epaint v0.32.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking egui v0.32.1 [INFO] [stderr] Checking arboard v3.6.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking ultraviolet v0.9.2 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking enumflags2 v0.7.12 [INFO] [stderr] Checking zvariant_utils v3.2.1 [INFO] [stderr] Checking quick-xml v0.36.2 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking webbrowser v1.0.5 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.9 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.9 [INFO] [stderr] Compiling zvariant_derive v5.7.0 [INFO] [stderr] Checking egui_glow v0.32.1 [INFO] [stderr] Checking egui_extras v0.32.1 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling zvariant v5.7.0 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking smithay-clipboard v0.7.2 [INFO] [stderr] Checking zbus_names v4.2.0 [INFO] [stderr] Checking zbus_xml v5.0.2 [INFO] [stderr] Checking zbus-lockstep v0.5.1 [INFO] [stderr] Compiling zbus_macros v5.10.0 [INFO] [stderr] Compiling zbus-lockstep-macros v0.5.1 [INFO] [stderr] Checking zbus v5.10.0 [INFO] [stderr] Checking atspi-common v0.9.0 [INFO] [stderr] Checking atspi-proxies v0.9.0 [INFO] [stderr] Checking accesskit_atspi_common v0.12.0 [INFO] [stderr] Checking atspi-connection v0.9.0 [INFO] [stderr] Checking atspi v0.25.0 [INFO] [stderr] Checking accesskit_unix v0.15.0 [INFO] [stderr] Checking accesskit_winit v0.27.0 [INFO] [stderr] Checking egui-winit v0.32.1 [INFO] [stderr] Checking eframe v0.32.1 [INFO] [stderr] Checking pixels v0.15.0 [INFO] [stderr] Checking gameboy-emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | if (self.is_stepping) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 84 - if (self.is_stepping) { [INFO] [stdout] 84 + if self.is_stepping { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/main.rs:116:50 [INFO] [stdout] | [INFO] [stdout] 116 | ui.label(format!("(Page: {})", { (self.cpu.pc as usize / 4096) })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 116 - ui.label(format!("(Page: {})", { (self.cpu.pc as usize / 4096) })); [INFO] [stdout] 116 + ui.label(format!("(Page: {})", { self.cpu.pc as usize / 4096 })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:221:60 [INFO] [stdout] | [INFO] [stdout] 221 | ... let (r, g, b) = if (self.has_panicked) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 221 - let (r, g, b) = if (self.has_panicked) { [INFO] [stdout] 221 + let (r, g, b) = if self.has_panicked { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | if (self.is_stepping) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 84 - if (self.is_stepping) { [INFO] [stdout] 84 + if self.is_stepping { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/main.rs:116:50 [INFO] [stdout] | [INFO] [stdout] 116 | ui.label(format!("(Page: {})", { (self.cpu.pc as usize / 4096) })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 116 - ui.label(format!("(Page: {})", { (self.cpu.pc as usize / 4096) })); [INFO] [stdout] 116 + ui.label(format!("(Page: {})", { self.cpu.pc as usize / 4096 })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:221:60 [INFO] [stdout] | [INFO] [stdout] 221 | ... let (r, g, b) = if (self.has_panicked) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 221 - let (r, g, b) = if (self.has_panicked) { [INFO] [stdout] 221 + let (r, g, b) = if self.has_panicked { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/cpu/instructions/cb_instructions.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn execute(opcode: u8, cpu: &mut CPU, memory: &mut Memory) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu/instructions/cb_instructions.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn execute(opcode: u8, cpu: &mut CPU, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu/instructions/mod.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | _ => panic!("Unimplemented opcode: 0x{:02x}", opcode), [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/instructions/mod.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 13 | 0x00..=0x3F => misc::execute(opcode, cpu, memory), [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 16 | 0x40..=0x7F => load::execute(opcode, cpu, memory), [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 19 | 0x80..=0xBF => arithmetic::execute(opcode, cpu, memory), [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 22 | 0xCB => { [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 30 | _ => panic!("Unimplemented opcode: 0x{:02x}", opcode), [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `af` and `set_af` are never used [INFO] [stdout] --> src/cpu/mod.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl CPU { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | fn af(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn set_af(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/cpu/instructions/cb_instructions.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn execute(opcode: u8, cpu: &mut CPU, memory: &mut Memory) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu/instructions/cb_instructions.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn execute(opcode: u8, cpu: &mut CPU, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu/instructions/mod.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | _ => panic!("Unimplemented opcode: 0x{:02x}", opcode), [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/instructions/mod.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 13 | 0x00..=0x3F => misc::execute(opcode, cpu, memory), [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 16 | 0x40..=0x7F => load::execute(opcode, cpu, memory), [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 19 | 0x80..=0xBF => arithmetic::execute(opcode, cpu, memory), [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 22 | 0xCB => { [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 30 | _ => panic!("Unimplemented opcode: 0x{:02x}", opcode), [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `af` and `set_af` are never used [INFO] [stdout] --> src/cpu/mod.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl CPU { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | fn af(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn set_af(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 27s [INFO] running `Command { std: "docker" "inspect" "071c64a0899ccf63211239fa4b38b987eb14c044aba2ff7e3f9a57a95f3e5dda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "071c64a0899ccf63211239fa4b38b987eb14c044aba2ff7e3f9a57a95f3e5dda", kill_on_drop: false }` [INFO] [stdout] 071c64a0899ccf63211239fa4b38b987eb14c044aba2ff7e3f9a57a95f3e5dda