[INFO] cloning repository https://github.com/jmeyers35/rusty-nes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jmeyers35/rusty-nes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmeyers35%2Frusty-nes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmeyers35%2Frusty-nes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b73358cc1ca5c691985ac3534139e69a04adcbf [INFO] checking jmeyers35/rusty-nes against try#b4c55082edd8dec08ce8af276d7054d9c4db20c4 for pr-147984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmeyers35%2Frusty-nes" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jmeyers35/rusty-nes [INFO] finished tweaking git repo https://github.com/jmeyers35/rusty-nes [INFO] tweaked toml for git repo https://github.com/jmeyers35/rusty-nes written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jmeyers35/rusty-nes on toolchain b4c55082edd8dec08ce8af276d7054d9c4db20c4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jmeyers35/rusty-nes 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" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking jmeyers35/rusty-nes against try#b4c55082edd8dec08ce8af276d7054d9c4db20c4 for pr-147984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmeyers35%2Frusty-nes" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jmeyers35/rusty-nes [INFO] finished tweaking git repo https://github.com/jmeyers35/rusty-nes [INFO] tweaked toml for git repo https://github.com/jmeyers35/rusty-nes written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jmeyers35/rusty-nes on toolchain b4c55082edd8dec08ce8af276d7054d9c4db20c4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jmeyers35/rusty-nes 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" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40292dc1466bf942cb4ab42c8bba09c015eabc4333707494da5e63f94d7238fd [INFO] running `Command { std: "docker" "start" "-a" "40292dc1466bf942cb4ab42c8bba09c015eabc4333707494da5e63f94d7238fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40292dc1466bf942cb4ab42c8bba09c015eabc4333707494da5e63f94d7238fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40292dc1466bf942cb4ab42c8bba09c015eabc4333707494da5e63f94d7238fd", kill_on_drop: false }` [INFO] [stdout] 40292dc1466bf942cb4ab42c8bba09c015eabc4333707494da5e63f94d7238fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2dfc8bdd3342a595d316000052d635c45fb476074d0c3aca678701f77c7cc104 [INFO] running `Command { std: "docker" "start" "-a" "2dfc8bdd3342a595d316000052d635c45fb476074d0c3aca678701f77c7cc104", kill_on_drop: false }` [INFO] [stderr] Checking rust-nes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `CPU` is never constructed [INFO] [stdout] --> src/cpu.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StatusRegister` is never constructed [INFO] [stdout] --> src/cpu.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct StatusRegister { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cpu.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl CPU { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 34 | pub fn new(mem: Rc>) -> CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn tick_clock(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn fetch_instruction(&mut self) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn push_byte(&mut self, data: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn pop_byte(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn execute_instruction(&mut self, inst: &Instruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 642 | fn get_operand(&mut self, addr_mode: AddrMode) -> (i8, Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 712 | pub fn advance_cpu(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cpu.rs:734:12 [INFO] [stdout] | [INFO] [stdout] 733 | impl StatusRegister { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 734 | pub fn new() -> StatusRegister { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 746 | pub fn set_c(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 749 | pub fn clear_c(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 752 | pub fn get_c(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 756 | pub fn set_z(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 759 | pub fn clear_z(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 762 | pub fn get_z(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 766 | pub fn set_i(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 769 | pub fn clear_i(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 772 | pub fn get_i(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 776 | pub fn set_d(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | pub fn clear_d(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 782 | pub fn get_d(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 786 | pub fn set_b(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 789 | pub fn clear_b(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 792 | pub fn get_b(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 796 | pub fn set_bit_5(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 799 | pub fn clear_bit_5(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 802 | pub fn get_bit_5(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 806 | pub fn set_v(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 809 | pub fn clear_v(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 812 | pub fn get_v(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 816 | pub fn set_n(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 819 | pub fn clear_n(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 822 | pub fn get_n(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 826 | pub fn get_flags(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 836 | pub fn set_flags(&mut self, flags: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `signed_overflow_add` is never used [INFO] [stdout] --> src/cpu.rs:849:4 [INFO] [stdout] | [INFO] [stdout] 849 | fn signed_overflow_add(x: i8, y: i8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `signed_overflow_sub` is never used [INFO] [stdout] --> src/cpu.rs:853:4 [INFO] [stdout] | [INFO] [stdout] 853 | fn signed_overflow_sub(x: i8, y: i8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `page_crossed` is never used [INFO] [stdout] --> src/cpu.rs:860:4 [INFO] [stdout] | [INFO] [stdout] 860 | fn page_crossed(old_addr: u16, new_addr: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instruction` is never constructed [INFO] [stdout] --> src/instruction.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AddrMode` is never used [INFO] [stdout] --> src/instruction.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum AddrMode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OpCode` is never used [INFO] [stdout] --> src/instruction.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum OpCode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/instruction.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl Instruction { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 86 | pub fn new(opcode: u8) -> Instruction { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ZERO_PAGE_START` is never used [INFO] [stdout] --> src/mem.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const ZERO_PAGE_START: u16 = 0x00; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STACK_TOP` is never used [INFO] [stdout] --> src/mem.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const STACK_TOP: u16 = 0x100; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Memory` is never constructed [INFO] [stdout] --> src/mem.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Memory { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `ram_read`, and `ram_write` are never used [INFO] [stdout] --> src/mem.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Memory { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 19 | pub fn new() -> Memory { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn ram_read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn ram_write(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NES` is never constructed [INFO] [stdout] --> src/nes.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct NES { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/nes.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl NES { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 13 | pub fn new() -> NES { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PPU` is never constructed [INFO] [stdout] --> src/ppu.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PPU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ppu.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl PPU { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(mem: Rc>) -> PPU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CPU` is never constructed [INFO] [stdout] --> src/cpu.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StatusRegister` is never constructed [INFO] [stdout] --> src/cpu.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct StatusRegister { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cpu.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl CPU { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 34 | pub fn new(mem: Rc>) -> CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn tick_clock(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn fetch_instruction(&mut self) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn push_byte(&mut self, data: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn pop_byte(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn execute_instruction(&mut self, inst: &Instruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 642 | fn get_operand(&mut self, addr_mode: AddrMode) -> (i8, Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 712 | pub fn advance_cpu(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cpu.rs:734:12 [INFO] [stdout] | [INFO] [stdout] 733 | impl StatusRegister { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 734 | pub fn new() -> StatusRegister { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 746 | pub fn set_c(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 749 | pub fn clear_c(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 752 | pub fn get_c(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 756 | pub fn set_z(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 759 | pub fn clear_z(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 762 | pub fn get_z(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 766 | pub fn set_i(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 769 | pub fn clear_i(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 772 | pub fn get_i(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 776 | pub fn set_d(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 779 | pub fn clear_d(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 782 | pub fn get_d(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 786 | pub fn set_b(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 789 | pub fn clear_b(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 792 | pub fn get_b(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 796 | pub fn set_bit_5(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 799 | pub fn clear_bit_5(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 802 | pub fn get_bit_5(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 806 | pub fn set_v(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 809 | pub fn clear_v(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 812 | pub fn get_v(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 816 | pub fn set_n(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 819 | pub fn clear_n(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 822 | pub fn get_n(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 826 | pub fn get_flags(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 836 | pub fn set_flags(&mut self, flags: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `signed_overflow_add` is never used [INFO] [stdout] --> src/cpu.rs:849:4 [INFO] [stdout] | [INFO] [stdout] 849 | fn signed_overflow_add(x: i8, y: i8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `signed_overflow_sub` is never used [INFO] [stdout] --> src/cpu.rs:853:4 [INFO] [stdout] | [INFO] [stdout] 853 | fn signed_overflow_sub(x: i8, y: i8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `page_crossed` is never used [INFO] [stdout] --> src/cpu.rs:860:4 [INFO] [stdout] | [INFO] [stdout] 860 | fn page_crossed(old_addr: u16, new_addr: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instruction` is never constructed [INFO] [stdout] --> src/instruction.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AddrMode` is never used [INFO] [stdout] --> src/instruction.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum AddrMode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OpCode` is never used [INFO] [stdout] --> src/instruction.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum OpCode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/instruction.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl Instruction { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 86 | pub fn new(opcode: u8) -> Instruction { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ZERO_PAGE_START` is never used [INFO] [stdout] --> src/mem.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const ZERO_PAGE_START: u16 = 0x00; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STACK_TOP` is never used [INFO] [stdout] --> src/mem.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const STACK_TOP: u16 = 0x100; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Memory` is never constructed [INFO] [stdout] --> src/mem.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Memory { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `ram_read`, and `ram_write` are never used [INFO] [stdout] --> src/mem.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Memory { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 19 | pub fn new() -> Memory { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn ram_read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn ram_write(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NES` is never constructed [INFO] [stdout] --> src/nes.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct NES { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/nes.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl NES { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 13 | pub fn new() -> NES { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PPU` is never constructed [INFO] [stdout] --> src/ppu.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PPU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ppu.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl PPU { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(mem: Rc>) -> PPU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] running `Command { std: "docker" "inspect" "2dfc8bdd3342a595d316000052d635c45fb476074d0c3aca678701f77c7cc104", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dfc8bdd3342a595d316000052d635c45fb476074d0c3aca678701f77c7cc104", kill_on_drop: false }` [INFO] [stdout] 2dfc8bdd3342a595d316000052d635c45fb476074d0c3aca678701f77c7cc104