[INFO] cloning repository https://github.com/jtthill/nes-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jtthill/nes-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjtthill%2Fnes-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjtthill%2Fnes-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 951f5848644e2a499b0cc7a7cf628c3cf85e39a2 [INFO] checking jtthill/nes-rs against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjtthill%2Fnes-rs" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jtthill/nes-rs on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jtthill/nes-rs [INFO] finished tweaking git repo https://github.com/jtthill/nes-rs [INFO] tweaked toml for git repo https://github.com/jtthill/nes-rs written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/jtthill/nes-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded log v0.4.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f67bbd4a94e63dcb52f45afd925c62d40294a01668fdfe8659d531d4c2bf0a0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1f67bbd4a94e63dcb52f45afd925c62d40294a01668fdfe8659d531d4c2bf0a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f67bbd4a94e63dcb52f45afd925c62d40294a01668fdfe8659d531d4c2bf0a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f67bbd4a94e63dcb52f45afd925c62d40294a01668fdfe8659d531d4c2bf0a0", kill_on_drop: false }` [INFO] [stdout] 1f67bbd4a94e63dcb52f45afd925c62d40294a01668fdfe8659d531d4c2bf0a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec795d623f70e026c59ca2fdd8c6ccb8df102c6b361cbaf810fcd44401eb27a0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ec795d623f70e026c59ca2fdd8c6ccb8df102c6b361cbaf810fcd44401eb27a0", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling regex v1.0.2 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking termcolor v1.0.1 [INFO] [stderr] Checking log v0.4.4 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking aho-corasick v0.6.6 [INFO] [stderr] Checking env_logger v0.5.12 [INFO] [stderr] Checking nes-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/gamepak/mod.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{self, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/interconnect.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | INTERNAL_RAM_START ... INTERNAL_RAM_END => self.ram.read_byte(addr - INTERNAL_RAM_START), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/interconnect.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | PPU_CTRL_REG ... PPU_MIRROR_END => unimplemented!("PPU register access unimplemented."), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/interconnect.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | APU_SQ1_VOL ... APU_DMC_LEN => unimplemented!("APU register access unimplemented."), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/interconnect.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | GAMEPAD_JOY_1 ... GAMEPAD_JOY_2 => unimplemented!("Gamepad registers unimplemented."), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/interconnect.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | GAMEPAK_MEM_START ... GAMEPAK_MEM_END => self.gamepak.read_byte(addr - GAMEPAK_MEM_START), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/interconnect.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | INTERNAL_RAM_START ... INTERNAL_RAM_END => self.ram.write_byte(addr - INTERNAL_RAM_START, data), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/interconnect.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | PPU_CTRL_REG ... PPU_MIRROR_END => unimplemented!("PPU register access unimplemented."), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/interconnect.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | APU_SQ1_VOL ... APU_DMC_LEN => unimplemented!("APU register access unimplemented."), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/interconnect.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | GAMEPAD_JOY_1 ... GAMEPAD_JOY_2 => unimplemented!("Gamepad registers unimplemented."), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/interconnect.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | GAMEPAK_MEM_START ... GAMEPAK_MEM_END => self.gamepak.write_byte(addr - GAMEPAK_MEM_START, data), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/gamepak/mod.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{self, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/interconnect.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | INTERNAL_RAM_START ... INTERNAL_RAM_END => self.ram.read_byte(addr - INTERNAL_RAM_START), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/interconnect.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | PPU_CTRL_REG ... PPU_MIRROR_END => unimplemented!("PPU register access unimplemented."), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/interconnect.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | APU_SQ1_VOL ... APU_DMC_LEN => unimplemented!("APU register access unimplemented."), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/interconnect.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | GAMEPAD_JOY_1 ... GAMEPAD_JOY_2 => unimplemented!("Gamepad registers unimplemented."), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/interconnect.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | GAMEPAK_MEM_START ... GAMEPAK_MEM_END => self.gamepak.read_byte(addr - GAMEPAK_MEM_START), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/interconnect.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | INTERNAL_RAM_START ... INTERNAL_RAM_END => self.ram.write_byte(addr - INTERNAL_RAM_START, data), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/interconnect.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | PPU_CTRL_REG ... PPU_MIRROR_END => unimplemented!("PPU register access unimplemented."), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/interconnect.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | APU_SQ1_VOL ... APU_DMC_LEN => unimplemented!("APU register access unimplemented."), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/interconnect.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | GAMEPAD_JOY_1 ... GAMEPAD_JOY_2 => unimplemented!("Gamepad registers unimplemented."), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/interconnect.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | GAMEPAK_MEM_START ... GAMEPAK_MEM_END => self.gamepak.write_byte(addr - GAMEPAK_MEM_START, data), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:378:23 [INFO] [stdout] | [INFO] [stdout] 378 | fn and(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:378:49 [INFO] [stdout] | [INFO] [stdout] 378 | fn and(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:382:23 [INFO] [stdout] | [INFO] [stdout] 382 | fn asl(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:382:49 [INFO] [stdout] | [INFO] [stdout] 382 | fn asl(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:386:23 [INFO] [stdout] | [INFO] [stdout] 386 | fn bcc(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:386:49 [INFO] [stdout] | [INFO] [stdout] 386 | fn bcc(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:390:23 [INFO] [stdout] | [INFO] [stdout] 390 | fn bcs(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:390:49 [INFO] [stdout] | [INFO] [stdout] 390 | fn bcs(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:394:23 [INFO] [stdout] | [INFO] [stdout] 394 | fn beq(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:394:49 [INFO] [stdout] | [INFO] [stdout] 394 | fn beq(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:398:23 [INFO] [stdout] | [INFO] [stdout] 398 | fn bit(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:398:49 [INFO] [stdout] | [INFO] [stdout] 398 | fn bit(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:402:23 [INFO] [stdout] | [INFO] [stdout] 402 | fn bmi(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:402:49 [INFO] [stdout] | [INFO] [stdout] 402 | fn bmi(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:406:23 [INFO] [stdout] | [INFO] [stdout] 406 | fn bne(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:406:49 [INFO] [stdout] | [INFO] [stdout] 406 | fn bne(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:410:23 [INFO] [stdout] | [INFO] [stdout] 410 | fn bpl(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:410:49 [INFO] [stdout] | [INFO] [stdout] 410 | fn bpl(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:414:23 [INFO] [stdout] | [INFO] [stdout] 414 | fn brk(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:414:49 [INFO] [stdout] | [INFO] [stdout] 414 | fn brk(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:418:23 [INFO] [stdout] | [INFO] [stdout] 418 | fn bvc(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:418:49 [INFO] [stdout] | [INFO] [stdout] 418 | fn bvc(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:422:23 [INFO] [stdout] | [INFO] [stdout] 422 | fn bvs(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:422:49 [INFO] [stdout] | [INFO] [stdout] 422 | fn bvs(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:426:23 [INFO] [stdout] | [INFO] [stdout] 426 | fn clc(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:426:49 [INFO] [stdout] | [INFO] [stdout] 426 | fn clc(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:430:23 [INFO] [stdout] | [INFO] [stdout] 430 | fn cld(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:430:49 [INFO] [stdout] | [INFO] [stdout] 430 | fn cld(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:434:23 [INFO] [stdout] | [INFO] [stdout] 434 | fn cli(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:434:49 [INFO] [stdout] | [INFO] [stdout] 434 | fn cli(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:438:23 [INFO] [stdout] | [INFO] [stdout] 438 | fn clv(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:438:49 [INFO] [stdout] | [INFO] [stdout] 438 | fn clv(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:442:23 [INFO] [stdout] | [INFO] [stdout] 442 | fn cmp(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:442:49 [INFO] [stdout] | [INFO] [stdout] 442 | fn cmp(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:446:23 [INFO] [stdout] | [INFO] [stdout] 446 | fn cpx(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:446:49 [INFO] [stdout] | [INFO] [stdout] 446 | fn cpx(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:450:23 [INFO] [stdout] | [INFO] [stdout] 450 | fn cpy(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:450:49 [INFO] [stdout] | [INFO] [stdout] 450 | fn cpy(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:454:23 [INFO] [stdout] | [INFO] [stdout] 454 | fn dec(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:454:49 [INFO] [stdout] | [INFO] [stdout] 454 | fn dec(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:458:23 [INFO] [stdout] | [INFO] [stdout] 458 | fn dex(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:458:49 [INFO] [stdout] | [INFO] [stdout] 458 | fn dex(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:462:23 [INFO] [stdout] | [INFO] [stdout] 462 | fn dey(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:462:49 [INFO] [stdout] | [INFO] [stdout] 462 | fn dey(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:466:23 [INFO] [stdout] | [INFO] [stdout] 466 | fn eor(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:466:49 [INFO] [stdout] | [INFO] [stdout] 466 | fn eor(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:470:23 [INFO] [stdout] | [INFO] [stdout] 470 | fn inc(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:470:49 [INFO] [stdout] | [INFO] [stdout] 470 | fn inc(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:474:23 [INFO] [stdout] | [INFO] [stdout] 474 | fn inx(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:474:49 [INFO] [stdout] | [INFO] [stdout] 474 | fn inx(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:478:23 [INFO] [stdout] | [INFO] [stdout] 478 | fn iny(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:478:49 [INFO] [stdout] | [INFO] [stdout] 478 | fn iny(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:482:23 [INFO] [stdout] | [INFO] [stdout] 482 | fn jmp(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:482:49 [INFO] [stdout] | [INFO] [stdout] 482 | fn jmp(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:486:23 [INFO] [stdout] | [INFO] [stdout] 486 | fn jsr(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:486:49 [INFO] [stdout] | [INFO] [stdout] 486 | fn jsr(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:490:23 [INFO] [stdout] | [INFO] [stdout] 490 | fn lda(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:490:49 [INFO] [stdout] | [INFO] [stdout] 490 | fn lda(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:494:23 [INFO] [stdout] | [INFO] [stdout] 494 | fn ldx(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:494:49 [INFO] [stdout] | [INFO] [stdout] 494 | fn ldx(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:498:23 [INFO] [stdout] | [INFO] [stdout] 498 | fn ldy(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:498:49 [INFO] [stdout] | [INFO] [stdout] 498 | fn ldy(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:502:23 [INFO] [stdout] | [INFO] [stdout] 502 | fn lsr(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:502:49 [INFO] [stdout] | [INFO] [stdout] 502 | fn lsr(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:506:23 [INFO] [stdout] | [INFO] [stdout] 506 | fn nop(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:506:49 [INFO] [stdout] | [INFO] [stdout] 506 | fn nop(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:510:23 [INFO] [stdout] | [INFO] [stdout] 510 | fn ora(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:510:49 [INFO] [stdout] | [INFO] [stdout] 510 | fn ora(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:514:23 [INFO] [stdout] | [INFO] [stdout] 514 | fn pha(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:514:49 [INFO] [stdout] | [INFO] [stdout] 514 | fn pha(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:518:23 [INFO] [stdout] | [INFO] [stdout] 518 | fn php(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:518:49 [INFO] [stdout] | [INFO] [stdout] 518 | fn php(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:522:23 [INFO] [stdout] | [INFO] [stdout] 522 | fn pla(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:522:49 [INFO] [stdout] | [INFO] [stdout] 522 | fn pla(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:526:23 [INFO] [stdout] | [INFO] [stdout] 526 | fn plp(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:526:49 [INFO] [stdout] | [INFO] [stdout] 526 | fn plp(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:530:23 [INFO] [stdout] | [INFO] [stdout] 530 | fn rol(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:530:49 [INFO] [stdout] | [INFO] [stdout] 530 | fn rol(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:534:23 [INFO] [stdout] | [INFO] [stdout] 534 | fn ror(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:534:49 [INFO] [stdout] | [INFO] [stdout] 534 | fn ror(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:538:23 [INFO] [stdout] | [INFO] [stdout] 538 | fn rti(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:538:49 [INFO] [stdout] | [INFO] [stdout] 538 | fn rti(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:542:23 [INFO] [stdout] | [INFO] [stdout] 542 | fn rts(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:542:49 [INFO] [stdout] | [INFO] [stdout] 542 | fn rts(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:546:23 [INFO] [stdout] | [INFO] [stdout] 546 | fn sbc(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:546:49 [INFO] [stdout] | [INFO] [stdout] 546 | fn sbc(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:550:23 [INFO] [stdout] | [INFO] [stdout] 550 | fn sec(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:550:49 [INFO] [stdout] | [INFO] [stdout] 550 | fn sec(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:554:23 [INFO] [stdout] | [INFO] [stdout] 554 | fn sed(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:554:49 [INFO] [stdout] | [INFO] [stdout] 554 | fn sed(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:558:23 [INFO] [stdout] | [INFO] [stdout] 558 | fn sei(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:558:49 [INFO] [stdout] | [INFO] [stdout] 558 | fn sei(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:562:23 [INFO] [stdout] | [INFO] [stdout] 562 | fn sta(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:562:49 [INFO] [stdout] | [INFO] [stdout] 562 | fn sta(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:566:23 [INFO] [stdout] | [INFO] [stdout] 566 | fn stx(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:566:49 [INFO] [stdout] | [INFO] [stdout] 566 | fn stx(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:570:23 [INFO] [stdout] | [INFO] [stdout] 570 | fn sty(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:570:49 [INFO] [stdout] | [INFO] [stdout] 570 | fn sty(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:574:23 [INFO] [stdout] | [INFO] [stdout] 574 | fn tax(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:574:49 [INFO] [stdout] | [INFO] [stdout] 574 | fn tax(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:578:23 [INFO] [stdout] | [INFO] [stdout] 578 | fn tay(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:578:49 [INFO] [stdout] | [INFO] [stdout] 578 | fn tay(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:582:23 [INFO] [stdout] | [INFO] [stdout] 582 | fn tsx(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:582:49 [INFO] [stdout] | [INFO] [stdout] 582 | fn tsx(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:586:23 [INFO] [stdout] | [INFO] [stdout] 586 | fn txa(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:586:49 [INFO] [stdout] | [INFO] [stdout] 586 | fn txa(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:590:23 [INFO] [stdout] | [INFO] [stdout] 590 | fn txs(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:590:49 [INFO] [stdout] | [INFO] [stdout] 590 | fn txs(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:594:23 [INFO] [stdout] | [INFO] [stdout] 594 | fn tya(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:594:49 [INFO] [stdout] | [INFO] [stdout] 594 | fn tya(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/gamepak/mod.rs:97:26 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn read_byte(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/gamepak/mod.rs:104:31 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn write_byte(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/gamepak/mod.rs:104:42 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn write_byte(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/ram.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn read_byte(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/ram.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn write_byte(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ram.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn write_byte(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpu.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut cpu = Cpu::default(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpu.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | let mut cycles; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpu.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | let mut mem_val; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:378:23 [INFO] [stdout] | [INFO] [stdout] 378 | fn and(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:378:49 [INFO] [stdout] | [INFO] [stdout] 378 | fn and(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:382:23 [INFO] [stdout] | [INFO] [stdout] 382 | fn asl(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:382:49 [INFO] [stdout] | [INFO] [stdout] 382 | fn asl(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:386:23 [INFO] [stdout] | [INFO] [stdout] 386 | fn bcc(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:386:49 [INFO] [stdout] | [INFO] [stdout] 386 | fn bcc(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:390:23 [INFO] [stdout] | [INFO] [stdout] 390 | fn bcs(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:390:49 [INFO] [stdout] | [INFO] [stdout] 390 | fn bcs(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:394:23 [INFO] [stdout] | [INFO] [stdout] 394 | fn beq(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:394:49 [INFO] [stdout] | [INFO] [stdout] 394 | fn beq(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:398:23 [INFO] [stdout] | [INFO] [stdout] 398 | fn bit(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:398:49 [INFO] [stdout] | [INFO] [stdout] 398 | fn bit(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:402:23 [INFO] [stdout] | [INFO] [stdout] 402 | fn bmi(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:402:49 [INFO] [stdout] | [INFO] [stdout] 402 | fn bmi(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:406:23 [INFO] [stdout] | [INFO] [stdout] 406 | fn bne(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:406:49 [INFO] [stdout] | [INFO] [stdout] 406 | fn bne(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:410:23 [INFO] [stdout] | [INFO] [stdout] 410 | fn bpl(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:410:49 [INFO] [stdout] | [INFO] [stdout] 410 | fn bpl(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:414:23 [INFO] [stdout] | [INFO] [stdout] 414 | fn brk(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:414:49 [INFO] [stdout] | [INFO] [stdout] 414 | fn brk(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:418:23 [INFO] [stdout] | [INFO] [stdout] 418 | fn bvc(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:418:49 [INFO] [stdout] | [INFO] [stdout] 418 | fn bvc(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:422:23 [INFO] [stdout] | [INFO] [stdout] 422 | fn bvs(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:422:49 [INFO] [stdout] | [INFO] [stdout] 422 | fn bvs(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:426:23 [INFO] [stdout] | [INFO] [stdout] 426 | fn clc(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:426:49 [INFO] [stdout] | [INFO] [stdout] 426 | fn clc(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:430:23 [INFO] [stdout] | [INFO] [stdout] 430 | fn cld(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:430:49 [INFO] [stdout] | [INFO] [stdout] 430 | fn cld(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:434:23 [INFO] [stdout] | [INFO] [stdout] 434 | fn cli(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:434:49 [INFO] [stdout] | [INFO] [stdout] 434 | fn cli(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:438:23 [INFO] [stdout] | [INFO] [stdout] 438 | fn clv(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:438:49 [INFO] [stdout] | [INFO] [stdout] 438 | fn clv(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:442:23 [INFO] [stdout] | [INFO] [stdout] 442 | fn cmp(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:442:49 [INFO] [stdout] | [INFO] [stdout] 442 | fn cmp(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:446:23 [INFO] [stdout] | [INFO] [stdout] 446 | fn cpx(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:446:49 [INFO] [stdout] | [INFO] [stdout] 446 | fn cpx(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:450:23 [INFO] [stdout] | [INFO] [stdout] 450 | fn cpy(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:450:49 [INFO] [stdout] | [INFO] [stdout] 450 | fn cpy(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:454:23 [INFO] [stdout] | [INFO] [stdout] 454 | fn dec(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:454:49 [INFO] [stdout] | [INFO] [stdout] 454 | fn dec(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:458:23 [INFO] [stdout] | [INFO] [stdout] 458 | fn dex(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:458:49 [INFO] [stdout] | [INFO] [stdout] 458 | fn dex(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:462:23 [INFO] [stdout] | [INFO] [stdout] 462 | fn dey(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:462:49 [INFO] [stdout] | [INFO] [stdout] 462 | fn dey(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:466:23 [INFO] [stdout] | [INFO] [stdout] 466 | fn eor(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:466:49 [INFO] [stdout] | [INFO] [stdout] 466 | fn eor(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:470:23 [INFO] [stdout] | [INFO] [stdout] 470 | fn inc(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:470:49 [INFO] [stdout] | [INFO] [stdout] 470 | fn inc(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:474:23 [INFO] [stdout] | [INFO] [stdout] 474 | fn inx(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:474:49 [INFO] [stdout] | [INFO] [stdout] 474 | fn inx(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:478:23 [INFO] [stdout] | [INFO] [stdout] 478 | fn iny(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:478:49 [INFO] [stdout] | [INFO] [stdout] 478 | fn iny(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:482:23 [INFO] [stdout] | [INFO] [stdout] 482 | fn jmp(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:482:49 [INFO] [stdout] | [INFO] [stdout] 482 | fn jmp(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:486:23 [INFO] [stdout] | [INFO] [stdout] 486 | fn jsr(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:486:49 [INFO] [stdout] | [INFO] [stdout] 486 | fn jsr(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:490:23 [INFO] [stdout] | [INFO] [stdout] 490 | fn lda(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:490:49 [INFO] [stdout] | [INFO] [stdout] 490 | fn lda(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:494:23 [INFO] [stdout] | [INFO] [stdout] 494 | fn ldx(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:494:49 [INFO] [stdout] | [INFO] [stdout] 494 | fn ldx(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:498:23 [INFO] [stdout] | [INFO] [stdout] 498 | fn ldy(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:498:49 [INFO] [stdout] | [INFO] [stdout] 498 | fn ldy(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:502:23 [INFO] [stdout] | [INFO] [stdout] 502 | fn lsr(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:502:49 [INFO] [stdout] | [INFO] [stdout] 502 | fn lsr(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:506:23 [INFO] [stdout] | [INFO] [stdout] 506 | fn nop(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:506:49 [INFO] [stdout] | [INFO] [stdout] 506 | fn nop(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:510:23 [INFO] [stdout] | [INFO] [stdout] 510 | fn ora(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:510:49 [INFO] [stdout] | [INFO] [stdout] 510 | fn ora(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:514:23 [INFO] [stdout] | [INFO] [stdout] 514 | fn pha(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:514:49 [INFO] [stdout] | [INFO] [stdout] 514 | fn pha(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:518:23 [INFO] [stdout] | [INFO] [stdout] 518 | fn php(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:518:49 [INFO] [stdout] | [INFO] [stdout] 518 | fn php(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:522:23 [INFO] [stdout] | [INFO] [stdout] 522 | fn pla(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:522:49 [INFO] [stdout] | [INFO] [stdout] 522 | fn pla(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:526:23 [INFO] [stdout] | [INFO] [stdout] 526 | fn plp(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:526:49 [INFO] [stdout] | [INFO] [stdout] 526 | fn plp(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gamepak/mod.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | let mut prg_ram_bytes = vec![0xff; SRAM_SIZE as usize].into_boxed_slice(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:530:23 [INFO] [stdout] | [INFO] [stdout] 530 | fn rol(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:530:49 [INFO] [stdout] | [INFO] [stdout] 530 | fn rol(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:534:23 [INFO] [stdout] | [INFO] [stdout] 534 | fn ror(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:534:49 [INFO] [stdout] | [INFO] [stdout] 534 | fn ror(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:538:23 [INFO] [stdout] | [INFO] [stdout] 538 | fn rti(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:538:49 [INFO] [stdout] | [INFO] [stdout] 538 | fn rti(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:542:23 [INFO] [stdout] | [INFO] [stdout] 542 | fn rts(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:542:49 [INFO] [stdout] | [INFO] [stdout] 542 | fn rts(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:546:23 [INFO] [stdout] | [INFO] [stdout] 546 | fn sbc(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:546:49 [INFO] [stdout] | [INFO] [stdout] 546 | fn sbc(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:550:23 [INFO] [stdout] | [INFO] [stdout] 550 | fn sec(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:550:49 [INFO] [stdout] | [INFO] [stdout] 550 | fn sec(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:554:23 [INFO] [stdout] | [INFO] [stdout] 554 | fn sed(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:554:49 [INFO] [stdout] | [INFO] [stdout] 554 | fn sed(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:558:23 [INFO] [stdout] | [INFO] [stdout] 558 | fn sei(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:558:49 [INFO] [stdout] | [INFO] [stdout] 558 | fn sei(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:562:23 [INFO] [stdout] | [INFO] [stdout] 562 | fn sta(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:562:49 [INFO] [stdout] | [INFO] [stdout] 562 | fn sta(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:566:23 [INFO] [stdout] | [INFO] [stdout] 566 | fn stx(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:566:49 [INFO] [stdout] | [INFO] [stdout] 566 | fn stx(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:570:23 [INFO] [stdout] | [INFO] [stdout] 570 | fn sty(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:570:49 [INFO] [stdout] | [INFO] [stdout] 570 | fn sty(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:574:23 [INFO] [stdout] | [INFO] [stdout] 574 | fn tax(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:574:49 [INFO] [stdout] | [INFO] [stdout] 574 | fn tax(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:578:23 [INFO] [stdout] | [INFO] [stdout] 578 | fn tay(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:578:49 [INFO] [stdout] | [INFO] [stdout] 578 | fn tay(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:582:23 [INFO] [stdout] | [INFO] [stdout] 582 | fn tsx(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:582:49 [INFO] [stdout] | [INFO] [stdout] 582 | fn tsx(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:586:23 [INFO] [stdout] | [INFO] [stdout] 586 | fn txa(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:586:49 [INFO] [stdout] | [INFO] [stdout] 586 | fn txa(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:590:23 [INFO] [stdout] | [INFO] [stdout] 590 | fn txs(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:590:49 [INFO] [stdout] | [INFO] [stdout] 590 | fn txs(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inter` [INFO] [stdout] --> src/cpu.rs:594:23 [INFO] [stdout] | [INFO] [stdout] 594 | fn tya(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:594:49 [INFO] [stdout] | [INFO] [stdout] 594 | fn tya(&mut self, inter: &mut Interconnect, mode: AddressingMode) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/gamepak/mod.rs:97:26 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn read_byte(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/gamepak/mod.rs:104:31 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn write_byte(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/gamepak/mod.rs:104:42 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn write_byte(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/ram.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn read_byte(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/ram.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn write_byte(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ram.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | let mut bytes: Box<[u8]> = vec![0; INTERNAL_RAM_SIZE as usize].into_boxed_slice(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ram.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn write_byte(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Break` [INFO] [stdout] --> src/cpu.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | Break, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Decimal` [INFO] [stdout] --> src/cpu.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | Decimal, //unused [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Interrupt` [INFO] [stdout] --> src/cpu.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | Interrupt, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EXPANSION_ROM_START` [INFO] [stdout] --> src/gamepak/mem_map.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub const EXPANSION_ROM_START: u16 = 0x4020; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EXPANSION_ROM_END` [INFO] [stdout] --> src/gamepak/mem_map.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub const EXPANSION_ROM_END: u16 = 0x5FFF; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EXPANSION_ROM_SIZE` [INFO] [stdout] --> src/gamepak/mem_map.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub const EXPANSION_ROM_SIZE: u16 = EXPANSION_ROM_END - EXPANSION_ROM_START + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SRAM_START` [INFO] [stdout] --> src/gamepak/mem_map.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub const SRAM_START: u16 = 0x6000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SRAM_END` [INFO] [stdout] --> src/gamepak/mem_map.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub const SRAM_END: u16 = SRAM_SIZE + SRAM_START - 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PRG_ROM_START` [INFO] [stdout] --> src/gamepak/mem_map.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub const PRG_ROM_START: u16 = 0x8000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PRG_ROM_SIZE` [INFO] [stdout] --> src/gamepak/mem_map.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub const PRG_ROM_SIZE: u16 = 0x2000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PRG_ROM_END` [INFO] [stdout] --> src/gamepak/mem_map.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub const PRG_ROM_END: u16 = PRG_ROM_SIZE + PRG_ROM_START - 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prg_rom_size` [INFO] [stdout] --> src/gamepak/mod.rs:12:2 [INFO] [stdout] | [INFO] [stdout] 12 | prg_rom_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `chr_rom_size` [INFO] [stdout] --> src/gamepak/mod.rs:13:2 [INFO] [stdout] | [INFO] [stdout] 13 | chr_rom_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prg_rom_bytes` [INFO] [stdout] --> src/gamepak/mod.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 20 | prg_rom_bytes: Box<[u8]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `chr_rom_bytes` [INFO] [stdout] --> src/gamepak/mod.rs:21:2 [INFO] [stdout] | [INFO] [stdout] 21 | chr_rom_bytes: Box<[u8]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prg_ram_bytes` [INFO] [stdout] --> src/gamepak/mod.rs:22:2 [INFO] [stdout] | [INFO] [stdout] 22 | prg_ram_bytes: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_byte` [INFO] [stdout] --> src/gamepak/mod.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn write_byte(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_byte` [INFO] [stdout] --> src/interconnect.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn write_byte(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INTERNAL_RAM_MIRROR_1_START` [INFO] [stdout] --> src/mem_map.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub const INTERNAL_RAM_MIRROR_1_START: u16 = 0x0800; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INTERNAL_RAM_MIRROR_2_START` [INFO] [stdout] --> src/mem_map.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub const INTERNAL_RAM_MIRROR_2_START: u16 = 0x1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INTERNAL_RAM_MIRROR_3_START` [INFO] [stdout] --> src/mem_map.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub const INTERNAL_RAM_MIRROR_3_START: u16 = 0x1800; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INTERNAL_RAM_MIRROR_SIZE` [INFO] [stdout] --> src/mem_map.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub const INTERNAL_RAM_MIRROR_SIZE: u16 = INTERNAL_RAM_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PPU_MASK_REG` [INFO] [stdout] --> src/mem_map.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub const PPU_MASK_REG: u16 = 0x2001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PPU_STATUS_REG` [INFO] [stdout] --> src/mem_map.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub const PPU_STATUS_REG: u16 = 0x2002; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OAM_ADDR_REG` [INFO] [stdout] --> src/mem_map.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub const OAM_ADDR_REG: u16 = 0x2003; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OAM_DATA_REG` [INFO] [stdout] --> src/mem_map.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub const OAM_DATA_REG: u16 = 0x2004; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PPU_SCROLL_REG` [INFO] [stdout] --> src/mem_map.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub const PPU_SCROLL_REG: u16 = 0x2005; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PPU_ADDR_REG` [INFO] [stdout] --> src/mem_map.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub const PPU_ADDR_REG: u16 = 0x2006; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PPU_DATA_REG` [INFO] [stdout] --> src/mem_map.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub const PPU_DATA_REG: u16 = 0x2007; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APU_SQ1_SWEEP` [INFO] [stdout] --> src/mem_map.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub const APU_SQ1_SWEEP: u16 = 0x4001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APU_SQ1_LO` [INFO] [stdout] --> src/mem_map.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub const APU_SQ1_LO: u16 = 0x4002; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APU_SQ1_HI` [INFO] [stdout] --> src/mem_map.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub const APU_SQ1_HI: u16 = 0x4003; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APU_SQ2_VOL` [INFO] [stdout] --> src/mem_map.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub const APU_SQ2_VOL: u16 = 0x4004; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APU_SQ2_SWEEP` [INFO] [stdout] --> src/mem_map.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub const APU_SQ2_SWEEP: u16 = 0x4005; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APU_SQ2_LO` [INFO] [stdout] --> src/mem_map.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub const APU_SQ2_LO: u16 = 0x4006; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APU_SQ2_HI` [INFO] [stdout] --> src/mem_map.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub const APU_SQ2_HI: u16 = 0x4007; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APU_TRI_LINEAR` [INFO] [stdout] --> src/mem_map.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub const APU_TRI_LINEAR: u16 = 0x4008; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APU_TRI_LO` [INFO] [stdout] --> src/mem_map.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub const APU_TRI_LO: u16 = 0x400A; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APU_TRI_HI` [INFO] [stdout] --> src/mem_map.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub const APU_TRI_HI: u16 = 0x400B; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APU_NOISE_VOL` [INFO] [stdout] --> src/mem_map.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub const APU_NOISE_VOL: u16 = 0x400C; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APU_NOISE_LO` [INFO] [stdout] --> src/mem_map.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub const APU_NOISE_LO: u16 = 0x400E; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APU_NOISE_HI` [INFO] [stdout] --> src/mem_map.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub const APU_NOISE_HI: u16 = 0x400F; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APU_DMC_FREQ` [INFO] [stdout] --> src/mem_map.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub const APU_DMC_FREQ: u16 = 0x4010; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APU_DMC_RAW` [INFO] [stdout] --> src/mem_map.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | pub const APU_DMC_RAW: u16 = 0x4011; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APU_DMC_START` [INFO] [stdout] --> src/mem_map.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub const APU_DMC_START: u16 = 0x4012; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bytes` [INFO] [stdout] --> src/ram.rs:4:2 [INFO] [stdout] | [INFO] [stdout] 4 | bytes: Box<[u8]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_byte` [INFO] [stdout] --> src/ram.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn write_byte(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WIDTH` [INFO] [stdout] --> src/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | const WIDTH: usize = 256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HEIGHT` [INFO] [stdout] --> src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | const HEIGHT: usize = 240; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpu.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut cpu = Cpu::default(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 181 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpu.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | let mut cycles; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpu.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | let mut mem_val; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gamepak/mod.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | let mut prg_ram_bytes = vec![0xff; SRAM_SIZE as usize].into_boxed_slice(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ram.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | let mut bytes: Box<[u8]> = vec![0; INTERNAL_RAM_SIZE as usize].into_boxed_slice(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Break` [INFO] [stdout] --> src/cpu.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | Break, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Decimal` [INFO] [stdout] --> src/cpu.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | Decimal, //unused [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Interrupt` [INFO] [stdout] --> src/cpu.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | Interrupt, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EXPANSION_ROM_START` [INFO] [stdout] --> src/gamepak/mem_map.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub const EXPANSION_ROM_START: u16 = 0x4020; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EXPANSION_ROM_END` [INFO] [stdout] --> src/gamepak/mem_map.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub const EXPANSION_ROM_END: u16 = 0x5FFF; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EXPANSION_ROM_SIZE` [INFO] [stdout] --> src/gamepak/mem_map.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub const EXPANSION_ROM_SIZE: u16 = EXPANSION_ROM_END - EXPANSION_ROM_START + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SRAM_START` [INFO] [stdout] --> src/gamepak/mem_map.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub const SRAM_START: u16 = 0x6000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SRAM_END` [INFO] [stdout] --> src/gamepak/mem_map.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub const SRAM_END: u16 = SRAM_SIZE + SRAM_START - 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PRG_ROM_START` [INFO] [stdout] --> src/gamepak/mem_map.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub const PRG_ROM_START: u16 = 0x8000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PRG_ROM_SIZE` [INFO] [stdout] --> src/gamepak/mem_map.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub const PRG_ROM_SIZE: u16 = 0x2000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PRG_ROM_END` [INFO] [stdout] --> src/gamepak/mem_map.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub const PRG_ROM_END: u16 = PRG_ROM_SIZE + PRG_ROM_START - 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prg_rom_size` [INFO] [stdout] --> src/gamepak/mod.rs:12:2 [INFO] [stdout] | [INFO] [stdout] 12 | prg_rom_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `chr_rom_size` [INFO] [stdout] --> src/gamepak/mod.rs:13:2 [INFO] [stdout] | [INFO] [stdout] 13 | chr_rom_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prg_rom_bytes` [INFO] [stdout] --> src/gamepak/mod.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 20 | prg_rom_bytes: Box<[u8]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `chr_rom_bytes` [INFO] [stdout] --> src/gamepak/mod.rs:21:2 [INFO] [stdout] | [INFO] [stdout] 21 | chr_rom_bytes: Box<[u8]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prg_ram_bytes` [INFO] [stdout] --> src/gamepak/mod.rs:22:2 [INFO] [stdout] | [INFO] [stdout] 22 | prg_ram_bytes: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_byte` [INFO] [stdout] --> src/gamepak/mod.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn write_byte(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_byte` [INFO] [stdout] --> src/interconnect.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn write_byte(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INTERNAL_RAM_MIRROR_1_START` [INFO] [stdout] --> src/mem_map.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub const INTERNAL_RAM_MIRROR_1_START: u16 = 0x0800; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INTERNAL_RAM_MIRROR_2_START` [INFO] [stdout] --> src/mem_map.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub const INTERNAL_RAM_MIRROR_2_START: u16 = 0x1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INTERNAL_RAM_MIRROR_3_START` [INFO] [stdout] --> src/mem_map.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub const INTERNAL_RAM_MIRROR_3_START: u16 = 0x1800; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INTERNAL_RAM_MIRROR_SIZE` [INFO] [stdout] --> src/mem_map.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub const INTERNAL_RAM_MIRROR_SIZE: u16 = INTERNAL_RAM_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PPU_MASK_REG` [INFO] [stdout] --> src/mem_map.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub const PPU_MASK_REG: u16 = 0x2001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PPU_STATUS_REG` [INFO] [stdout] --> src/mem_map.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub const PPU_STATUS_REG: u16 = 0x2002; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OAM_ADDR_REG` [INFO] [stdout] --> src/mem_map.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub const OAM_ADDR_REG: u16 = 0x2003; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OAM_DATA_REG` [INFO] [stdout] --> src/mem_map.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub const OAM_DATA_REG: u16 = 0x2004; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PPU_SCROLL_REG` [INFO] [stdout] --> src/mem_map.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub const PPU_SCROLL_REG: u16 = 0x2005; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PPU_ADDR_REG` [INFO] [stdout] --> src/mem_map.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub const PPU_ADDR_REG: u16 = 0x2006; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PPU_DATA_REG` [INFO] [stdout] --> src/mem_map.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub const PPU_DATA_REG: u16 = 0x2007; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APU_SQ1_SWEEP` [INFO] [stdout] --> src/mem_map.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub const APU_SQ1_SWEEP: u16 = 0x4001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APU_SQ1_LO` [INFO] [stdout] --> src/mem_map.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub const APU_SQ1_LO: u16 = 0x4002; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APU_SQ1_HI` [INFO] [stdout] --> src/mem_map.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub const APU_SQ1_HI: u16 = 0x4003; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APU_SQ2_VOL` [INFO] [stdout] --> src/mem_map.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub const APU_SQ2_VOL: u16 = 0x4004; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APU_SQ2_SWEEP` [INFO] [stdout] --> src/mem_map.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub const APU_SQ2_SWEEP: u16 = 0x4005; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APU_SQ2_LO` [INFO] [stdout] --> src/mem_map.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub const APU_SQ2_LO: u16 = 0x4006; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APU_SQ2_HI` [INFO] [stdout] --> src/mem_map.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub const APU_SQ2_HI: u16 = 0x4007; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APU_TRI_LINEAR` [INFO] [stdout] --> src/mem_map.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub const APU_TRI_LINEAR: u16 = 0x4008; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APU_TRI_LO` [INFO] [stdout] --> src/mem_map.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub const APU_TRI_LO: u16 = 0x400A; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APU_TRI_HI` [INFO] [stdout] --> src/mem_map.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub const APU_TRI_HI: u16 = 0x400B; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APU_NOISE_VOL` [INFO] [stdout] --> src/mem_map.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub const APU_NOISE_VOL: u16 = 0x400C; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APU_NOISE_LO` [INFO] [stdout] --> src/mem_map.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub const APU_NOISE_LO: u16 = 0x400E; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APU_NOISE_HI` [INFO] [stdout] --> src/mem_map.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub const APU_NOISE_HI: u16 = 0x400F; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APU_DMC_FREQ` [INFO] [stdout] --> src/mem_map.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub const APU_DMC_FREQ: u16 = 0x4010; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APU_DMC_RAW` [INFO] [stdout] --> src/mem_map.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | pub const APU_DMC_RAW: u16 = 0x4011; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APU_DMC_START` [INFO] [stdout] --> src/mem_map.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub const APU_DMC_START: u16 = 0x4012; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bytes` [INFO] [stdout] --> src/ram.rs:4:2 [INFO] [stdout] | [INFO] [stdout] 4 | bytes: Box<[u8]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_byte` [INFO] [stdout] --> src/ram.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn write_byte(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WIDTH` [INFO] [stdout] --> src/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | const WIDTH: usize = 256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HEIGHT` [INFO] [stdout] --> src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | const HEIGHT: usize = 240; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 181 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.18s [INFO] running `Command { std: "docker" "inspect" "ec795d623f70e026c59ca2fdd8c6ccb8df102c6b361cbaf810fcd44401eb27a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec795d623f70e026c59ca2fdd8c6ccb8df102c6b361cbaf810fcd44401eb27a0", kill_on_drop: false }` [INFO] [stdout] ec795d623f70e026c59ca2fdd8c6ccb8df102c6b361cbaf810fcd44401eb27a0