[INFO] cloning repository https://github.com/ryanhossain9797/nes_emu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ryanhossain9797/nes_emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryanhossain9797%2Fnes_emu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryanhossain9797%2Fnes_emu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7821ea1cf17e7c3a7f692f3315ddd5c1ee222e57 [INFO] checking ryanhossain9797/nes_emu against master#ecb170afc878648c3ae355dbd596c8e4b6f7ebdc for pr-139022 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryanhossain9797%2Fnes_emu" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ryanhossain9797/nes_emu on toolchain ecb170afc878648c3ae355dbd596c8e4b6f7ebdc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ryanhossain9797/nes_emu [INFO] finished tweaking git repo https://github.com/ryanhossain9797/nes_emu [INFO] tweaked toml for git repo https://github.com/ryanhossain9797/nes_emu written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ryanhossain9797/nes_emu 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" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82b9b5d0e65fed835bbbd41c86fc8cc71794e5b72c67ff5fde270a1962663e80 [INFO] running `Command { std: "docker" "start" "-a" "82b9b5d0e65fed835bbbd41c86fc8cc71794e5b72c67ff5fde270a1962663e80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82b9b5d0e65fed835bbbd41c86fc8cc71794e5b72c67ff5fde270a1962663e80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82b9b5d0e65fed835bbbd41c86fc8cc71794e5b72c67ff5fde270a1962663e80", kill_on_drop: false }` [INFO] [stdout] 82b9b5d0e65fed835bbbd41c86fc8cc71794e5b72c67ff5fde270a1962663e80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5320e49963906a673b0728c87e69c52fa563055c84dff074c40decc4535c3683 [INFO] running `Command { std: "docker" "start" "-a" "5320e49963906a673b0728c87e69c52fa563055c84dff074c40decc4535c3683", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking nes_emu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `ZeroPageY` is never constructed [INFO] [stdout] --> src/cpu.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum AddressingMode { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | ZeroPageY, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddressingMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cycles` is never read [INFO] [stdout] --> src/opcodes.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct OpCode { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub cycles: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_PROGRAM_START` is never used [INFO] [stdout] --> src/cpu.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const DEFAULT_PROGRAM_START: usize = 0x8000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROGRAM_START_FROM` is never used [INFO] [stdout] --> src/cpu.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const PROGRAM_START_FROM: u16 = 0xFFFC; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AddressingMode` is never used [INFO] [stdout] --> src/cpu.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum AddressingMode { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddressingMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OpCodeType` is never used [INFO] [stdout] --> src/cpu.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum OpCodeType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpCodeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `mem_read`, `mem_write`, `mem_ref`, `mem_read_u16`, and `mem_write_u16` are never used [INFO] [stdout] --> src/cpu.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait MemOps { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 36 | fn mem_read(&self, addr: u16) -> u8; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | fn mem_write(&mut self, addr: u16, data: u8); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 38 | [INFO] [stdout] 39 | fn mem_ref(&mut self, addr: u16) -> &mut u8; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 40 | [INFO] [stdout] 41 | fn mem_read_u16(&self, addr: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn mem_write_u16(&mut self, addr: u16, data: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `register_a`, `register_x`, `register_y`, `status`, and `program_counter` are never read [INFO] [stdout] --> src/cpu.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct CPU { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 72 | pub register_a: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 73 | pub register_x: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 74 | pub register_y: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 75 | pub status: CpuFlags, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 76 | pub program_counter: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cpu.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl CPU { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 95 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn load(&mut self, program: Vec) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn load_and_run(&mut self, program: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | fn get_operand_address(&mut self, addressing_mode: &AddressingMode) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | fn update_zero_flag(&mut self, result: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | fn update_negative_flag(&mut self, result: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | fn update_zero_and_negative_flags(&mut self, result: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | fn set_register_a(&mut self, data: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | fn tax(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | fn inx(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | fn add_to_register_a_with_carry(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | fn adc(&mut self, addressing_mode: &AddressingMode) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | fn and(&mut self, addressing_mode: &AddressingMode) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | fn asl(&mut self, addressing_mode: &AddressingMode) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | fn bcc(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | fn lda(&mut self, addressing_mode: &AddressingMode) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | fn sta(&mut self, addressing_mode: &AddressingMode) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpCode` is never constructed [INFO] [stdout] --> src/opcodes.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct OpCode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/opcodes.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl OpCode { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 15 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `OP_CODES` is never used [INFO] [stdout] --> src/opcodes.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | static OP_CODES: Lazy> = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `OP_CODES_MAP` is never used [INFO] [stdout] --> src/opcodes.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub static OP_CODES_MAP: Lazy> = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.69s [INFO] running `Command { std: "docker" "inspect" "5320e49963906a673b0728c87e69c52fa563055c84dff074c40decc4535c3683", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5320e49963906a673b0728c87e69c52fa563055c84dff074c40decc4535c3683", kill_on_drop: false }` [INFO] [stdout] 5320e49963906a673b0728c87e69c52fa563055c84dff074c40decc4535c3683