[INFO] cloning repository https://github.com/Sam-Belliveau/samb_gb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sam-Belliveau/samb_gb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSam-Belliveau%2Fsamb_gb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSam-Belliveau%2Fsamb_gb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c508ad6282e16b850e000db2e43572af2e6bb926 [INFO] building Sam-Belliveau/samb_gb against master#ce36a966c79e109dabeef7a47fe68e5294c6d71e for pr-137044-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSam-Belliveau%2Fsamb_gb" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Sam-Belliveau/samb_gb on toolchain ce36a966c79e109dabeef7a47fe68e5294c6d71e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Sam-Belliveau/samb_gb [INFO] finished tweaking git repo https://github.com/Sam-Belliveau/samb_gb [INFO] tweaked toml for git repo https://github.com/Sam-Belliveau/samb_gb written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Sam-Belliveau/samb_gb 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" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "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 pkg-config v0.3.17 [INFO] [stderr] Downloaded semver-parser v0.7.0 [INFO] [stderr] Downloaded num v0.1.42 [INFO] [stderr] Downloaded rand_isaac v0.1.1 [INFO] [stderr] Downloaded rand_os v0.1.3 [INFO] [stderr] Downloaded rand_core v0.3.1 [INFO] [stderr] Downloaded ppv-lite86 v0.2.8 [INFO] [stderr] Downloaded downcast-rs v1.1.1 [INFO] [stderr] Downloaded rand_hc v0.1.0 [INFO] [stderr] Downloaded once_cell v1.4.0 [INFO] [stderr] Downloaded rand_jitter v0.1.4 [INFO] [stderr] Downloaded num-iter v0.1.40 [INFO] [stderr] Downloaded quote v1.0.6 [INFO] [stderr] Downloaded wayland-protocols v0.25.0 [INFO] [stderr] Downloaded xml-rs v0.8.3 [INFO] [stderr] Downloaded num-traits v0.2.11 [INFO] [stderr] Downloaded rand v0.6.5 [INFO] [stderr] Downloaded redox_syscall v0.1.56 [INFO] [stderr] Downloaded wayland-client v0.25.0 [INFO] [stderr] Downloaded cc v1.0.54 [INFO] [stderr] Downloaded sdl2 v0.32.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.18 [INFO] [stderr] Downloaded nix v0.17.0 [INFO] [stderr] Downloaded rand_xorshift v0.1.1 [INFO] [stderr] Downloaded libc v0.2.71 [INFO] [stderr] Downloaded getrandom v0.1.14 [INFO] [stderr] Downloaded remove_dir_all v0.5.2 [INFO] [stderr] Downloaded tempfile v3.1.0 [INFO] [stderr] Downloaded time v0.1.43 [INFO] [stderr] Downloaded smallvec v1.4.0 [INFO] [stderr] Downloaded minifb v0.16.0 [INFO] [stderr] Downloaded sdl2-sys v0.32.6 [INFO] [stderr] Downloaded x11-dl v2.18.5 [INFO] [stderr] Downloaded rand_core v0.4.2 [INFO] [stderr] Downloaded wayland-commons v0.25.0 [INFO] [stderr] Downloaded scoped-tls v1.0.0 [INFO] [stderr] Downloaded void v1.0.2 [INFO] [stderr] Downloaded libloading v0.6.2 [INFO] [stderr] Downloaded unicode-xid v0.2.0 [INFO] [stderr] Downloaded wayland-scanner v0.25.0 [INFO] [stderr] Downloaded maybe-uninit v2.0.0 [INFO] [stderr] Downloaded xkbcommon-sys v0.7.4 [INFO] [stderr] Downloaded semver v0.9.0 [INFO] [stderr] Downloaded rustc_version v0.2.3 [INFO] [stderr] Downloaded cast v0.2.3 [INFO] [stderr] Downloaded num-integer v0.1.42 [INFO] [stderr] Downloaded autocfg v1.0.0 [INFO] [stderr] Downloaded rand_chacha v0.1.1 [INFO] [stderr] Downloaded cloudabi v0.0.3 [INFO] [stderr] Downloaded fuchsia-cprng v0.1.1 [INFO] [stderr] Downloaded rdrand v0.4.0 [INFO] [stderr] Downloaded autocfg v0.1.7 [INFO] [stderr] Downloaded rand_pcg v0.1.2 [INFO] [stderr] Downloaded raw-window-handle v0.3.3 [INFO] [stderr] Downloaded wayland-cursor v0.25.0 [INFO] [stderr] Downloaded dlib v0.4.2 [INFO] [stderr] Downloaded winapi v0.3.8 [INFO] [stderr] Downloaded wayland-sys v0.25.0 [INFO] [stderr] Downloaded orbclient v0.3.27 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 707ae2031e02c4d6b64c6dd11e9b4245ab3f21d94447397adeb9f1655c90ddfe [INFO] running `Command { std: "docker" "start" "-a" "707ae2031e02c4d6b64c6dd11e9b4245ab3f21d94447397adeb9f1655c90ddfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "707ae2031e02c4d6b64c6dd11e9b4245ab3f21d94447397adeb9f1655c90ddfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "707ae2031e02c4d6b64c6dd11e9b4245ab3f21d94447397adeb9f1655c90ddfe", kill_on_drop: false }` [INFO] [stdout] 707ae2031e02c4d6b64c6dd11e9b4245ab3f21d94447397adeb9f1655c90ddfe [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0cc96bb2a7c28548a4d1e8a891f3fd46a93bda435689418d8133e00dd36eb11 [INFO] running `Command { std: "docker" "start" "-a" "e0cc96bb2a7c28548a4d1e8a891f3fd46a93bda435689418d8133e00dd36eb11", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling wayland-sys v0.25.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling xkbcommon-sys v0.7.4 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling downcast-rs v1.1.1 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling wayland-scanner v0.25.0 [INFO] [stderr] Compiling minifb v0.16.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling xkb v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling wayland-client v0.25.0 [INFO] [stderr] Compiling wayland-protocols v0.25.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling wayland-commons v0.25.0 [INFO] [stderr] Compiling wayland-cursor v0.25.0 [INFO] [stderr] Compiling samb_gb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/gb/hardware/io/gpu.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | if(self.cycle > 6666) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 99 - if(self.cycle > 6666) { [INFO] [stdout] 99 + if self.cycle > 6666 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/gb/hardware/io/gpu.rs:233:24 [INFO] [stdout] | [INFO] [stdout] 233 | let line = ( [INFO] [stdout] | ________________________^ [INFO] [stdout] 234 | | (self.read_vram_byte(tile_addr + 0) as u16) << 8 | [INFO] [stdout] | |________________^ [INFO] [stdout] 235 | (self.read_vram_byte(tile_addr + 1) as u16) << 0 [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 236 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 233 ~ let line = (self.read_vram_byte(tile_addr + 0) as u16) << 8 | [INFO] [stdout] 234 ~ (self.read_vram_byte(tile_addr + 1) as u16) << 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/gb/opcodes/ops/math.rs:684:18 [INFO] [stdout] | [INFO] [stdout] 684 | cpu.reg.sp = (cpu.reg.sp.wrapping_add(1)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 684 - cpu.reg.sp = (cpu.reg.sp.wrapping_add(1)); [INFO] [stdout] 684 + cpu.reg.sp = cpu.reg.sp.wrapping_add(1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/gb/opcodes/ops/math.rs:705:18 [INFO] [stdout] | [INFO] [stdout] 705 | cpu.reg.sp = (cpu.reg.sp.wrapping_sub(1)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 705 - cpu.reg.sp = (cpu.reg.sp.wrapping_sub(1)); [INFO] [stdout] 705 + cpu.reg.sp = cpu.reg.sp.wrapping_sub(1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread` and `time` [INFO] [stdout] --> src/main.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | if(window.is_key_down(Key::Space)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 31 - if(window.is_key_down(Key::Space)) { [INFO] [stdout] 31 + if window.is_key_down(Key::Space) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/gb/hardware/io/serial.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn step(&mut self, cycles: usize) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/gb/hardware/io/sound.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn step(&mut self, cycles: usize) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/gb/hardware/io/timer.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn step(&mut self, cycles: usize) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn rlc_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn rlc_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn rrc_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn rrc_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn rl_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn rl_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn rr_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn rr_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn sla_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:22:33 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn sla_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn sra_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn sra_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn srl_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn srl_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn bit_b_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn bit_b_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn res_b_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn res_b_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn set_b_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn set_b_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | for i in 0..6666 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_pixel` is never used [INFO] [stdout] --> src/gb/hardware/io/gpu.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 220 | impl GPU { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 221 | [INFO] [stdout] 222 | fn get_pixel(&self, x: usize, y: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.89s [INFO] running `Command { std: "docker" "inspect" "e0cc96bb2a7c28548a4d1e8a891f3fd46a93bda435689418d8133e00dd36eb11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0cc96bb2a7c28548a4d1e8a891f3fd46a93bda435689418d8133e00dd36eb11", kill_on_drop: false }` [INFO] [stdout] e0cc96bb2a7c28548a4d1e8a891f3fd46a93bda435689418d8133e00dd36eb11 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2393ee78af808526527752a44c6b9876462d2048119febb3e95577f24582b9e0 [INFO] running `Command { std: "docker" "start" "-a" "2393ee78af808526527752a44c6b9876462d2048119febb3e95577f24582b9e0", kill_on_drop: false }` [INFO] [stderr] Compiling samb_gb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/gb/hardware/io/gpu.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | if(self.cycle > 6666) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 99 - if(self.cycle > 6666) { [INFO] [stdout] 99 + if self.cycle > 6666 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/gb/hardware/io/gpu.rs:233:24 [INFO] [stdout] | [INFO] [stdout] 233 | let line = ( [INFO] [stdout] | ________________________^ [INFO] [stdout] 234 | | (self.read_vram_byte(tile_addr + 0) as u16) << 8 | [INFO] [stdout] | |________________^ [INFO] [stdout] 235 | (self.read_vram_byte(tile_addr + 1) as u16) << 0 [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 236 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 233 ~ let line = (self.read_vram_byte(tile_addr + 0) as u16) << 8 | [INFO] [stdout] 234 ~ (self.read_vram_byte(tile_addr + 1) as u16) << 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/gb/opcodes/ops/math.rs:684:18 [INFO] [stdout] | [INFO] [stdout] 684 | cpu.reg.sp = (cpu.reg.sp.wrapping_add(1)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 684 - cpu.reg.sp = (cpu.reg.sp.wrapping_add(1)); [INFO] [stdout] 684 + cpu.reg.sp = cpu.reg.sp.wrapping_add(1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/gb/opcodes/ops/math.rs:705:18 [INFO] [stdout] | [INFO] [stdout] 705 | cpu.reg.sp = (cpu.reg.sp.wrapping_sub(1)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 705 - cpu.reg.sp = (cpu.reg.sp.wrapping_sub(1)); [INFO] [stdout] 705 + cpu.reg.sp = cpu.reg.sp.wrapping_sub(1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread` and `time` [INFO] [stdout] --> src/main.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | if(window.is_key_down(Key::Space)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 31 - if(window.is_key_down(Key::Space)) { [INFO] [stdout] 31 + if window.is_key_down(Key::Space) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/gb/hardware/io/serial.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn step(&mut self, cycles: usize) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/gb/hardware/io/sound.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn step(&mut self, cycles: usize) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/gb/hardware/io/timer.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn step(&mut self, cycles: usize) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn rlc_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn rlc_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn rrc_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn rrc_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn rl_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn rl_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn rr_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn rr_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn sla_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:22:33 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn sla_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn sra_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn sra_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn srl_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn srl_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn bit_b_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn bit_b_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn res_b_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn res_b_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn set_b_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/gb/opcodes/ops/bit.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn set_b_n(cpu: &mut CPU, n: u8) -> u8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | for i in 0..6666 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_pixel` is never used [INFO] [stdout] --> src/gb/hardware/io/gpu.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 220 | impl GPU { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 221 | [INFO] [stdout] 222 | fn get_pixel(&self, x: usize, y: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "2393ee78af808526527752a44c6b9876462d2048119febb3e95577f24582b9e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2393ee78af808526527752a44c6b9876462d2048119febb3e95577f24582b9e0", kill_on_drop: false }` [INFO] [stdout] 2393ee78af808526527752a44c6b9876462d2048119febb3e95577f24582b9e0