[INFO] cloning repository https://github.com/thegeeko/r6502 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thegeeko/r6502" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthegeeko%2Fr6502", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthegeeko%2Fr6502'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7e3c08bfae6718a420bc73bd6ec2ba87df6c8e4a [INFO] checking thegeeko/r6502 against try#5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthegeeko%2Fr6502" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/thegeeko/r6502 [INFO] finished tweaking git repo https://github.com/thegeeko/r6502 [INFO] tweaked toml for git repo https://github.com/thegeeko/r6502 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thegeeko/r6502 on toolchain 5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/thegeeko/r6502 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8901e8a46e26654babe5f347bb2c90501bc985f10a9a453d7afe26a65db35214 [INFO] running `Command { std: "docker" "start" "-a" "8901e8a46e26654babe5f347bb2c90501bc985f10a9a453d7afe26a65db35214", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8901e8a46e26654babe5f347bb2c90501bc985f10a9a453d7afe26a65db35214", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8901e8a46e26654babe5f347bb2c90501bc985f10a9a453d7afe26a65db35214", kill_on_drop: false }` [INFO] [stdout] 8901e8a46e26654babe5f347bb2c90501bc985f10a9a453d7afe26a65db35214 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7609ae68e33946d696d09b879c352d13d0d907f795fcca4b9c7106d51b700d1 [INFO] running `Command { std: "docker" "start" "-a" "c7609ae68e33946d696d09b879c352d13d0d907f795fcca4b9c7106d51b700d1", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking g6502 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `ADDR_MODE` should have an upper camel case name [INFO] [stdout] --> src/vm/cpu/instructions.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ADDR_MODE { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `AddrMode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ZERO_PAGE` should have an upper camel case name [INFO] [stdout] --> src/vm/cpu/instructions.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | ZERO_PAGE, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ZeroPage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ZERO_PAGE_X` should have an upper camel case name [INFO] [stdout] --> src/vm/cpu/instructions.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | ZERO_PAGE_X, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ZeroPageX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ZERO_PAGE_Y` should have an upper camel case name [INFO] [stdout] --> src/vm/cpu/instructions.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | ZERO_PAGE_Y, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ZeroPageY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ABSOLUTE_X` should have an upper camel case name [INFO] [stdout] --> src/vm/cpu/instructions.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | ABSOLUTE_X, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `AbsoluteX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ABSOLUTE_Y` should have an upper camel case name [INFO] [stdout] --> src/vm/cpu/instructions.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | ABSOLUTE_Y, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `AbsoluteY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INDIRECT_X` should have an upper camel case name [INFO] [stdout] --> src/vm/cpu/instructions.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | INDIRECT_X, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `IndirectX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INDIRECT_Y` should have an upper camel case name [INFO] [stdout] --> src/vm/cpu/instructions.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | INDIRECT_Y, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `IndirectY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ADDR_MODE` should have an upper camel case name [INFO] [stdout] --> src/vm/cpu/instructions.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ADDR_MODE { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `AddrMode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ZERO_PAGE` should have an upper camel case name [INFO] [stdout] --> src/vm/cpu/instructions.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | ZERO_PAGE, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ZeroPage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ZERO_PAGE_X` should have an upper camel case name [INFO] [stdout] --> src/vm/cpu/instructions.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | ZERO_PAGE_X, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ZeroPageX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ZERO_PAGE_Y` should have an upper camel case name [INFO] [stdout] --> src/vm/cpu/instructions.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | ZERO_PAGE_Y, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ZeroPageY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ABSOLUTE_X` should have an upper camel case name [INFO] [stdout] --> src/vm/cpu/instructions.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | ABSOLUTE_X, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `AbsoluteX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ABSOLUTE_Y` should have an upper camel case name [INFO] [stdout] --> src/vm/cpu/instructions.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | ABSOLUTE_Y, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `AbsoluteY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INDIRECT_X` should have an upper camel case name [INFO] [stdout] --> src/vm/cpu/instructions.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | INDIRECT_X, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `IndirectX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INDIRECT_Y` should have an upper camel case name [INFO] [stdout] --> src/vm/cpu/instructions.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | INDIRECT_Y, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `IndirectY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vm` is never constructed [INFO] [stdout] --> src/vm/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Vm { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `reset`, `load`, and `step` are never used [INFO] [stdout] --> src/vm/mod.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 14 | impl Vm { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] 15 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn load(&mut self, data: &[u8], offset: Word) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset`, `set_flag`, `clear_flag`, and `is_flag_set` are never used [INFO] [stdout] --> src/vm/cpu/mod.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 30 | impl CpuStatus { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 31 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn set_flag(&mut self, flag: CpuStatus) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn clear_flag(&mut self, flag: CpuStatus) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn is_flag_set(&self, flag: CpuStatus) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CPU` is never constructed [INFO] [stdout] --> src/vm/cpu/mod.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/vm/cpu/mod.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 67 | impl CPU { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 68 | pub fn new(mem: Mem) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn clock(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn irq(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn nmi(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn rti(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn fill_working_data(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn fetch(&mut self) -> Byte { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn fetch_word(&mut self) -> Word { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ADDR_MODE` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ADDR_MODE { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OPS` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum OPS { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instruction` is never constructed [INFO] [stdout] --> src/vm/cpu/instructions.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_op_code` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 63 | impl Instruction { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 64 | // write a function that returns an instruction based on the op code [INFO] [stdout] 65 | pub fn from_op_code(op_code: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1135:8 [INFO] [stdout] | [INFO] [stdout] 1135 | pub fn execute(cpu: &mut CPU, instruction: Instruction) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `imm` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1218:4 [INFO] [stdout] | [INFO] [stdout] 1218 | fn imm(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `imp` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1226:4 [INFO] [stdout] | [INFO] [stdout] 1226 | fn imp(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `zp0` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1232:4 [INFO] [stdout] | [INFO] [stdout] 1232 | fn zp0(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `zpx` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1239:4 [INFO] [stdout] | [INFO] [stdout] 1239 | fn zpx(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `zpy` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1246:4 [INFO] [stdout] | [INFO] [stdout] 1246 | fn zpy(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `abs` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1253:4 [INFO] [stdout] | [INFO] [stdout] 1253 | fn abs(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `abx` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1260:4 [INFO] [stdout] | [INFO] [stdout] 1260 | fn abx(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `aby` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1273:4 [INFO] [stdout] | [INFO] [stdout] 1273 | fn aby(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ind` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1286:4 [INFO] [stdout] | [INFO] [stdout] 1286 | fn ind(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `izx` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1299:4 [INFO] [stdout] | [INFO] [stdout] 1299 | fn izx(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `izy` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1309:4 [INFO] [stdout] | [INFO] [stdout] 1309 | fn izy(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rel` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1324:4 [INFO] [stdout] | [INFO] [stdout] 1324 | fn rel(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `and` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1338:4 [INFO] [stdout] | [INFO] [stdout] 1338 | fn and(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `asl` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1358:4 [INFO] [stdout] | [INFO] [stdout] 1358 | fn asl(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bcs` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1392:4 [INFO] [stdout] | [INFO] [stdout] 1392 | fn bcs(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bcc` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1410:4 [INFO] [stdout] | [INFO] [stdout] 1410 | fn bcc(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `beq` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1428:4 [INFO] [stdout] | [INFO] [stdout] 1428 | fn beq(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bmi` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1446:4 [INFO] [stdout] | [INFO] [stdout] 1446 | fn bmi(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bne` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1464:4 [INFO] [stdout] | [INFO] [stdout] 1464 | fn bne(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bpl` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1482:4 [INFO] [stdout] | [INFO] [stdout] 1482 | fn bpl(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bvc` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1500:4 [INFO] [stdout] | [INFO] [stdout] 1500 | fn bvc(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bvs` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1518:4 [INFO] [stdout] | [INFO] [stdout] 1518 | fn bvs(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bit` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1536:4 [INFO] [stdout] | [INFO] [stdout] 1536 | fn bit(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `brk` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1562:4 [INFO] [stdout] | [INFO] [stdout] 1562 | fn brk(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clc` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1586:4 [INFO] [stdout] | [INFO] [stdout] 1586 | fn clc(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cld` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1592:4 [INFO] [stdout] | [INFO] [stdout] 1592 | fn cld(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cli` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1598:4 [INFO] [stdout] | [INFO] [stdout] 1598 | fn cli(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clv` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1604:4 [INFO] [stdout] | [INFO] [stdout] 1604 | fn clv(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cmp` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1610:4 [INFO] [stdout] | [INFO] [stdout] 1610 | fn cmp(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cpx` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1638:4 [INFO] [stdout] | [INFO] [stdout] 1638 | fn cpx(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cpy` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1666:4 [INFO] [stdout] | [INFO] [stdout] 1666 | fn cpy(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dec` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1694:4 [INFO] [stdout] | [INFO] [stdout] 1694 | fn dec(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dex` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1718:4 [INFO] [stdout] | [INFO] [stdout] 1718 | fn dex(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dey` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1737:4 [INFO] [stdout] | [INFO] [stdout] 1737 | fn dey(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eor` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1756:4 [INFO] [stdout] | [INFO] [stdout] 1756 | fn eor(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inc` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1778:4 [INFO] [stdout] | [INFO] [stdout] 1778 | fn inc(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inx` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1802:4 [INFO] [stdout] | [INFO] [stdout] 1802 | fn inx(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `iny` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1821:4 [INFO] [stdout] | [INFO] [stdout] 1821 | fn iny(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `jmp` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1840:4 [INFO] [stdout] | [INFO] [stdout] 1840 | fn jmp(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `jsr` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1847:4 [INFO] [stdout] | [INFO] [stdout] 1847 | fn jsr(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lda` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1862:4 [INFO] [stdout] | [INFO] [stdout] 1862 | fn lda(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ldx` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1884:4 [INFO] [stdout] | [INFO] [stdout] 1884 | fn ldx(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ldy` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1906:4 [INFO] [stdout] | [INFO] [stdout] 1906 | fn ldy(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lsr` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1928:4 [INFO] [stdout] | [INFO] [stdout] 1928 | fn lsr(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nop` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1962:4 [INFO] [stdout] | [INFO] [stdout] 1962 | fn nop(_: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ora` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1967:4 [INFO] [stdout] | [INFO] [stdout] 1967 | fn ora(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pha` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1989:4 [INFO] [stdout] | [INFO] [stdout] 1989 | fn pha(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `php` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1997:4 [INFO] [stdout] | [INFO] [stdout] 1997 | fn php(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pla` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2005:4 [INFO] [stdout] | [INFO] [stdout] 2005 | fn pla(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `plp` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2025:4 [INFO] [stdout] | [INFO] [stdout] 2025 | fn plp(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rol` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2033:4 [INFO] [stdout] | [INFO] [stdout] 2033 | fn rol(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ror` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2071:4 [INFO] [stdout] | [INFO] [stdout] 2071 | fn ror(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rti` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2108:4 [INFO] [stdout] | [INFO] [stdout] 2108 | fn rti(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rts` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2122:4 [INFO] [stdout] | [INFO] [stdout] 2122 | fn rts(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sec` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2135:4 [INFO] [stdout] | [INFO] [stdout] 2135 | fn sec(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sed` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2142:4 [INFO] [stdout] | [INFO] [stdout] 2142 | fn sed(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sei` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2149:4 [INFO] [stdout] | [INFO] [stdout] 2149 | fn sei(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sta` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2156:4 [INFO] [stdout] | [INFO] [stdout] 2156 | fn sta(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stx` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2163:4 [INFO] [stdout] | [INFO] [stdout] 2163 | fn stx(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sty` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2170:4 [INFO] [stdout] | [INFO] [stdout] 2170 | fn sty(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tax` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2177:4 [INFO] [stdout] | [INFO] [stdout] 2177 | fn tax(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tay` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2196:4 [INFO] [stdout] | [INFO] [stdout] 2196 | fn tay(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tsx` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2215:4 [INFO] [stdout] | [INFO] [stdout] 2215 | fn tsx(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `txa` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2234:4 [INFO] [stdout] | [INFO] [stdout] 2234 | fn txa(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `txs` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2253:4 [INFO] [stdout] | [INFO] [stdout] 2253 | fn txs(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tya` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2260:4 [INFO] [stdout] | [INFO] [stdout] 2260 | fn tya(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `xxx` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2279:4 [INFO] [stdout] | [INFO] [stdout] 2279 | fn xxx(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `adc` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2284:4 [INFO] [stdout] | [INFO] [stdout] 2284 | fn adc(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sbc` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2325:4 [INFO] [stdout] | [INFO] [stdout] 2325 | fn sbc(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Byte` is never used [INFO] [stdout] --> src/vm/defs.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub type Byte = u8; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Word` is never used [INFO] [stdout] --> src/vm/defs.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub type Word = u16; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MEM_SIZE` is never used [INFO] [stdout] --> src/vm/defs.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const MEM_SIZE:usize = 1024 * 64; // 64kb [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ERRORS` is never used [INFO] [stdout] --> src/vm/defs.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ERRORS { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mem` is never constructed [INFO] [stdout] --> src/vm/mem.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Mem { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `reset`, `read`, `write`, and `load` are never used [INFO] [stdout] --> src/vm/mem.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 7 | impl Mem { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 8 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn read(&self, addr: Word) -> Byte { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn write(&mut self, addr: Word, data: Byte) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn load(&mut self, data: &[u8], offset: Word) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vm` is never constructed [INFO] [stdout] --> src/vm/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Vm { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `reset`, `load`, and `step` are never used [INFO] [stdout] --> src/vm/mod.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 14 | impl Vm { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] 15 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn load(&mut self, data: &[u8], offset: Word) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset`, `set_flag`, `clear_flag`, and `is_flag_set` are never used [INFO] [stdout] --> src/vm/cpu/mod.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 30 | impl CpuStatus { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 31 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn set_flag(&mut self, flag: CpuStatus) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn clear_flag(&mut self, flag: CpuStatus) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn is_flag_set(&self, flag: CpuStatus) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CPU` is never constructed [INFO] [stdout] --> src/vm/cpu/mod.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/vm/cpu/mod.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 67 | impl CPU { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 68 | pub fn new(mem: Mem) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn clock(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn irq(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn nmi(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn rti(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn fill_working_data(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn fetch(&mut self) -> Byte { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn fetch_word(&mut self) -> Word { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ADDR_MODE` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ADDR_MODE { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OPS` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum OPS { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instruction` is never constructed [INFO] [stdout] --> src/vm/cpu/instructions.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_op_code` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 63 | impl Instruction { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 64 | // write a function that returns an instruction based on the op code [INFO] [stdout] 65 | pub fn from_op_code(op_code: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1135:8 [INFO] [stdout] | [INFO] [stdout] 1135 | pub fn execute(cpu: &mut CPU, instruction: Instruction) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `imm` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1218:4 [INFO] [stdout] | [INFO] [stdout] 1218 | fn imm(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `imp` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1226:4 [INFO] [stdout] | [INFO] [stdout] 1226 | fn imp(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `zp0` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1232:4 [INFO] [stdout] | [INFO] [stdout] 1232 | fn zp0(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `zpx` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1239:4 [INFO] [stdout] | [INFO] [stdout] 1239 | fn zpx(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `zpy` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1246:4 [INFO] [stdout] | [INFO] [stdout] 1246 | fn zpy(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `abs` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1253:4 [INFO] [stdout] | [INFO] [stdout] 1253 | fn abs(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `abx` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1260:4 [INFO] [stdout] | [INFO] [stdout] 1260 | fn abx(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `aby` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1273:4 [INFO] [stdout] | [INFO] [stdout] 1273 | fn aby(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ind` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1286:4 [INFO] [stdout] | [INFO] [stdout] 1286 | fn ind(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `izx` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1299:4 [INFO] [stdout] | [INFO] [stdout] 1299 | fn izx(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `izy` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1309:4 [INFO] [stdout] | [INFO] [stdout] 1309 | fn izy(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rel` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1324:4 [INFO] [stdout] | [INFO] [stdout] 1324 | fn rel(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `and` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1338:4 [INFO] [stdout] | [INFO] [stdout] 1338 | fn and(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `asl` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1358:4 [INFO] [stdout] | [INFO] [stdout] 1358 | fn asl(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bcs` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1392:4 [INFO] [stdout] | [INFO] [stdout] 1392 | fn bcs(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bcc` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1410:4 [INFO] [stdout] | [INFO] [stdout] 1410 | fn bcc(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `beq` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1428:4 [INFO] [stdout] | [INFO] [stdout] 1428 | fn beq(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bmi` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1446:4 [INFO] [stdout] | [INFO] [stdout] 1446 | fn bmi(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bne` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1464:4 [INFO] [stdout] | [INFO] [stdout] 1464 | fn bne(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bpl` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1482:4 [INFO] [stdout] | [INFO] [stdout] 1482 | fn bpl(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bvc` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1500:4 [INFO] [stdout] | [INFO] [stdout] 1500 | fn bvc(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bvs` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1518:4 [INFO] [stdout] | [INFO] [stdout] 1518 | fn bvs(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bit` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1536:4 [INFO] [stdout] | [INFO] [stdout] 1536 | fn bit(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `brk` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1562:4 [INFO] [stdout] | [INFO] [stdout] 1562 | fn brk(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clc` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1586:4 [INFO] [stdout] | [INFO] [stdout] 1586 | fn clc(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cld` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1592:4 [INFO] [stdout] | [INFO] [stdout] 1592 | fn cld(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cli` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1598:4 [INFO] [stdout] | [INFO] [stdout] 1598 | fn cli(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clv` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1604:4 [INFO] [stdout] | [INFO] [stdout] 1604 | fn clv(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cmp` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1610:4 [INFO] [stdout] | [INFO] [stdout] 1610 | fn cmp(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cpx` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1638:4 [INFO] [stdout] | [INFO] [stdout] 1638 | fn cpx(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cpy` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1666:4 [INFO] [stdout] | [INFO] [stdout] 1666 | fn cpy(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dec` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1694:4 [INFO] [stdout] | [INFO] [stdout] 1694 | fn dec(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dex` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1718:4 [INFO] [stdout] | [INFO] [stdout] 1718 | fn dex(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dey` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1737:4 [INFO] [stdout] | [INFO] [stdout] 1737 | fn dey(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eor` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1756:4 [INFO] [stdout] | [INFO] [stdout] 1756 | fn eor(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inc` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1778:4 [INFO] [stdout] | [INFO] [stdout] 1778 | fn inc(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inx` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1802:4 [INFO] [stdout] | [INFO] [stdout] 1802 | fn inx(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `iny` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1821:4 [INFO] [stdout] | [INFO] [stdout] 1821 | fn iny(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `jmp` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1840:4 [INFO] [stdout] | [INFO] [stdout] 1840 | fn jmp(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `jsr` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1847:4 [INFO] [stdout] | [INFO] [stdout] 1847 | fn jsr(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lda` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1862:4 [INFO] [stdout] | [INFO] [stdout] 1862 | fn lda(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ldx` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1884:4 [INFO] [stdout] | [INFO] [stdout] 1884 | fn ldx(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ldy` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1906:4 [INFO] [stdout] | [INFO] [stdout] 1906 | fn ldy(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lsr` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1928:4 [INFO] [stdout] | [INFO] [stdout] 1928 | fn lsr(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nop` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1962:4 [INFO] [stdout] | [INFO] [stdout] 1962 | fn nop(_: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ora` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1967:4 [INFO] [stdout] | [INFO] [stdout] 1967 | fn ora(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pha` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1989:4 [INFO] [stdout] | [INFO] [stdout] 1989 | fn pha(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `php` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:1997:4 [INFO] [stdout] | [INFO] [stdout] 1997 | fn php(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pla` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2005:4 [INFO] [stdout] | [INFO] [stdout] 2005 | fn pla(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `plp` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2025:4 [INFO] [stdout] | [INFO] [stdout] 2025 | fn plp(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rol` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2033:4 [INFO] [stdout] | [INFO] [stdout] 2033 | fn rol(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ror` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2071:4 [INFO] [stdout] | [INFO] [stdout] 2071 | fn ror(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rti` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2108:4 [INFO] [stdout] | [INFO] [stdout] 2108 | fn rti(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rts` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2122:4 [INFO] [stdout] | [INFO] [stdout] 2122 | fn rts(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sec` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2135:4 [INFO] [stdout] | [INFO] [stdout] 2135 | fn sec(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sed` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2142:4 [INFO] [stdout] | [INFO] [stdout] 2142 | fn sed(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sei` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2149:4 [INFO] [stdout] | [INFO] [stdout] 2149 | fn sei(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sta` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2156:4 [INFO] [stdout] | [INFO] [stdout] 2156 | fn sta(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stx` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2163:4 [INFO] [stdout] | [INFO] [stdout] 2163 | fn stx(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sty` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2170:4 [INFO] [stdout] | [INFO] [stdout] 2170 | fn sty(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tax` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2177:4 [INFO] [stdout] | [INFO] [stdout] 2177 | fn tax(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tay` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2196:4 [INFO] [stdout] | [INFO] [stdout] 2196 | fn tay(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tsx` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2215:4 [INFO] [stdout] | [INFO] [stdout] 2215 | fn tsx(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `txa` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2234:4 [INFO] [stdout] | [INFO] [stdout] 2234 | fn txa(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `txs` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2253:4 [INFO] [stdout] | [INFO] [stdout] 2253 | fn txs(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tya` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2260:4 [INFO] [stdout] | [INFO] [stdout] 2260 | fn tya(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `xxx` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2279:4 [INFO] [stdout] | [INFO] [stdout] 2279 | fn xxx(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `adc` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2284:4 [INFO] [stdout] | [INFO] [stdout] 2284 | fn adc(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sbc` is never used [INFO] [stdout] --> src/vm/cpu/instructions.rs:2325:4 [INFO] [stdout] | [INFO] [stdout] 2325 | fn sbc(cpu: &mut CPU) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Byte` is never used [INFO] [stdout] --> src/vm/defs.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub type Byte = u8; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Word` is never used [INFO] [stdout] --> src/vm/defs.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub type Word = u16; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MEM_SIZE` is never used [INFO] [stdout] --> src/vm/defs.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const MEM_SIZE:usize = 1024 * 64; // 64kb [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ERRORS` is never used [INFO] [stdout] --> src/vm/defs.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ERRORS { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mem` is never constructed [INFO] [stdout] --> src/vm/mem.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Mem { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `reset`, `read`, `write`, and `load` are never used [INFO] [stdout] --> src/vm/mem.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 7 | impl Mem { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 8 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn read(&self, addr: Word) -> Byte { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn write(&mut self, addr: Word, data: Byte) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn load(&mut self, data: &[u8], offset: Word) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] running `Command { std: "docker" "inspect" "c7609ae68e33946d696d09b879c352d13d0d907f795fcca4b9c7106d51b700d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7609ae68e33946d696d09b879c352d13d0d907f795fcca4b9c7106d51b700d1", kill_on_drop: false }` [INFO] [stdout] c7609ae68e33946d696d09b879c352d13d0d907f795fcca4b9c7106d51b700d1