[INFO] cloning repository https://github.com/SolarysDev/fucking-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/SolarysDev/fucking-nes-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSolarysDev%2Ffucking-nes-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSolarysDev%2Ffucking-nes-emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0bc0a97beb46ff2a45bffba72479af66b3b5e011 [INFO] checking SolarysDev/fucking-nes-emulator against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSolarysDev%2Ffucking-nes-emulator" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SolarysDev/fucking-nes-emulator [INFO] finished tweaking git repo https://github.com/SolarysDev/fucking-nes-emulator [INFO] tweaked toml for git repo https://github.com/SolarysDev/fucking-nes-emulator written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SolarysDev/fucking-nes-emulator on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SolarysDev/fucking-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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 172980c7a60f96677002c5f241f7088b4b034a9c861765ad52ae2a0034516072 [INFO] running `Command { std: "docker" "start" "-a" "172980c7a60f96677002c5f241f7088b4b034a9c861765ad52ae2a0034516072", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "172980c7a60f96677002c5f241f7088b4b034a9c861765ad52ae2a0034516072", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "172980c7a60f96677002c5f241f7088b4b034a9c861765ad52ae2a0034516072", kill_on_drop: false }` [INFO] [stdout] 172980c7a60f96677002c5f241f7088b4b034a9c861765ad52ae2a0034516072 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a51576d62a0c15fa47b1509a9e4a365373779d4787723e343ff04c19d007fef [INFO] running `Command { std: "docker" "start" "-a" "3a51576d62a0c15fa47b1509a9e4a365373779d4787723e343ff04c19d007fef", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Checking bit-struct v0.3.2 [INFO] [stderr] Checking fucking_nes_emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `AddressingMode` is never used [INFO] [stdout] --> src/core/cpu/processor.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum AddressingMode { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Processor` is never constructed [INFO] [stdout] --> src/core/cpu/processor.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Processor { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/core/cpu/processor.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Processor { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 32 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn mem_read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn mem_write(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn mem_read_u16(&self, pos: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn mem_write_u16(&mut self, pos: u16, data: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn load(&mut self, program: Vec) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn load_and_run(&mut self, program: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn branch(&mut self, condition: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn get_operand_address(&self, mode: &AddressingMode) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `zero_negative_flags` is never used [INFO] [stdout] --> src/core/cpu/status_flags.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl CPUStatusFlags { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 32 | pub fn zero_negative_flags(&mut self, target: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpCode` is never constructed [INFO] [stdout] --> src/core/cpu/instructions.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct OpCode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProcessorAction` is never used [INFO] [stdout] --> src/core/cpu/instructions.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum ProcessorAction { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core/cpu/instructions.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl OpCode { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(hex: u8, human: ProcessorAction, bytes: u8, cycles: u8, mode: AddressingMode) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `advance_program_counter` is never used [INFO] [stdout] --> src/core/cpu/instructions.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn advance_program_counter(cpu: &mut Processor, opcode: &OpCode) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `register_a_add` is never used [INFO] [stdout] --> src/core/cpu/instructions.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn register_a_add(cpu: &mut Processor, data: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `adc` is never used [INFO] [stdout] --> src/core/cpu/instructions.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn adc(cpu: &mut Processor, opcode: &OpCode) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `and` is never used [INFO] [stdout] --> src/core/cpu/instructions.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn and(cpu: &mut Processor, opcode: &OpCode) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `asl` is never used [INFO] [stdout] --> src/core/cpu/instructions.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn asl(cpu: &mut Processor, opcode: &OpCode) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `asl_accumulator` is never used [INFO] [stdout] --> src/core/cpu/instructions.rs:177:4 [INFO] [stdout] | [INFO] [stdout] 177 | fn asl_accumulator(cpu: &mut Processor, opcode: &OpCode) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bcc` is never used [INFO] [stdout] --> src/core/cpu/instructions.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn bcc(cpu: &mut Processor) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bcs` is never used [INFO] [stdout] --> src/core/cpu/instructions.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn bcs(cpu: &mut Processor) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `beq` is never used [INFO] [stdout] --> src/core/cpu/instructions.rs:198:8 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn beq(cpu: &mut Processor) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bit` is never used [INFO] [stdout] --> src/core/cpu/instructions.rs:203:8 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn bit(cpu: &mut Processor, opcode: &OpCode) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inx` is never used [INFO] [stdout] --> src/core/cpu/instructions.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn inx(cpu: &mut Processor) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lda` is never used [INFO] [stdout] --> src/core/cpu/instructions.rs:228:8 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn lda(cpu: &mut Processor, opcode: &OpCode) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sbc` is never used [INFO] [stdout] --> src/core/cpu/instructions.rs:237:8 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn sbc(cpu: &mut Processor, opcode: &OpCode) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sta` is never used [INFO] [stdout] --> src/core/cpu/instructions.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn sta(cpu: &mut Processor, opcode: &OpCode) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tax` is never used [INFO] [stdout] --> src/core/cpu/instructions.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn tax(cpu: &mut Processor) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ZeroPage_Y` is never constructed [INFO] [stdout] --> src/core/cpu/processor.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum AddressingMode { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | ZeroPage_Y, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddressingMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/core/cpu/instructions.rs:18:40 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum ProcessorAction { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 18 | ADC, AND, ASL, BCC, BCS, BEQ, BIT, BMI, BNE, BPL, BRK, BVC, BVS, CLC, [INFO] [stdout] | ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ [INFO] [stdout] 19 | CLD, CLI, CLV, CMP, CPX, CPY, DEC, DEX, DEY, EOR, INC, INX, INY, JMP, [INFO] [stdout] | ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ [INFO] [stdout] 20 | JSR, LDA, LDX, LDY, LSR, NOP, ORA, PHA, PHP, PLA, PLP, ROL, ROR, RTI, [INFO] [stdout] | ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ [INFO] [stdout] 21 | RTS, SBC, SEC, SED, SEI, STA, STX, STY, TAX, TAY, TSX, TXA, TXS, TYA [INFO] [stdout] | ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProcessorAction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.69s [INFO] running `Command { std: "docker" "inspect" "3a51576d62a0c15fa47b1509a9e4a365373779d4787723e343ff04c19d007fef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a51576d62a0c15fa47b1509a9e4a365373779d4787723e343ff04c19d007fef", kill_on_drop: false }` [INFO] [stdout] 3a51576d62a0c15fa47b1509a9e4a365373779d4787723e343ff04c19d007fef