[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [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 a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a27888a752f0ee51131798ed9f119c0e9e8e0a2a50456d784a1379c1c8763fd7 [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" "a27888a752f0ee51131798ed9f119c0e9e8e0a2a50456d784a1379c1c8763fd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a27888a752f0ee51131798ed9f119c0e9e8e0a2a50456d784a1379c1c8763fd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a27888a752f0ee51131798ed9f119c0e9e8e0a2a50456d784a1379c1c8763fd7", kill_on_drop: false }` [INFO] [stdout] a27888a752f0ee51131798ed9f119c0e9e8e0a2a50456d784a1379c1c8763fd7 [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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 829c6eb843125f9d6993b50dc1367843c9ba951254f3f8ed1d99471c859e078f [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" "829c6eb843125f9d6993b50dc1367843c9ba951254f3f8ed1d99471c859e078f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling minifb v0.12.0 [INFO] [stderr] Checking time v0.1.42 [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: `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: `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: 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: 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] = note: `#[warn(dead_code)]` on by default [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: 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] = note: `#[warn(dead_code)]` on by default [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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 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 variable: `screen` [INFO] [stdout] --> src/main.rs:35:9 [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: 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: 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:9 [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: 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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.23s [INFO] running `Command { std: "docker" "inspect" "829c6eb843125f9d6993b50dc1367843c9ba951254f3f8ed1d99471c859e078f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "829c6eb843125f9d6993b50dc1367843c9ba951254f3f8ed1d99471c859e078f", kill_on_drop: false }` [INFO] [stdout] 829c6eb843125f9d6993b50dc1367843c9ba951254f3f8ed1d99471c859e078f