[INFO] cloning repository https://github.com/shmuelamit/Nust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shmuelamit/Nust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshmuelamit%2FNust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshmuelamit%2FNust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f202d0aa4dcc7919cce1a055b2d11c1a78317527 [INFO] checking shmuelamit/Nust against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshmuelamit%2FNust" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shmuelamit/Nust on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shmuelamit/Nust [INFO] finished tweaking git repo https://github.com/shmuelamit/Nust [INFO] tweaked toml for git repo https://github.com/shmuelamit/Nust written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/shmuelamit/Nust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayland-sys v0.28.6 [INFO] [stderr] Downloaded jobserver v0.1.23 [INFO] [stderr] Downloaded xml-rs v0.8.4 [INFO] [stderr] Downloaded mio-misc v1.2.1 [INFO] [stderr] Downloaded external-memory v0.0.1 [INFO] [stderr] Downloaded drm-fourcc v2.1.1 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.75 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.75 [INFO] [stderr] Downloaded ash v0.32.1 [INFO] [stderr] Downloaded pollster v0.2.4 [INFO] [stderr] Downloaded wide v0.6.5 [INFO] [stderr] Downloaded ultraviolet v0.8.1 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.25 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.75 [INFO] [stderr] Downloaded wasm-bindgen v0.2.75 [INFO] [stderr] Downloaded gfx-auxil v0.10.0 [INFO] [stderr] Downloaded safe_arch v0.5.2 [INFO] [stderr] Downloaded gpu-alloc v0.4.7 [INFO] [stderr] Downloaded bytemuck v1.7.2 [INFO] [stderr] Downloaded gfx-backend-dx11 v0.9.0 [INFO] [stderr] Downloaded slotmap v0.4.2 [INFO] [stderr] Downloaded js-sys v0.3.52 [INFO] [stderr] Downloaded d3d12 v0.4.0 [INFO] [stderr] Downloaded khronos-egl v4.1.0 [INFO] [stderr] Downloaded winit_input_helper v0.10.0 [INFO] [stderr] Downloaded gfx-backend-empty v0.9.0 [INFO] [stderr] Downloaded thunderdome v0.4.1 [INFO] [stderr] Downloaded wayland-cursor v0.28.6 [INFO] [stderr] Downloaded gfx-backend-vulkan v0.9.0 [INFO] [stderr] Downloaded profiling v1.0.3 [INFO] [stderr] Downloaded gfx-backend-gl v0.9.0 [INFO] [stderr] Downloaded pixels v0.5.0 [INFO] [stderr] Downloaded gfx-renderdoc v0.1.0 [INFO] [stderr] Downloaded glow v0.9.0 [INFO] [stderr] Downloaded renderdoc-sys v0.7.1 [INFO] [stderr] Downloaded rose_tree v0.2.0 [INFO] [stderr] Downloaded wayland-client v0.28.6 [INFO] [stderr] Downloaded nom v6.2.1 [INFO] [stderr] Downloaded wgpu-core v0.9.2 [INFO] [stderr] Downloaded gfx-backend-metal v0.9.1 [INFO] [stderr] Downloaded winit v0.25.0 [INFO] [stderr] Downloaded metal v0.23.0 [INFO] [stderr] Downloaded codespan-reporting v0.11.1 [INFO] [stderr] Downloaded num_enum v0.5.3 [INFO] [stderr] Downloaded serde_derive v1.0.127 [INFO] [stderr] Downloaded gfx-hal v0.9.0 [INFO] [stderr] Downloaded gfx-backend-dx12 v0.9.1 [INFO] [stderr] Downloaded syn v1.0.74 [INFO] [stderr] Downloaded proc-macro-crate v1.0.0 [INFO] [stderr] Downloaded naga v0.5.0 [INFO] [stderr] Downloaded wgpu v0.9.0 [INFO] [stderr] Downloaded wgpu-types v0.9.0 [INFO] [stderr] Downloaded wayland-protocols v0.28.6 [INFO] [stderr] Downloaded num_enum_derive v0.5.3 [INFO] [stderr] Downloaded wayland-commons v0.28.6 [INFO] [stderr] Downloaded wayland-scanner v0.28.6 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd13d8be95a0601c18482b374272d12c92188f16255e03455ff11adfe8f51d26 [INFO] running `Command { std: "docker" "start" "-a" "dd13d8be95a0601c18482b374272d12c92188f16255e03455ff11adfe8f51d26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd13d8be95a0601c18482b374272d12c92188f16255e03455ff11adfe8f51d26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd13d8be95a0601c18482b374272d12c92188f16255e03455ff11adfe8f51d26", kill_on_drop: false }` [INFO] [stdout] dd13d8be95a0601c18482b374272d12c92188f16255e03455ff11adfe8f51d26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6adc73183a46031d24800e1b8b657039a9806d3564b9ab0008a6101ea1a61ebb [INFO] running `Command { std: "docker" "start" "-a" "6adc73183a46031d24800e1b8b657039a9806d3564b9ab0008a6101ea1a61ebb", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] naga v0.5.0: msl-out [INFO] [stderr] scopeguard v1.1.0: default, use_std [INFO] [stderr] syn v1.0.74 (as host dependency): extra-traits, full, visit [INFO] [stderr] [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling drm-fourcc v2.1.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking renderdoc-sys v0.7.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Checking glow v0.9.0 [INFO] [stderr] Checking inplace_it v0.3.3 [INFO] [stderr] Checking profiling v1.0.3 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking pollster v0.2.4 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking safe_arch v0.5.2 [INFO] [stderr] Compiling wgpu-core v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Checking ash v0.32.1 [INFO] [stderr] Checking gfx-renderdoc v0.1.0 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Checking gpu-descriptor-types v0.1.1 [INFO] [stderr] Checking gpu-alloc-types v0.2.0 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking wgpu-types v0.9.0 [INFO] [stderr] Checking wide v0.6.5 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking gpu-alloc v0.4.7 [INFO] [stderr] Checking bitvec v0.19.5 [INFO] [stderr] Checking gpu-descriptor v0.1.1 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.5 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Checking spirv_headers v1.5.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking ultraviolet v0.8.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rose_tree v0.2.0 [INFO] [stderr] Checking mio-misc v1.2.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking naga v0.5.0 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking serde v1.0.127 [INFO] [stderr] Checking winit_input_helper v0.10.0 [INFO] [stderr] Checking external-memory v0.0.1 [INFO] [stderr] Checking gfx-hal v0.9.0 [INFO] [stderr] Checking gfx-backend-vulkan v0.9.0 [INFO] [stderr] Checking gfx-backend-gl v0.9.0 [INFO] [stderr] Checking gfx-backend-empty v0.9.0 [INFO] [stderr] Checking wgpu v0.9.0 [INFO] [stderr] Checking pixels v0.5.0 [INFO] [stderr] Checking nust v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/bus/mappers/mapper_0.rs (4 fixes) [INFO] [stderr] Fixed src/main.rs (6 fixes) [INFO] [stderr] Fixed src/screen.rs (1 fix) [INFO] [stderr] Fixed src/bus/mappers/mapper_3.rs (3 fixes) [INFO] [stderr] Fixed src/cpu/instructions/routine_opcodes.rs (1 fix) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bus.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bus.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_value` [INFO] [stdout] --> src/cpu/instructions/utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn get_value(cpu: &mut Cpu, mode: AddresingMode, input: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_nz_flags` [INFO] [stdout] --> src/cpu/instructions/utils.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn set_nz_flags(cpu: &mut Cpu, result: u8) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `does_current_instr_need_cross` [INFO] [stdout] --> src/cpu/instructions/utils.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn does_current_instr_need_cross(cpu: &mut Cpu) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_chk_page_cross` [INFO] [stdout] --> src/cpu/instructions/utils.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn add_chk_page_cross(cpu: &mut Cpu, addr: u16, offset: u16) -> (u16, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_input` [INFO] [stdout] --> src/cpu/instructions/utils.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn get_input(cpu: &mut Cpu, addresing_mode: AddresingMode) -> (u16, bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_instr_value` [INFO] [stdout] --> src/cpu/instructions/utils.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn read_instr_value(cpu: &mut Cpu, mode: AddresingMode) -> (u16, u8, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `branch` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn branch(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bcs` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn instr_bcs(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bcc` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn instr_bcc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_beq` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn instr_beq(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bne` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn instr_bne(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bmi` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn instr_bmi(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bpl` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn instr_bpl(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bvs` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn instr_bvs(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bvc` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn instr_bvc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sei` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn instr_sei(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sed` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn instr_sed(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sec` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn instr_sec(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_clc` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn instr_clc(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_cld` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn instr_cld(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_cli` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn instr_cli(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_clv` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn instr_clv(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_nop` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn instr_nop(_cpu: &mut Cpu, _mode: AddresingMode) {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_inx` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn instr_inx(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_dex` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn instr_dex(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_iny` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn instr_iny(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_dey` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn instr_dey(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_tax` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn instr_tax(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_tay` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn instr_tay(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_tsx` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn instr_tsx(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_txs` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn instr_txs(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_txa` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn instr_txa(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_tya` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn instr_tya(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_lda` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn instr_lda(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_ldx` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn instr_ldx(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_ldy` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn instr_ldy(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_cmp` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn instr_cmp(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_and` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn instr_and(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_eor` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn instr_eor(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_ora` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn instr_ora(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_value` [INFO] [stdout] --> src/cpu/instructions/utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn get_value(cpu: &mut Cpu, mode: AddresingMode, input: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bit` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn instr_bit(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_nz_flags` [INFO] [stdout] --> src/cpu/instructions/utils.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn set_nz_flags(cpu: &mut Cpu, result: u8) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_adc` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn instr_adc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `does_current_instr_need_cross` [INFO] [stdout] --> src/cpu/instructions/utils.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn does_current_instr_need_cross(cpu: &mut Cpu) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sbc` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn instr_sbc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_chk_page_cross` [INFO] [stdout] --> src/cpu/instructions/utils.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn add_chk_page_cross(cpu: &mut Cpu, addr: u16, offset: u16) -> (u16, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_cpx` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn instr_cpx(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_cpy` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn instr_cpy(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_input` [INFO] [stdout] --> src/cpu/instructions/utils.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn get_input(cpu: &mut Cpu, addresing_mode: AddresingMode) -> (u16, bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `general_shift` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn general_shift( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_instr_value` [INFO] [stdout] --> src/cpu/instructions/utils.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn read_instr_value(cpu: &mut Cpu, mode: AddresingMode) -> (u16, u8, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_asl` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn instr_asl(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `branch` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn branch(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_lsr` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn instr_lsr(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bcs` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn instr_bcs(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_rol` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn instr_rol(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bcc` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn instr_bcc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_ror` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn instr_ror(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_beq` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn instr_beq(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_inc` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn instr_inc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bne` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn instr_bne(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_dec` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn instr_dec(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bmi` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn instr_bmi(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_pha` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn instr_pha(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bpl` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn instr_bpl(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_php` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn instr_php(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bvs` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn instr_bvs(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_pla` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn instr_pla(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bvc` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn instr_bvc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_plp` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn instr_plp(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sei` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn instr_sei(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_jmp` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn instr_jmp(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sed` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn instr_sed(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_brk` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn instr_brk(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sec` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn instr_sec(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_rti` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn instr_rti(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_clc` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn instr_clc(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_jsr` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn instr_jsr(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_cld` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn instr_cld(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_rts` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn instr_rts(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_cli` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn instr_cli(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sta` [INFO] [stdout] --> src/cpu/instructions/write_opcodes.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn instr_sta(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sty` [INFO] [stdout] --> src/cpu/instructions/write_opcodes.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn instr_sty(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_clv` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn instr_clv(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_stx` [INFO] [stdout] --> src/cpu/instructions/write_opcodes.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn instr_stx(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_nop` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn instr_nop(_cpu: &mut Cpu, _mode: AddresingMode) {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_inx` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn instr_inx(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ZPG` [INFO] [stdout] --> src/cpu/instructions.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | ZPG, // Zero page [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ZPX` [INFO] [stdout] --> src/cpu/instructions.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | ZPX, // Zero page, X [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_dex` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn instr_dex(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ZPY` [INFO] [stdout] --> src/cpu/instructions.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | ZPY, // Zero page, Y [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_iny` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn instr_iny(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ABS` [INFO] [stdout] --> src/cpu/instructions.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | ABS, // Absolute [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_dey` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn instr_dey(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ABX` [INFO] [stdout] --> src/cpu/instructions.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | ABX, // Absolute, X [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_tax` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn instr_tax(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ABY` [INFO] [stdout] --> src/cpu/instructions.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | ABY, // Absolute, Y [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_tay` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn instr_tay(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IND` [INFO] [stdout] --> src/cpu/instructions.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | IND, // Indirect [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_tsx` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn instr_tsx(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IMP` [INFO] [stdout] --> src/cpu/instructions.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | IMP, // Implied [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_txs` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn instr_txs(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ACC` [INFO] [stdout] --> src/cpu/instructions.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | ACC, // Accumulator [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_txa` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn instr_txa(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IMM` [INFO] [stdout] --> src/cpu/instructions.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | IMM, // Immediate [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_tya` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn instr_tya(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `REL` [INFO] [stdout] --> src/cpu/instructions.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | REL, // Relative [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_lda` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn instr_lda(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IDX` [INFO] [stdout] --> src/cpu/instructions.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | IDX, // (Indirect, X) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_ldx` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn instr_ldx(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IDY` [INFO] [stdout] --> src/cpu/instructions.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | IDY, // (Indirect), Y [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_ldy` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn instr_ldy(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_cmp` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn instr_cmp(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_length` [INFO] [stdout] --> src/cpu/instructions.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn get_length(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `addr_to_instr` [INFO] [stdout] --> src/cpu/instructions.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn addr_to_instr(cpu: &Cpu, addr: u16) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_and` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn instr_and(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_eor` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn instr_eor(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dump_current_instruction` [INFO] [stdout] --> src/cpu/instructions.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn dump_current_instruction(cpu: &mut Cpu) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_ora` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn instr_ora(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_input_address` [INFO] [stdout] --> src/cpu/instructions.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | fn is_input_address(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bit` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn instr_bit(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_length` [INFO] [stdout] --> src/cpu/instructions.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn get_length(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_adc` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn instr_adc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `make_opcode` [INFO] [stdout] --> src/cpu/instructions.rs:202:4 [INFO] [stdout] | [INFO] [stdout] 202 | fn make_opcode( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sbc` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn instr_sbc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_opcode_table` [INFO] [stdout] --> src/cpu/instructions.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn get_opcode_table() -> [Opcode; 256] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_cpx` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn instr_cpx(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `STACK_START_ADDR` [INFO] [stdout] --> src/cpu.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const STACK_START_ADDR: u16 = 0x100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_cpy` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn instr_cpy(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `opcode_table` [INFO] [stdout] --> src/cpu.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | opcode_table: [Opcode; 256], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `general_shift` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn general_shift( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_asl` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn instr_asl(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_bit` [INFO] [stdout] --> src/cpu.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get_bit(&self, flag: Self) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_lsr` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn instr_lsr(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_next` [INFO] [stdout] --> src/cpu.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn execute_next(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_rol` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn instr_rol(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stack_push` [INFO] [stdout] --> src/cpu.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn stack_push(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_ror` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn instr_ror(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stack_push_word` [INFO] [stdout] --> src/cpu.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn stack_push_word(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_inc` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn instr_inc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stack_pop` [INFO] [stdout] --> src/cpu.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn stack_pop(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_dec` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn instr_dec(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stack_pop_word` [INFO] [stdout] --> src/cpu.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn stack_pop_word(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_pha` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn instr_pha(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_opcode_table` [INFO] [stdout] --> src/cpu.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn get_opcode_table(&self) -> [Opcode; 256] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_php` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn instr_php(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_from_bus` [INFO] [stdout] --> src/cpu.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn create_from_bus(bus: Bus) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_pla` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn instr_pla(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_plp` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn instr_plp(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Vertical` [INFO] [stdout] --> src/nes_parser.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | Vertical, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_jmp` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn instr_jmp(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Horizontal` [INFO] [stdout] --> src/nes_parser.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | Horizontal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_brk` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn instr_brk(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FourWay` [INFO] [stdout] --> src/nes_parser.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | FourWay, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_rti` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn instr_rti(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sign_parse` [INFO] [stdout] --> src/nes_parser.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn sign_parse(input: &[u8]) -> IResult<&[u8], &[u8]> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_jsr` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn instr_jsr(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mapper_flags_parse` [INFO] [stdout] --> src/nes_parser.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn mapper_flags_parse(input: &[u8]) -> IResult<&[u8], (u8, InesFlags6, InesFlags7)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_rts` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn instr_rts(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_ines_header` [INFO] [stdout] --> src/nes_parser.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn parse_ines_header(input: &[u8]) -> IResult<&[u8], InesHeader> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sta` [INFO] [stdout] --> src/cpu/instructions/write_opcodes.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn instr_sta(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_ines_bytes` [INFO] [stdout] --> src/nes_parser.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn parse_ines_bytes(input: &[u8]) -> IResult<&[u8], InesFile> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sty` [INFO] [stdout] --> src/cpu/instructions/write_opcodes.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn instr_sty(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_file_as_byte_vec` [INFO] [stdout] --> src/nes_parser.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn get_file_as_byte_vec(filename: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_stx` [INFO] [stdout] --> src/cpu/instructions/write_opcodes.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn instr_stx(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ines_to_cartridge` [INFO] [stdout] --> src/nes_parser.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | fn ines_to_cartridge(ines: InesFile) -> Cartridge { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ZPG` [INFO] [stdout] --> src/cpu/instructions.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | ZPG, // Zero page [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_cartridge_from_file` [INFO] [stdout] --> src/nes_parser.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn get_cartridge_from_file(filename: &str) -> Cartridge { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ZPX` [INFO] [stdout] --> src/cpu/instructions.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | ZPX, // Zero page, X [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `chr_banks` [INFO] [stdout] --> src/bus/mappers/mapper_0.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub chr_banks: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ZPY` [INFO] [stdout] --> src/cpu/instructions.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | ZPY, // Zero page, Y [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `chr_banks` [INFO] [stdout] --> src/bus/mappers/mapper_3.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub chr_banks: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ABS` [INFO] [stdout] --> src/cpu/instructions.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | ABS, // Absolute [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_mapper` [INFO] [stdout] --> src/bus/mappers.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_mapper(ines: &InesFile) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ABX` [INFO] [stdout] --> src/cpu/instructions.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | ABX, // Absolute, X [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cycles` [INFO] [stdout] --> src/bus.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | cycles: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ABY` [INFO] [stdout] --> src/cpu/instructions.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | ABY, // Absolute, Y [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_read_word` [INFO] [stdout] --> src/bus.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn cpu_read_word(&self, addr: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IND` [INFO] [stdout] --> src/cpu/instructions.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | IND, // Indirect [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_read_zp_word` [INFO] [stdout] --> src/bus.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn cpu_read_zp_word(&self, addr: u8) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IMP` [INFO] [stdout] --> src/cpu/instructions.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | IMP, // Implied [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_write` [INFO] [stdout] --> src/bus.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn cpu_write(&mut self, addr: u16, value: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ACC` [INFO] [stdout] --> src/cpu/instructions.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | ACC, // Accumulator [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_write_word` [INFO] [stdout] --> src/bus.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn cpu_write_word(&mut self, addr: u16, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IMM` [INFO] [stdout] --> src/cpu/instructions.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | IMM, // Immediate [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_write_zp_word` [INFO] [stdout] --> src/bus.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn cpu_write_zp_word(&mut self, addr: u8, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `REL` [INFO] [stdout] --> src/cpu/instructions.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | REL, // Relative [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cycle` [INFO] [stdout] --> src/bus.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn cycle(&mut self, cycles: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IDX` [INFO] [stdout] --> src/cpu/instructions.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | IDX, // (Indirect, X) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cycles` [INFO] [stdout] --> src/bus.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn get_cycles(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IDY` [INFO] [stdout] --> src/cpu/instructions.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | IDY, // (Indirect), Y [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_from_crt` [INFO] [stdout] --> src/bus.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn create_from_crt(crt: Cartridge) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_length` [INFO] [stdout] --> src/cpu/instructions.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn get_length(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Ppu` [INFO] [stdout] --> src/ppu.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) struct Ppu { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `addr_to_instr` [INFO] [stdout] --> src/cpu/instructions.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn addr_to_instr(cpu: &Cpu, addr: u16) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dump_current_instruction` [INFO] [stdout] --> src/cpu/instructions.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn dump_current_instruction(cpu: &mut Cpu) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_input_address` [INFO] [stdout] --> src/cpu/instructions.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | fn is_input_address(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_length` [INFO] [stdout] --> src/cpu/instructions.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn get_length(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `make_opcode` [INFO] [stdout] --> src/cpu/instructions.rs:202:4 [INFO] [stdout] | [INFO] [stdout] 202 | fn make_opcode( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_opcode_table` [INFO] [stdout] --> src/cpu/instructions.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn get_opcode_table() -> [Opcode; 256] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `STACK_START_ADDR` [INFO] [stdout] --> src/cpu.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const STACK_START_ADDR: u16 = 0x100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `opcode_table` [INFO] [stdout] --> src/cpu.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | opcode_table: [Opcode; 256], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_bit` [INFO] [stdout] --> src/cpu.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get_bit(&self, flag: Self) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_next` [INFO] [stdout] --> src/cpu.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn execute_next(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stack_push` [INFO] [stdout] --> src/cpu.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn stack_push(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stack_push_word` [INFO] [stdout] --> src/cpu.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn stack_push_word(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stack_pop` [INFO] [stdout] --> src/cpu.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn stack_pop(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stack_pop_word` [INFO] [stdout] --> src/cpu.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn stack_pop_word(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_opcode_table` [INFO] [stdout] --> src/cpu.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn get_opcode_table(&self) -> [Opcode; 256] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_from_bus` [INFO] [stdout] --> src/cpu.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn create_from_bus(bus: Bus) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Vertical` [INFO] [stdout] --> src/nes_parser.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | Vertical, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Horizontal` [INFO] [stdout] --> src/nes_parser.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | Horizontal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FourWay` [INFO] [stdout] --> src/nes_parser.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | FourWay, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sign_parse` [INFO] [stdout] --> src/nes_parser.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn sign_parse(input: &[u8]) -> IResult<&[u8], &[u8]> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mapper_flags_parse` [INFO] [stdout] --> src/nes_parser.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn mapper_flags_parse(input: &[u8]) -> IResult<&[u8], (u8, InesFlags6, InesFlags7)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_ines_header` [INFO] [stdout] --> src/nes_parser.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn parse_ines_header(input: &[u8]) -> IResult<&[u8], InesHeader> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_ines_bytes` [INFO] [stdout] --> src/nes_parser.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn parse_ines_bytes(input: &[u8]) -> IResult<&[u8], InesFile> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_file_as_byte_vec` [INFO] [stdout] --> src/nes_parser.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn get_file_as_byte_vec(filename: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ines_to_cartridge` [INFO] [stdout] --> src/nes_parser.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | fn ines_to_cartridge(ines: InesFile) -> Cartridge { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_cartridge_from_file` [INFO] [stdout] --> src/nes_parser.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn get_cartridge_from_file(filename: &str) -> Cartridge { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `chr_banks` [INFO] [stdout] --> src/bus/mappers/mapper_0.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub chr_banks: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `chr_banks` [INFO] [stdout] --> src/bus/mappers/mapper_3.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub chr_banks: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_mapper` [INFO] [stdout] --> src/bus/mappers.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_mapper(ines: &InesFile) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cycles` [INFO] [stdout] --> src/bus.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | cycles: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_read_word` [INFO] [stdout] --> src/bus.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn cpu_read_word(&self, addr: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_read_zp_word` [INFO] [stdout] --> src/bus.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn cpu_read_zp_word(&self, addr: u8) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_write` [INFO] [stdout] --> src/bus.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn cpu_write(&mut self, addr: u16, value: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_write_word` [INFO] [stdout] --> src/bus.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn cpu_write_word(&mut self, addr: u16, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_write_zp_word` [INFO] [stdout] --> src/bus.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn cpu_write_zp_word(&mut self, addr: u8, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cycle` [INFO] [stdout] --> src/bus.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn cycle(&mut self, cycles: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cycles` [INFO] [stdout] --> src/bus.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn get_cycles(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_from_crt` [INFO] [stdout] --> src/bus.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn create_from_crt(crt: Cartridge) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Ppu` [INFO] [stdout] --> src/ppu.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) struct Ppu { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 118 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 118 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 43.01s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking crossbeam-epoch v0.9.5 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Checking mio-misc v1.2.1 [INFO] [stderr] Checking winit v0.25.0 [INFO] [stderr] Checking winit_input_helper v0.10.0 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking naga v0.5.0 [INFO] [stderr] Checking serde v1.0.127 [INFO] [stderr] Checking drm-fourcc v2.1.1 [INFO] [stderr] Checking external-memory v0.0.1 [INFO] [stderr] Checking gfx-hal v0.9.0 [INFO] [stderr] Checking gfx-backend-vulkan v0.9.0 [INFO] [stderr] Checking gfx-backend-empty v0.9.0 [INFO] [stderr] Checking gfx-backend-gl v0.9.0 [INFO] [stderr] Checking wgpu-core v0.9.2 [INFO] [stderr] Checking wgpu v0.9.0 [INFO] [stderr] Checking pixels v0.5.0 [INFO] [stderr] Checking nust v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bus.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bus.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_value` [INFO] [stdout] --> src/cpu/instructions/utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn get_value(cpu: &mut Cpu, mode: AddresingMode, input: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_nz_flags` [INFO] [stdout] --> src/cpu/instructions/utils.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn set_nz_flags(cpu: &mut Cpu, result: u8) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `does_current_instr_need_cross` [INFO] [stdout] --> src/cpu/instructions/utils.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn does_current_instr_need_cross(cpu: &mut Cpu) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_chk_page_cross` [INFO] [stdout] --> src/cpu/instructions/utils.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn add_chk_page_cross(cpu: &mut Cpu, addr: u16, offset: u16) -> (u16, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_input` [INFO] [stdout] --> src/cpu/instructions/utils.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn get_input(cpu: &mut Cpu, addresing_mode: AddresingMode) -> (u16, bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_instr_value` [INFO] [stdout] --> src/cpu/instructions/utils.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn read_instr_value(cpu: &mut Cpu, mode: AddresingMode) -> (u16, u8, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `branch` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn branch(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bcs` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn instr_bcs(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bcc` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn instr_bcc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_beq` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn instr_beq(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bne` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn instr_bne(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bmi` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn instr_bmi(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bpl` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn instr_bpl(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bvs` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn instr_bvs(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bvc` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn instr_bvc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_value` [INFO] [stdout] --> src/cpu/instructions/utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn get_value(cpu: &mut Cpu, mode: AddresingMode, input: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sei` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn instr_sei(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_nz_flags` [INFO] [stdout] --> src/cpu/instructions/utils.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn set_nz_flags(cpu: &mut Cpu, result: u8) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sed` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn instr_sed(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sec` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn instr_sec(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_clc` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn instr_clc(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_cld` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn instr_cld(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `does_current_instr_need_cross` [INFO] [stdout] --> src/cpu/instructions/utils.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn does_current_instr_need_cross(cpu: &mut Cpu) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_cli` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn instr_cli(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_clv` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn instr_clv(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_nop` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn instr_nop(_cpu: &mut Cpu, _mode: AddresingMode) {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_inx` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn instr_inx(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_chk_page_cross` [INFO] [stdout] --> src/cpu/instructions/utils.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn add_chk_page_cross(cpu: &mut Cpu, addr: u16, offset: u16) -> (u16, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_dex` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn instr_dex(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_iny` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn instr_iny(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_dey` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn instr_dey(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_tax` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn instr_tax(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_input` [INFO] [stdout] --> src/cpu/instructions/utils.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn get_input(cpu: &mut Cpu, addresing_mode: AddresingMode) -> (u16, bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_tay` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn instr_tay(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_tsx` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn instr_tsx(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_txs` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn instr_txs(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_txa` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn instr_txa(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_instr_value` [INFO] [stdout] --> src/cpu/instructions/utils.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn read_instr_value(cpu: &mut Cpu, mode: AddresingMode) -> (u16, u8, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_tya` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn instr_tya(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_lda` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn instr_lda(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_ldx` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn instr_ldx(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `branch` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn branch(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_ldy` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn instr_ldy(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_cmp` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn instr_cmp(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_and` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn instr_and(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_eor` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn instr_eor(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bcs` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn instr_bcs(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_ora` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn instr_ora(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bit` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn instr_bit(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_adc` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn instr_adc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bcc` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn instr_bcc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sbc` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn instr_sbc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_cpx` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn instr_cpx(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_cpy` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn instr_cpy(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_beq` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn instr_beq(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `general_shift` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn general_shift( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_asl` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn instr_asl(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_lsr` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn instr_lsr(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bne` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn instr_bne(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_rol` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn instr_rol(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_ror` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn instr_ror(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_inc` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn instr_inc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bmi` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn instr_bmi(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_dec` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn instr_dec(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_pha` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn instr_pha(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bpl` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn instr_bpl(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_php` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn instr_php(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_pla` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn instr_pla(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_plp` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn instr_plp(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bvs` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn instr_bvs(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_jmp` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn instr_jmp(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_brk` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn instr_brk(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_rti` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn instr_rti(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_jsr` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn instr_jsr(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bvc` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn instr_bvc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_rts` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn instr_rts(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sta` [INFO] [stdout] --> src/cpu/instructions/write_opcodes.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn instr_sta(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sty` [INFO] [stdout] --> src/cpu/instructions/write_opcodes.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn instr_sty(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sei` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn instr_sei(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_stx` [INFO] [stdout] --> src/cpu/instructions/write_opcodes.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn instr_stx(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ZPG` [INFO] [stdout] --> src/cpu/instructions.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | ZPG, // Zero page [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sed` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn instr_sed(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ZPX` [INFO] [stdout] --> src/cpu/instructions.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | ZPX, // Zero page, X [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ZPY` [INFO] [stdout] --> src/cpu/instructions.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | ZPY, // Zero page, Y [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ABS` [INFO] [stdout] --> src/cpu/instructions.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | ABS, // Absolute [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ABX` [INFO] [stdout] --> src/cpu/instructions.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | ABX, // Absolute, X [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sec` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn instr_sec(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ABY` [INFO] [stdout] --> src/cpu/instructions.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | ABY, // Absolute, Y [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IND` [INFO] [stdout] --> src/cpu/instructions.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | IND, // Indirect [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IMP` [INFO] [stdout] --> src/cpu/instructions.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | IMP, // Implied [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_clc` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn instr_clc(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ACC` [INFO] [stdout] --> src/cpu/instructions.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | ACC, // Accumulator [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IMM` [INFO] [stdout] --> src/cpu/instructions.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | IMM, // Immediate [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `REL` [INFO] [stdout] --> src/cpu/instructions.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | REL, // Relative [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_cld` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn instr_cld(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IDX` [INFO] [stdout] --> src/cpu/instructions.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | IDX, // (Indirect, X) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IDY` [INFO] [stdout] --> src/cpu/instructions.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | IDY, // (Indirect), Y [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_cli` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn instr_cli(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_length` [INFO] [stdout] --> src/cpu/instructions.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn get_length(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `addr_to_instr` [INFO] [stdout] --> src/cpu/instructions.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn addr_to_instr(cpu: &Cpu, addr: u16) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dump_current_instruction` [INFO] [stdout] --> src/cpu/instructions.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn dump_current_instruction(cpu: &mut Cpu) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_clv` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn instr_clv(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_input_address` [INFO] [stdout] --> src/cpu/instructions.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | fn is_input_address(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_length` [INFO] [stdout] --> src/cpu/instructions.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn get_length(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `make_opcode` [INFO] [stdout] --> src/cpu/instructions.rs:202:4 [INFO] [stdout] | [INFO] [stdout] 202 | fn make_opcode( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_nop` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn instr_nop(_cpu: &mut Cpu, _mode: AddresingMode) {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_opcode_table` [INFO] [stdout] --> src/cpu/instructions.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn get_opcode_table() -> [Opcode; 256] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `STACK_START_ADDR` [INFO] [stdout] --> src/cpu.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const STACK_START_ADDR: u16 = 0x100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `opcode_table` [INFO] [stdout] --> src/cpu.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | opcode_table: [Opcode; 256], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_inx` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn instr_inx(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_dex` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn instr_dex(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_iny` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn instr_iny(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_dey` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn instr_dey(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_tax` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn instr_tax(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_tay` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn instr_tay(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_tsx` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn instr_tsx(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_txs` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn instr_txs(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_bit` [INFO] [stdout] --> src/cpu.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get_bit(&self, flag: Self) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_txa` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn instr_txa(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_next` [INFO] [stdout] --> src/cpu.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn execute_next(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_tya` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn instr_tya(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stack_push` [INFO] [stdout] --> src/cpu.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn stack_push(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stack_push_word` [INFO] [stdout] --> src/cpu.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn stack_push_word(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_lda` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn instr_lda(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stack_pop` [INFO] [stdout] --> src/cpu.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn stack_pop(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stack_pop_word` [INFO] [stdout] --> src/cpu.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn stack_pop_word(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_ldx` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn instr_ldx(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_opcode_table` [INFO] [stdout] --> src/cpu.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn get_opcode_table(&self) -> [Opcode; 256] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_from_bus` [INFO] [stdout] --> src/cpu.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn create_from_bus(bus: Bus) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_ldy` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn instr_ldy(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Vertical` [INFO] [stdout] --> src/nes_parser.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | Vertical, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Horizontal` [INFO] [stdout] --> src/nes_parser.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | Horizontal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_cmp` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn instr_cmp(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FourWay` [INFO] [stdout] --> src/nes_parser.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | FourWay, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_and` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn instr_and(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sign_parse` [INFO] [stdout] --> src/nes_parser.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn sign_parse(input: &[u8]) -> IResult<&[u8], &[u8]> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mapper_flags_parse` [INFO] [stdout] --> src/nes_parser.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn mapper_flags_parse(input: &[u8]) -> IResult<&[u8], (u8, InesFlags6, InesFlags7)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_eor` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn instr_eor(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_ines_header` [INFO] [stdout] --> src/nes_parser.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn parse_ines_header(input: &[u8]) -> IResult<&[u8], InesHeader> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_ines_bytes` [INFO] [stdout] --> src/nes_parser.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn parse_ines_bytes(input: &[u8]) -> IResult<&[u8], InesFile> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_ora` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn instr_ora(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_file_as_byte_vec` [INFO] [stdout] --> src/nes_parser.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn get_file_as_byte_vec(filename: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ines_to_cartridge` [INFO] [stdout] --> src/nes_parser.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | fn ines_to_cartridge(ines: InesFile) -> Cartridge { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bit` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn instr_bit(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_cartridge_from_file` [INFO] [stdout] --> src/nes_parser.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn get_cartridge_from_file(filename: &str) -> Cartridge { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_adc` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn instr_adc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `chr_banks` [INFO] [stdout] --> src/bus/mappers/mapper_0.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub chr_banks: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `chr_banks` [INFO] [stdout] --> src/bus/mappers/mapper_3.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub chr_banks: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sbc` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn instr_sbc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_mapper` [INFO] [stdout] --> src/bus/mappers.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_mapper(ines: &InesFile) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cycles` [INFO] [stdout] --> src/bus.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | cycles: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_cpx` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn instr_cpx(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_read_word` [INFO] [stdout] --> src/bus.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn cpu_read_word(&self, addr: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_cpy` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn instr_cpy(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_read_zp_word` [INFO] [stdout] --> src/bus.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn cpu_read_zp_word(&self, addr: u8) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_write` [INFO] [stdout] --> src/bus.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn cpu_write(&mut self, addr: u16, value: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `general_shift` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn general_shift( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_write_word` [INFO] [stdout] --> src/bus.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn cpu_write_word(&mut self, addr: u16, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_write_zp_word` [INFO] [stdout] --> src/bus.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn cpu_write_zp_word(&mut self, addr: u8, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_asl` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn instr_asl(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cycle` [INFO] [stdout] --> src/bus.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn cycle(&mut self, cycles: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cycles` [INFO] [stdout] --> src/bus.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn get_cycles(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_lsr` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn instr_lsr(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_from_crt` [INFO] [stdout] --> src/bus.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn create_from_crt(crt: Cartridge) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Ppu` [INFO] [stdout] --> src/ppu.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) struct Ppu { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_rol` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn instr_rol(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_ror` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn instr_ror(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_inc` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn instr_inc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_dec` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn instr_dec(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_pha` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn instr_pha(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_php` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn instr_php(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_pla` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn instr_pla(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_plp` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn instr_plp(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_jmp` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn instr_jmp(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_brk` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn instr_brk(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_rti` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn instr_rti(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_jsr` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn instr_jsr(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_rts` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn instr_rts(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sta` [INFO] [stdout] --> src/cpu/instructions/write_opcodes.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn instr_sta(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sty` [INFO] [stdout] --> src/cpu/instructions/write_opcodes.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn instr_sty(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_stx` [INFO] [stdout] --> src/cpu/instructions/write_opcodes.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn instr_stx(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ZPG` [INFO] [stdout] --> src/cpu/instructions.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | ZPG, // Zero page [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ZPX` [INFO] [stdout] --> src/cpu/instructions.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | ZPX, // Zero page, X [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ZPY` [INFO] [stdout] --> src/cpu/instructions.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | ZPY, // Zero page, Y [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ABS` [INFO] [stdout] --> src/cpu/instructions.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | ABS, // Absolute [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ABX` [INFO] [stdout] --> src/cpu/instructions.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | ABX, // Absolute, X [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ABY` [INFO] [stdout] --> src/cpu/instructions.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | ABY, // Absolute, Y [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IND` [INFO] [stdout] --> src/cpu/instructions.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | IND, // Indirect [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IMP` [INFO] [stdout] --> src/cpu/instructions.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | IMP, // Implied [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ACC` [INFO] [stdout] --> src/cpu/instructions.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | ACC, // Accumulator [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IMM` [INFO] [stdout] --> src/cpu/instructions.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | IMM, // Immediate [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `REL` [INFO] [stdout] --> src/cpu/instructions.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | REL, // Relative [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IDX` [INFO] [stdout] --> src/cpu/instructions.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | IDX, // (Indirect, X) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IDY` [INFO] [stdout] --> src/cpu/instructions.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | IDY, // (Indirect), Y [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_length` [INFO] [stdout] --> src/cpu/instructions.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn get_length(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `addr_to_instr` [INFO] [stdout] --> src/cpu/instructions.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn addr_to_instr(cpu: &Cpu, addr: u16) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dump_current_instruction` [INFO] [stdout] --> src/cpu/instructions.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn dump_current_instruction(cpu: &mut Cpu) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_input_address` [INFO] [stdout] --> src/cpu/instructions.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | fn is_input_address(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_length` [INFO] [stdout] --> src/cpu/instructions.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn get_length(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `make_opcode` [INFO] [stdout] --> src/cpu/instructions.rs:202:4 [INFO] [stdout] | [INFO] [stdout] 202 | fn make_opcode( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_opcode_table` [INFO] [stdout] --> src/cpu/instructions.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn get_opcode_table() -> [Opcode; 256] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `STACK_START_ADDR` [INFO] [stdout] --> src/cpu.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const STACK_START_ADDR: u16 = 0x100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `opcode_table` [INFO] [stdout] --> src/cpu.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | opcode_table: [Opcode; 256], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_bit` [INFO] [stdout] --> src/cpu.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get_bit(&self, flag: Self) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_next` [INFO] [stdout] --> src/cpu.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn execute_next(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stack_push` [INFO] [stdout] --> src/cpu.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn stack_push(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stack_push_word` [INFO] [stdout] --> src/cpu.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn stack_push_word(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stack_pop` [INFO] [stdout] --> src/cpu.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn stack_pop(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stack_pop_word` [INFO] [stdout] --> src/cpu.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn stack_pop_word(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_opcode_table` [INFO] [stdout] --> src/cpu.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn get_opcode_table(&self) -> [Opcode; 256] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_from_bus` [INFO] [stdout] --> src/cpu.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn create_from_bus(bus: Bus) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Vertical` [INFO] [stdout] --> src/nes_parser.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | Vertical, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Horizontal` [INFO] [stdout] --> src/nes_parser.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | Horizontal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FourWay` [INFO] [stdout] --> src/nes_parser.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | FourWay, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sign_parse` [INFO] [stdout] --> src/nes_parser.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn sign_parse(input: &[u8]) -> IResult<&[u8], &[u8]> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mapper_flags_parse` [INFO] [stdout] --> src/nes_parser.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn mapper_flags_parse(input: &[u8]) -> IResult<&[u8], (u8, InesFlags6, InesFlags7)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_ines_header` [INFO] [stdout] --> src/nes_parser.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn parse_ines_header(input: &[u8]) -> IResult<&[u8], InesHeader> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_ines_bytes` [INFO] [stdout] --> src/nes_parser.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn parse_ines_bytes(input: &[u8]) -> IResult<&[u8], InesFile> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_file_as_byte_vec` [INFO] [stdout] --> src/nes_parser.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn get_file_as_byte_vec(filename: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ines_to_cartridge` [INFO] [stdout] --> src/nes_parser.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | fn ines_to_cartridge(ines: InesFile) -> Cartridge { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_cartridge_from_file` [INFO] [stdout] --> src/nes_parser.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn get_cartridge_from_file(filename: &str) -> Cartridge { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `chr_banks` [INFO] [stdout] --> src/bus/mappers/mapper_0.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub chr_banks: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `chr_banks` [INFO] [stdout] --> src/bus/mappers/mapper_3.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub chr_banks: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_mapper` [INFO] [stdout] --> src/bus/mappers.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_mapper(ines: &InesFile) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cycles` [INFO] [stdout] --> src/bus.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | cycles: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_read_word` [INFO] [stdout] --> src/bus.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn cpu_read_word(&self, addr: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_read_zp_word` [INFO] [stdout] --> src/bus.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn cpu_read_zp_word(&self, addr: u8) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_write` [INFO] [stdout] --> src/bus.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn cpu_write(&mut self, addr: u16, value: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_write_word` [INFO] [stdout] --> src/bus.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn cpu_write_word(&mut self, addr: u16, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_write_zp_word` [INFO] [stdout] --> src/bus.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn cpu_write_zp_word(&mut self, addr: u8, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cycle` [INFO] [stdout] --> src/bus.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn cycle(&mut self, cycles: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cycles` [INFO] [stdout] --> src/bus.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn get_cycles(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_from_crt` [INFO] [stdout] --> src/bus.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn create_from_crt(crt: Cartridge) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Ppu` [INFO] [stdout] --> src/ppu.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) struct Ppu { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 118 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 118 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.89s [INFO] running `Command { std: "docker" "inspect" "6adc73183a46031d24800e1b8b657039a9806d3564b9ab0008a6101ea1a61ebb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6adc73183a46031d24800e1b8b657039a9806d3564b9ab0008a6101ea1a61ebb", kill_on_drop: false }` [INFO] [stdout] 6adc73183a46031d24800e1b8b657039a9806d3564b9ab0008a6101ea1a61ebb