[INFO] cloning repository https://github.com/goomba-86/nes-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/goomba-86/nes-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoomba-86%2Fnes-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoomba-86%2Fnes-emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e3e432524ec4553eb11f10417c462b59766094c5 [INFO] checking goomba-86/nes-emulator against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoomba-86%2Fnes-emulator" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/goomba-86/nes-emulator on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/goomba-86/nes-emulator [INFO] finished tweaking git repo https://github.com/goomba-86/nes-emulator [INFO] tweaked toml for git repo https://github.com/goomba-86/nes-emulator written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/goomba-86/nes-emulator 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1617abc8cb95a662f5dfdd7d90ded2bf72a9f4816b0c0d0af7089223fa63bd5 [INFO] running `Command { std: "docker" "start" "-a" "d1617abc8cb95a662f5dfdd7d90ded2bf72a9f4816b0c0d0af7089223fa63bd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1617abc8cb95a662f5dfdd7d90ded2bf72a9f4816b0c0d0af7089223fa63bd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1617abc8cb95a662f5dfdd7d90ded2bf72a9f4816b0c0d0af7089223fa63bd5", kill_on_drop: false }` [INFO] [stdout] d1617abc8cb95a662f5dfdd7d90ded2bf72a9f4816b0c0d0af7089223fa63bd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a605a90caec5167366b28a0e9a0f87714d40888af78bb421bc8ea4c3a9522ca [INFO] running `Command { std: "docker" "start" "-a" "0a605a90caec5167366b28a0e9a0f87714d40888af78bb421bc8ea4c3a9522ca", kill_on_drop: false }` [INFO] [stderr] Checking nes-emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/p6502.rs:29:69 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn execute_instruction(&mut self, instruction: Instruction, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RAM_ADDRESS_RANGE` is never used [INFO] [stdout] --> src/bus.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const RAM_ADDRESS_RANGE: (usize, usize) = (0, 0x1FFF); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NES_PPU_REGISTERS` is never used [INFO] [stdout] --> src/bus.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const NES_PPU_REGISTERS: (usize, usize) = (0x2000, 0x3FFF); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `APU_AND_IO` is never used [INFO] [stdout] --> src/bus.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const APU_AND_IO: (usize, usize) = (0x4000, 0x4017); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CARTRIDGE` is never used [INFO] [stdout] --> src/bus.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const CARTRIDGE: (usize, usize) = (0x4020, 0xFFFF); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bus` is never constructed [INFO] [stdout] --> src/bus.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Bus { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `write`, and `read` are never used [INFO] [stdout] --> src/bus.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Bus { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(mapper: u16, prg_rom: Vec) -> Bus { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn write(&mut self, address: usize, value: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn read(&self, address: usize) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `headers`, `prg_rom`, and `chr_rom` are never read [INFO] [stdout] --> src/ines_parser.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct InesContent { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 5 | pub headers: InesHeaders, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | pub prg_rom: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | pub chr_rom: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ines_parser.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct InesHeaders { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 11 | pub nes_string: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub mapper_msb_submapper: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub prg_rom_chr_rom_size_msb: u8, [INFO] [stdout] 18 | pub prg_ram_eeprom_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub chr_ram_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | pub cpu_ppu_timing: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 21 | pub hardware_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 22 | pub misc_roms: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | pub default_expansion_device: u8, [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 `OpCode` is never used [INFO] [stdout] --> src/instruction.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum OpCode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_instruction` is never used [INFO] [stdout] --> src/instruction.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn parse_instruction(prg_rom: Vec, stack_pointer: usize) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_asl_zpx` is never used [INFO] [stdout] --> src/instruction.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn parse_asl_zpx(value: u8) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_brk` is never used [INFO] [stdout] --> src/instruction.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn parse_brk() -> Instruction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Memory` is never constructed [INFO] [stdout] --> src/memory.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Memory { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read_byte`, and `write_byte` are never used [INFO] [stdout] --> src/memory.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | impl Memory { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 6 | fn new(prg_rom: Vec) -> Memory { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn read_byte(&self, address: usize) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn write_byte(&mut self, address: usize, value: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `P6502` is never constructed [INFO] [stdout] --> src/p6502.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct P6502 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bit_7_set` is never used [INFO] [stdout] --> src/p6502.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn bit_7_set(value: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/p6502.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl P6502 { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 18 | pub fn new() -> P6502 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn execute_instruction(&mut self, instruction: Instruction, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn set_negative_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn set_zero_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn set_carry_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn carry_flag_set(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn clear_carry_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/p6502.rs:29:69 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn execute_instruction(&mut self, instruction: Instruction, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RAM_ADDRESS_RANGE` is never used [INFO] [stdout] --> src/bus.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const RAM_ADDRESS_RANGE: (usize, usize) = (0, 0x1FFF); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NES_PPU_REGISTERS` is never used [INFO] [stdout] --> src/bus.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const NES_PPU_REGISTERS: (usize, usize) = (0x2000, 0x3FFF); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `APU_AND_IO` is never used [INFO] [stdout] --> src/bus.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const APU_AND_IO: (usize, usize) = (0x4000, 0x4017); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CARTRIDGE` is never used [INFO] [stdout] --> src/bus.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const CARTRIDGE: (usize, usize) = (0x4020, 0xFFFF); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mapper` is never read [INFO] [stdout] --> src/bus.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct Bus { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | mapper: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `headers`, `prg_rom`, and `chr_rom` are never read [INFO] [stdout] --> src/ines_parser.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct InesContent { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 5 | pub headers: InesHeaders, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | pub prg_rom: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | pub chr_rom: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ines_parser.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct InesHeaders { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 11 | pub nes_string: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub mapper_msb_submapper: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub prg_rom_chr_rom_size_msb: u8, [INFO] [stdout] 18 | pub prg_ram_eeprom_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub chr_ram_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | pub cpu_ppu_timing: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 21 | pub hardware_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 22 | pub misc_roms: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | pub default_expansion_device: u8, [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 `OpCode` is never used [INFO] [stdout] --> src/instruction.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum OpCode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_instruction` is never used [INFO] [stdout] --> src/instruction.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn parse_instruction(prg_rom: Vec, stack_pointer: usize) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_asl_zpx` is never used [INFO] [stdout] --> src/instruction.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn parse_asl_zpx(value: u8) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_brk` is never used [INFO] [stdout] --> src/instruction.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn parse_brk() -> Instruction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/memory.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | impl Memory { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 6 | fn new(prg_rom: Vec) -> Memory { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `program_counter`, `stack_pointer`, `accumulator`, `x_register`, and `y_register` are never read [INFO] [stdout] --> src/p6502.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct P6502 { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 5 | pub program_counter: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | pub stack_pointer: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 7 | pub accumulator: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub x_register: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub y_register: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bit_7_set` is never used [INFO] [stdout] --> src/p6502.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn bit_7_set(value: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `execute_instruction` is never used [INFO] [stdout] --> src/p6502.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl P6502 { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn execute_instruction(&mut self, instruction: Instruction, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] running `Command { std: "docker" "inspect" "0a605a90caec5167366b28a0e9a0f87714d40888af78bb421bc8ea4c3a9522ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a605a90caec5167366b28a0e9a0f87714d40888af78bb421bc8ea4c3a9522ca", kill_on_drop: false }` [INFO] [stdout] 0a605a90caec5167366b28a0e9a0f87714d40888af78bb421bc8ea4c3a9522ca [INFO] checking goomba-86/nes-emulator against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoomba-86%2Fnes-emulator" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/goomba-86/nes-emulator on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/goomba-86/nes-emulator [INFO] finished tweaking git repo https://github.com/goomba-86/nes-emulator [INFO] tweaked toml for git repo https://github.com/goomba-86/nes-emulator written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/goomba-86/nes-emulator 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d15dec520eaa5d82b0401681acc54634a499bd7a968952bfb84d470d9f47076a [INFO] running `Command { std: "docker" "start" "-a" "d15dec520eaa5d82b0401681acc54634a499bd7a968952bfb84d470d9f47076a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d15dec520eaa5d82b0401681acc54634a499bd7a968952bfb84d470d9f47076a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d15dec520eaa5d82b0401681acc54634a499bd7a968952bfb84d470d9f47076a", kill_on_drop: false }` [INFO] [stdout] d15dec520eaa5d82b0401681acc54634a499bd7a968952bfb84d470d9f47076a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62360a70f33bb3f33b33599414cc2adc2b936d6d0fe5b1e60aba79255fac3cd8 [INFO] running `Command { std: "docker" "start" "-a" "62360a70f33bb3f33b33599414cc2adc2b936d6d0fe5b1e60aba79255fac3cd8", kill_on_drop: false }` [INFO] [stderr] Checking nes-emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/p6502.rs:29:69 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn execute_instruction(&mut self, instruction: Instruction, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RAM_ADDRESS_RANGE` is never used [INFO] [stdout] --> src/bus.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const RAM_ADDRESS_RANGE: (usize, usize) = (0, 0x1FFF); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NES_PPU_REGISTERS` is never used [INFO] [stdout] --> src/bus.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const NES_PPU_REGISTERS: (usize, usize) = (0x2000, 0x3FFF); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `APU_AND_IO` is never used [INFO] [stdout] --> src/bus.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const APU_AND_IO: (usize, usize) = (0x4000, 0x4017); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CARTRIDGE` is never used [INFO] [stdout] --> src/bus.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const CARTRIDGE: (usize, usize) = (0x4020, 0xFFFF); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bus` is never constructed [INFO] [stdout] --> src/bus.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Bus { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `write`, and `read` are never used [INFO] [stdout] --> src/bus.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Bus { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(mapper: u16, prg_rom: Vec) -> Bus { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn write(&mut self, address: usize, value: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn read(&self, address: usize) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `headers`, `prg_rom`, and `chr_rom` are never read [INFO] [stdout] --> src/ines_parser.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct InesContent { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 5 | pub headers: InesHeaders, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | pub prg_rom: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | pub chr_rom: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ines_parser.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct InesHeaders { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 11 | pub nes_string: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub mapper_msb_submapper: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub prg_rom_chr_rom_size_msb: u8, [INFO] [stdout] 18 | pub prg_ram_eeprom_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub chr_ram_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | pub cpu_ppu_timing: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 21 | pub hardware_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 22 | pub misc_roms: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | pub default_expansion_device: u8, [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 `OpCode` is never used [INFO] [stdout] --> src/instruction.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum OpCode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_instruction` is never used [INFO] [stdout] --> src/instruction.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn parse_instruction(prg_rom: Vec, stack_pointer: usize) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_asl_zpx` is never used [INFO] [stdout] --> src/instruction.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn parse_asl_zpx(value: u8) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_brk` is never used [INFO] [stdout] --> src/instruction.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn parse_brk() -> Instruction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Memory` is never constructed [INFO] [stdout] --> src/memory.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Memory { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read_byte`, and `write_byte` are never used [INFO] [stdout] --> src/memory.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | impl Memory { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 6 | fn new(prg_rom: Vec) -> Memory { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn read_byte(&self, address: usize) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn write_byte(&mut self, address: usize, value: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `P6502` is never constructed [INFO] [stdout] --> src/p6502.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct P6502 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bit_7_set` is never used [INFO] [stdout] --> src/p6502.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn bit_7_set(value: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/p6502.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl P6502 { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 18 | pub fn new() -> P6502 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn execute_instruction(&mut self, instruction: Instruction, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn set_negative_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn set_zero_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn set_carry_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn carry_flag_set(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn clear_carry_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/p6502.rs:29:69 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn execute_instruction(&mut self, instruction: Instruction, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RAM_ADDRESS_RANGE` is never used [INFO] [stdout] --> src/bus.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const RAM_ADDRESS_RANGE: (usize, usize) = (0, 0x1FFF); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NES_PPU_REGISTERS` is never used [INFO] [stdout] --> src/bus.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const NES_PPU_REGISTERS: (usize, usize) = (0x2000, 0x3FFF); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `APU_AND_IO` is never used [INFO] [stdout] --> src/bus.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const APU_AND_IO: (usize, usize) = (0x4000, 0x4017); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CARTRIDGE` is never used [INFO] [stdout] --> src/bus.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const CARTRIDGE: (usize, usize) = (0x4020, 0xFFFF); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mapper` is never read [INFO] [stdout] --> src/bus.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct Bus { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | mapper: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `headers`, `prg_rom`, and `chr_rom` are never read [INFO] [stdout] --> src/ines_parser.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct InesContent { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 5 | pub headers: InesHeaders, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | pub prg_rom: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | pub chr_rom: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ines_parser.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct InesHeaders { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 11 | pub nes_string: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub mapper_msb_submapper: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub prg_rom_chr_rom_size_msb: u8, [INFO] [stdout] 18 | pub prg_ram_eeprom_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub chr_ram_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | pub cpu_ppu_timing: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 21 | pub hardware_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 22 | pub misc_roms: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | pub default_expansion_device: u8, [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 `OpCode` is never used [INFO] [stdout] --> src/instruction.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum OpCode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_instruction` is never used [INFO] [stdout] --> src/instruction.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn parse_instruction(prg_rom: Vec, stack_pointer: usize) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_asl_zpx` is never used [INFO] [stdout] --> src/instruction.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn parse_asl_zpx(value: u8) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_brk` is never used [INFO] [stdout] --> src/instruction.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn parse_brk() -> Instruction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/memory.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | impl Memory { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 6 | fn new(prg_rom: Vec) -> Memory { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `program_counter`, `stack_pointer`, `accumulator`, `x_register`, and `y_register` are never read [INFO] [stdout] --> src/p6502.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct P6502 { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 5 | pub program_counter: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | pub stack_pointer: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 7 | pub accumulator: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub x_register: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub y_register: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bit_7_set` is never used [INFO] [stdout] --> src/p6502.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn bit_7_set(value: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `execute_instruction` is never used [INFO] [stdout] --> src/p6502.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl P6502 { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn execute_instruction(&mut self, instruction: Instruction, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] running `Command { std: "docker" "inspect" "62360a70f33bb3f33b33599414cc2adc2b936d6d0fe5b1e60aba79255fac3cd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62360a70f33bb3f33b33599414cc2adc2b936d6d0fe5b1e60aba79255fac3cd8", kill_on_drop: false }` [INFO] [stdout] 62360a70f33bb3f33b33599414cc2adc2b936d6d0fe5b1e60aba79255fac3cd8