[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 master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmeyers35%2Frusty-nes" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jmeyers35/rusty-nes on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc1/source/Cargo.toml [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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d545c4ed49c813fc4ac955e0dae9d000d9843546ae05283733d6e74f074fea6a [INFO] running `Command { std: "docker" "start" "-a" "d545c4ed49c813fc4ac955e0dae9d000d9843546ae05283733d6e74f074fea6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d545c4ed49c813fc4ac955e0dae9d000d9843546ae05283733d6e74f074fea6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d545c4ed49c813fc4ac955e0dae9d000d9843546ae05283733d6e74f074fea6a", kill_on_drop: false }` [INFO] [stdout] d545c4ed49c813fc4ac955e0dae9d000d9843546ae05283733d6e74f074fea6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2007df14ca913a35cf028ebbac7e81c157690fe4fc3d5882af05fbfbed3b5de6 [INFO] running `Command { std: "docker" "start" "-a" "2007df14ca913a35cf028ebbac7e81c157690fe4fc3d5882af05fbfbed3b5de6", kill_on_drop: false }` [INFO] [stderr] Checking rust-nes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `mem` is never read [INFO] [stdout] --> src/cpu.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CPU { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | mem: Rc>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/cpu.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct StatusRegister { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 23 | c: u8, // Carry bit: set if last operation resulted in overflow from bit 7 or underflow from bit 0 [INFO] [stdout] | ^ [INFO] [stdout] 24 | z: u8, // Zero bit: set if result of last operation was zero [INFO] [stdout] | ^ [INFO] [stdout] 25 | i: u8, // Interrupt disable [INFO] [stdout] | ^ [INFO] [stdout] 26 | d: u8, // Decimal - no effect on NES, but on original 6502 causes some instructions to use binary-encoded decimal represenation [INFO] [stdout] | ^ [INFO] [stdout] 27 | b: u8, // B flag: doesn't actually exist in the status register, but exists when the flags are pushed onto the stack by certain instr... [INFO] [stdout] | ^ [INFO] [stdout] 28 | bit_5: u8, // Doesn't actually exist in the status register, but exists when the flags are pushed onto the stack by certain instructions [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | v: u8, // Overflow: set if result of arithmetic operation resulted in invalid 2's complement result (i.e. sign bit is incorrect) [INFO] [stdout] | ^ [INFO] [stdout] 30 | n: u8, // Negative: contains bit 7 of value result [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusRegister` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mem` is never read [INFO] [stdout] --> src/cpu.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CPU { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | mem: Rc>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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 fields are never read [INFO] [stdout] --> src/cpu.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct StatusRegister { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 23 | c: u8, // Carry bit: set if last operation resulted in overflow from bit 7 or underflow from bit 0 [INFO] [stdout] | ^ [INFO] [stdout] 24 | z: u8, // Zero bit: set if result of last operation was zero [INFO] [stdout] | ^ [INFO] [stdout] 25 | i: u8, // Interrupt disable [INFO] [stdout] | ^ [INFO] [stdout] 26 | d: u8, // Decimal - no effect on NES, but on original 6502 causes some instructions to use binary-encoded decimal represenation [INFO] [stdout] | ^ [INFO] [stdout] 27 | b: u8, // B flag: doesn't actually exist in the status register, but exists when the flags are pushed onto the stack by certain instr... [INFO] [stdout] | ^ [INFO] [stdout] 28 | bit_5: u8, // Doesn't actually exist in the status register, but exists when the flags are pushed onto the stack by certain instructions [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | v: u8, // Overflow: set if result of arithmetic operation resulted in invalid 2's complement result (i.e. sign bit is incorrect) [INFO] [stdout] | ^ [INFO] [stdout] 30 | n: u8, // Negative: contains bit 7 of value result [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusRegister` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: 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: multiple variants are never constructed [INFO] [stdout] --> src/instruction.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum AddrMode { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 10 | Implicit, // No further action necessary [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | Accumulator, // Operate directony on the accumulator [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | Immediate, // Operate on 1 byte constant specified in the instruction [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | ZeroPage, // 8 bit address operand added to start of zero page (0x0000). So, the addressability of these instructions is 0x0000-0x00FF [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | ZeroPageX, // address = immediate value + X register [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | ZeroPageY, // address = immediate value + Y register [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | Relative, // branch instructions. PC + signed immediate value [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | Absolute, // Instruction contains 16 address bits [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 18 | AbsoluteX, // 16 bit immediate value + X register [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | AbsoluteY, // 16 bit immediate value + Y register [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | Indirect, // Instruction contains 16 bit address which points to the least significant byte of the real target address [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | IndexedIndirect, // Instruction contains address of table in zero page. Address is added to X register with zero page wrap-around to ... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | IndirectIndexed, // Instruction contains zero page address of least significant byte of a 16 bit address. This is added to the Y regi... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddrMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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: multiple variants are never constructed [INFO] [stdout] --> src/instruction.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum AddrMode { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 10 | Implicit, // No further action necessary [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | Accumulator, // Operate directony on the accumulator [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | Immediate, // Operate on 1 byte constant specified in the instruction [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | ZeroPage, // 8 bit address operand added to start of zero page (0x0000). So, the addressability of these instructions is 0x0000-0x00FF [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | ZeroPageX, // address = immediate value + X register [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | ZeroPageY, // address = immediate value + Y register [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | Relative, // branch instructions. PC + signed immediate value [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | Absolute, // Instruction contains 16 address bits [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 18 | AbsoluteX, // 16 bit immediate value + X register [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | AbsoluteY, // 16 bit immediate value + Y register [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | Indirect, // Instruction contains 16 bit address which points to the least significant byte of the real target address [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | IndexedIndirect, // Instruction contains address of table in zero page. Address is added to X register with zero page wrap-around to ... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | IndirectIndexed, // Instruction contains zero page address of least significant byte of a 16 bit address. This is added to the Y regi... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddrMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/instruction.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum OpCode { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 27 | ADC, // Add With Carry [INFO] [stdout] | ^^^ [INFO] [stdout] 28 | AND, // Logical AND [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | ASL, // Arithmetic Shift Left [INFO] [stdout] | ^^^ [INFO] [stdout] 30 | BCC, // Branch if Carry Clear [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | BCS, // Branch if Carry Set [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | BEQ, // Branch If Equal [INFO] [stdout] | ^^^ [INFO] [stdout] 33 | BIT, // Bit Test [INFO] [stdout] | ^^^ [INFO] [stdout] 34 | BMI, // Branch if Minus [INFO] [stdout] | ^^^ [INFO] [stdout] 35 | BNE, // Branch Not Equal [INFO] [stdout] | ^^^ [INFO] [stdout] 36 | BPL, // Branch if Positive [INFO] [stdout] | ^^^ [INFO] [stdout] 37 | BRK, // Force Interrupt [INFO] [stdout] | ^^^ [INFO] [stdout] 38 | BVC, // Branch if Overflow Clear [INFO] [stdout] | ^^^ [INFO] [stdout] 39 | BVS, // Branch if Overflow Set [INFO] [stdout] | ^^^ [INFO] [stdout] 40 | CLC, // Clear Carry Flag [INFO] [stdout] | ^^^ [INFO] [stdout] 41 | CLD, // Clear Decimal Mode [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | CLI, // CLear Interrupt Disable [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | CLV, // Clear Overflow Flag [INFO] [stdout] | ^^^ [INFO] [stdout] 44 | CMP, // Compare [INFO] [stdout] | ^^^ [INFO] [stdout] 45 | CPX, // Compare X [INFO] [stdout] | ^^^ [INFO] [stdout] 46 | CPY, // Compary Y [INFO] [stdout] | ^^^ [INFO] [stdout] 47 | DEC, // Decrement Memory [INFO] [stdout] | ^^^ [INFO] [stdout] 48 | DEX, // Decrement X [INFO] [stdout] | ^^^ [INFO] [stdout] 49 | DEY, // Decrement Y [INFO] [stdout] | ^^^ [INFO] [stdout] 50 | EOR, // XOR [INFO] [stdout] | ^^^ [INFO] [stdout] 51 | INC, // Incrememt Memory [INFO] [stdout] | ^^^ [INFO] [stdout] 52 | INX, // Increment X [INFO] [stdout] | ^^^ [INFO] [stdout] 53 | INY, // Increment Y [INFO] [stdout] | ^^^ [INFO] [stdout] 54 | JMP, // Jump [INFO] [stdout] | ^^^ [INFO] [stdout] 55 | JSR, // Jump to Subroutine [INFO] [stdout] | ^^^ [INFO] [stdout] 56 | LDA, // Load Accumulator [INFO] [stdout] | ^^^ [INFO] [stdout] 57 | LDX, // Load X [INFO] [stdout] | ^^^ [INFO] [stdout] 58 | LDY, // Load Y [INFO] [stdout] | ^^^ [INFO] [stdout] 59 | LSR, // Logical Shift Right [INFO] [stdout] | ^^^ [INFO] [stdout] 60 | NOP, // No-Op [INFO] [stdout] | ^^^ [INFO] [stdout] 61 | ORA, // Logical Inclusive OR [INFO] [stdout] | ^^^ [INFO] [stdout] 62 | PHA, // Push Accumulator [INFO] [stdout] | ^^^ [INFO] [stdout] 63 | PHP, // Push Processor Status [INFO] [stdout] | ^^^ [INFO] [stdout] 64 | PLA, // Pull Accumulator [INFO] [stdout] | ^^^ [INFO] [stdout] 65 | PLP, // Pull Processor Status [INFO] [stdout] | ^^^ [INFO] [stdout] 66 | ROL, // Rotate Left [INFO] [stdout] | ^^^ [INFO] [stdout] 67 | ROR, // Rotate Right [INFO] [stdout] | ^^^ [INFO] [stdout] 68 | RTI, // Return from Interrupt [INFO] [stdout] | ^^^ [INFO] [stdout] 69 | RTS, // Return from Subroutine [INFO] [stdout] | ^^^ [INFO] [stdout] 70 | SBC, // Subtract with Carry [INFO] [stdout] | ^^^ [INFO] [stdout] 71 | SEC, // Set Carry Flag [INFO] [stdout] | ^^^ [INFO] [stdout] 72 | SED, // Set Decimal Mode [INFO] [stdout] | ^^^ [INFO] [stdout] 73 | SEI, // Set Interrupt Disable [INFO] [stdout] | ^^^ [INFO] [stdout] 74 | STA, // Store Accumulator [INFO] [stdout] | ^^^ [INFO] [stdout] 75 | STX, // Store X [INFO] [stdout] | ^^^ [INFO] [stdout] 76 | STY, // Store Y [INFO] [stdout] | ^^^ [INFO] [stdout] 77 | TAX, // Transfer Accumulator to X [INFO] [stdout] | ^^^ [INFO] [stdout] 78 | TAY, // Transfer Accumulator to Y [INFO] [stdout] | ^^^ [INFO] [stdout] 79 | TSX, // Transfer Stack Pointer to X [INFO] [stdout] | ^^^ [INFO] [stdout] 80 | TXA, // Transfer X to Accumulator [INFO] [stdout] | ^^^ [INFO] [stdout] 81 | TXS, // Transfer X to Stack Pointer [INFO] [stdout] | ^^^ [INFO] [stdout] 82 | TYA, // Transfer Y to Accumulator [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpCode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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: field `ram` is never read [INFO] [stdout] --> src/mem.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Memory { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 15 | ram: Box<[u8; 2048]>, [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: multiple variants are never constructed [INFO] [stdout] --> src/instruction.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum OpCode { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 27 | ADC, // Add With Carry [INFO] [stdout] | ^^^ [INFO] [stdout] 28 | AND, // Logical AND [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | ASL, // Arithmetic Shift Left [INFO] [stdout] | ^^^ [INFO] [stdout] 30 | BCC, // Branch if Carry Clear [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | BCS, // Branch if Carry Set [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | BEQ, // Branch If Equal [INFO] [stdout] | ^^^ [INFO] [stdout] 33 | BIT, // Bit Test [INFO] [stdout] | ^^^ [INFO] [stdout] 34 | BMI, // Branch if Minus [INFO] [stdout] | ^^^ [INFO] [stdout] 35 | BNE, // Branch Not Equal [INFO] [stdout] | ^^^ [INFO] [stdout] 36 | BPL, // Branch if Positive [INFO] [stdout] | ^^^ [INFO] [stdout] 37 | BRK, // Force Interrupt [INFO] [stdout] | ^^^ [INFO] [stdout] 38 | BVC, // Branch if Overflow Clear [INFO] [stdout] | ^^^ [INFO] [stdout] 39 | BVS, // Branch if Overflow Set [INFO] [stdout] | ^^^ [INFO] [stdout] 40 | CLC, // Clear Carry Flag [INFO] [stdout] | ^^^ [INFO] [stdout] 41 | CLD, // Clear Decimal Mode [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | CLI, // CLear Interrupt Disable [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | CLV, // Clear Overflow Flag [INFO] [stdout] | ^^^ [INFO] [stdout] 44 | CMP, // Compare [INFO] [stdout] | ^^^ [INFO] [stdout] 45 | CPX, // Compare X [INFO] [stdout] | ^^^ [INFO] [stdout] 46 | CPY, // Compary Y [INFO] [stdout] | ^^^ [INFO] [stdout] 47 | DEC, // Decrement Memory [INFO] [stdout] | ^^^ [INFO] [stdout] 48 | DEX, // Decrement X [INFO] [stdout] | ^^^ [INFO] [stdout] 49 | DEY, // Decrement Y [INFO] [stdout] | ^^^ [INFO] [stdout] 50 | EOR, // XOR [INFO] [stdout] | ^^^ [INFO] [stdout] 51 | INC, // Incrememt Memory [INFO] [stdout] | ^^^ [INFO] [stdout] 52 | INX, // Increment X [INFO] [stdout] | ^^^ [INFO] [stdout] 53 | INY, // Increment Y [INFO] [stdout] | ^^^ [INFO] [stdout] 54 | JMP, // Jump [INFO] [stdout] | ^^^ [INFO] [stdout] 55 | JSR, // Jump to Subroutine [INFO] [stdout] | ^^^ [INFO] [stdout] 56 | LDA, // Load Accumulator [INFO] [stdout] | ^^^ [INFO] [stdout] 57 | LDX, // Load X [INFO] [stdout] | ^^^ [INFO] [stdout] 58 | LDY, // Load Y [INFO] [stdout] | ^^^ [INFO] [stdout] 59 | LSR, // Logical Shift Right [INFO] [stdout] | ^^^ [INFO] [stdout] 60 | NOP, // No-Op [INFO] [stdout] | ^^^ [INFO] [stdout] 61 | ORA, // Logical Inclusive OR [INFO] [stdout] | ^^^ [INFO] [stdout] 62 | PHA, // Push Accumulator [INFO] [stdout] | ^^^ [INFO] [stdout] 63 | PHP, // Push Processor Status [INFO] [stdout] | ^^^ [INFO] [stdout] 64 | PLA, // Pull Accumulator [INFO] [stdout] | ^^^ [INFO] [stdout] 65 | PLP, // Pull Processor Status [INFO] [stdout] | ^^^ [INFO] [stdout] 66 | ROL, // Rotate Left [INFO] [stdout] | ^^^ [INFO] [stdout] 67 | ROR, // Rotate Right [INFO] [stdout] | ^^^ [INFO] [stdout] 68 | RTI, // Return from Interrupt [INFO] [stdout] | ^^^ [INFO] [stdout] 69 | RTS, // Return from Subroutine [INFO] [stdout] | ^^^ [INFO] [stdout] 70 | SBC, // Subtract with Carry [INFO] [stdout] | ^^^ [INFO] [stdout] 71 | SEC, // Set Carry Flag [INFO] [stdout] | ^^^ [INFO] [stdout] 72 | SED, // Set Decimal Mode [INFO] [stdout] | ^^^ [INFO] [stdout] 73 | SEI, // Set Interrupt Disable [INFO] [stdout] | ^^^ [INFO] [stdout] 74 | STA, // Store Accumulator [INFO] [stdout] | ^^^ [INFO] [stdout] 75 | STX, // Store X [INFO] [stdout] | ^^^ [INFO] [stdout] 76 | STY, // Store Y [INFO] [stdout] | ^^^ [INFO] [stdout] 77 | TAX, // Transfer Accumulator to X [INFO] [stdout] | ^^^ [INFO] [stdout] 78 | TAY, // Transfer Accumulator to Y [INFO] [stdout] | ^^^ [INFO] [stdout] 79 | TSX, // Transfer Stack Pointer to X [INFO] [stdout] | ^^^ [INFO] [stdout] 80 | TXA, // Transfer X to Accumulator [INFO] [stdout] | ^^^ [INFO] [stdout] 81 | TXS, // Transfer X to Stack Pointer [INFO] [stdout] | ^^^ [INFO] [stdout] 82 | TYA, // Transfer Y to Accumulator [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpCode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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: field `ram` is never read [INFO] [stdout] --> src/mem.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Memory { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 15 | ram: Box<[u8; 2048]>, [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: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] running `Command { std: "docker" "inspect" "2007df14ca913a35cf028ebbac7e81c157690fe4fc3d5882af05fbfbed3b5de6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2007df14ca913a35cf028ebbac7e81c157690fe4fc3d5882af05fbfbed3b5de6", kill_on_drop: false }` [INFO] [stdout] 2007df14ca913a35cf028ebbac7e81c157690fe4fc3d5882af05fbfbed3b5de6