[INFO] cloning repository https://github.com/kituit/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/kituit/nes_emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkituit%2Fnes_emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkituit%2Fnes_emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 51bb9d246c790f8252978e990d4edff9696ea774 [INFO] checking kituit/nes_emulator against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkituit%2Fnes_emulator" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kituit/nes_emulator [INFO] finished tweaking git repo https://github.com/kituit/nes_emulator [INFO] tweaked toml for git repo https://github.com/kituit/nes_emulator written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kituit/nes_emulator on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kituit/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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d287a009a0e62fb43e1499c02492e4a9df163bea2a1045c820d885dd9690956 [INFO] running `Command { std: "docker" "start" "-a" "6d287a009a0e62fb43e1499c02492e4a9df163bea2a1045c820d885dd9690956", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d287a009a0e62fb43e1499c02492e4a9df163bea2a1045c820d885dd9690956", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d287a009a0e62fb43e1499c02492e4a9df163bea2a1045c820d885dd9690956", kill_on_drop: false }` [INFO] [stdout] 6d287a009a0e62fb43e1499c02492e4a9df163bea2a1045c820d885dd9690956 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d469280c84d0546313b2cc74ce956d9113d4627616d343d1f92750f595dae8f [INFO] running `Command { std: "docker" "start" "-a" "5d469280c84d0546313b2cc74ce956d9113d4627616d343d1f92750f595dae8f", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking nes_emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `INDIRECT_ADDRESSING_MODE_6502_BUG` is never used [INFO] [stdout] --> src/main.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const INDIRECT_ADDRESSING_MODE_6502_BUG: bool = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STACK_BOTTOM` is never used [INFO] [stdout] --> src/main.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const STACK_BOTTOM: u16 = 0x0100; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CPU` is never constructed [INFO] [stdout] --> src/main.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/main.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl CPU { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 51 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn update_zero_and_negative_flags(&mut self, result: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn mem_read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn mem_read_u16(&self, addr: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn mem_write(&mut self, addr: u16, value: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn mem_write_u16(&mut self, addr: u16, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn stack_address(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn stack_push(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | fn stack_push_u16(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn stack_pop(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | fn stack_pop_u16(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn load_program(&mut self, program: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | fn load_and_run(&mut self, program: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | fn next_u8(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | fn next_u16(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn get_operand_address(&self, mode: &AddressingMode) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | fn set_register_a(&mut self, byte: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | fn set_register_x(&mut self, byte: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | fn set_register_y(&mut self, byte: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | fn add_to_register_a(&mut self, data: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 358 | fn adc(&mut self, addr: u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 363 | fn sbc(&mut self, addr: u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | fn inc(&mut self, addr: u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | fn inx(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 379 | fn iny(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | fn dec(&mut self, addr: u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 390 | fn dex(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 394 | fn dey(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 398 | fn compare(&mut self, value: u8, addr: u16) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 405 | fn and(&mut self, addr: u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 410 | fn eor(&mut self, addr: u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 415 | fn ora(&mut self, addr: u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 420 | fn asl(&mut self, addr: u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 429 | fn asl_accumulator(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 436 | fn lsr(&mut self, addr: u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 445 | fn lsr_accumulator(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 452 | fn rol(&mut self, addr: u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 464 | fn rol_accumulator(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 475 | fn ror(&mut self, addr: u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 487 | fn ror_accumulator(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 498 | fn jmp(&mut self, addr: u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 502 | fn jsr(&mut self, op: &OpCode) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 509 | fn rts(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | fn rti(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 519 | fn branch(&mut self, addr: u16, condition: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 525 | fn lda(&mut self, addr: u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | fn tax(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | fn sta(&mut self, addr: u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next_u16` is never used [INFO] [stdout] --> src/main.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl CPU { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 147 | fn next_u16(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "5d469280c84d0546313b2cc74ce956d9113d4627616d343d1f92750f595dae8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d469280c84d0546313b2cc74ce956d9113d4627616d343d1f92750f595dae8f", kill_on_drop: false }` [INFO] [stdout] 5d469280c84d0546313b2cc74ce956d9113d4627616d343d1f92750f595dae8f