[INFO] cloning repository https://github.com/thewarsawpakt/chip8emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thewarsawpakt/chip8emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthewarsawpakt%2Fchip8emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthewarsawpakt%2Fchip8emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fb8cf8183acd08c33833c1982883b5f8ffad2aca [INFO] checking thewarsawpakt/chip8emulator against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthewarsawpakt%2Fchip8emulator" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/thewarsawpakt/chip8emulator [INFO] finished tweaking git repo https://github.com/thewarsawpakt/chip8emulator [INFO] tweaked toml for git repo https://github.com/thewarsawpakt/chip8emulator written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thewarsawpakt/chip8emulator on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/thewarsawpakt/chip8emulator 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.0.82 [INFO] [stderr] Downloaded twelve_bit v0.1.1 [INFO] [stderr] Downloaded rustix v0.38.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dcf05b22474d0bce62056416291e629786fbc7ae9eaa32f1f1c0c41d781d27d3 [INFO] running `Command { std: "docker" "start" "-a" "dcf05b22474d0bce62056416291e629786fbc7ae9eaa32f1f1c0c41d781d27d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dcf05b22474d0bce62056416291e629786fbc7ae9eaa32f1f1c0c41d781d27d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcf05b22474d0bce62056416291e629786fbc7ae9eaa32f1f1c0c41d781d27d3", kill_on_drop: false }` [INFO] [stdout] dcf05b22474d0bce62056416291e629786fbc7ae9eaa32f1f1c0c41d781d27d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c8036db26a7e54c9db513a23e7386a0b4fba5860578b3ac6eb157e277fe4585 [INFO] running `Command { std: "docker" "start" "-a" "2c8036db26a7e54c9db513a23e7386a0b4fba5860578b3ac6eb157e277fe4585", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling rustix v0.38.7 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking twelve_bit v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Checking regex v1.9.3 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking chip8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/cpu.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/cpu.rs:103:39 [INFO] [stdout] | [INFO] [stdout] 103 | Instruction::SHR_VX_VY(x, y) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/cpu.rs:122:39 [INFO] [stdout] | [INFO] [stdout] 122 | Instruction::SHL_VX_VY(x, y) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/cpu.rs:145:40 [INFO] [stdout] | [INFO] [stdout] 145 | Instruction::DRW_VX_VY_NIB(x, y, size) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/cpu.rs:145:43 [INFO] [stdout] | [INFO] [stdout] 145 | Instruction::DRW_VX_VY_NIB(x, y, size) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/cpu.rs:145:46 [INFO] [stdout] | [INFO] [stdout] 145 | Instruction::DRW_VX_VY_NIB(x, y, size) => {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/cpu.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/cpu.rs:103:39 [INFO] [stdout] | [INFO] [stdout] 103 | Instruction::SHR_VX_VY(x, y) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/cpu.rs:122:39 [INFO] [stdout] | [INFO] [stdout] 122 | Instruction::SHL_VX_VY(x, y) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/cpu.rs:145:40 [INFO] [stdout] | [INFO] [stdout] 145 | Instruction::DRW_VX_VY_NIB(x, y, size) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/cpu.rs:145:43 [INFO] [stdout] | [INFO] [stdout] 145 | Instruction::DRW_VX_VY_NIB(x, y, size) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/cpu.rs:145:46 [INFO] [stdout] | [INFO] [stdout] 145 | Instruction::DRW_VX_VY_NIB(x, y, size) => {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROGRAM_LOAD_MEMORY_OFFSET` is never used [INFO] [stdout] --> src/cpu.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const PROGRAM_LOAD_MEMORY_OFFSET: i64 = 0x200; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instruction.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | INVALID(u16), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 - INVALID(u16), [INFO] [stdout] 8 + INVALID(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instruction.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | SKP_VX(usize), [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 - SKP_VX(usize), [INFO] [stdout] 33 + SKP_VX(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instruction.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | SKNP_VX(usize), [INFO] [stdout] | ------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 - SKNP_VX(usize), [INFO] [stdout] 34 + SKNP_VX(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instruction.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | LD_F_VX(usize), [INFO] [stdout] | ------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 40 - LD_F_VX(usize), [INFO] [stdout] 40 + LD_F_VX(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/instruction.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | LD_BCD_VX(u8, usize), [INFO] [stdout] | --------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 41 - LD_BCD_VX(u8, usize), [INFO] [stdout] 41 + LD_BCD_VX(u8, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SYS`, `LD_X_KK`, and `JP_V0_ADDR` are never constructed [INFO] [stdout] --> src/instruction.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Instruction { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 8 | INVALID(u16), [INFO] [stdout] 9 | SYS(usize), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | LD_X_KK(usize, u8), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | JP_V0_ADDR(usize), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROGRAM_LOAD_MEMORY_OFFSET` is never used [INFO] [stdout] --> src/cpu.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const PROGRAM_LOAD_MEMORY_OFFSET: i64 = 0x200; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instruction.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | INVALID(u16), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 - INVALID(u16), [INFO] [stdout] 8 + INVALID(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instruction.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | SKP_VX(usize), [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 - SKP_VX(usize), [INFO] [stdout] 33 + SKP_VX(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instruction.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | SKNP_VX(usize), [INFO] [stdout] | ------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 - SKNP_VX(usize), [INFO] [stdout] 34 + SKNP_VX(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instruction.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | LD_F_VX(usize), [INFO] [stdout] | ------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 40 - LD_F_VX(usize), [INFO] [stdout] 40 + LD_F_VX(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/instruction.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | LD_BCD_VX(u8, usize), [INFO] [stdout] | --------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 41 - LD_BCD_VX(u8, usize), [INFO] [stdout] 41 + LD_BCD_VX(u8, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SYS`, `LD_X_KK`, and `JP_V0_ADDR` are never constructed [INFO] [stdout] --> src/instruction.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Instruction { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 8 | INVALID(u16), [INFO] [stdout] 9 | SYS(usize), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | LD_X_KK(usize, u8), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | JP_V0_ADDR(usize), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` 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 7.43s [INFO] running `Command { std: "docker" "inspect" "2c8036db26a7e54c9db513a23e7386a0b4fba5860578b3ac6eb157e277fe4585", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c8036db26a7e54c9db513a23e7386a0b4fba5860578b3ac6eb157e277fe4585", kill_on_drop: false }` [INFO] [stdout] 2c8036db26a7e54c9db513a23e7386a0b4fba5860578b3ac6eb157e277fe4585