[INFO] cloning repository https://github.com/twking7/nes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/twking7/nes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftwking7%2Fnes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftwking7%2Fnes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 041a09ade125a25ce6f00747ced464a197b8a698 [INFO] testing twking7/nes against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftwking7%2Fnes" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/twking7/nes on toolchain 1871252fc8bb672d40787e67404e6eaae7059369 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/twking7/nes [INFO] finished tweaking git repo https://github.com/twking7/nes [INFO] tweaked toml for git repo https://github.com/twking7/nes written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/twking7/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" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78136e0c695139053527db080d3b3344c6c4a2c202eebb94ca6888345ece7a05 [INFO] running `Command { std: "docker" "start" "-a" "78136e0c695139053527db080d3b3344c6c4a2c202eebb94ca6888345ece7a05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78136e0c695139053527db080d3b3344c6c4a2c202eebb94ca6888345ece7a05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78136e0c695139053527db080d3b3344c6c4a2c202eebb94ca6888345ece7a05", kill_on_drop: false }` [INFO] [stdout] 78136e0c695139053527db080d3b3344c6c4a2c202eebb94ca6888345ece7a05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65795558ba90633c61cd0edaa05f6208d0bc9d9f2f4852cfd1a302eb475dca76 [INFO] running `Command { std: "docker" "start" "-a" "65795558ba90633c61cd0edaa05f6208d0bc9d9f2f4852cfd1a302eb475dca76", kill_on_drop: false }` [INFO] [stderr] Compiling nes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `NMI_VECTOR` is never used [INFO] [stdout] --> src/cpu/mod.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const NMI_VECTOR: u16 = 0xFFFA; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RESET_VECTOR` is never used [INFO] [stdout] --> src/cpu/mod.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const RESET_VECTOR: u16 = 0xFFFC; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IRQ_VECTOR` is never used [INFO] [stdout] --> src/cpu/mod.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const IRQ_VECTOR: u16 = 0xFFFE; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MEMORY_SIZE` is never used [INFO] [stdout] --> src/cpu/mod.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const MEMORY_SIZE: usize = 65_536; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operand` is never used [INFO] [stdout] --> src/cpu/mod.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | enum Operand { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Status` is never used [INFO] [stdout] --> src/cpu/mod.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CPU` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cpu/mod.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl CPU { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 54 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn irq(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn nmi(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn load_ram(&mut self, mem: Vec, offset: u16) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn execute(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn tick(&mut self, opcode: &Opcode) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | fn adc(&mut self, val: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | fn and(&mut self, val: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | fn asl(&mut self, operand: &Operand) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | fn bcc(&mut self, offset: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | fn bcs(&mut self, offset: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | fn beq(&mut self, offset: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | fn bit(&mut self, val: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | fn bmi(&mut self, offset: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | fn bne(&mut self, offset: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | fn bpl(&mut self, offset: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | fn brk(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | fn bvc(&mut self, offset: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | fn bvs(&mut self, offset: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | fn clc(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | fn cld(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | fn cli(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | fn clv(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | fn cmp(&mut self, val: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | fn cpx(&mut self, val: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | fn cpy(&mut self, val: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | fn dec(&mut self, addr: u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | fn dex(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 348 | fn dey(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 354 | fn eor(&mut self, val: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | fn inc(&mut self, addr: u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | fn inx(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 372 | fn iny(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 378 | fn jmp(&mut self, addr: u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 382 | fn jsr(&mut self, addr: u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | fn lda(&mut self, val: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 393 | fn ldx(&mut self, val: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 398 | fn ldy(&mut self, val: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | fn lsr(&mut self, operand: &Operand) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 411 | fn ora(&mut self, val: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 417 | fn pha(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 422 | fn php(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 427 | fn pla(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 434 | fn plp(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 438 | fn rol(&mut self, operand: &Operand) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 449 | fn ror(&mut self, operand: &Operand) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 460 | fn rti(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 465 | fn rts(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 469 | fn sbc(&mut self, val: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 477 | fn sec(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 481 | fn sed(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 485 | fn sei(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 489 | fn sta(&mut self, addr: u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 494 | fn stx(&mut self, addr: u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | fn sty(&mut self, addr: u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 504 | fn tax(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 510 | fn tay(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 516 | fn tsx(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 522 | fn txa(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | fn txs(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | fn tya(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | fn set_operand(&mut self, operand: &Operand, val: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 548 | fn operand_for_mode(&self, mode: Mode) -> Operand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 571 | fn value_for_operand(&self, operand: &Operand) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 579 | fn addr_for_operand(&self, operand: &Operand) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 587 | fn read_one(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 591 | fn read_two(&self, addr: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 597 | fn write_one(&mut self, addr: u16, val: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 601 | fn get_status(&self, s: Status) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 605 | fn set_status(&mut self, s: Status, val: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 612 | fn set_s_and_z(&mut self, val: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 617 | fn jump(&mut self, offset: u8) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 625 | fn push_two(&mut self, val: u16) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 630 | fn push_one(&mut self, val: u8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 636 | fn pop_two(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 642 | fn pop_one(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 648 | fn debug(&self, opcode: &Opcode, operand: Operand, val: u8, addr: u16) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/cpu/opcodes.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Mode { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 5 | Absolute, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | AbsoluteX, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | AbsoluteY, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | Accumulator, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | Immediate, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | Implied, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | Indirect, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | IndirectX, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | IndirectY, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | Relative, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | ZeroPage, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | ZeroPageX, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | ZeroPageY, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/cpu/opcodes.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum Name { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 28 | ADC, [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | AND, [INFO] [stdout] | ^^^ [INFO] [stdout] 30 | ASL, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | BCC, [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | BCS, [INFO] [stdout] | ^^^ [INFO] [stdout] 33 | BEQ, [INFO] [stdout] | ^^^ [INFO] [stdout] 34 | BIT, [INFO] [stdout] | ^^^ [INFO] [stdout] 35 | BMI, [INFO] [stdout] | ^^^ [INFO] [stdout] 36 | BNE, [INFO] [stdout] | ^^^ [INFO] [stdout] 37 | BPL, [INFO] [stdout] | ^^^ [INFO] [stdout] 38 | BRK, [INFO] [stdout] | ^^^ [INFO] [stdout] 39 | BVC, [INFO] [stdout] | ^^^ [INFO] [stdout] 40 | BVS, [INFO] [stdout] | ^^^ [INFO] [stdout] 41 | CLC, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | CLD, [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | CLI, [INFO] [stdout] | ^^^ [INFO] [stdout] 44 | CLV, [INFO] [stdout] | ^^^ [INFO] [stdout] 45 | CMP, [INFO] [stdout] | ^^^ [INFO] [stdout] 46 | CPX, [INFO] [stdout] | ^^^ [INFO] [stdout] 47 | CPY, [INFO] [stdout] | ^^^ [INFO] [stdout] 48 | DEC, [INFO] [stdout] | ^^^ [INFO] [stdout] 49 | DEX, [INFO] [stdout] | ^^^ [INFO] [stdout] 50 | DEY, [INFO] [stdout] | ^^^ [INFO] [stdout] 51 | EOR, [INFO] [stdout] | ^^^ [INFO] [stdout] 52 | INC, [INFO] [stdout] | ^^^ [INFO] [stdout] 53 | INX, [INFO] [stdout] | ^^^ [INFO] [stdout] 54 | INY, [INFO] [stdout] | ^^^ [INFO] [stdout] 55 | JMP, [INFO] [stdout] | ^^^ [INFO] [stdout] 56 | JSR, [INFO] [stdout] | ^^^ [INFO] [stdout] 57 | LDA, [INFO] [stdout] | ^^^ [INFO] [stdout] 58 | LDX, [INFO] [stdout] | ^^^ [INFO] [stdout] 59 | LDY, [INFO] [stdout] | ^^^ [INFO] [stdout] 60 | LSR, [INFO] [stdout] | ^^^ [INFO] [stdout] 61 | NOP, [INFO] [stdout] | ^^^ [INFO] [stdout] 62 | ORA, [INFO] [stdout] | ^^^ [INFO] [stdout] 63 | PHA, [INFO] [stdout] | ^^^ [INFO] [stdout] 64 | PHP, [INFO] [stdout] | ^^^ [INFO] [stdout] 65 | PLA, [INFO] [stdout] | ^^^ [INFO] [stdout] 66 | PLP, [INFO] [stdout] | ^^^ [INFO] [stdout] 67 | ROL, [INFO] [stdout] | ^^^ [INFO] [stdout] 68 | ROR, [INFO] [stdout] | ^^^ [INFO] [stdout] 69 | RTI, [INFO] [stdout] | ^^^ [INFO] [stdout] 70 | RTS, [INFO] [stdout] | ^^^ [INFO] [stdout] 71 | SBC, [INFO] [stdout] | ^^^ [INFO] [stdout] 72 | SEC, [INFO] [stdout] | ^^^ [INFO] [stdout] 73 | SED, [INFO] [stdout] | ^^^ [INFO] [stdout] 74 | SEI, [INFO] [stdout] | ^^^ [INFO] [stdout] 75 | STA, [INFO] [stdout] | ^^^ [INFO] [stdout] 76 | STX, [INFO] [stdout] | ^^^ [INFO] [stdout] 77 | STY, [INFO] [stdout] | ^^^ [INFO] [stdout] 78 | TAX, [INFO] [stdout] | ^^^ [INFO] [stdout] 79 | TAY, [INFO] [stdout] | ^^^ [INFO] [stdout] 80 | TSX, [INFO] [stdout] | ^^^ [INFO] [stdout] 81 | TXA, [INFO] [stdout] | ^^^ [INFO] [stdout] 82 | TXS, [INFO] [stdout] | ^^^ [INFO] [stdout] 83 | TYA, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Name` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Opcode` is never constructed [INFO] [stdout] --> src/cpu/opcodes.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct Opcode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_by_code` is never used [INFO] [stdout] --> src/cpu/opcodes.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 100 | impl<'a> Opcode { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 101 | /// gets an opcode by its hex code [INFO] [stdout] 102 | pub fn get_by_code(code: u8) -> Option<&'a Opcode> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `OPCODES` is never used [INFO] [stdout] --> src/cpu/opcodes.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | static OPCODES: [Opcode; 151] = [Opcode { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] running `Command { std: "docker" "inspect" "65795558ba90633c61cd0edaa05f6208d0bc9d9f2f4852cfd1a302eb475dca76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65795558ba90633c61cd0edaa05f6208d0bc9d9f2f4852cfd1a302eb475dca76", kill_on_drop: false }` [INFO] [stdout] 65795558ba90633c61cd0edaa05f6208d0bc9d9f2f4852cfd1a302eb475dca76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b3b1cc484b474afa245e3db2215aaf4ad4539495134ebae7d0decc953a8a1ab [INFO] running `Command { std: "docker" "start" "-a" "5b3b1cc484b474afa245e3db2215aaf4ad4539495134ebae7d0decc953a8a1ab", kill_on_drop: false }` [INFO] [stderr] Compiling nes v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] running `Command { std: "docker" "inspect" "5b3b1cc484b474afa245e3db2215aaf4ad4539495134ebae7d0decc953a8a1ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b3b1cc484b474afa245e3db2215aaf4ad4539495134ebae7d0decc953a8a1ab", kill_on_drop: false }` [INFO] [stdout] 5b3b1cc484b474afa245e3db2215aaf4ad4539495134ebae7d0decc953a8a1ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 560159cbb97d6f3088ad466dbe6484f31ec11db1aa2102ef726d3143cc12aa84 [INFO] running `Command { std: "docker" "start" "-a" "560159cbb97d6f3088ad466dbe6484f31ec11db1aa2102ef726d3143cc12aa84", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.00s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/nes-b30679e595e616d4) [INFO] [stdout] [INFO] [stdout] running 68 tests [INFO] [stdout] test cpu::opcodes::test::test_get_by_code_when_not_present ... ok [INFO] [stdout] test cpu::test::test_adc ... ok [INFO] [stdout] test cpu::opcodes::test::test_get_by_code_when_present ... ok [INFO] [stdout] test cpu::test::test_adc_decimal_mode ... ok [INFO] [stdout] test cpu::test::test_and ... ok [INFO] [stdout] test cpu::test::test_addr_for_operand ... ok [INFO] [stdout] test cpu::test::test_asl_acc ... ok [INFO] [stdout] test cpu::test::test_bit ... ok [INFO] [stdout] test cpu::test::test_asl_mem ... ok [INFO] [stdout] test cpu::test::test_branching_when_set ... ok [INFO] [stdout] test cpu::test::test_brk ... ok [INFO] [stdout] test cpu::test::test_branching_when_clear ... ok [INFO] [stdout] test cpu::test::test_clearing ... ok [INFO] [stdout] test cpu::test::test_cpx ... ok [INFO] [stdout] test cpu::test::test_cmp ... ok [INFO] [stdout] test cpu::test::test_dex ... ok [INFO] [stdout] test cpu::test::test_cpy ... ok [INFO] [stdout] test cpu::test::test_functional ... ignored [INFO] [stdout] test cpu::test::test_dec ... ok [INFO] [stdout] test cpu::test::test_inc ... ok [INFO] [stdout] test cpu::test::test_irq_when_interrupt ... ok [INFO] [stdout] test cpu::test::test_iny ... ok [INFO] [stdout] test cpu::test::test_inx ... ok [INFO] [stdout] test cpu::test::test_eor ... ok [INFO] [stdout] test cpu::test::test_dey ... ok [INFO] [stdout] test cpu::test::test_jmp ... ok [INFO] [stdout] test cpu::test::test_irq_when_not_interrupt ... ok [INFO] [stdout] test cpu::test::test_jsr ... ok [INFO] [stdout] test cpu::test::test_ldy ... ok [INFO] [stdout] test cpu::test::test_jump ... ok [INFO] [stdout] test cpu::test::test_lsr_acc ... ok [INFO] [stdout] test cpu::test::test_ldx ... ok [INFO] [stdout] test cpu::test::test_lsr_mem ... ok [INFO] [stdout] test cpu::test::test_operand_for_opcode ... ok [INFO] [stdout] test cpu::test::test_nmi ... ok [INFO] [stdout] test cpu::test::test_ora ... ok [INFO] [stdout] test cpu::test::test_pha ... ok [INFO] [stdout] test cpu::test::test_php ... ok [INFO] [stdout] test cpu::test::test_lda ... ok [INFO] [stdout] test cpu::test::test_pla ... ok [INFO] [stdout] test cpu::test::test_plp ... ok [INFO] [stdout] test cpu::test::test_push_one_pop_one ... ok [INFO] [stdout] test cpu::test::test_read_two ... ok [INFO] [stdout] test cpu::test::test_push_two_pop_two ... ok [INFO] [stdout] test cpu::test::test_reset ... ok [INFO] [stdout] test cpu::test::test_read_one ... ok [INFO] [stdout] test cpu::test::test_ror_mem ... ok [INFO] [stdout] test cpu::test::test_rti ... ok [INFO] [stdout] test cpu::test::test_rol_acc ... ok [INFO] [stdout] test cpu::test::test_rol_mem ... ok [INFO] [stdout] test cpu::test::test_ror_acc ... ok [INFO] [stdout] test cpu::test::test_rts ... ok [INFO] [stdout] test cpu::test::test_sbc_decimal_mode ... ok [INFO] [stdout] test cpu::test::test_sbc ... ok [INFO] [stdout] test cpu::test::test_set_s_and_z ... ok [INFO] [stdout] test cpu::test::test_setting ... ok [INFO] [stdout] test cpu::test::test_sta ... ok [INFO] [stdout] test cpu::test::test_stx ... ok [INFO] [stdout] test cpu::test::test_tax ... ok [INFO] [stdout] test cpu::test::test_sty ... ok [INFO] [stdout] test cpu::test::test_txa ... ok [INFO] [stdout] test cpu::test::test_tsx ... ok [INFO] [stdout] test cpu::test::test_txs ... ok [INFO] [stdout] test cpu::test::test_tay ... ok [INFO] [stdout] test cpu::test::test_tya ... ok [INFO] [stdout] test cpu::test::test_write_one ... ok [INFO] [stdout] test cpu::test::test_value_for_operand ... ok [INFO] [stdout] test cpu::test::test_invalid_opcode - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 67 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "560159cbb97d6f3088ad466dbe6484f31ec11db1aa2102ef726d3143cc12aa84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "560159cbb97d6f3088ad466dbe6484f31ec11db1aa2102ef726d3143cc12aa84", kill_on_drop: false }` [INFO] [stdout] 560159cbb97d6f3088ad466dbe6484f31ec11db1aa2102ef726d3143cc12aa84 [INFO] testing twking7/nes against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftwking7%2Fnes" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/twking7/nes on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/twking7/nes [INFO] finished tweaking git repo https://github.com/twking7/nes [INFO] tweaked toml for git repo https://github.com/twking7/nes written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/twking7/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" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09826e2752ab2ead1fa637a3ee4602054257e3c49439439851f84e702436c8eb [INFO] running `Command { std: "docker" "start" "-a" "09826e2752ab2ead1fa637a3ee4602054257e3c49439439851f84e702436c8eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09826e2752ab2ead1fa637a3ee4602054257e3c49439439851f84e702436c8eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09826e2752ab2ead1fa637a3ee4602054257e3c49439439851f84e702436c8eb", kill_on_drop: false }` [INFO] [stdout] 09826e2752ab2ead1fa637a3ee4602054257e3c49439439851f84e702436c8eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c15ac77913af688f1fcf00a00c425d88ab8836a54374cf48cfaca9be5ad2edf6 [INFO] running `Command { std: "docker" "start" "-a" "c15ac77913af688f1fcf00a00c425d88ab8836a54374cf48cfaca9be5ad2edf6", kill_on_drop: false }` [INFO] [stderr] Compiling nes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `NMI_VECTOR` is never used [INFO] [stdout] --> src/cpu/mod.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const NMI_VECTOR: u16 = 0xFFFA; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RESET_VECTOR` is never used [INFO] [stdout] --> src/cpu/mod.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const RESET_VECTOR: u16 = 0xFFFC; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IRQ_VECTOR` is never used [INFO] [stdout] --> src/cpu/mod.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const IRQ_VECTOR: u16 = 0xFFFE; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MEMORY_SIZE` is never used [INFO] [stdout] --> src/cpu/mod.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const MEMORY_SIZE: usize = 65_536; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operand` is never used [INFO] [stdout] --> src/cpu/mod.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | enum Operand { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Status` is never used [INFO] [stdout] --> src/cpu/mod.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CPU` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cpu/mod.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl CPU { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 54 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn irq(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn nmi(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn load_ram(&mut self, mem: Vec, offset: u16) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn execute(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn tick(&mut self, opcode: &Opcode) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | fn adc(&mut self, val: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | fn and(&mut self, val: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | fn asl(&mut self, operand: &Operand) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | fn bcc(&mut self, offset: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | fn bcs(&mut self, offset: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | fn beq(&mut self, offset: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | fn bit(&mut self, val: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | fn bmi(&mut self, offset: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | fn bne(&mut self, offset: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | fn bpl(&mut self, offset: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | fn brk(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | fn bvc(&mut self, offset: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | fn bvs(&mut self, offset: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | fn clc(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | fn cld(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | fn cli(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | fn clv(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | fn cmp(&mut self, val: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | fn cpx(&mut self, val: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | fn cpy(&mut self, val: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | fn dec(&mut self, addr: u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | fn dex(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 348 | fn dey(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 354 | fn eor(&mut self, val: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | fn inc(&mut self, addr: u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | fn inx(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 372 | fn iny(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 378 | fn jmp(&mut self, addr: u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 382 | fn jsr(&mut self, addr: u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | fn lda(&mut self, val: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 393 | fn ldx(&mut self, val: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 398 | fn ldy(&mut self, val: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | fn lsr(&mut self, operand: &Operand) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 411 | fn ora(&mut self, val: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 417 | fn pha(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 422 | fn php(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 427 | fn pla(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 434 | fn plp(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 438 | fn rol(&mut self, operand: &Operand) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 449 | fn ror(&mut self, operand: &Operand) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 460 | fn rti(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 465 | fn rts(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 469 | fn sbc(&mut self, val: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 477 | fn sec(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 481 | fn sed(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 485 | fn sei(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 489 | fn sta(&mut self, addr: u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 494 | fn stx(&mut self, addr: u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | fn sty(&mut self, addr: u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 504 | fn tax(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 510 | fn tay(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 516 | fn tsx(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 522 | fn txa(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | fn txs(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | fn tya(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | fn set_operand(&mut self, operand: &Operand, val: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 548 | fn operand_for_mode(&self, mode: Mode) -> Operand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 571 | fn value_for_operand(&self, operand: &Operand) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 579 | fn addr_for_operand(&self, operand: &Operand) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 587 | fn read_one(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 591 | fn read_two(&self, addr: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 597 | fn write_one(&mut self, addr: u16, val: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 601 | fn get_status(&self, s: Status) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 605 | fn set_status(&mut self, s: Status, val: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 612 | fn set_s_and_z(&mut self, val: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 617 | fn jump(&mut self, offset: u8) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 625 | fn push_two(&mut self, val: u16) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 630 | fn push_one(&mut self, val: u8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 636 | fn pop_two(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 642 | fn pop_one(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 648 | fn debug(&self, opcode: &Opcode, operand: Operand, val: u8, addr: u16) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/cpu/opcodes.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Mode { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 5 | Absolute, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | AbsoluteX, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | AbsoluteY, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | Accumulator, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | Immediate, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | Implied, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | Indirect, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | IndirectX, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | IndirectY, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | Relative, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | ZeroPage, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | ZeroPageX, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | ZeroPageY, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/cpu/opcodes.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum Name { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 28 | ADC, [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | AND, [INFO] [stdout] | ^^^ [INFO] [stdout] 30 | ASL, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | BCC, [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | BCS, [INFO] [stdout] | ^^^ [INFO] [stdout] 33 | BEQ, [INFO] [stdout] | ^^^ [INFO] [stdout] 34 | BIT, [INFO] [stdout] | ^^^ [INFO] [stdout] 35 | BMI, [INFO] [stdout] | ^^^ [INFO] [stdout] 36 | BNE, [INFO] [stdout] | ^^^ [INFO] [stdout] 37 | BPL, [INFO] [stdout] | ^^^ [INFO] [stdout] 38 | BRK, [INFO] [stdout] | ^^^ [INFO] [stdout] 39 | BVC, [INFO] [stdout] | ^^^ [INFO] [stdout] 40 | BVS, [INFO] [stdout] | ^^^ [INFO] [stdout] 41 | CLC, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | CLD, [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | CLI, [INFO] [stdout] | ^^^ [INFO] [stdout] 44 | CLV, [INFO] [stdout] | ^^^ [INFO] [stdout] 45 | CMP, [INFO] [stdout] | ^^^ [INFO] [stdout] 46 | CPX, [INFO] [stdout] | ^^^ [INFO] [stdout] 47 | CPY, [INFO] [stdout] | ^^^ [INFO] [stdout] 48 | DEC, [INFO] [stdout] | ^^^ [INFO] [stdout] 49 | DEX, [INFO] [stdout] | ^^^ [INFO] [stdout] 50 | DEY, [INFO] [stdout] | ^^^ [INFO] [stdout] 51 | EOR, [INFO] [stdout] | ^^^ [INFO] [stdout] 52 | INC, [INFO] [stdout] | ^^^ [INFO] [stdout] 53 | INX, [INFO] [stdout] | ^^^ [INFO] [stdout] 54 | INY, [INFO] [stdout] | ^^^ [INFO] [stdout] 55 | JMP, [INFO] [stdout] | ^^^ [INFO] [stdout] 56 | JSR, [INFO] [stdout] | ^^^ [INFO] [stdout] 57 | LDA, [INFO] [stdout] | ^^^ [INFO] [stdout] 58 | LDX, [INFO] [stdout] | ^^^ [INFO] [stdout] 59 | LDY, [INFO] [stdout] | ^^^ [INFO] [stdout] 60 | LSR, [INFO] [stdout] | ^^^ [INFO] [stdout] 61 | NOP, [INFO] [stdout] | ^^^ [INFO] [stdout] 62 | ORA, [INFO] [stdout] | ^^^ [INFO] [stdout] 63 | PHA, [INFO] [stdout] | ^^^ [INFO] [stdout] 64 | PHP, [INFO] [stdout] | ^^^ [INFO] [stdout] 65 | PLA, [INFO] [stdout] | ^^^ [INFO] [stdout] 66 | PLP, [INFO] [stdout] | ^^^ [INFO] [stdout] 67 | ROL, [INFO] [stdout] | ^^^ [INFO] [stdout] 68 | ROR, [INFO] [stdout] | ^^^ [INFO] [stdout] 69 | RTI, [INFO] [stdout] | ^^^ [INFO] [stdout] 70 | RTS, [INFO] [stdout] | ^^^ [INFO] [stdout] 71 | SBC, [INFO] [stdout] | ^^^ [INFO] [stdout] 72 | SEC, [INFO] [stdout] | ^^^ [INFO] [stdout] 73 | SED, [INFO] [stdout] | ^^^ [INFO] [stdout] 74 | SEI, [INFO] [stdout] | ^^^ [INFO] [stdout] 75 | STA, [INFO] [stdout] | ^^^ [INFO] [stdout] 76 | STX, [INFO] [stdout] | ^^^ [INFO] [stdout] 77 | STY, [INFO] [stdout] | ^^^ [INFO] [stdout] 78 | TAX, [INFO] [stdout] | ^^^ [INFO] [stdout] 79 | TAY, [INFO] [stdout] | ^^^ [INFO] [stdout] 80 | TSX, [INFO] [stdout] | ^^^ [INFO] [stdout] 81 | TXA, [INFO] [stdout] | ^^^ [INFO] [stdout] 82 | TXS, [INFO] [stdout] | ^^^ [INFO] [stdout] 83 | TYA, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Name` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Opcode` is never constructed [INFO] [stdout] --> src/cpu/opcodes.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct Opcode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_by_code` is never used [INFO] [stdout] --> src/cpu/opcodes.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 100 | impl<'a> Opcode { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 101 | /// gets an opcode by its hex code [INFO] [stdout] 102 | pub fn get_by_code(code: u8) -> Option<&'a Opcode> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `OPCODES` is never used [INFO] [stdout] --> src/cpu/opcodes.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | static OPCODES: [Opcode; 151] = [Opcode { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] running `Command { std: "docker" "inspect" "c15ac77913af688f1fcf00a00c425d88ab8836a54374cf48cfaca9be5ad2edf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c15ac77913af688f1fcf00a00c425d88ab8836a54374cf48cfaca9be5ad2edf6", kill_on_drop: false }` [INFO] [stdout] c15ac77913af688f1fcf00a00c425d88ab8836a54374cf48cfaca9be5ad2edf6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e668ddefdb566cf8fd4e18718b6ef623b659095c2da6e69cecf65ec12bb9d9fd [INFO] running `Command { std: "docker" "start" "-a" "e668ddefdb566cf8fd4e18718b6ef623b659095c2da6e69cecf65ec12bb9d9fd", kill_on_drop: false }` [INFO] [stderr] Compiling nes v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] rustc-LLVM ERROR: IO failure on output stream: No space left on device [INFO] [stderr] error: could not compile `nes` (bin "nes" test) [INFO] running `Command { std: "docker" "inspect" "e668ddefdb566cf8fd4e18718b6ef623b659095c2da6e69cecf65ec12bb9d9fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e668ddefdb566cf8fd4e18718b6ef623b659095c2da6e69cecf65ec12bb9d9fd", kill_on_drop: false }` [INFO] [stdout] e668ddefdb566cf8fd4e18718b6ef623b659095c2da6e69cecf65ec12bb9d9fd