[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#69fd5e4059f8840f09f60269bcda23dcdcb77151 for pr-135733 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthewarsawpakt%2Fchip8emulator" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thewarsawpakt/chip8emulator on toolchain 69fd5e4059f8840f09f60269bcda23dcdcb77151 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+69fd5e4059f8840f09f60269bcda23dcdcb77151" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc1/source/Cargo.toml [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" "+69fd5e4059f8840f09f60269bcda23dcdcb77151" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded twelve_bit v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+69fd5e4059f8840f09f60269bcda23dcdcb77151" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 309de747c8c2916c0d957583833d0eb12132951fc3e66a2747bb063dcc05bc62 [INFO] running `Command { std: "docker" "start" "-a" "309de747c8c2916c0d957583833d0eb12132951fc3e66a2747bb063dcc05bc62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "309de747c8c2916c0d957583833d0eb12132951fc3e66a2747bb063dcc05bc62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "309de747c8c2916c0d957583833d0eb12132951fc3e66a2747bb063dcc05bc62", kill_on_drop: false }` [INFO] [stdout] 309de747c8c2916c0d957583833d0eb12132951fc3e66a2747bb063dcc05bc62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+69fd5e4059f8840f09f60269bcda23dcdcb77151" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0cd7da1eabe1d16c3d3d4b73ace0ca74af27708bed702611d594e9b5977d809a [INFO] running `Command { std: "docker" "start" "-a" "0cd7da1eabe1d16c3d3d4b73ace0ca74af27708bed702611d594e9b5977d809a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling rustix v0.38.7 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking twelve_bit v0.1.1 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking is-terminal v0.4.9 [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 5.52s [INFO] running `Command { std: "docker" "inspect" "0cd7da1eabe1d16c3d3d4b73ace0ca74af27708bed702611d594e9b5977d809a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cd7da1eabe1d16c3d3d4b73ace0ca74af27708bed702611d594e9b5977d809a", kill_on_drop: false }` [INFO] [stdout] 0cd7da1eabe1d16c3d3d4b73ace0ca74af27708bed702611d594e9b5977d809a