[INFO] cloning repository https://github.com/RaoulLuque/RustBoy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RaoulLuque/RustBoy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaoulLuque%2FRustBoy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaoulLuque%2FRustBoy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 71bd3e5d76e481ecb31c9b4e3d51346f25b41e9f [INFO] checking RaoulLuque/RustBoy against try#802c9b5f98c16ec9d24cdfd517f740f1f3df0e29 for pr-137728 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaoulLuque%2FRustBoy" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RaoulLuque/RustBoy on toolchain 802c9b5f98c16ec9d24cdfd517f740f1f3df0e29 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+802c9b5f98c16ec9d24cdfd517f740f1f3df0e29" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RaoulLuque/RustBoy [INFO] finished tweaking git repo https://github.com/RaoulLuque/RustBoy [INFO] tweaked toml for git repo https://github.com/RaoulLuque/RustBoy written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/RaoulLuque/RustBoy 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" "+802c9b5f98c16ec9d24cdfd517f740f1f3df0e29" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+802c9b5f98c16ec9d24cdfd517f740f1f3df0e29" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0552a1447064408479a812551a6d8a7f92b63a3a4e9b612df0a9dfa5c02bfdfb [INFO] running `Command { std: "docker" "start" "-a" "0552a1447064408479a812551a6d8a7f92b63a3a4e9b612df0a9dfa5c02bfdfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0552a1447064408479a812551a6d8a7f92b63a3a4e9b612df0a9dfa5c02bfdfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0552a1447064408479a812551a6d8a7f92b63a3a4e9b612df0a9dfa5c02bfdfb", kill_on_drop: false }` [INFO] [stdout] 0552a1447064408479a812551a6d8a7f92b63a3a4e9b612df0a9dfa5c02bfdfb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+802c9b5f98c16ec9d24cdfd517f740f1f3df0e29" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c89abfb7acaec25096cf8f150512b8b44b92303dd2231906c3f0d6b8db7b6d06 [INFO] running `Command { std: "docker" "start" "-a" "c89abfb7acaec25096cf8f150512b8b44b92303dd2231906c3f0d6b8db7b6d06", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Compiling cc v1.2.14 [INFO] [stderr] Compiling quick-xml v0.37.2 [INFO] [stderr] Compiling wayland-client v0.31.8 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking foldhash v0.1.4 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling naga v24.0.0 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Compiling wgpu-hal v24.0.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling wayland-sys v0.31.6 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling wayland-scanner v0.31.6 [INFO] [stderr] Compiling wgpu-core v24.0.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking glow v0.16.0 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling wgpu v24.0.1 [INFO] [stderr] Compiling wayland-backend v0.3.8 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Checking ab_glyph v0.2.29 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking bytemuck v1.21.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking wgpu-types v24.0.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking gpu-descriptor v0.3.1 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking env_logger v0.11.6 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking wayland-cursor v0.31.8 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking sctk-adwaita v0.8.3 [INFO] [stderr] Checking rustboy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Register` [INFO] [stdout] --> src/cpu/instructions/add_and_adc.rs:1:59 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cpu::instructions::{ArithmeticOrLogicalSource, Register}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(unused_imports)] // Warn about unused imports [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::trace` [INFO] [stdout] --> src/cpu.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use log::trace; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Register` [INFO] [stdout] --> src/cpu/instructions/add_and_adc.rs:1:59 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cpu::instructions::{ArithmeticOrLogicalSource, Register}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(unused_imports)] // Warn about unused imports [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::trace` [INFO] [stdout] --> src/cpu.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use log::trace; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/cpu/memory_bus.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | ROM_BANK_1_BEGIN..ROM_BANK_1_END => self.memory[address as usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `32767_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `16384_u16..=32767_u16` [INFO] [stdout] 50 | VRAM_BEGIN..VRAM_END => self.memory[address as usize], [INFO] [stdout] | -------------------- this could appear to continue range `16384_u16..32767_u16`, but `32767_u16` isn't matched by either of them [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_contiguous_range_endpoints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/cpu/memory_bus.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | ROM_BANK_1_BEGIN..ROM_BANK_1_END => self.memory[address as usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `32767_u16` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `16384_u16..=32767_u16` [INFO] [stdout] 50 | VRAM_BEGIN..VRAM_END => self.memory[address as usize], [INFO] [stdout] | -------------------- this could appear to continue range `16384_u16..32767_u16`, but `32767_u16` isn't matched by either of them [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_contiguous_range_endpoints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/lib.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 123 | fn input(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![warn(unused_variables)] // Warn about unused variables [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/lib.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 123 | fn input(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![warn(unused_variables)] // Warn about unused variables [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ArithmeticOrLogicalSource` is more private than the item `add_and_adc::::handle_add_byte_instruction` [INFO] [stdout] --> src/cpu/instructions/add_and_adc.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn handle_add_byte_instruction(&mut self, source: ArithmeticOrLogicalSource) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `add_and_adc::::handle_add_byte_instruction` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ArithmeticOrLogicalSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub(in crate::cpu::instructions) enum ArithmeticOrLogicalSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ArithmeticOrLogicalSource` is more private than the item `add_and_adc::::handle_adc_instruction` [INFO] [stdout] --> src/cpu/instructions/add_and_adc.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn handle_adc_instruction(&mut self, source: ArithmeticOrLogicalSource) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `add_and_adc::::handle_adc_instruction` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ArithmeticOrLogicalSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub(in crate::cpu::instructions) enum ArithmeticOrLogicalSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `InstructionCondition` is more private than the item `call_ret_and_rst::::handle_call_instruction` [INFO] [stdout] --> src/cpu/instructions/call_ret_and_rst.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn handle_call_instruction(&mut self, condition: InstructionCondition) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `call_ret_and_rst::::handle_call_instruction` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `InstructionCondition` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | enum InstructionCondition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `InstructionCondition` is more private than the item `call_ret_and_rst::::handle_ret_instruction` [INFO] [stdout] --> src/cpu/instructions/call_ret_and_rst.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn handle_ret_instruction(&mut self, condition: InstructionCondition) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `call_ret_and_rst::::handle_ret_instruction` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `InstructionCondition` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | enum InstructionCondition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `IncDecTarget` is more private than the item `inc_and_dec::::handle_inc_instruction` [INFO] [stdout] --> src/cpu/instructions/inc_and_dec.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn handle_inc_instruction(&mut self, target: IncDecTarget) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `inc_and_dec::::handle_inc_instruction` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `IncDecTarget` is only usable at visibility `pub(instructions)` [INFO] [stdout] --> src/cpu/instructions/inc_and_dec.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub(super) enum IncDecTarget { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `IncDecTarget` is more private than the item `inc_and_dec::::handle_dec_instruction` [INFO] [stdout] --> src/cpu/instructions/inc_and_dec.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn handle_dec_instruction(&mut self, target: IncDecTarget) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `inc_and_dec::::handle_dec_instruction` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `IncDecTarget` is only usable at visibility `pub(instructions)` [INFO] [stdout] --> src/cpu/instructions/inc_and_dec.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub(super) enum IncDecTarget { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `InstructionCondition` is more private than the item `jr::::handle_jr_instruction` [INFO] [stdout] --> src/cpu/instructions/jr.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn handle_jr_instruction(&mut self, condition: InstructionCondition) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `jr::::handle_jr_instruction` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `InstructionCondition` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | enum InstructionCondition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `JumpType` is more private than the item `jump::::handle_jump_instruction` [INFO] [stdout] --> src/cpu/instructions/jump.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn handle_jump_instruction(&mut self, jump_type: JumpType) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `jump::::handle_jump_instruction` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `JumpType` is only usable at visibility `pub(instructions)` [INFO] [stdout] --> src/cpu/instructions/jump.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub(super) enum JumpType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LoadType` is more private than the item `load::::handle_load_instruction` [INFO] [stdout] --> src/cpu/instructions/load.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn handle_load_instruction(&mut self, type_of_load: LoadType) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `load::::handle_load_instruction` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `LoadType` is only usable at visibility `pub(instructions)` [INFO] [stdout] --> src/cpu/instructions/load.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub(super) enum LoadType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ArithmeticOrLogicalSource` is more private than the item `logical_operators::::handle_and_instruction` [INFO] [stdout] --> src/cpu/instructions/logical_operators.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn handle_and_instruction(&mut self, source: ArithmeticOrLogicalSource) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `logical_operators::::handle_and_instruction` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ArithmeticOrLogicalSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub(in crate::cpu::instructions) enum ArithmeticOrLogicalSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ArithmeticOrLogicalSource` is more private than the item `logical_operators::::handle_xor_instruction` [INFO] [stdout] --> src/cpu/instructions/logical_operators.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn handle_xor_instruction(&mut self, source: ArithmeticOrLogicalSource) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `logical_operators::::handle_xor_instruction` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ArithmeticOrLogicalSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub(in crate::cpu::instructions) enum ArithmeticOrLogicalSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ArithmeticOrLogicalSource` is more private than the item `add_and_adc::::handle_add_byte_instruction` [INFO] [stdout] --> src/cpu/instructions/add_and_adc.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn handle_add_byte_instruction(&mut self, source: ArithmeticOrLogicalSource) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `add_and_adc::::handle_add_byte_instruction` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ArithmeticOrLogicalSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub(in crate::cpu::instructions) enum ArithmeticOrLogicalSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ArithmeticOrLogicalSource` is more private than the item `add_and_adc::::handle_adc_instruction` [INFO] [stdout] --> src/cpu/instructions/add_and_adc.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn handle_adc_instruction(&mut self, source: ArithmeticOrLogicalSource) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `add_and_adc::::handle_adc_instruction` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ArithmeticOrLogicalSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub(in crate::cpu::instructions) enum ArithmeticOrLogicalSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `InstructionCondition` is more private than the item `call_ret_and_rst::::handle_call_instruction` [INFO] [stdout] --> src/cpu/instructions/call_ret_and_rst.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn handle_call_instruction(&mut self, condition: InstructionCondition) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `call_ret_and_rst::::handle_call_instruction` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `InstructionCondition` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | enum InstructionCondition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `InstructionCondition` is more private than the item `call_ret_and_rst::::handle_ret_instruction` [INFO] [stdout] --> src/cpu/instructions/call_ret_and_rst.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn handle_ret_instruction(&mut self, condition: InstructionCondition) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `call_ret_and_rst::::handle_ret_instruction` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `InstructionCondition` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | enum InstructionCondition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `IncDecTarget` is more private than the item `inc_and_dec::::handle_inc_instruction` [INFO] [stdout] --> src/cpu/instructions/inc_and_dec.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn handle_inc_instruction(&mut self, target: IncDecTarget) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `inc_and_dec::::handle_inc_instruction` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `IncDecTarget` is only usable at visibility `pub(instructions)` [INFO] [stdout] --> src/cpu/instructions/inc_and_dec.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub(super) enum IncDecTarget { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `IncDecTarget` is more private than the item `inc_and_dec::::handle_dec_instruction` [INFO] [stdout] --> src/cpu/instructions/inc_and_dec.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn handle_dec_instruction(&mut self, target: IncDecTarget) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `inc_and_dec::::handle_dec_instruction` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `IncDecTarget` is only usable at visibility `pub(instructions)` [INFO] [stdout] --> src/cpu/instructions/inc_and_dec.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub(super) enum IncDecTarget { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `InstructionCondition` is more private than the item `jr::::handle_jr_instruction` [INFO] [stdout] --> src/cpu/instructions/jr.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn handle_jr_instruction(&mut self, condition: InstructionCondition) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `jr::::handle_jr_instruction` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `InstructionCondition` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | enum InstructionCondition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `JumpType` is more private than the item `jump::::handle_jump_instruction` [INFO] [stdout] --> src/cpu/instructions/jump.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn handle_jump_instruction(&mut self, jump_type: JumpType) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `jump::::handle_jump_instruction` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `JumpType` is only usable at visibility `pub(instructions)` [INFO] [stdout] --> src/cpu/instructions/jump.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub(super) enum JumpType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LoadType` is more private than the item `load::::handle_load_instruction` [INFO] [stdout] --> src/cpu/instructions/load.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn handle_load_instruction(&mut self, type_of_load: LoadType) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `load::::handle_load_instruction` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `LoadType` is only usable at visibility `pub(instructions)` [INFO] [stdout] --> src/cpu/instructions/load.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub(super) enum LoadType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ArithmeticOrLogicalSource` is more private than the item `logical_operators::::handle_and_instruction` [INFO] [stdout] --> src/cpu/instructions/logical_operators.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn handle_and_instruction(&mut self, source: ArithmeticOrLogicalSource) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `logical_operators::::handle_and_instruction` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ArithmeticOrLogicalSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub(in crate::cpu::instructions) enum ArithmeticOrLogicalSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ArithmeticOrLogicalSource` is more private than the item `logical_operators::::handle_xor_instruction` [INFO] [stdout] --> src/cpu/instructions/logical_operators.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn handle_xor_instruction(&mut self, source: ArithmeticOrLogicalSource) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `logical_operators::::handle_xor_instruction` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ArithmeticOrLogicalSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub(in crate::cpu::instructions) enum ArithmeticOrLogicalSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ArithmeticOrLogicalSource` is more private than the item `logical_operators::::handle_or_instruction` [INFO] [stdout] --> src/cpu/instructions/logical_operators.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn handle_or_instruction(&mut self, source: ArithmeticOrLogicalSource) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `logical_operators::::handle_or_instruction` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ArithmeticOrLogicalSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub(in crate::cpu::instructions) enum ArithmeticOrLogicalSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ArithmeticOrLogicalSource` is more private than the item `logical_operators::::handle_cp_instruction` [INFO] [stdout] --> src/cpu/instructions/logical_operators.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn handle_cp_instruction(&mut self, source: ArithmeticOrLogicalSource) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `logical_operators::::handle_cp_instruction` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ArithmeticOrLogicalSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub(in crate::cpu::instructions) enum ArithmeticOrLogicalSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ArithmeticOrLogicalSource` is more private than the item `sub_and_sbc::::handle_sub_instruction` [INFO] [stdout] --> src/cpu/instructions/sub_and_sbc.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn handle_sub_instruction(&mut self, source: ArithmeticOrLogicalSource) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `sub_and_sbc::::handle_sub_instruction` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ArithmeticOrLogicalSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub(in crate::cpu::instructions) enum ArithmeticOrLogicalSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ArithmeticOrLogicalSource` is more private than the item `sub_and_sbc::::handle_sbc_instruction` [INFO] [stdout] --> src/cpu/instructions/sub_and_sbc.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn handle_sbc_instruction(&mut self, source: ArithmeticOrLogicalSource) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `sub_and_sbc::::handle_sbc_instruction` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ArithmeticOrLogicalSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub(in crate::cpu::instructions) enum ArithmeticOrLogicalSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ArithmeticOrLogicalSource` is more private than the item `Instruction::ADDByte::0` [INFO] [stdout] --> src/cpu/instructions.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | ADDByte(ArithmeticOrLogicalSource), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ field `Instruction::ADDByte::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ArithmeticOrLogicalSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub(in crate::cpu::instructions) enum ArithmeticOrLogicalSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ArithmeticOrLogicalSource` is more private than the item `Instruction::ADC::0` [INFO] [stdout] --> src/cpu/instructions.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | ADC(ArithmeticOrLogicalSource), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ field `Instruction::ADC::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ArithmeticOrLogicalSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub(in crate::cpu::instructions) enum ArithmeticOrLogicalSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ArithmeticOrLogicalSource` is more private than the item `Instruction::SUB::0` [INFO] [stdout] --> src/cpu/instructions.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | SUB(ArithmeticOrLogicalSource), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ field `Instruction::SUB::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ArithmeticOrLogicalSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub(in crate::cpu::instructions) enum ArithmeticOrLogicalSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ArithmeticOrLogicalSource` is more private than the item `Instruction::SBC::0` [INFO] [stdout] --> src/cpu/instructions.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | SBC(ArithmeticOrLogicalSource), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ field `Instruction::SBC::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ArithmeticOrLogicalSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub(in crate::cpu::instructions) enum ArithmeticOrLogicalSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ArithmeticOrLogicalSource` is more private than the item `Instruction::AND::0` [INFO] [stdout] --> src/cpu/instructions.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | AND(ArithmeticOrLogicalSource), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ field `Instruction::AND::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ArithmeticOrLogicalSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub(in crate::cpu::instructions) enum ArithmeticOrLogicalSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ArithmeticOrLogicalSource` is more private than the item `Instruction::OR::0` [INFO] [stdout] --> src/cpu/instructions.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | OR(ArithmeticOrLogicalSource), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ field `Instruction::OR::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ArithmeticOrLogicalSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub(in crate::cpu::instructions) enum ArithmeticOrLogicalSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ArithmeticOrLogicalSource` is more private than the item `Instruction::XOR::0` [INFO] [stdout] --> src/cpu/instructions.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | XOR(ArithmeticOrLogicalSource), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ field `Instruction::XOR::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ArithmeticOrLogicalSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub(in crate::cpu::instructions) enum ArithmeticOrLogicalSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ArithmeticOrLogicalSource` is more private than the item `Instruction::CP::0` [INFO] [stdout] --> src/cpu/instructions.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | CP(ArithmeticOrLogicalSource), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ field `Instruction::CP::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ArithmeticOrLogicalSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub(in crate::cpu::instructions) enum ArithmeticOrLogicalSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `IncDecTarget` is more private than the item `Instruction::INC::0` [INFO] [stdout] --> src/cpu/instructions.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | INC(IncDecTarget), [INFO] [stdout] | ^^^^^^^^^^^^ field `Instruction::INC::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `IncDecTarget` is only usable at visibility `pub(instructions)` [INFO] [stdout] --> src/cpu/instructions/inc_and_dec.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub(super) enum IncDecTarget { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `IncDecTarget` is more private than the item `Instruction::DEC::0` [INFO] [stdout] --> src/cpu/instructions.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | DEC(IncDecTarget), [INFO] [stdout] | ^^^^^^^^^^^^ field `Instruction::DEC::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `IncDecTarget` is only usable at visibility `pub(instructions)` [INFO] [stdout] --> src/cpu/instructions/inc_and_dec.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub(super) enum IncDecTarget { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `JumpType` is more private than the item `Instruction::JP::0` [INFO] [stdout] --> src/cpu/instructions.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | JP(JumpType), [INFO] [stdout] | ^^^^^^^^ field `Instruction::JP::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `JumpType` is only usable at visibility `pub(instructions)` [INFO] [stdout] --> src/cpu/instructions/jump.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub(super) enum JumpType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LoadType` is more private than the item `Instruction::LD::0` [INFO] [stdout] --> src/cpu/instructions.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | LD(LoadType), [INFO] [stdout] | ^^^^^^^^ field `Instruction::LD::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `LoadType` is only usable at visibility `pub(instructions)` [INFO] [stdout] --> src/cpu/instructions/load.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub(super) enum LoadType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `InstructionCondition` is more private than the item `Instruction::CALL::0` [INFO] [stdout] --> src/cpu/instructions.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | CALL(InstructionCondition), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field `Instruction::CALL::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `InstructionCondition` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | enum InstructionCondition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `InstructionCondition` is more private than the item `Instruction::RET::0` [INFO] [stdout] --> src/cpu/instructions.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | RET(InstructionCondition), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field `Instruction::RET::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `InstructionCondition` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | enum InstructionCondition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `InstructionCondition` is more private than the item `Instruction::JR::0` [INFO] [stdout] --> src/cpu/instructions.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | JR(InstructionCondition), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field `Instruction::JR::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `InstructionCondition` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | enum InstructionCondition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_before_boot` is never used [INFO] [stdout] --> src/cpu.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl CPU { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn new_before_boot() -> CPU { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | #![warn(dead_code)] // Warn about unused functions, structs, etc. [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_word` is never used [INFO] [stdout] --> src/cpu/instructions/add_and_adc.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl CPU { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | fn add_word(&mut self, target: u16, value: u16, sp_is_target: bool) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ArithmeticOrLogicalSource` is more private than the item `logical_operators::::handle_or_instruction` [INFO] [stdout] --> src/cpu/instructions/logical_operators.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn handle_or_instruction(&mut self, source: ArithmeticOrLogicalSource) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `logical_operators::::handle_or_instruction` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ArithmeticOrLogicalSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub(in crate::cpu::instructions) enum ArithmeticOrLogicalSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_zero` is never used [INFO] [stdout] --> src/cpu/registers.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Registers { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn new_zero() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ArithmeticOrLogicalSource` is more private than the item `logical_operators::::handle_cp_instruction` [INFO] [stdout] --> src/cpu/instructions/logical_operators.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn handle_cp_instruction(&mut self, source: ArithmeticOrLogicalSource) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `logical_operators::::handle_cp_instruction` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ArithmeticOrLogicalSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub(in crate::cpu::instructions) enum ArithmeticOrLogicalSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ArithmeticOrLogicalSource` is more private than the item `sub_and_sbc::::handle_sub_instruction` [INFO] [stdout] --> src/cpu/instructions/sub_and_sbc.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn handle_sub_instruction(&mut self, source: ArithmeticOrLogicalSource) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `sub_and_sbc::::handle_sub_instruction` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ArithmeticOrLogicalSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub(in crate::cpu::instructions) enum ArithmeticOrLogicalSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ArithmeticOrLogicalSource` is more private than the item `sub_and_sbc::::handle_sbc_instruction` [INFO] [stdout] --> src/cpu/instructions/sub_and_sbc.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn handle_sbc_instruction(&mut self, source: ArithmeticOrLogicalSource) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `sub_and_sbc::::handle_sbc_instruction` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ArithmeticOrLogicalSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub(in crate::cpu::instructions) enum ArithmeticOrLogicalSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ArithmeticOrLogicalSource` is more private than the item `Instruction::ADDByte::0` [INFO] [stdout] --> src/cpu/instructions.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | ADDByte(ArithmeticOrLogicalSource), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ field `Instruction::ADDByte::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ArithmeticOrLogicalSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub(in crate::cpu::instructions) enum ArithmeticOrLogicalSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ArithmeticOrLogicalSource` is more private than the item `Instruction::ADC::0` [INFO] [stdout] --> src/cpu/instructions.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | ADC(ArithmeticOrLogicalSource), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ field `Instruction::ADC::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ArithmeticOrLogicalSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub(in crate::cpu::instructions) enum ArithmeticOrLogicalSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ArithmeticOrLogicalSource` is more private than the item `Instruction::SUB::0` [INFO] [stdout] --> src/cpu/instructions.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | SUB(ArithmeticOrLogicalSource), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ field `Instruction::SUB::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ArithmeticOrLogicalSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub(in crate::cpu::instructions) enum ArithmeticOrLogicalSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ArithmeticOrLogicalSource` is more private than the item `Instruction::SBC::0` [INFO] [stdout] --> src/cpu/instructions.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | SBC(ArithmeticOrLogicalSource), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ field `Instruction::SBC::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ArithmeticOrLogicalSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub(in crate::cpu::instructions) enum ArithmeticOrLogicalSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ArithmeticOrLogicalSource` is more private than the item `Instruction::AND::0` [INFO] [stdout] --> src/cpu/instructions.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | AND(ArithmeticOrLogicalSource), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ field `Instruction::AND::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ArithmeticOrLogicalSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub(in crate::cpu::instructions) enum ArithmeticOrLogicalSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ArithmeticOrLogicalSource` is more private than the item `Instruction::OR::0` [INFO] [stdout] --> src/cpu/instructions.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | OR(ArithmeticOrLogicalSource), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ field `Instruction::OR::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ArithmeticOrLogicalSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub(in crate::cpu::instructions) enum ArithmeticOrLogicalSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ArithmeticOrLogicalSource` is more private than the item `Instruction::XOR::0` [INFO] [stdout] --> src/cpu/instructions.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | XOR(ArithmeticOrLogicalSource), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ field `Instruction::XOR::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ArithmeticOrLogicalSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub(in crate::cpu::instructions) enum ArithmeticOrLogicalSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ArithmeticOrLogicalSource` is more private than the item `Instruction::CP::0` [INFO] [stdout] --> src/cpu/instructions.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | CP(ArithmeticOrLogicalSource), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ field `Instruction::CP::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ArithmeticOrLogicalSource` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub(in crate::cpu::instructions) enum ArithmeticOrLogicalSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `IncDecTarget` is more private than the item `Instruction::INC::0` [INFO] [stdout] --> src/cpu/instructions.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | INC(IncDecTarget), [INFO] [stdout] | ^^^^^^^^^^^^ field `Instruction::INC::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `IncDecTarget` is only usable at visibility `pub(instructions)` [INFO] [stdout] --> src/cpu/instructions/inc_and_dec.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub(super) enum IncDecTarget { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `IncDecTarget` is more private than the item `Instruction::DEC::0` [INFO] [stdout] --> src/cpu/instructions.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | DEC(IncDecTarget), [INFO] [stdout] | ^^^^^^^^^^^^ field `Instruction::DEC::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `IncDecTarget` is only usable at visibility `pub(instructions)` [INFO] [stdout] --> src/cpu/instructions/inc_and_dec.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub(super) enum IncDecTarget { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `JumpType` is more private than the item `Instruction::JP::0` [INFO] [stdout] --> src/cpu/instructions.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | JP(JumpType), [INFO] [stdout] | ^^^^^^^^ field `Instruction::JP::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `JumpType` is only usable at visibility `pub(instructions)` [INFO] [stdout] --> src/cpu/instructions/jump.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub(super) enum JumpType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LoadType` is more private than the item `Instruction::LD::0` [INFO] [stdout] --> src/cpu/instructions.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | LD(LoadType), [INFO] [stdout] | ^^^^^^^^ field `Instruction::LD::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `LoadType` is only usable at visibility `pub(instructions)` [INFO] [stdout] --> src/cpu/instructions/load.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub(super) enum LoadType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `InstructionCondition` is more private than the item `Instruction::CALL::0` [INFO] [stdout] --> src/cpu/instructions.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | CALL(InstructionCondition), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field `Instruction::CALL::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `InstructionCondition` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | enum InstructionCondition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `InstructionCondition` is more private than the item `Instruction::RET::0` [INFO] [stdout] --> src/cpu/instructions.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | RET(InstructionCondition), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field `Instruction::RET::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `InstructionCondition` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | enum InstructionCondition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `InstructionCondition` is more private than the item `Instruction::JR::0` [INFO] [stdout] --> src/cpu/instructions.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | JR(InstructionCondition), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field `Instruction::JR::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `InstructionCondition` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cpu/instructions.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | enum InstructionCondition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_before_boot` is never used [INFO] [stdout] --> src/cpu.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl CPU { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn new_before_boot() -> CPU { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | #![warn(dead_code)] // Warn about unused functions, structs, etc. [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_word` is never used [INFO] [stdout] --> src/cpu/instructions/add_and_adc.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl CPU { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | fn add_word(&mut self, target: u16, value: u16, sp_is_target: bool) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_zero` is never used [INFO] [stdout] --> src/cpu/registers.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Registers { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn new_zero() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.55s [INFO] running `Command { std: "docker" "inspect" "c89abfb7acaec25096cf8f150512b8b44b92303dd2231906c3f0d6b8db7b6d06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c89abfb7acaec25096cf8f150512b8b44b92303dd2231906c3f0d6b8db7b6d06", kill_on_drop: false }` [INFO] [stdout] c89abfb7acaec25096cf8f150512b8b44b92303dd2231906c3f0d6b8db7b6d06