[INFO] cloning repository https://github.com/jmastrianni13/rustynes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jmastrianni13/rustynes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmastrianni13%2Frustynes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmastrianni13%2Frustynes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1762608d055e1ec35eeebb82fb9ba717b27ee2a3 [INFO] checking jmastrianni13/rustynes against master#40daf23eeb711dadf140b2536e67e3ff4c999196 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmastrianni13%2Frustynes" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jmastrianni13/rustynes on toolchain 40daf23eeb711dadf140b2536e67e3ff4c999196 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jmastrianni13/rustynes [INFO] finished tweaking git repo https://github.com/jmastrianni13/rustynes [INFO] tweaked toml for git repo https://github.com/jmastrianni13/rustynes written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jmastrianni13/rustynes 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" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ea5b9fb9d3ecb990c6a3dd0a047b1cfb0dd191366982bf9eb45ad71d5472006 [INFO] running `Command { std: "docker" "start" "-a" "1ea5b9fb9d3ecb990c6a3dd0a047b1cfb0dd191366982bf9eb45ad71d5472006", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ea5b9fb9d3ecb990c6a3dd0a047b1cfb0dd191366982bf9eb45ad71d5472006", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ea5b9fb9d3ecb990c6a3dd0a047b1cfb0dd191366982bf9eb45ad71d5472006", kill_on_drop: false }` [INFO] [stdout] 1ea5b9fb9d3ecb990c6a3dd0a047b1cfb0dd191366982bf9eb45ad71d5472006 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb284750dcce30c9de1a1f22be51006ab7544230be57f43b26d2c887e2370996 [INFO] running `Command { std: "docker" "start" "-a" "bb284750dcce30c9de1a1f22be51006ab7544230be57f43b26d2c887e2370996", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking rustynes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `op_code` [INFO] [stdout] --> src/cpu.rs:291:23 [INFO] [stdout] | [INFO] [stdout] 291 | fn adc(&mut self, op_code: &OpCode) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_code` [INFO] [stdout] --> src/cpu.rs:317:42 [INFO] [stdout] | [INFO] [stdout] 317 | fn handle_accumulator_asl(&mut self, op_code: &OpCode) -> u8 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_code` [INFO] [stdout] --> src/cpu.rs:350:23 [INFO] [stdout] | [INFO] [stdout] 350 | fn bcc(&mut self, op_code: &OpCode) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_code` [INFO] [stdout] --> src/cpu.rs:354:23 [INFO] [stdout] | [INFO] [stdout] 354 | fn bcs(&mut self, op_code: &OpCode) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_code` [INFO] [stdout] --> src/cpu.rs:358:23 [INFO] [stdout] | [INFO] [stdout] 358 | fn beq(&mut self, op_code: &OpCode) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_code` [INFO] [stdout] --> src/cpu.rs:362:23 [INFO] [stdout] | [INFO] [stdout] 362 | fn bit(&mut self, op_code: &OpCode) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_code` [INFO] [stdout] --> src/cpu.rs:366:23 [INFO] [stdout] | [INFO] [stdout] 366 | fn bmi(&mut self, op_code: &OpCode) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_code` [INFO] [stdout] --> src/cpu.rs:370:23 [INFO] [stdout] | [INFO] [stdout] 370 | fn bne(&mut self, op_code: &OpCode) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_code` [INFO] [stdout] --> src/cpu.rs:374:23 [INFO] [stdout] | [INFO] [stdout] 374 | fn bpl(&mut self, op_code: &OpCode) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_code` [INFO] [stdout] --> src/cpu.rs:380:23 [INFO] [stdout] | [INFO] [stdout] 380 | fn bvc(&mut self, op_code: &OpCode) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_code` [INFO] [stdout] --> src/cpu.rs:384:23 [INFO] [stdout] | [INFO] [stdout] 384 | fn bvs(&mut self, op_code: &OpCode) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `register_data` [INFO] [stdout] --> src/cpu.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | let register_data = self.register_y; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_register_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_code` [INFO] [stdout] --> src/cpu.rs:546:23 [INFO] [stdout] | [INFO] [stdout] 546 | fn jsr(&mut self, op_code: &OpCode) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_code` [INFO] [stdout] --> src/cpu.rs:589:42 [INFO] [stdout] | [INFO] [stdout] 589 | fn handle_accumulator_lsr(&mut self, op_code: &OpCode) -> u8 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_code` [INFO] [stdout] --> src/cpu.rs:662:42 [INFO] [stdout] | [INFO] [stdout] 662 | fn handle_accumulator_rol(&mut self, op_code: &OpCode) -> u8 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_code` [INFO] [stdout] --> src/cpu.rs:712:42 [INFO] [stdout] | [INFO] [stdout] 712 | fn handle_accumulator_ror(&mut self, op_code: &OpCode) -> u8 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_code` [INFO] [stdout] --> src/cpu.rs:763:23 [INFO] [stdout] | [INFO] [stdout] 763 | fn sbc(&mut self, op_code: &OpCode) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STACK_RESET` is never used [INFO] [stdout] --> src/cpu.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const STACK_RESET: u8 = STACK_BOTTOM as u8; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bottom` and `top` are never read [INFO] [stdout] --> src/stack.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Stack { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 3 | bottom: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | top: u16, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stack` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_code` [INFO] [stdout] --> src/cpu.rs:291:23 [INFO] [stdout] | [INFO] [stdout] 291 | fn adc(&mut self, op_code: &OpCode) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_code` [INFO] [stdout] --> src/cpu.rs:317:42 [INFO] [stdout] | [INFO] [stdout] 317 | fn handle_accumulator_asl(&mut self, op_code: &OpCode) -> u8 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_code` [INFO] [stdout] --> src/cpu.rs:350:23 [INFO] [stdout] | [INFO] [stdout] 350 | fn bcc(&mut self, op_code: &OpCode) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_code` [INFO] [stdout] --> src/cpu.rs:354:23 [INFO] [stdout] | [INFO] [stdout] 354 | fn bcs(&mut self, op_code: &OpCode) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_code` [INFO] [stdout] --> src/cpu.rs:358:23 [INFO] [stdout] | [INFO] [stdout] 358 | fn beq(&mut self, op_code: &OpCode) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_code` [INFO] [stdout] --> src/cpu.rs:362:23 [INFO] [stdout] | [INFO] [stdout] 362 | fn bit(&mut self, op_code: &OpCode) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_code` [INFO] [stdout] --> src/cpu.rs:366:23 [INFO] [stdout] | [INFO] [stdout] 366 | fn bmi(&mut self, op_code: &OpCode) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_code` [INFO] [stdout] --> src/cpu.rs:370:23 [INFO] [stdout] | [INFO] [stdout] 370 | fn bne(&mut self, op_code: &OpCode) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_code` [INFO] [stdout] --> src/cpu.rs:374:23 [INFO] [stdout] | [INFO] [stdout] 374 | fn bpl(&mut self, op_code: &OpCode) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_code` [INFO] [stdout] --> src/cpu.rs:380:23 [INFO] [stdout] | [INFO] [stdout] 380 | fn bvc(&mut self, op_code: &OpCode) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_code` [INFO] [stdout] --> src/cpu.rs:384:23 [INFO] [stdout] | [INFO] [stdout] 384 | fn bvs(&mut self, op_code: &OpCode) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `register_data` [INFO] [stdout] --> src/cpu.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | let register_data = self.register_y; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_register_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_code` [INFO] [stdout] --> src/cpu.rs:546:23 [INFO] [stdout] | [INFO] [stdout] 546 | fn jsr(&mut self, op_code: &OpCode) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_code` [INFO] [stdout] --> src/cpu.rs:589:42 [INFO] [stdout] | [INFO] [stdout] 589 | fn handle_accumulator_lsr(&mut self, op_code: &OpCode) -> u8 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_code` [INFO] [stdout] --> src/cpu.rs:662:42 [INFO] [stdout] | [INFO] [stdout] 662 | fn handle_accumulator_rol(&mut self, op_code: &OpCode) -> u8 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_code` [INFO] [stdout] --> src/cpu.rs:712:42 [INFO] [stdout] | [INFO] [stdout] 712 | fn handle_accumulator_ror(&mut self, op_code: &OpCode) -> u8 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_code` [INFO] [stdout] --> src/cpu.rs:763:23 [INFO] [stdout] | [INFO] [stdout] 763 | fn sbc(&mut self, op_code: &OpCode) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STACK_RESET` is never used [INFO] [stdout] --> src/cpu.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const STACK_RESET: u8 = STACK_BOTTOM as u8; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpy_immediate` is never used [INFO] [stdout] --> src/cpu.rs:1164:8 [INFO] [stdout] | [INFO] [stdout] 1164 | fn test_cpy_immediate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] running `Command { std: "docker" "inspect" "bb284750dcce30c9de1a1f22be51006ab7544230be57f43b26d2c887e2370996", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb284750dcce30c9de1a1f22be51006ab7544230be57f43b26d2c887e2370996", kill_on_drop: false }` [INFO] [stdout] bb284750dcce30c9de1a1f22be51006ab7544230be57f43b26d2c887e2370996