[INFO] cloning repository https://github.com/stepnivlk/ohboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stepnivlk/ohboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstepnivlk%2Fohboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstepnivlk%2Fohboy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 48cbc42e4b7794ae59670d9f808995ad8ad253bf [INFO] testing stepnivlk/ohboy against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstepnivlk%2Fohboy" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/stepnivlk/ohboy [INFO] finished tweaking git repo https://github.com/stepnivlk/ohboy [INFO] tweaked toml for git repo https://github.com/stepnivlk/ohboy written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/stepnivlk/ohboy on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/stepnivlk/ohboy 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded which v3.1.1 [INFO] [stderr] Downloaded wayland-scanner v0.27.0 [INFO] [stderr] Downloaded xkbcommon-sys v0.7.5 [INFO] [stderr] Downloaded wayland-sys v0.27.0 [INFO] [stderr] Downloaded wayland-commons v0.27.0 [INFO] [stderr] Downloaded xkb v0.2.1 [INFO] [stderr] Downloaded version-compare v0.0.10 [INFO] [stderr] Downloaded wayland-cursor v0.27.0 [INFO] [stderr] Downloaded unidiff v0.3.3 [INFO] [stderr] Downloaded minifb v0.19.2 [INFO] [stderr] Downloaded wayland-client v0.27.0 [INFO] [stderr] Downloaded wayland-protocols v0.27.0 [INFO] [stderr] Downloaded sdl2 v0.34.3 [INFO] [stderr] Downloaded sdl2-sys v0.34.3 [INFO] [stderr] Downloaded orbclient v0.3.30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8e363ac9d2361dfd333578180cb7faf7ef4b2264dcba2fa5c33309020ecc6d1 [INFO] running `Command { std: "docker" "start" "-a" "a8e363ac9d2361dfd333578180cb7faf7ef4b2264dcba2fa5c33309020ecc6d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8e363ac9d2361dfd333578180cb7faf7ef4b2264dcba2fa5c33309020ecc6d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8e363ac9d2361dfd333578180cb7faf7ef4b2264dcba2fa5c33309020ecc6d1", kill_on_drop: false }` [INFO] [stdout] a8e363ac9d2361dfd333578180cb7faf7ef4b2264dcba2fa5c33309020ecc6d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d1c092f4d32593884c7edfd99a6b0e1ea0af19e466581fb6e4711f214b09d70 [INFO] running `Command { std: "docker" "start" "-a" "3d1c092f4d32593884c7edfd99a6b0e1ea0af19e466581fb6e4711f214b09d70", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling once_cell v1.6.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling clang-sys v1.1.1 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling wayland-sys v0.27.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling wayland-scanner v0.27.0 [INFO] [stderr] Compiling minifb v0.19.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling wayland-client v0.27.0 [INFO] [stderr] Compiling wayland-protocols v0.27.0 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling wayland-commons v0.27.0 [INFO] [stderr] Compiling wayland-cursor v0.27.0 [INFO] [stderr] Compiling xkbcommon-sys v0.7.5 [INFO] [stderr] Compiling xkb v0.2.1 [INFO] [stderr] Compiling rboy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gpu.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | _ => panic!("unimplemented GPU mode"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/gpu.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 43 | Mode::ScanlineOam => { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 50 | Mode::ScanlineVram => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 59 | Mode::Hblank => { [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 74 | Mode::Vblank => { [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 86 | _ => panic!("unimplemented GPU mode"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Board` is never constructed [INFO] [stdout] --> src/main.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Board { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `oam` and `screen` are never read [INFO] [stdout] --> src/gpu.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Gpu { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 17 | pub v_ram: [u8; V_RAM_SIZE], [INFO] [stdout] 18 | oam: [i8; OAM_SIZE], [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | screen: [u8; SCREEN_SIZE], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RotRight` is never constructed [INFO] [stdout] --> src/instr.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Operand { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | RotRight, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operand` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CarryToB7` and `B0ToCarryAndB7` are never constructed [INFO] [stdout] --> src/instr.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum PostOp { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 33 | CarryToB7, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | B0ToCarryAndB7, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostOp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `trace` is never used [INFO] [stdout] --> src/instr.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl Instr { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn trace(&mut self, data: (u16, u16)) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `res` is never used [INFO] [stdout] --> src/microcode/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait Exec { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 42 | fn res(&self, ticks: u8, length: u16, instr: Instr) -> ExecRes { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `length` and `trace` are never read [INFO] [stdout] --> src/microcode/mod.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct ExecRes { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 57 | pub ticks: u8, [INFO] [stdout] 58 | pub length: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 59 | pub instr: Instr, [INFO] [stdout] 60 | pub trace: Option<(u16, u16)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `W_RAM_SHAD_START` is never used [INFO] [stdout] --> src/mmu.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const W_RAM_SHAD_START: usize = 0xE000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `W_RAM_SHAD_END` is never used [INFO] [stdout] --> src/mmu.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const W_RAM_SHAD_END: usize = 0xFDFF; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `W_RAM_SHAD_SIZE` is never used [INFO] [stdout] --> src/mmu.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | const W_RAM_SHAD_SIZE: usize = W_RAM_SHAD_END - W_RAM_SHAD_START + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IO_REGS_SIZE` is never used [INFO] [stdout] --> src/mmu.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const IO_REGS_SIZE: usize = IO_REGS_END - IO_REGS_START + 1; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `in_bios` and `rom_bank_n` are never read [INFO] [stdout] --> src/mmu.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mmu { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 46 | in_bios: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | rom_bank_n: [u8; ROM_BANK_N_SIZE], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/registers.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl Registers { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn add(&self, reg: Reg8Kind, val: u8) -> (u8, bool) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.80s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, nom v6.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "3d1c092f4d32593884c7edfd99a6b0e1ea0af19e466581fb6e4711f214b09d70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d1c092f4d32593884c7edfd99a6b0e1ea0af19e466581fb6e4711f214b09d70", kill_on_drop: false }` [INFO] [stdout] 3d1c092f4d32593884c7edfd99a6b0e1ea0af19e466581fb6e4711f214b09d70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d737a892905ca0fa4e13581f45e7bcc06c95ff08a3da281534324a6c3abee43 [INFO] running `Command { std: "docker" "start" "-a" "6d737a892905ca0fa4e13581f45e7bcc06c95ff08a3da281534324a6c3abee43", kill_on_drop: false }` [INFO] [stderr] Compiling rboy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::Registers` [INFO] [stdout] --> src/microcode/adds.rs:121:22 [INFO] [stdout] | [INFO] [stdout] 121 | use crate::{Cpu, Registers}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Registers` in the root [INFO] [stdout] | help: a similar name exists in the module: `registers` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::registers::Registers [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Registers` [INFO] [stdout] --> src/microcode/and.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | use crate::{Cpu, Registers}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Registers` in the root [INFO] [stdout] | help: a similar name exists in the module: `registers` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::registers::Registers [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Registers` [INFO] [stdout] --> src/microcode/or.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | use crate::{Cpu, Registers}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Registers` in the root [INFO] [stdout] | help: a similar name exists in the module: `registers` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::registers::Registers [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::memory_bus`, `crate::Registers` [INFO] [stdout] --> src/microcode/subs.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | use crate::{memory_bus, Cpu, Registers}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | no `Registers` in the root [INFO] [stdout] | | help: a similar name exists in the module: `registers` [INFO] [stdout] | no `memory_bus` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::registers::Registers [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Registers` [INFO] [stdout] --> src/microcode/xor.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | use crate::{Cpu, Registers}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Registers` in the root [INFO] [stdout] | help: a similar name exists in the module: `registers` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::registers::Registers [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reg8Kind` [INFO] [stdout] --> src/microcode/adds.rs:136:23 [INFO] [stdout] | [INFO] [stdout] 136 | add(&mut cpu, Reg8Kind::B); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Reg8Kind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 120 + use crate::registers::Reg8Kind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reg8Kind` [INFO] [stdout] --> src/microcode/adds.rs:149:23 [INFO] [stdout] | [INFO] [stdout] 149 | add(&mut cpu, Reg8Kind::C); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Reg8Kind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 120 + use crate::registers::Reg8Kind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reg8Kind` [INFO] [stdout] --> src/microcode/adds.rs:166:23 [INFO] [stdout] | [INFO] [stdout] 166 | add(&mut cpu, Reg8Kind::A); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Reg8Kind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 120 + use crate::registers::Reg8Kind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reg8Kind` [INFO] [stdout] --> src/microcode/adds.rs:179:23 [INFO] [stdout] | [INFO] [stdout] 179 | add(&mut cpu, Reg8Kind::D); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Reg8Kind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 120 + use crate::registers::Reg8Kind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reg8Kind` [INFO] [stdout] --> src/microcode/adds.rs:195:23 [INFO] [stdout] | [INFO] [stdout] 195 | add(&mut cpu, Reg8Kind::E); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Reg8Kind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 120 + use crate::registers::Reg8Kind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reg8Kind` [INFO] [stdout] --> src/microcode/adds.rs:212:23 [INFO] [stdout] | [INFO] [stdout] 212 | adc(&mut cpu, Reg8Kind::B); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Reg8Kind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 120 + use crate::registers::Reg8Kind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reg8Kind` [INFO] [stdout] --> src/microcode/adds.rs:225:23 [INFO] [stdout] | [INFO] [stdout] 225 | adc(&mut cpu, Reg8Kind::B); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Reg8Kind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 120 + use crate::registers::Reg8Kind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reg8Kind` [INFO] [stdout] --> src/microcode/adds.rs:243:23 [INFO] [stdout] | [INFO] [stdout] 243 | adc(&mut cpu, Reg8Kind::E); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Reg8Kind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 120 + use crate::registers::Reg8Kind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reg8Kind` [INFO] [stdout] --> src/microcode/adds.rs:258:23 [INFO] [stdout] | [INFO] [stdout] 258 | adc(&mut cpu, Reg8Kind::D); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Reg8Kind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 120 + use crate::registers::Reg8Kind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reg8Kind` [INFO] [stdout] --> src/microcode/adds.rs:277:23 [INFO] [stdout] | [INFO] [stdout] 277 | adc(&mut cpu, Reg8Kind::D); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Reg8Kind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 120 + use crate::registers::Reg8Kind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reg16Kind` [INFO] [stdout] --> src/microcode/adds.rs:294:26 [INFO] [stdout] | [INFO] [stdout] 294 | add_hl(&mut cpu, Reg16Kind::BC); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Reg16Kind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 120 + use crate::registers::Reg16Kind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reg16Kind` [INFO] [stdout] --> src/microcode/adds.rs:307:26 [INFO] [stdout] | [INFO] [stdout] 307 | add_hl(&mut cpu, Reg16Kind::DE); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Reg16Kind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 120 + use crate::registers::Reg16Kind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reg16Kind` [INFO] [stdout] --> src/microcode/adds.rs:325:26 [INFO] [stdout] | [INFO] [stdout] 325 | add_hl(&mut cpu, Reg16Kind::BC); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Reg16Kind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 120 + use crate::registers::Reg16Kind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reg16Kind` [INFO] [stdout] --> src/microcode/adds.rs:340:26 [INFO] [stdout] | [INFO] [stdout] 340 | add_hl(&mut cpu, Reg16Kind::BC); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Reg16Kind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 120 + use crate::registers::Reg16Kind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reg8Kind` [INFO] [stdout] --> src/microcode/and.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | and(&mut cpu, Reg8Kind::B); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Reg8Kind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 44 + use crate::registers::Reg8Kind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reg8Kind` [INFO] [stdout] --> src/microcode/and.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | and(&mut cpu, Reg8Kind::D); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Reg8Kind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 44 + use crate::registers::Reg8Kind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reg8Kind` [INFO] [stdout] --> src/microcode/and.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | and(&mut cpu, Reg8Kind::C); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Reg8Kind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 44 + use crate::registers::Reg8Kind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reg8Kind` [INFO] [stdout] --> src/microcode/and.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 107 | and(&mut cpu, Reg8Kind::E); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Reg8Kind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 44 + use crate::registers::Reg8Kind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reg8Kind` [INFO] [stdout] --> src/microcode/or.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | or(&mut cpu, Reg8Kind::B); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Reg8Kind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 45 + use crate::registers::Reg8Kind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reg8Kind` [INFO] [stdout] --> src/microcode/or.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | or(&mut cpu, Reg8Kind::D); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Reg8Kind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 45 + use crate::registers::Reg8Kind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reg8Kind` [INFO] [stdout] --> src/microcode/or.rs:91:22 [INFO] [stdout] | [INFO] [stdout] 91 | or(&mut cpu, Reg8Kind::C); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Reg8Kind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 45 + use crate::registers::Reg8Kind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reg8Kind` [INFO] [stdout] --> src/microcode/or.rs:108:22 [INFO] [stdout] | [INFO] [stdout] 108 | or(&mut cpu, Reg8Kind::E); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Reg8Kind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 45 + use crate::registers::Reg8Kind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reg8Kind` [INFO] [stdout] --> src/microcode/xor.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | xor(&mut cpu, Reg8Kind::B); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Reg8Kind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 39 + use crate::registers::Reg8Kind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reg8Kind` [INFO] [stdout] --> src/microcode/xor.rs:69:23 [INFO] [stdout] | [INFO] [stdout] 69 | xor(&mut cpu, Reg8Kind::D); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Reg8Kind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 39 + use crate::registers::Reg8Kind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reg8Kind` [INFO] [stdout] --> src/microcode/xor.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | xor(&mut cpu, Reg8Kind::C); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Reg8Kind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 39 + use crate::registers::Reg8Kind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reg8Kind` [INFO] [stdout] --> src/microcode/xor.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | xor(&mut cpu, Reg8Kind::E); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Reg8Kind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 39 + use crate::registers::Reg8Kind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/microcode/adds.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/microcode/and.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/microcode/or.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/microcode/subs.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/microcode/xor.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add` in this scope [INFO] [stdout] --> src/microcode/adds.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Add<'a>(pub &'a mut Cpu); [INFO] [stdout] | ------------------------------------ similarly named tuple struct `Add` defined here [INFO] [stdout] ... [INFO] [stdout] 136 | add(&mut cpu, Reg8Kind::B); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists: `Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add` in this scope [INFO] [stdout] --> src/microcode/adds.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Add<'a>(pub &'a mut Cpu); [INFO] [stdout] | ------------------------------------ similarly named tuple struct `Add` defined here [INFO] [stdout] ... [INFO] [stdout] 149 | add(&mut cpu, Reg8Kind::C); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists: `Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add` in this scope [INFO] [stdout] --> src/microcode/adds.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Add<'a>(pub &'a mut Cpu); [INFO] [stdout] | ------------------------------------ similarly named tuple struct `Add` defined here [INFO] [stdout] ... [INFO] [stdout] 166 | add(&mut cpu, Reg8Kind::A); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists: `Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add` in this scope [INFO] [stdout] --> src/microcode/adds.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Add<'a>(pub &'a mut Cpu); [INFO] [stdout] | ------------------------------------ similarly named tuple struct `Add` defined here [INFO] [stdout] ... [INFO] [stdout] 179 | add(&mut cpu, Reg8Kind::D); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists: `Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add` in this scope [INFO] [stdout] --> src/microcode/adds.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Add<'a>(pub &'a mut Cpu); [INFO] [stdout] | ------------------------------------ similarly named tuple struct `Add` defined here [INFO] [stdout] ... [INFO] [stdout] 195 | add(&mut cpu, Reg8Kind::E); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists: `Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `adc` in this scope [INFO] [stdout] --> src/microcode/adds.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Adc<'a>(pub &'a mut Cpu); [INFO] [stdout] | ------------------------------------ similarly named tuple struct `Adc` defined here [INFO] [stdout] ... [INFO] [stdout] 212 | adc(&mut cpu, Reg8Kind::B); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists: `Adc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `adc` in this scope [INFO] [stdout] --> src/microcode/adds.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Adc<'a>(pub &'a mut Cpu); [INFO] [stdout] | ------------------------------------ similarly named tuple struct `Adc` defined here [INFO] [stdout] ... [INFO] [stdout] 225 | adc(&mut cpu, Reg8Kind::B); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists: `Adc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `adc` in this scope [INFO] [stdout] --> src/microcode/adds.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Adc<'a>(pub &'a mut Cpu); [INFO] [stdout] | ------------------------------------ similarly named tuple struct `Adc` defined here [INFO] [stdout] ... [INFO] [stdout] 243 | adc(&mut cpu, Reg8Kind::E); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists: `Adc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `adc` in this scope [INFO] [stdout] --> src/microcode/adds.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Adc<'a>(pub &'a mut Cpu); [INFO] [stdout] | ------------------------------------ similarly named tuple struct `Adc` defined here [INFO] [stdout] ... [INFO] [stdout] 258 | adc(&mut cpu, Reg8Kind::D); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists: `Adc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `adc` in this scope [INFO] [stdout] --> src/microcode/adds.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Adc<'a>(pub &'a mut Cpu); [INFO] [stdout] | ------------------------------------ similarly named tuple struct `Adc` defined here [INFO] [stdout] ... [INFO] [stdout] 277 | adc(&mut cpu, Reg8Kind::D); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists: `Adc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add_hl` in this scope [INFO] [stdout] --> src/microcode/adds.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | add_hl(&mut cpu, Reg16Kind::BC); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add_hl` in this scope [INFO] [stdout] --> src/microcode/adds.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | add_hl(&mut cpu, Reg16Kind::DE); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add_hl` in this scope [INFO] [stdout] --> src/microcode/adds.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | add_hl(&mut cpu, Reg16Kind::BC); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add_hl` in this scope [INFO] [stdout] --> src/microcode/adds.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | add_hl(&mut cpu, Reg16Kind::BC); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `and` in this scope [INFO] [stdout] --> src/microcode/and.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct And<'a>(pub &'a mut Cpu); [INFO] [stdout] | ------------------------------------ similarly named tuple struct `And` defined here [INFO] [stdout] ... [INFO] [stdout] 59 | and(&mut cpu, Reg8Kind::B); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists: `And` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `and` in this scope [INFO] [stdout] --> src/microcode/and.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct And<'a>(pub &'a mut Cpu); [INFO] [stdout] | ------------------------------------ similarly named tuple struct `And` defined here [INFO] [stdout] ... [INFO] [stdout] 74 | and(&mut cpu, Reg8Kind::D); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists: `And` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `and` in this scope [INFO] [stdout] --> src/microcode/and.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct And<'a>(pub &'a mut Cpu); [INFO] [stdout] | ------------------------------------ similarly named tuple struct `And` defined here [INFO] [stdout] ... [INFO] [stdout] 90 | and(&mut cpu, Reg8Kind::C); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists: `And` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `and` in this scope [INFO] [stdout] --> src/microcode/and.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct And<'a>(pub &'a mut Cpu); [INFO] [stdout] | ------------------------------------ similarly named tuple struct `And` defined here [INFO] [stdout] ... [INFO] [stdout] 107 | and(&mut cpu, Reg8Kind::E); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists: `And` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `or` in this scope [INFO] [stdout] --> src/microcode/or.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Or<'a>(pub &'a mut Cpu); [INFO] [stdout] | ----------------------------------- similarly named tuple struct `Or` defined here [INFO] [stdout] ... [INFO] [stdout] 60 | or(&mut cpu, Reg8Kind::B); [INFO] [stdout] | ^^ help: a tuple struct with a similar name exists (notice the capitalization): `Or` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `or` in this scope [INFO] [stdout] --> src/microcode/or.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Or<'a>(pub &'a mut Cpu); [INFO] [stdout] | ----------------------------------- similarly named tuple struct `Or` defined here [INFO] [stdout] ... [INFO] [stdout] 75 | or(&mut cpu, Reg8Kind::D); [INFO] [stdout] | ^^ help: a tuple struct with a similar name exists (notice the capitalization): `Or` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `or` in this scope [INFO] [stdout] --> src/microcode/or.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Or<'a>(pub &'a mut Cpu); [INFO] [stdout] | ----------------------------------- similarly named tuple struct `Or` defined here [INFO] [stdout] ... [INFO] [stdout] 91 | or(&mut cpu, Reg8Kind::C); [INFO] [stdout] | ^^ help: a tuple struct with a similar name exists (notice the capitalization): `Or` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `or` in this scope [INFO] [stdout] --> src/microcode/or.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Or<'a>(pub &'a mut Cpu); [INFO] [stdout] | ----------------------------------- similarly named tuple struct `Or` defined here [INFO] [stdout] ... [INFO] [stdout] 108 | or(&mut cpu, Reg8Kind::E); [INFO] [stdout] | ^^ help: a tuple struct with a similar name exists (notice the capitalization): `Or` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sub` in this scope [INFO] [stdout] --> src/microcode/subs.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Sub<'a>(pub &'a mut Cpu); [INFO] [stdout] | ------------------------------------ similarly named tuple struct `Sub` defined here [INFO] [stdout] ... [INFO] [stdout] 137 | sub(&mut cpu, 0x00); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists (notice the capitalization): `Sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sub` in this scope [INFO] [stdout] --> src/microcode/subs.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Sub<'a>(pub &'a mut Cpu); [INFO] [stdout] | ------------------------------------ similarly named tuple struct `Sub` defined here [INFO] [stdout] ... [INFO] [stdout] 149 | sub(&mut cpu, 0x02); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists (notice the capitalization): `Sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sub` in this scope [INFO] [stdout] --> src/microcode/subs.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Sub<'a>(pub &'a mut Cpu); [INFO] [stdout] | ------------------------------------ similarly named tuple struct `Sub` defined here [INFO] [stdout] ... [INFO] [stdout] 166 | sub(&mut cpu, 0x20); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists (notice the capitalization): `Sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sub` in this scope [INFO] [stdout] --> src/microcode/subs.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Sub<'a>(pub &'a mut Cpu); [INFO] [stdout] | ------------------------------------ similarly named tuple struct `Sub` defined here [INFO] [stdout] ... [INFO] [stdout] 181 | sub(&mut cpu, 0b0000_1111); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists (notice the capitalization): `Sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sbc` in this scope [INFO] [stdout] --> src/microcode/subs.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Sbc<'a>(pub &'a mut Cpu); [INFO] [stdout] | ------------------------------------ similarly named tuple struct `Sbc` defined here [INFO] [stdout] ... [INFO] [stdout] 199 | sbc(&mut cpu, 0x00); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists (notice the capitalization): `Sbc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sbc` in this scope [INFO] [stdout] --> src/microcode/subs.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Sbc<'a>(pub &'a mut Cpu); [INFO] [stdout] | ------------------------------------ similarly named tuple struct `Sbc` defined here [INFO] [stdout] ... [INFO] [stdout] 211 | sbc(&mut cpu, 0x01); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists (notice the capitalization): `Sbc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sbc` in this scope [INFO] [stdout] --> src/microcode/subs.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Sbc<'a>(pub &'a mut Cpu); [INFO] [stdout] | ------------------------------------ similarly named tuple struct `Sbc` defined here [INFO] [stdout] ... [INFO] [stdout] 228 | sbc(&mut cpu, 0b0000_1001); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists (notice the capitalization): `Sbc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sbc` in this scope [INFO] [stdout] --> src/microcode/subs.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Sbc<'a>(pub &'a mut Cpu); [INFO] [stdout] | ------------------------------------ similarly named tuple struct `Sbc` defined here [INFO] [stdout] ... [INFO] [stdout] 243 | sbc(&mut cpu, 0b1111_1111); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists (notice the capitalization): `Sbc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sbc` in this scope [INFO] [stdout] --> src/microcode/subs.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Sbc<'a>(pub &'a mut Cpu); [INFO] [stdout] | ------------------------------------ similarly named tuple struct `Sbc` defined here [INFO] [stdout] ... [INFO] [stdout] 259 | sbc(&mut cpu, 0b1); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists (notice the capitalization): `Sbc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sbc` in this scope [INFO] [stdout] --> src/microcode/subs.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Sbc<'a>(pub &'a mut Cpu); [INFO] [stdout] | ------------------------------------ similarly named tuple struct `Sbc` defined here [INFO] [stdout] ... [INFO] [stdout] 276 | sbc(&mut cpu, 0b0001_0001); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists (notice the capitalization): `Sbc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `xor` in this scope [INFO] [stdout] --> src/microcode/xor.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Xor<'a>(pub &'a mut Cpu); [INFO] [stdout] | ------------------------------------ similarly named tuple struct `Xor` defined here [INFO] [stdout] ... [INFO] [stdout] 54 | xor(&mut cpu, Reg8Kind::B); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists (notice the capitalization): `Xor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `xor` in this scope [INFO] [stdout] --> src/microcode/xor.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Xor<'a>(pub &'a mut Cpu); [INFO] [stdout] | ------------------------------------ similarly named tuple struct `Xor` defined here [INFO] [stdout] ... [INFO] [stdout] 69 | xor(&mut cpu, Reg8Kind::D); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists (notice the capitalization): `Xor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `xor` in this scope [INFO] [stdout] --> src/microcode/xor.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Xor<'a>(pub &'a mut Cpu); [INFO] [stdout] | ------------------------------------ similarly named tuple struct `Xor` defined here [INFO] [stdout] ... [INFO] [stdout] 85 | xor(&mut cpu, Reg8Kind::C); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists (notice the capitalization): `Xor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `xor` in this scope [INFO] [stdout] --> src/microcode/xor.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Xor<'a>(pub &'a mut Cpu); [INFO] [stdout] | ------------------------------------ similarly named tuple struct `Xor` defined here [INFO] [stdout] ... [INFO] [stdout] 101 | xor(&mut cpu, Reg8Kind::E); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists (notice the capitalization): `Xor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gpu.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | _ => panic!("unimplemented GPU mode"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/gpu.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 43 | Mode::ScanlineOam => { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 50 | Mode::ScanlineVram => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 59 | Mode::Hblank => { [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 74 | Mode::Vblank => { [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 86 | _ => panic!("unimplemented GPU mode"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rboy` (bin "rboy" test) due to 67 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6d737a892905ca0fa4e13581f45e7bcc06c95ff08a3da281534324a6c3abee43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d737a892905ca0fa4e13581f45e7bcc06c95ff08a3da281534324a6c3abee43", kill_on_drop: false }` [INFO] [stdout] 6d737a892905ca0fa4e13581f45e7bcc06c95ff08a3da281534324a6c3abee43