[INFO] cloning repository https://github.com/wartyz/rustgameboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wartyz/rustgameboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwartyz%2Frustgameboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwartyz%2Frustgameboy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a3f212a873d6b3d6df52bab55a0d7fecf735d4d7 [INFO] checking wartyz/rustgameboy against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwartyz%2Frustgameboy" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wartyz/rustgameboy on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wartyz/rustgameboy [INFO] finished tweaking git repo https://github.com/wartyz/rustgameboy [INFO] tweaked toml for git repo https://github.com/wartyz/rustgameboy written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/wartyz/rustgameboy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded minifb v0.12.0 [INFO] [stderr] Downloaded orbclient v0.3.24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1c55734866057aa887384e6830e4d7a635d038051858038300597c4e07d0e581 [INFO] running `Command { std: "docker" "start" "-a" "1c55734866057aa887384e6830e4d7a635d038051858038300597c4e07d0e581", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c55734866057aa887384e6830e4d7a635d038051858038300597c4e07d0e581", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c55734866057aa887384e6830e4d7a635d038051858038300597c4e07d0e581", kill_on_drop: false }` [INFO] [stdout] 1c55734866057aa887384e6830e4d7a635d038051858038300597c4e07d0e581 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a1a8d4d04695d493b367cb7fd7159e0d99409ba351782ea0d60a3c0413c6edf [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1a1a8d4d04695d493b367cb7fd7159e0d99409ba351782ea0d60a3c0413c6edf", kill_on_drop: false }` [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Compiling minifb v0.12.0 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Checking gbrustemu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::instruction::Instruction` [INFO] [stdout] --> src/cpu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::instruction::Instruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ppu::PPU` [INFO] [stdout] --> src/mmu.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::ppu::PPU; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::instruction::Instruction` [INFO] [stdout] --> src/cpu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::instruction::Instruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ppu::PPU` [INFO] [stdout] --> src/mmu.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::ppu::PPU; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cb_d16` [INFO] [stdout] --> src/cpu.rs:608:13 [INFO] [stdout] | [INFO] [stdout] 608 | let cb_d16: u16 = (cb_n2 << 8) | cb_n1; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cb_d16` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cb_d16` [INFO] [stdout] --> src/cpu.rs:608:13 [INFO] [stdout] | [INFO] [stdout] 608 | let cb_d16: u16 = (cb_n2 << 8) | cb_n1; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cb_d16` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ly` [INFO] [stdout] --> src/cpu.rs:1078:21 [INFO] [stdout] | [INFO] [stdout] 1078 | let ly = mmu.read_byte(0xFF44); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ly` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ly` [INFO] [stdout] --> src/cpu.rs:1078:21 [INFO] [stdout] | [INFO] [stdout] 1078 | let ly = mmu.read_byte(0xFF44); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ly` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpu.rs:763:21 [INFO] [stdout] | [INFO] [stdout] 763 | let mut hl = self.h_l_to_hl(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpu.rs:763:21 [INFO] [stdout] | [INFO] [stdout] 763 | let mut hl = self.h_l_to_hl(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `last_m` [INFO] [stdout] --> src/cpu.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | last_m: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `debug` [INFO] [stdout] --> src/cpu.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | debug: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_n_flag` [INFO] [stdout] --> src/cpu.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | fn set_n_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc_half_carry_on_u16_sum` [INFO] [stdout] --> src/cpu.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 174 | fn calc_half_carry_on_u16_sum(&self, value_a: u16, value_b: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc_half_carry_on_u16_sub` [INFO] [stdout] --> src/cpu.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | fn calc_half_carry_on_u16_sub(&self, value_a: u16, value_b: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `do_inc_d16` [INFO] [stdout] --> src/cpu.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | fn do_inc_d16(&mut self, register_value: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `last_m` [INFO] [stdout] --> src/cpu.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | last_m: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `debug` [INFO] [stdout] --> src/cpu.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | debug: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_n_flag` [INFO] [stdout] --> src/cpu.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | fn set_n_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc_half_carry_on_u16_sum` [INFO] [stdout] --> src/cpu.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 174 | fn calc_half_carry_on_u16_sum(&self, value_a: u16, value_b: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc_half_carry_on_u16_sub` [INFO] [stdout] --> src/cpu.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | fn calc_half_carry_on_u16_sub(&self, value_a: u16, value_b: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `do_inc_d16` [INFO] [stdout] --> src/cpu.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | fn do_inc_d16(&mut self, register_value: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `screen` [INFO] [stdout] --> src/main.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let mut screen = vec![LIGHTEST_GREEN; SCREEN_WIDTH * SCREEN_HEIGHT]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_screen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `screen` [INFO] [stdout] --> src/main.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let mut screen = vec![LIGHTEST_GREEN; SCREEN_WIDTH * SCREEN_HEIGHT]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_screen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut screen = vec![LIGHTEST_GREEN; SCREEN_WIDTH * SCREEN_HEIGHT]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut screen = vec![LIGHTEST_GREEN; SCREEN_WIDTH * SCREEN_HEIGHT]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WIDTH` [INFO] [stdout] --> src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | const WIDTH: usize = 256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HEIGHT` [INFO] [stdout] --> src/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | const HEIGHT: usize = 256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WIDTH` [INFO] [stdout] --> src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | const WIDTH: usize = 256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HEIGHT` [INFO] [stdout] --> src/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | const HEIGHT: usize = 256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.65s [INFO] running `Command { std: "docker" "inspect" "1a1a8d4d04695d493b367cb7fd7159e0d99409ba351782ea0d60a3c0413c6edf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a1a8d4d04695d493b367cb7fd7159e0d99409ba351782ea0d60a3c0413c6edf", kill_on_drop: false }` [INFO] [stdout] 1a1a8d4d04695d493b367cb7fd7159e0d99409ba351782ea0d60a3c0413c6edf