[INFO] cloning repository https://github.com/JJag/gb-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JJag/gb-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJJag%2Fgb-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJJag%2Fgb-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e3662b403478bb0160e0b3bbcefcb4e7823101a7 [INFO] checking JJag/gb-rust against master#982c6f8721416431ec62bb0b9105c0578a9fc603 for pr-129329 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJJag%2Fgb-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JJag/gb-rust on toolchain 982c6f8721416431ec62bb0b9105c0578a9fc603 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+982c6f8721416431ec62bb0b9105c0578a9fc603" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JJag/gb-rust [INFO] finished tweaking git repo https://github.com/JJag/gb-rust [INFO] tweaked toml for git repo https://github.com/JJag/gb-rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/JJag/gb-rust 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" "+982c6f8721416431ec62bb0b9105c0578a9fc603" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking JJag/gb-rust against try#fa63ef4ad80785c0f3f362275f3772bdc67c23e0 for pr-129329 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJJag%2Fgb-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JJag/gb-rust on toolchain fa63ef4ad80785c0f3f362275f3772bdc67c23e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fa63ef4ad80785c0f3f362275f3772bdc67c23e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JJag/gb-rust [INFO] finished tweaking git repo https://github.com/JJag/gb-rust [INFO] tweaked toml for git repo https://github.com/JJag/gb-rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/JJag/gb-rust 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" "+fa63ef4ad80785c0f3f362275f3772bdc67c23e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking JJag/gb-rust against try#fa63ef4ad80785c0f3f362275f3772bdc67c23e0 for pr-129329 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJJag%2Fgb-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JJag/gb-rust on toolchain fa63ef4ad80785c0f3f362275f3772bdc67c23e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fa63ef4ad80785c0f3f362275f3772bdc67c23e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JJag/gb-rust [INFO] finished tweaking git repo https://github.com/JJag/gb-rust [INFO] tweaked toml for git repo https://github.com/JJag/gb-rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/JJag/gb-rust 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" "+fa63ef4ad80785c0f3f362275f3772bdc67c23e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded objc v0.2.5 [INFO] [stderr] Downloaded gl_generator v0.9.0 [INFO] [stderr] Downloaded gfx_gl v0.5.0 [INFO] [stderr] Downloaded gfx_core v0.8.3 [INFO] [stderr] Downloaded downcast-rs v1.0.3 [INFO] [stderr] Downloaded gfx_device_gl v0.15.3 [INFO] [stderr] Downloaded gfx v0.17.1 [INFO] [stderr] Downloaded image v0.20.1 [INFO] [stderr] Downloaded khronos_api v3.0.0 [INFO] [stderr] Downloaded tiff v0.2.1 [INFO] [stderr] Downloaded inflate v0.4.3 [INFO] [stderr] Downloaded png v0.12.0 [INFO] [stderr] Downloaded num-derive v0.2.3 [INFO] [stderr] Downloaded gleam v0.6.8 [INFO] [stderr] Downloaded core-foundation v0.6.3 [INFO] [stderr] Downloaded smallvec v0.6.7 [INFO] [stderr] Downloaded ordered-float v1.0.1 [INFO] [stderr] Downloaded pistoncore-input v0.23.0 [INFO] [stderr] Downloaded wayland-protocols v0.21.7 [INFO] [stderr] Downloaded andrew v0.1.4 [INFO] [stderr] Downloaded piston v0.39.0 [INFO] [stderr] Downloaded piston2d-graphics v0.28.0 [INFO] [stderr] Downloaded approx v0.3.0 [INFO] [stderr] Downloaded stb_truetype v0.2.4 [INFO] [stderr] Downloaded wayland-commons v0.21.7 [INFO] [stderr] Downloaded wayland-sys v0.21.7 [INFO] [stderr] Downloaded smithay-client-toolkit v0.4.2 [INFO] [stderr] Downloaded rusttype v0.7.3 [INFO] [stderr] Downloaded wayland-client v0.21.7 [INFO] [stderr] Downloaded piston_window v0.85.0 [INFO] [stderr] Downloaded winit v0.18.0 [INFO] [stderr] Downloaded pistoncore-window v0.34.0 [INFO] [stderr] Downloaded pistoncore-event_loop v0.39.0 [INFO] [stderr] Downloaded piston2d-gfx_graphics v0.54.0 [INFO] [stderr] Downloaded piston-gfx_texture v0.34.0 [INFO] [stderr] Downloaded pistoncore-glutin_window v0.51.1 [INFO] [stderr] Downloaded wayland-scanner v0.21.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+fa63ef4ad80785c0f3f362275f3772bdc67c23e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e78a0abe964fb552f6d9ebce53dc5ae8925d006db6243a918e16032ab8a6f83e [INFO] running `Command { std: "docker" "start" "-a" "e78a0abe964fb552f6d9ebce53dc5ae8925d006db6243a918e16032ab8a6f83e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e78a0abe964fb552f6d9ebce53dc5ae8925d006db6243a918e16032ab8a6f83e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e78a0abe964fb552f6d9ebce53dc5ae8925d006db6243a918e16032ab8a6f83e", kill_on_drop: false }` [INFO] [stdout] e78a0abe964fb552f6d9ebce53dc5ae8925d006db6243a918e16032ab8a6f83e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+fa63ef4ad80785c0f3f362275f3772bdc67c23e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dcc7efc02d308fe9f4d78a246bf37ecad63253c27e3ea2282d97c03864d80f80 [INFO] running `Command { std: "docker" "start" "-a" "dcc7efc02d308fe9f4d78a246bf37ecad63253c27e3ea2282d97c03864d80f80", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling khronos_api v3.0.0 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Checking arrayvec v0.4.8 [INFO] [stderr] Checking piston-float v0.3.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Checking piston-viewport v0.5.0 [INFO] [stderr] Checking stb_truetype v0.2.4 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling num-derive v0.2.3 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Checking downcast-rs v1.0.3 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Checking smallvec v0.6.7 [INFO] [stderr] Checking walkdir v2.2.7 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Checking shader_version v0.3.0 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Compiling wayland-scanner v0.21.7 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Checking inflate v0.4.3 [INFO] [stderr] Checking deflate v0.7.19 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking approx v0.3.0 [INFO] [stderr] Checking ordered-float v1.0.1 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking gif v0.10.1 [INFO] [stderr] Checking rusttype v0.7.3 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking wayland-sys v0.21.7 [INFO] [stderr] Checking piston-texture v0.6.0 [INFO] [stderr] Compiling gfx_gl v0.5.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling glutin v0.19.0 [INFO] [stderr] Checking vecmath v0.3.1 [INFO] [stderr] Checking read_color v1.0.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking interpolation v0.1.0 [INFO] [stderr] Checking piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling wayland-client v0.21.7 [INFO] [stderr] Compiling wayland-protocols v0.21.7 [INFO] [stderr] Checking andrew v0.1.4 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking piston2d-graphics v0.28.0 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Checking wayland-commons v0.21.7 [INFO] [stderr] Compiling derivative v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Checking smithay-client-toolkit v0.4.2 [INFO] [stderr] Checking gfx_core v0.8.3 [INFO] [stderr] Checking tiff v0.2.1 [INFO] [stderr] Checking image v0.20.1 [INFO] [stderr] Checking winit v0.18.0 [INFO] [stderr] Checking gfx v0.17.1 [INFO] [stderr] Checking gfx_device_gl v0.15.3 [INFO] [stderr] Checking pistoncore-input v0.23.0 [INFO] [stderr] Checking piston-gfx_texture v0.34.0 [INFO] [stderr] Checking piston2d-gfx_graphics v0.54.0 [INFO] [stderr] Checking pistoncore-window v0.34.0 [INFO] [stderr] Checking pistoncore-event_loop v0.39.0 [INFO] [stderr] Checking pistoncore-glutin_window v0.51.1 [INFO] [stderr] Checking piston v0.39.0 [INFO] [stderr] Checking piston_window v0.85.0 [INFO] [stderr] Checking gb-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `piston_window::*` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use piston_window::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::gb::Interrupts` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::gb::Interrupts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::gb::joypad::JoypadInterrupt` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::gb::joypad::JoypadInterrupt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::Array2D` [INFO] [stdout] --> src/frontend/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::util::Array2D; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::gb::joypad::JoypadInterrupt` [INFO] [stdout] --> src/emu.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::gb::joypad::JoypadInterrupt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | 0x0000...0x3FFF => self.cart.read_byte(addr as u16), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:78:23 [INFO] [stdout] | [INFO] [stdout] 78 | 0x4000...0x7FFF => self.cart.read_byte(addr as u16), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:79:23 [INFO] [stdout] | [INFO] [stdout] 79 | 0x8000...0x9FFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | 0xA000...0xBFFF => self.cart.read_byte(addr as u16), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | 0xC000...0xDFFF => self.work_ram[addr - 0xC000], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:86:23 [INFO] [stdout] | [INFO] [stdout] 86 | 0xE000...0xFDFF => self.work_ram[addr - 0xE000], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:87:23 [INFO] [stdout] | [INFO] [stdout] 87 | 0xFE00...0xFE9F => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:120:23 [INFO] [stdout] | [INFO] [stdout] 120 | 0xFF00...0xFF7F => self.unhandled_io[addr - 0xFF00], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | 0xFF80...0xFFFF => self.zero_ram[addr - 0xFF80], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 122 | 0xFEA0...0xFEFF => 0, // accessing this memory is undefined behaviour [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:138:19 [INFO] [stdout] | [INFO] [stdout] 138 | 0x0000...0x3FFF => self.cart.write_byte(addr as u16, val), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:139:19 [INFO] [stdout] | [INFO] [stdout] 139 | 0x4000...0x7FFF => self.cart.write_byte(addr as u16, val), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 140 | 0x8000...0x9FFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | 0xA000...0xBFFF => self.cart.write_byte(addr as u16, val), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:146:19 [INFO] [stdout] | [INFO] [stdout] 146 | 0xC000...0xDFFF => self.work_ram[addr - 0xC000] = val, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:147:19 [INFO] [stdout] | [INFO] [stdout] 147 | 0xE000...0xFDFF => self.work_ram[addr - 0xE000] = val, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | 0xFE00...0xFE9F => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:177:19 [INFO] [stdout] | [INFO] [stdout] 177 | 0xFF01...0xFF7F => self.unhandled_io[addr - 0xFF00] = val, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 178 | 0xFF80...0xFFFF => self.zero_ram[addr - 0xFF80] = val, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:179:19 [INFO] [stdout] | [INFO] [stdout] 179 | 0xFEA0...0xFEFF => {}, // accessing this memory is undefined behaviour [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/gb/ppu.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | / ( [INFO] [stdout] 360 | | (self.lcd_display_enable as u8) << 7 | [INFO] [stdout] | |____________^ [INFO] [stdout] ... [INFO] [stdout] 367 | (self.bg_window_priority as u8) << 0 [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 368 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 359 ~ (self.lcd_display_enable as u8) << 7 | [INFO] [stdout] 360 | (self.window_tilemap_select1 as u8) << 6 | [INFO] [stdout] ... [INFO] [stdout] 365 | (self.sprites_enabled as u8) << 1 | [INFO] [stdout] 366 ~ (self.bg_window_priority as u8) << 0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mbc.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | 0x0000...0x3FFF => self.rom[addr as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston_window::*` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use piston_window::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::gb::Interrupts` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::gb::Interrupts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::gb::joypad::JoypadInterrupt` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::gb::joypad::JoypadInterrupt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::Array2D` [INFO] [stdout] --> src/frontend/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::util::Array2D; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::gb::joypad::JoypadInterrupt` [INFO] [stdout] --> src/emu.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::gb::joypad::JoypadInterrupt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | 0x0000...0x3FFF => self.cart.read_byte(addr as u16), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:78:23 [INFO] [stdout] | [INFO] [stdout] 78 | 0x4000...0x7FFF => self.cart.read_byte(addr as u16), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:79:23 [INFO] [stdout] | [INFO] [stdout] 79 | 0x8000...0x9FFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | 0xA000...0xBFFF => self.cart.read_byte(addr as u16), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | 0xC000...0xDFFF => self.work_ram[addr - 0xC000], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:86:23 [INFO] [stdout] | [INFO] [stdout] 86 | 0xE000...0xFDFF => self.work_ram[addr - 0xE000], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:87:23 [INFO] [stdout] | [INFO] [stdout] 87 | 0xFE00...0xFE9F => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:120:23 [INFO] [stdout] | [INFO] [stdout] 120 | 0xFF00...0xFF7F => self.unhandled_io[addr - 0xFF00], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | 0xFF80...0xFFFF => self.zero_ram[addr - 0xFF80], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 122 | 0xFEA0...0xFEFF => 0, // accessing this memory is undefined behaviour [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:138:19 [INFO] [stdout] | [INFO] [stdout] 138 | 0x0000...0x3FFF => self.cart.write_byte(addr as u16, val), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:139:19 [INFO] [stdout] | [INFO] [stdout] 139 | 0x4000...0x7FFF => self.cart.write_byte(addr as u16, val), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 140 | 0x8000...0x9FFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | 0xA000...0xBFFF => self.cart.write_byte(addr as u16, val), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mbc.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | 0x4000...0x7FFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mbc.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | 0xA000...0xBFFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mbc.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | 0x0000...0x1FFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:146:19 [INFO] [stdout] | [INFO] [stdout] 146 | 0xC000...0xDFFF => self.work_ram[addr - 0xC000] = val, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:147:19 [INFO] [stdout] | [INFO] [stdout] 147 | 0xE000...0xFDFF => self.work_ram[addr - 0xE000] = val, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mbc.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | 0x2000...0x3FFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | 0xFE00...0xFE9F => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:177:19 [INFO] [stdout] | [INFO] [stdout] 177 | 0xFF01...0xFF7F => self.unhandled_io[addr - 0xFF00] = val, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mbc.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | 0x4000...0x5FFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 178 | 0xFF80...0xFFFF => self.zero_ram[addr - 0xFF80] = val, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mmu.rs:179:19 [INFO] [stdout] | [INFO] [stdout] 179 | 0xFEA0...0xFEFF => {}, // accessing this memory is undefined behaviour [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mbc.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | 0x6000...0x7FFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/gb/ppu.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | / ( [INFO] [stdout] 360 | | (self.lcd_display_enable as u8) << 7 | [INFO] [stdout] | |____________^ [INFO] [stdout] ... [INFO] [stdout] 367 | (self.bg_window_priority as u8) << 0 [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 368 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 359 ~ (self.lcd_display_enable as u8) << 7 | [INFO] [stdout] 360 | (self.window_tilemap_select1 as u8) << 6 | [INFO] [stdout] ... [INFO] [stdout] 365 | (self.sprites_enabled as u8) << 1 | [INFO] [stdout] 366 ~ (self.bg_window_priority as u8) << 0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mbc.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | 0x0000...0x3FFF => self.rom[addr as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mbc.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | 0xA000...0xBFFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mbc.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | 0x4000...0x7FFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mbc.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | 0xA000...0xBFFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mbc.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | 0x0000...0x1FFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mbc.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | 0x2000...0x3FFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mbc.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | 0x4000...0x5FFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mbc.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | 0x6000...0x7FFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mbc.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | 0xA000...0xBFFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:39:36 [INFO] [stdout] | [INFO] [stdout] 39 | fn build_cart(rom: Vec) -> Box { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | fn build_cart(rom: Vec) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:39:36 [INFO] [stdout] | [INFO] [stdout] 39 | fn build_cart(rom: Vec) -> Box { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | fn build_cart(rom: Vec) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/emu.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | pub frontend: Box, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | pub frontend: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gb/mmu.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | pub cart: Box, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | pub cart: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/emu.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | pub frontend: Box, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | pub frontend: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gb/mmu.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | pub cart: Box, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | pub cart: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gb/mmu.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | cart: Box, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | cart: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gb/mmu.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | cart: Box, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | cart: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston_window` [INFO] [stdout] --> src/emu.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use piston_window::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston_window` [INFO] [stdout] --> src/emu.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use piston_window::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/gb/mbc.rs:101:30 [INFO] [stdout] | [INFO] [stdout] 101 | fn write_byte(&mut self, addr: u16, val: u8) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/gb/mbc.rs:101:41 [INFO] [stdout] | [INFO] [stdout] 101 | fn write_byte(&mut self, addr: u16, val: u8) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gb/mod.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | _ => handle_invalid_opcode(opcode), [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] note: these patterns collectively make the last one unreachable [INFO] [stdout] --> src/gb/mod.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 112 | 0x00 => cpu.nop(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 113 | 0x01 => cpu.ld_bc_nn(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 114 | 0x02 => cpu.ld_bc_a(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 115 | 0x03 => cpu.INC_BC(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 116 | 0x04 => cpu.INC(B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 117 | 0x05 => cpu.DEC(B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 118 | 0x06 => cpu.LD_rn(B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 119 | 0x07 => cpu.RLCA(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 120 | 0x08 => cpu.ld_nn_sp(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 121 | 0x09 => cpu.ADD_HL_BC(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 122 | 0x0A => cpu.ld_a_bc(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 123 | 0x0B => cpu.DEC_BC(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 124 | 0x0C => cpu.INC(C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 125 | 0x0D => cpu.DEC(C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 126 | 0x0E => cpu.LD_rn(C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 127 | 0x0F => cpu.RRCA(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 128 | [INFO] [stdout] 129 | 0x10 => cpu.stop(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 130 | 0x11 => cpu.ld_de_nn(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 131 | 0x12 => cpu.ld_de_a(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 132 | 0x13 => cpu.INC_DE(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 133 | 0x14 => cpu.INC(D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 134 | 0x15 => cpu.DEC(D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 135 | 0x16 => cpu.LD_rn(D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 136 | 0x17 => cpu.RLA(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 137 | 0x18 => cpu.JR(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 138 | 0x19 => cpu.ADD_HL_DE(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 139 | 0x1A => cpu.ld_a_de(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 140 | 0x1B => cpu.DEC_DE(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 141 | 0x1C => cpu.INC(E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 142 | 0x1D => cpu.DEC(E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 143 | 0x1E => cpu.LD_rn(E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 144 | 0x1F => cpu.RRA(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 145 | [INFO] [stdout] 146 | 0x20 => cpu.JR_NZ(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 147 | 0x21 => cpu.ld_hl_nn(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 148 | 0x22 => cpu.ldi_hl_a(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 149 | 0x23 => cpu.INC_HL(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 150 | 0x24 => cpu.INC(H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 151 | 0x25 => cpu.DEC(H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 152 | 0x26 => cpu.LD_rn(H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 153 | 0x27 => cpu.daa(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 154 | 0x28 => cpu.JR_Z(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 155 | 0x29 => cpu.ADD_HL_HL(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 156 | 0x2A => cpu.ldi_a_hl(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 157 | 0x2B => cpu.DEC_HL(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 158 | 0x2C => cpu.INC(L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 159 | 0x2D => cpu.DEC(L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 160 | 0x2E => cpu.LD_rn(L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 161 | 0x2F => cpu.cpl(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 162 | [INFO] [stdout] 163 | 0x30 => cpu.JR_NC(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 164 | 0x31 => cpu.ld_sp_nn(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 165 | 0x32 => cpu.ldd_hl_a(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 166 | 0x33 => cpu.INC_SP(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 167 | 0x34 => cpu.INC_aHL(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 168 | 0x35 => cpu.DEC_aHL(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 169 | 0x36 => cpu.ld__hl__n(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 170 | 0x37 => cpu.scf(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 171 | 0x38 => cpu.JR_C(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 172 | 0x39 => cpu.ADD_HL_SP(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 173 | 0x3A => cpu.ldd_a_hl(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 174 | 0x3B => cpu.DEC_SP(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 175 | 0x3C => cpu.INC(A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 176 | 0x3D => cpu.DEC(A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 177 | 0x3E => cpu.LD_rn(A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 178 | 0x3F => cpu.ccf(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 179 | [INFO] [stdout] 180 | 0x40 => cpu.LD_rr(B, B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 181 | 0x41 => cpu.LD_rr(B, C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 182 | 0x42 => cpu.LD_rr(B, D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 183 | 0x43 => cpu.LD_rr(B, E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 184 | 0x44 => cpu.LD_rr(B, H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 185 | 0x45 => cpu.LD_rr(B, L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 186 | 0x46 => cpu.LD_r_HL(B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 187 | 0x47 => cpu.LD_rr(B, A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 188 | 0x48 => cpu.LD_rr(C, B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 189 | 0x49 => cpu.LD_rr(C, C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 190 | 0x4A => cpu.LD_rr(C, D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 191 | 0x4B => cpu.LD_rr(C, E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 192 | 0x4C => cpu.LD_rr(C, H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 193 | 0x4D => cpu.LD_rr(C, L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 194 | 0x4E => cpu.LD_r_HL(C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 195 | 0x4F => cpu.LD_rr(C, A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 196 | [INFO] [stdout] 197 | 0x50 => cpu.LD_rr(D, B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 198 | 0x51 => cpu.LD_rr(D, C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 199 | 0x52 => cpu.LD_rr(D, D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 200 | 0x53 => cpu.LD_rr(D, E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 201 | 0x54 => cpu.LD_rr(D, H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 202 | 0x55 => cpu.LD_rr(D, L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 203 | 0x56 => cpu.LD_r_HL(D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 204 | 0x57 => cpu.LD_rr(D, A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 205 | 0x58 => cpu.LD_rr(E, B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 206 | 0x59 => cpu.LD_rr(E, C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 207 | 0x5A => cpu.LD_rr(E, D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 208 | 0x5B => cpu.LD_rr(E, E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 209 | 0x5C => cpu.LD_rr(E, H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 210 | 0x5D => cpu.LD_rr(E, L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 211 | 0x5E => cpu.LD_r_HL(E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 212 | 0x5F => cpu.LD_rr(E, A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 213 | [INFO] [stdout] 214 | 0x60 => cpu.LD_rr(H, B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 215 | 0x61 => cpu.LD_rr(H, C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 216 | 0x62 => cpu.LD_rr(H, D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 217 | 0x63 => cpu.LD_rr(H, E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 218 | 0x64 => cpu.LD_rr(H, H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 219 | 0x65 => cpu.LD_rr(H, L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 220 | 0x66 => cpu.LD_r_HL(H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 221 | 0x67 => cpu.LD_rr(H, A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 222 | 0x68 => cpu.LD_rr(L, B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 223 | 0x69 => cpu.LD_rr(L, C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 224 | 0x6A => cpu.LD_rr(L, D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 225 | 0x6B => cpu.LD_rr(L, E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 226 | 0x6C => cpu.LD_rr(L, H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 227 | 0x6D => cpu.LD_rr(L, L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 228 | 0x6E => cpu.LD_r_HL(L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 229 | 0x6F => cpu.LD_rr(L, A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 230 | [INFO] [stdout] 231 | 0x70 => cpu.LD_HL_r(B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 232 | 0x71 => cpu.LD_HL_r(C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 233 | 0x72 => cpu.LD_HL_r(D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 234 | 0x73 => cpu.LD_HL_r(E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 235 | 0x74 => cpu.LD_HL_r(H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 236 | 0x75 => cpu.LD_HL_r(L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 237 | 0x76 => cpu.halt(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 238 | 0x77 => cpu.LD_HL_r(A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 239 | 0x78 => cpu.LD_rr(A, B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 240 | 0x79 => cpu.LD_rr(A, C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 241 | 0x7A => cpu.LD_rr(A, D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 242 | 0x7B => cpu.LD_rr(A, E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 243 | 0x7C => cpu.LD_rr(A, H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 244 | 0x7D => cpu.LD_rr(A, L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 245 | 0x7E => cpu.LD_r_HL(A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 246 | 0x7F => cpu.LD_rr(A, A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 247 | [INFO] [stdout] 248 | 0x80 => cpu.ADD(B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 249 | 0x81 => cpu.ADD(C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 250 | 0x82 => cpu.ADD(D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 251 | 0x83 => cpu.ADD(E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 252 | 0x84 => cpu.ADD(H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 253 | 0x85 => cpu.ADD(L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 254 | 0x86 => cpu.ADD_HL(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 255 | 0x87 => cpu.ADD(A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 256 | 0x88 => cpu.ADC(B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 257 | 0x89 => cpu.ADC(C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 258 | 0x8A => cpu.ADC(D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 259 | 0x8B => cpu.ADC(E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 260 | 0x8C => cpu.ADC(H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 261 | 0x8D => cpu.ADC(L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 262 | 0x8E => cpu.ADC_HL(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 263 | 0x8F => cpu.ADC(A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 264 | [INFO] [stdout] 265 | 0x90 => cpu.SUB(B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 266 | 0x91 => cpu.SUB(C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 267 | 0x92 => cpu.SUB(D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 268 | 0x93 => cpu.SUB(E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 269 | 0x94 => cpu.SUB(H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 270 | 0x95 => cpu.SUB(L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 271 | 0x96 => cpu.SUB_HL(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 272 | 0x97 => cpu.SUB(A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 273 | 0x98 => cpu.SBC(B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 274 | 0x99 => cpu.SBC(C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 275 | 0x9A => cpu.SBC(D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 276 | 0x9B => cpu.SBC(E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 277 | 0x9C => cpu.SBC(H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 278 | 0x9D => cpu.SBC(L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 279 | 0x9E => cpu.SBC_HL(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 280 | 0x9F => cpu.SBC(A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 281 | [INFO] [stdout] 282 | 0xA0 => cpu.AND(B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 283 | 0xA1 => cpu.AND(C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 284 | 0xA2 => cpu.AND(D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 285 | 0xA3 => cpu.AND(E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 286 | 0xA4 => cpu.AND(H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 287 | 0xA5 => cpu.AND(L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 288 | 0xA6 => cpu.AND_HL(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 289 | 0xA7 => cpu.AND(A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 290 | 0xA8 => cpu.XOR(B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 291 | 0xA9 => cpu.XOR(C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 292 | 0xAA => cpu.XOR(D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 293 | 0xAB => cpu.XOR(E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 294 | 0xAC => cpu.XOR(H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 295 | 0xAD => cpu.XOR(L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 296 | 0xAE => cpu.XOR_HL(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 297 | 0xAF => cpu.XOR(A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 298 | [INFO] [stdout] 299 | 0xB0 => cpu.OR(B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 300 | 0xB1 => cpu.OR(C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 301 | 0xB2 => cpu.OR(D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 302 | 0xB3 => cpu.OR(E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 303 | 0xB4 => cpu.OR(H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 304 | 0xB5 => cpu.OR(L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 305 | 0xB6 => cpu.OR_HL(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 306 | 0xB7 => cpu.OR(A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 307 | 0xB8 => cpu.CP(B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 308 | 0xB9 => cpu.CP(C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 309 | 0xBA => cpu.CP(D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 310 | 0xBB => cpu.CP(E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 311 | 0xBC => cpu.CP(H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 312 | 0xBD => cpu.CP(L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 313 | 0xBE => cpu.CP_HL(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 314 | 0xBF => cpu.CP(A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 315 | [INFO] [stdout] 316 | 0xC0 => cpu.RET_NZ(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 317 | 0xC1 => cpu.pop_bc(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 318 | 0xC2 => cpu.JP_NZ(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 319 | 0xC3 => cpu.JP(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 320 | 0xC4 => cpu.CALL_NZ(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 321 | 0xC5 => cpu.push_bc(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 322 | 0xC6 => cpu.ADD_n(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 323 | 0xC7 => cpu.RST_00H(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 324 | 0xC8 => cpu.RET_Z(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 325 | 0xC9 => cpu.RET(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 326 | 0xCA => cpu.JP_Z(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 327 | 0xCB => { [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 330 | 0xCC => cpu.CALL_Z(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 331 | 0xCD => cpu.CALL(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 332 | 0xCE => cpu.ADC_n(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 333 | 0xCF => cpu.RST_08H(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 334 | [INFO] [stdout] 335 | 0xD0 => cpu.RET_NC(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 336 | 0xD1 => cpu.pop_de(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 337 | 0xD2 => cpu.JP_NC(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 338 | 0xD3 => handle_invalid_opcode(opcode), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 339 | 0xD4 => cpu.CALL_NC(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 340 | 0xD5 => cpu.push_de(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 341 | 0xD6 => cpu.SUB_n(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 342 | 0xD7 => cpu.RST_10H(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 343 | 0xD8 => cpu.RET_C(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 344 | 0xD9 => cpu.RETI(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 345 | 0xDA => cpu.JP_C(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 346 | 0xDB => handle_invalid_opcode(opcode), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 347 | 0xDC => cpu.CALL_C(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 348 | 0xDD => handle_invalid_opcode(opcode), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 349 | 0xDE => cpu.SBC_n(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 350 | 0xDF => cpu.RST_18H(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 351 | [INFO] [stdout] 352 | 0xE0 => cpu.ldh_n_a(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 353 | 0xE1 => cpu.pop_hl(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 354 | 0xE2 => cpu.ld__c__a(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 355 | 0xE3 => handle_invalid_opcode(opcode), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 356 | 0xE4 => handle_invalid_opcode(opcode), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 357 | 0xE5 => cpu.push_hl(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 358 | 0xE6 => cpu.AND_n(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 359 | 0xE7 => cpu.RST_20H(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 360 | 0xE8 => cpu.ADD_SP_n(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 361 | 0xE9 => cpu.JP_aHL(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 362 | 0xEA => cpu.ld_nn_a(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 363 | 0xEB => handle_invalid_opcode(opcode), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 364 | 0xEC => handle_invalid_opcode(opcode), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 365 | 0xED => handle_invalid_opcode(opcode), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 366 | 0xEE => cpu.XOR_n(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 367 | 0xEF => cpu.RST_28H(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 368 | [INFO] [stdout] 369 | 0xF0 => cpu.ldh_a_n(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 370 | 0xF1 => cpu.pop_af(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 371 | 0xF2 => cpu.ld_a__c_(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 372 | 0xF3 => cpu.di(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 373 | 0xF4 => handle_invalid_opcode(opcode), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 374 | 0xF5 => cpu.push_af(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 375 | 0xF6 => cpu.OR_n(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 376 | 0xF7 => cpu.RST_30H(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 377 | 0xF8 => cpu.ldhl_sp_n(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 378 | 0xF9 => cpu.ld_sp_hl(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 379 | 0xFA => cpu.ld_a_nn(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 380 | 0xFB => cpu.ei(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 381 | 0xFC => { [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 385 | 0xFD => handle_invalid_opcode(opcode), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 386 | 0xFE => cpu.CP_n(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 387 | 0xFF => cpu.RST_38H(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 388 | _ => handle_invalid_opcode(opcode), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom_name` [INFO] [stdout] --> src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let rom_name = cart.get_name(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rom_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/gb/mbc.rs:101:30 [INFO] [stdout] | [INFO] [stdout] 101 | fn write_byte(&mut self, addr: u16, val: u8) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/gb/mbc.rs:101:41 [INFO] [stdout] | [INFO] [stdout] 101 | fn write_byte(&mut self, addr: u16, val: u8) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gb/mod.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | _ => handle_invalid_opcode(opcode), [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] note: these patterns collectively make the last one unreachable [INFO] [stdout] --> src/gb/mod.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 112 | 0x00 => cpu.nop(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 113 | 0x01 => cpu.ld_bc_nn(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 114 | 0x02 => cpu.ld_bc_a(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 115 | 0x03 => cpu.INC_BC(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 116 | 0x04 => cpu.INC(B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 117 | 0x05 => cpu.DEC(B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 118 | 0x06 => cpu.LD_rn(B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 119 | 0x07 => cpu.RLCA(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 120 | 0x08 => cpu.ld_nn_sp(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 121 | 0x09 => cpu.ADD_HL_BC(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 122 | 0x0A => cpu.ld_a_bc(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 123 | 0x0B => cpu.DEC_BC(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 124 | 0x0C => cpu.INC(C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 125 | 0x0D => cpu.DEC(C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 126 | 0x0E => cpu.LD_rn(C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 127 | 0x0F => cpu.RRCA(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 128 | [INFO] [stdout] 129 | 0x10 => cpu.stop(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 130 | 0x11 => cpu.ld_de_nn(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 131 | 0x12 => cpu.ld_de_a(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 132 | 0x13 => cpu.INC_DE(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 133 | 0x14 => cpu.INC(D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 134 | 0x15 => cpu.DEC(D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 135 | 0x16 => cpu.LD_rn(D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 136 | 0x17 => cpu.RLA(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 137 | 0x18 => cpu.JR(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 138 | 0x19 => cpu.ADD_HL_DE(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 139 | 0x1A => cpu.ld_a_de(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 140 | 0x1B => cpu.DEC_DE(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 141 | 0x1C => cpu.INC(E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 142 | 0x1D => cpu.DEC(E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 143 | 0x1E => cpu.LD_rn(E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 144 | 0x1F => cpu.RRA(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 145 | [INFO] [stdout] 146 | 0x20 => cpu.JR_NZ(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 147 | 0x21 => cpu.ld_hl_nn(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 148 | 0x22 => cpu.ldi_hl_a(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 149 | 0x23 => cpu.INC_HL(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 150 | 0x24 => cpu.INC(H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 151 | 0x25 => cpu.DEC(H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 152 | 0x26 => cpu.LD_rn(H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 153 | 0x27 => cpu.daa(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 154 | 0x28 => cpu.JR_Z(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 155 | 0x29 => cpu.ADD_HL_HL(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 156 | 0x2A => cpu.ldi_a_hl(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 157 | 0x2B => cpu.DEC_HL(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 158 | 0x2C => cpu.INC(L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 159 | 0x2D => cpu.DEC(L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 160 | 0x2E => cpu.LD_rn(L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 161 | 0x2F => cpu.cpl(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 162 | [INFO] [stdout] 163 | 0x30 => cpu.JR_NC(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 164 | 0x31 => cpu.ld_sp_nn(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 165 | 0x32 => cpu.ldd_hl_a(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 166 | 0x33 => cpu.INC_SP(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 167 | 0x34 => cpu.INC_aHL(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 168 | 0x35 => cpu.DEC_aHL(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 169 | 0x36 => cpu.ld__hl__n(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 170 | 0x37 => cpu.scf(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 171 | 0x38 => cpu.JR_C(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 172 | 0x39 => cpu.ADD_HL_SP(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 173 | 0x3A => cpu.ldd_a_hl(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 174 | 0x3B => cpu.DEC_SP(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 175 | 0x3C => cpu.INC(A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 176 | 0x3D => cpu.DEC(A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 177 | 0x3E => cpu.LD_rn(A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 178 | 0x3F => cpu.ccf(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 179 | [INFO] [stdout] 180 | 0x40 => cpu.LD_rr(B, B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 181 | 0x41 => cpu.LD_rr(B, C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 182 | 0x42 => cpu.LD_rr(B, D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 183 | 0x43 => cpu.LD_rr(B, E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 184 | 0x44 => cpu.LD_rr(B, H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 185 | 0x45 => cpu.LD_rr(B, L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 186 | 0x46 => cpu.LD_r_HL(B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 187 | 0x47 => cpu.LD_rr(B, A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 188 | 0x48 => cpu.LD_rr(C, B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 189 | 0x49 => cpu.LD_rr(C, C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 190 | 0x4A => cpu.LD_rr(C, D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 191 | 0x4B => cpu.LD_rr(C, E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 192 | 0x4C => cpu.LD_rr(C, H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 193 | 0x4D => cpu.LD_rr(C, L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 194 | 0x4E => cpu.LD_r_HL(C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 195 | 0x4F => cpu.LD_rr(C, A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 196 | [INFO] [stdout] 197 | 0x50 => cpu.LD_rr(D, B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 198 | 0x51 => cpu.LD_rr(D, C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 199 | 0x52 => cpu.LD_rr(D, D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 200 | 0x53 => cpu.LD_rr(D, E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 201 | 0x54 => cpu.LD_rr(D, H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 202 | 0x55 => cpu.LD_rr(D, L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 203 | 0x56 => cpu.LD_r_HL(D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 204 | 0x57 => cpu.LD_rr(D, A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 205 | 0x58 => cpu.LD_rr(E, B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 206 | 0x59 => cpu.LD_rr(E, C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 207 | 0x5A => cpu.LD_rr(E, D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 208 | 0x5B => cpu.LD_rr(E, E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 209 | 0x5C => cpu.LD_rr(E, H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 210 | 0x5D => cpu.LD_rr(E, L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 211 | 0x5E => cpu.LD_r_HL(E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 212 | 0x5F => cpu.LD_rr(E, A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 213 | [INFO] [stdout] 214 | 0x60 => cpu.LD_rr(H, B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 215 | 0x61 => cpu.LD_rr(H, C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 216 | 0x62 => cpu.LD_rr(H, D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 217 | 0x63 => cpu.LD_rr(H, E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 218 | 0x64 => cpu.LD_rr(H, H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 219 | 0x65 => cpu.LD_rr(H, L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 220 | 0x66 => cpu.LD_r_HL(H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 221 | 0x67 => cpu.LD_rr(H, A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 222 | 0x68 => cpu.LD_rr(L, B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 223 | 0x69 => cpu.LD_rr(L, C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 224 | 0x6A => cpu.LD_rr(L, D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 225 | 0x6B => cpu.LD_rr(L, E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 226 | 0x6C => cpu.LD_rr(L, H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 227 | 0x6D => cpu.LD_rr(L, L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 228 | 0x6E => cpu.LD_r_HL(L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 229 | 0x6F => cpu.LD_rr(L, A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 230 | [INFO] [stdout] 231 | 0x70 => cpu.LD_HL_r(B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 232 | 0x71 => cpu.LD_HL_r(C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 233 | 0x72 => cpu.LD_HL_r(D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 234 | 0x73 => cpu.LD_HL_r(E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 235 | 0x74 => cpu.LD_HL_r(H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 236 | 0x75 => cpu.LD_HL_r(L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 237 | 0x76 => cpu.halt(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 238 | 0x77 => cpu.LD_HL_r(A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 239 | 0x78 => cpu.LD_rr(A, B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 240 | 0x79 => cpu.LD_rr(A, C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 241 | 0x7A => cpu.LD_rr(A, D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 242 | 0x7B => cpu.LD_rr(A, E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 243 | 0x7C => cpu.LD_rr(A, H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 244 | 0x7D => cpu.LD_rr(A, L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 245 | 0x7E => cpu.LD_r_HL(A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 246 | 0x7F => cpu.LD_rr(A, A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 247 | [INFO] [stdout] 248 | 0x80 => cpu.ADD(B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 249 | 0x81 => cpu.ADD(C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 250 | 0x82 => cpu.ADD(D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 251 | 0x83 => cpu.ADD(E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 252 | 0x84 => cpu.ADD(H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 253 | 0x85 => cpu.ADD(L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 254 | 0x86 => cpu.ADD_HL(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 255 | 0x87 => cpu.ADD(A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 256 | 0x88 => cpu.ADC(B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 257 | 0x89 => cpu.ADC(C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 258 | 0x8A => cpu.ADC(D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 259 | 0x8B => cpu.ADC(E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 260 | 0x8C => cpu.ADC(H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 261 | 0x8D => cpu.ADC(L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 262 | 0x8E => cpu.ADC_HL(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 263 | 0x8F => cpu.ADC(A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 264 | [INFO] [stdout] 265 | 0x90 => cpu.SUB(B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 266 | 0x91 => cpu.SUB(C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 267 | 0x92 => cpu.SUB(D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 268 | 0x93 => cpu.SUB(E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 269 | 0x94 => cpu.SUB(H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 270 | 0x95 => cpu.SUB(L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 271 | 0x96 => cpu.SUB_HL(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 272 | 0x97 => cpu.SUB(A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 273 | 0x98 => cpu.SBC(B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 274 | 0x99 => cpu.SBC(C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 275 | 0x9A => cpu.SBC(D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 276 | 0x9B => cpu.SBC(E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 277 | 0x9C => cpu.SBC(H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 278 | 0x9D => cpu.SBC(L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 279 | 0x9E => cpu.SBC_HL(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 280 | 0x9F => cpu.SBC(A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 281 | [INFO] [stdout] 282 | 0xA0 => cpu.AND(B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 283 | 0xA1 => cpu.AND(C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 284 | 0xA2 => cpu.AND(D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 285 | 0xA3 => cpu.AND(E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 286 | 0xA4 => cpu.AND(H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 287 | 0xA5 => cpu.AND(L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 288 | 0xA6 => cpu.AND_HL(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 289 | 0xA7 => cpu.AND(A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 290 | 0xA8 => cpu.XOR(B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 291 | 0xA9 => cpu.XOR(C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 292 | 0xAA => cpu.XOR(D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 293 | 0xAB => cpu.XOR(E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 294 | 0xAC => cpu.XOR(H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 295 | 0xAD => cpu.XOR(L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 296 | 0xAE => cpu.XOR_HL(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 297 | 0xAF => cpu.XOR(A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 298 | [INFO] [stdout] 299 | 0xB0 => cpu.OR(B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 300 | 0xB1 => cpu.OR(C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 301 | 0xB2 => cpu.OR(D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 302 | 0xB3 => cpu.OR(E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 303 | 0xB4 => cpu.OR(H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 304 | 0xB5 => cpu.OR(L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 305 | 0xB6 => cpu.OR_HL(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 306 | 0xB7 => cpu.OR(A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 307 | 0xB8 => cpu.CP(B), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 308 | 0xB9 => cpu.CP(C), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 309 | 0xBA => cpu.CP(D), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 310 | 0xBB => cpu.CP(E), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 311 | 0xBC => cpu.CP(H), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 312 | 0xBD => cpu.CP(L), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 313 | 0xBE => cpu.CP_HL(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 314 | 0xBF => cpu.CP(A), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 315 | [INFO] [stdout] 316 | 0xC0 => cpu.RET_NZ(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 317 | 0xC1 => cpu.pop_bc(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 318 | 0xC2 => cpu.JP_NZ(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 319 | 0xC3 => cpu.JP(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 320 | 0xC4 => cpu.CALL_NZ(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 321 | 0xC5 => cpu.push_bc(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 322 | 0xC6 => cpu.ADD_n(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 323 | 0xC7 => cpu.RST_00H(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 324 | 0xC8 => cpu.RET_Z(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 325 | 0xC9 => cpu.RET(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 326 | 0xCA => cpu.JP_Z(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 327 | 0xCB => { [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 330 | 0xCC => cpu.CALL_Z(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 331 | 0xCD => cpu.CALL(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 332 | 0xCE => cpu.ADC_n(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 333 | 0xCF => cpu.RST_08H(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 334 | [INFO] [stdout] 335 | 0xD0 => cpu.RET_NC(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 336 | 0xD1 => cpu.pop_de(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 337 | 0xD2 => cpu.JP_NC(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 338 | 0xD3 => handle_invalid_opcode(opcode), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 339 | 0xD4 => cpu.CALL_NC(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 340 | 0xD5 => cpu.push_de(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 341 | 0xD6 => cpu.SUB_n(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 342 | 0xD7 => cpu.RST_10H(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 343 | 0xD8 => cpu.RET_C(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 344 | 0xD9 => cpu.RETI(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 345 | 0xDA => cpu.JP_C(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 346 | 0xDB => handle_invalid_opcode(opcode), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 347 | 0xDC => cpu.CALL_C(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 348 | 0xDD => handle_invalid_opcode(opcode), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 349 | 0xDE => cpu.SBC_n(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 350 | 0xDF => cpu.RST_18H(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 351 | [INFO] [stdout] 352 | 0xE0 => cpu.ldh_n_a(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 353 | 0xE1 => cpu.pop_hl(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 354 | 0xE2 => cpu.ld__c__a(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 355 | 0xE3 => handle_invalid_opcode(opcode), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 356 | 0xE4 => handle_invalid_opcode(opcode), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 357 | 0xE5 => cpu.push_hl(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 358 | 0xE6 => cpu.AND_n(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 359 | 0xE7 => cpu.RST_20H(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 360 | 0xE8 => cpu.ADD_SP_n(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 361 | 0xE9 => cpu.JP_aHL(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 362 | 0xEA => cpu.ld_nn_a(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 363 | 0xEB => handle_invalid_opcode(opcode), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 364 | 0xEC => handle_invalid_opcode(opcode), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 365 | 0xED => handle_invalid_opcode(opcode), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 366 | 0xEE => cpu.XOR_n(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 367 | 0xEF => cpu.RST_28H(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 368 | [INFO] [stdout] 369 | 0xF0 => cpu.ldh_a_n(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 370 | 0xF1 => cpu.pop_af(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 371 | 0xF2 => cpu.ld_a__c_(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 372 | 0xF3 => cpu.di(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 373 | 0xF4 => handle_invalid_opcode(opcode), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 374 | 0xF5 => cpu.push_af(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 375 | 0xF6 => cpu.OR_n(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 376 | 0xF7 => cpu.RST_30H(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 377 | 0xF8 => cpu.ldhl_sp_n(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 378 | 0xF9 => cpu.ld_sp_hl(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 379 | 0xFA => cpu.ld_a_nn(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 380 | 0xFB => cpu.ei(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 381 | 0xFC => { [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 385 | 0xFD => handle_invalid_opcode(opcode), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 386 | 0xFE => cpu.CP_n(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 387 | 0xFF => cpu.RST_38H(), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 388 | _ => handle_invalid_opcode(opcode), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom_name` [INFO] [stdout] --> src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let rom_name = cart.get_name(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rom_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.56s [INFO] running `Command { std: "docker" "inspect" "dcc7efc02d308fe9f4d78a246bf37ecad63253c27e3ea2282d97c03864d80f80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcc7efc02d308fe9f4d78a246bf37ecad63253c27e3ea2282d97c03864d80f80", kill_on_drop: false }` [INFO] [stdout] dcc7efc02d308fe9f4d78a246bf37ecad63253c27e3ea2282d97c03864d80f80