[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] building goomba-86/nes-emulator against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoomba-86%2Fnes-emulator" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/goomba-86/nes-emulator on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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-4-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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23262c6c2660837c761b1fb2728d3058ab85005899b172615ea0a0dd796fd895 [INFO] running `Command { std: "docker" "start" "-a" "23262c6c2660837c761b1fb2728d3058ab85005899b172615ea0a0dd796fd895", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23262c6c2660837c761b1fb2728d3058ab85005899b172615ea0a0dd796fd895", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23262c6c2660837c761b1fb2728d3058ab85005899b172615ea0a0dd796fd895", kill_on_drop: false }` [INFO] [stdout] 23262c6c2660837c761b1fb2728d3058ab85005899b172615ea0a0dd796fd895 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f3f3569f3c36326fabe58cb27cde5200d02ec89fb88f98f47e9b3ab073a8761 [INFO] running `Command { std: "docker" "start" "-a" "0f3f3569f3c36326fabe58cb27cde5200d02ec89fb88f98f47e9b3ab073a8761", kill_on_drop: false }` [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "0f3f3569f3c36326fabe58cb27cde5200d02ec89fb88f98f47e9b3ab073a8761", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f3f3569f3c36326fabe58cb27cde5200d02ec89fb88f98f47e9b3ab073a8761", kill_on_drop: false }` [INFO] [stdout] 0f3f3569f3c36326fabe58cb27cde5200d02ec89fb88f98f47e9b3ab073a8761 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18a3a8632f8743da1fe478ba495436b0c17768d8417b7380c4a05745c0718ebb [INFO] running `Command { std: "docker" "start" "-a" "18a3a8632f8743da1fe478ba495436b0c17768d8417b7380c4a05745c0718ebb", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] running `Command { std: "docker" "inspect" "18a3a8632f8743da1fe478ba495436b0c17768d8417b7380c4a05745c0718ebb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18a3a8632f8743da1fe478ba495436b0c17768d8417b7380c4a05745c0718ebb", kill_on_drop: false }` [INFO] [stdout] 18a3a8632f8743da1fe478ba495436b0c17768d8417b7380c4a05745c0718ebb