[INFO] cloning repository https://github.com/WilderDan/cpu6502 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WilderDan/cpu6502" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilderDan%2Fcpu6502", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilderDan%2Fcpu6502'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f0c2f9793e95593e1ab61944d78dd4cf70b892ec [INFO] checking WilderDan/cpu6502 against try#f27166d4c64dc29edc5ea3214357f191edf8b635 for pr-148329 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilderDan%2Fcpu6502" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/WilderDan/cpu6502 [INFO] finished tweaking git repo https://github.com/WilderDan/cpu6502 [INFO] tweaked toml for git repo https://github.com/WilderDan/cpu6502 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/WilderDan/cpu6502 on toolchain f27166d4c64dc29edc5ea3214357f191edf8b635 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/WilderDan/cpu6502 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" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b10c917477ca237bd87dec8ed06827819ed14146350b429cc19cc8ce204d526 [INFO] running `Command { std: "docker" "start" "-a" "3b10c917477ca237bd87dec8ed06827819ed14146350b429cc19cc8ce204d526", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b10c917477ca237bd87dec8ed06827819ed14146350b429cc19cc8ce204d526", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b10c917477ca237bd87dec8ed06827819ed14146350b429cc19cc8ce204d526", kill_on_drop: false }` [INFO] [stdout] 3b10c917477ca237bd87dec8ed06827819ed14146350b429cc19cc8ce204d526 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8585c0d374846146fcc64bcff9aebe542d60ea94104b88cc22196830134e8721 [INFO] running `Command { std: "docker" "start" "-a" "8585c0d374846146fcc64bcff9aebe542d60ea94104b88cc22196830134e8721", kill_on_drop: false }` [INFO] [stderr] Checking cpu_6502 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `CPU` is never constructed [INFO] [stdout] --> src/cpu.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cpu.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl CPU { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn mem_read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn mem_write(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn mem_read_u16(&mut self, pos: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn mem_write_u16(&mut self, pos: u16, data: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn load(&mut self, program: Vec) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn load_and_run(&mut self, program: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn set_status_bit(&mut self, flag: StatusFlag) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn unset_status_bit(&mut self, flag: StatusFlag) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn is_flag_set(&mut self, flag: StatusFlag) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | fn update_zero_and_negative_flags(&mut self, result: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn update_flag(&mut self, flag: StatusFlag, should_set: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn get_operand_address(&mut self, mode: &AddressingMode) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn get_operand_value(&mut self, mode: &AddressingMode) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn branch(&mut self, mode: &AddressingMode) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | fn and(&mut self, mode: &AddressingMode) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | fn asl(&mut self, mode: &AddressingMode) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | fn bcc(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | fn bcs(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | fn beq(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | fn bit(&mut self, mode: &AddressingMode) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | fn bmi(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | fn bne(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | fn bpl(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | fn bvc(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | fn bvs(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | fn inx(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | fn lda(&mut self, mode: &AddressingMode) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | fn ldx(&mut self, mode: &AddressingMode) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | fn ldy(&mut self, mode: &AddressingMode) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | fn tax(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | fn sta(&mut self, mode: &AddressingMode) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INSTRUCTION_SET_SIZE` is never used [INFO] [stdout] --> src/cpu/instruction_set.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const INSTRUCTION_SET_SIZE: usize = 30; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instruction` is never constructed [INFO] [stdout] --> src/cpu/instruction_set/instruction.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cpu/instruction_set/instruction.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl Instruction { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 12 | pub const fn new(opcode: u8, mnemonic: &'static str, mode: AddressingMode, length: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AddressingMode` is never used [INFO] [stdout] --> src/cpu/instruction_set/instruction/addressing_mode.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum AddressingMode { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StatusFlag` is never used [INFO] [stdout] --> src/cpu/status_flag.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum StatusFlag { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bit_at` is never used [INFO] [stdout] --> src/util.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn get_bit_at(input: u8, pos: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_address_from_offset` is never used [INFO] [stdout] --> src/util.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn get_address_from_offset(addr: u16, offset: u8) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mnemonic` is never read [INFO] [stdout] --> src/cpu/instruction_set/instruction.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Instruction { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 5 | pub opcode: u8, [INFO] [stdout] 6 | pub mnemonic: &'static str, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ZeroPageY` is never constructed [INFO] [stdout] --> src/cpu/instruction_set/instruction/addressing_mode.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum AddressingMode { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | 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] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] running `Command { std: "docker" "inspect" "8585c0d374846146fcc64bcff9aebe542d60ea94104b88cc22196830134e8721", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8585c0d374846146fcc64bcff9aebe542d60ea94104b88cc22196830134e8721", kill_on_drop: false }` [INFO] [stdout] 8585c0d374846146fcc64bcff9aebe542d60ea94104b88cc22196830134e8721