[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] e491207160bc1133e82d957f785351fd9cf5ad05 [INFO] checking Sam-Belliveau/samb_gb against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSam-Belliveau%2Fsamb_gb" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Sam-Belliveau/samb_gb 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/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-11/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: "/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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 64a627f47dffca81bef32c43d4b5ace93048dfb069fd31a9ead5cb473f893ba2 [INFO] running `Command { std: "docker" "start" "-a" "64a627f47dffca81bef32c43d4b5ace93048dfb069fd31a9ead5cb473f893ba2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64a627f47dffca81bef32c43d4b5ace93048dfb069fd31a9ead5cb473f893ba2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64a627f47dffca81bef32c43d4b5ace93048dfb069fd31a9ead5cb473f893ba2", kill_on_drop: false }` [INFO] [stdout] 64a627f47dffca81bef32c43d4b5ace93048dfb069fd31a9ead5cb473f893ba2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] d26300c724e8038db8e61bc3780d038149a27fc94f14413ae40f2a0ca308c353 [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" "d26300c724e8038db8e61bc3780d038149a27fc94f14413ae40f2a0ca308c353", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling unicode-xid v0.2.0 [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] Checking void v1.0.2 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Compiling minifb v0.16.0 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling xkbcommon-sys v0.7.4 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking wayland-sys v0.25.0 [INFO] [stderr] Compiling wayland-scanner v0.25.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking nix v0.17.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling wayland-client v0.25.0 [INFO] [stderr] Compiling wayland-protocols v0.25.0 [INFO] [stderr] Checking xkb v0.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking wayland-commons v0.25.0 [INFO] [stderr] Checking wayland-cursor v0.25.0 [INFO] [stderr] Checking 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] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] 235 | | (self.read_vram_byte(tile_addr + 1) as u16) << 0 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] 235 | | (self.read_vram_byte(tile_addr + 1) as u16) << 0 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [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] = note: `#[warn(unused_variables)]` on by default [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] [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] = note: `#[warn(unused_variables)]` on by default [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] [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: associated function is never used: `get_pixel` [INFO] [stdout] --> src/gb/hardware/io/gpu.rs:222:8 [INFO] [stdout] | [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] [stdout] warning: associated function is never used: `get_pixel` [INFO] [stdout] --> src/gb/hardware/io/gpu.rs:222:8 [INFO] [stdout] | [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] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 54.09s [INFO] running `Command { std: "docker" "inspect" "d26300c724e8038db8e61bc3780d038149a27fc94f14413ae40f2a0ca308c353", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d26300c724e8038db8e61bc3780d038149a27fc94f14413ae40f2a0ca308c353", kill_on_drop: false }` [INFO] [stdout] d26300c724e8038db8e61bc3780d038149a27fc94f14413ae40f2a0ca308c353