[INFO] cloning repository https://github.com/tomplast/rustboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tomplast/rustboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomplast%2Frustboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomplast%2Frustboy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ac93fc7f4b0b7259bac921ec485c6c099a61c45d [INFO] building tomplast/rustboy against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomplast%2Frustboy" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tomplast/rustboy [INFO] finished tweaking git repo https://github.com/tomplast/rustboy [INFO] tweaked toml for git repo https://github.com/tomplast/rustboy written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tomplast/rustboy on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tomplast/rustboy 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pprof v0.15.0 [INFO] [stderr] Downloaded sdl2 v0.35.2 [INFO] [stderr] Downloaded minifb v0.28.0 [INFO] [stderr] Downloaded sdl2-sys v0.35.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 73f22ae56ff11266514b25a5abf3ba57f533890025f687c3d1faba911906e123 [INFO] running `Command { std: "docker" "start" "-a" "73f22ae56ff11266514b25a5abf3ba57f533890025f687c3d1faba911906e123", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73f22ae56ff11266514b25a5abf3ba57f533890025f687c3d1faba911906e123", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73f22ae56ff11266514b25a5abf3ba57f533890025f687c3d1faba911906e123", kill_on_drop: false }` [INFO] [stdout] 73f22ae56ff11266514b25a5abf3ba57f533890025f687c3d1faba911906e123 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a1eb93c9b5be60e048f85e301afc8598fb105773b75dcfd0f58a71ac5ee081d [INFO] running `Command { std: "docker" "start" "-a" "0a1eb93c9b5be60e048f85e301afc8598fb105773b75dcfd0f58a71ac5ee081d", kill_on_drop: false }` [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling cc v1.2.25 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling cpp_demangle v0.4.4 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling symbolic-demangle v12.15.5 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling quick-xml v0.26.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling symbolic-common v12.15.5 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling str_stack v0.1.0 [INFO] [stderr] Compiling pprof v0.15.0 [INFO] [stderr] Compiling spin v0.10.0 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling jiff v0.2.14 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling findshlibs v0.10.2 [INFO] [stderr] Compiling minifb v0.28.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling inferno v0.11.21 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling rustboy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `f32::consts::E`, `fmt::Error`, `ops::Sub`, `thread::sleep`, and `time::Duration` [INFO] [stdout] --> src/emulator.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{f32::consts::E, fmt::Error, io::stdin, ops::Sub, thread::sleep, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write` and `stdout` [INFO] [stdout] --> src/cpu.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Write, stdout}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/instructions.rs:1160:20 [INFO] [stdout] | [INFO] [stdout] 1160 | cpu.set_flag_h(((a & 0xF) < (value & 0xF) + carry_in)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1160 - cpu.set_flag_h(((a & 0xF) < (value & 0xF) + carry_in)); [INFO] [stdout] 1160 + cpu.set_flag_h((a & 0xF) < (value & 0xF) + carry_in ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/instructions.rs:1180:20 [INFO] [stdout] | [INFO] [stdout] 1180 | cpu.set_flag_h((a & 0xF < (value & 0xF) + carry_in)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1180 - cpu.set_flag_h((a & 0xF < (value & 0xF) + carry_in)); [INFO] [stdout] 1180 + cpu.set_flag_h(a & 0xF < (value & 0xF) + carry_in ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::CPU` [INFO] [stdout] --> src/timer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cpu::CPU; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_pc` [INFO] [stdout] --> src/cpu.rs:616:17 [INFO] [stdout] | [INFO] [stdout] 616 | let current_pc = self.get_pc(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_pc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> src/emulator.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Emulator { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_debug` is never used [INFO] [stdout] --> src/emulator.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl Emulator { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | fn handle_debug(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOTAL_LINES` is never used [INFO] [stdout] --> src/emulator.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | const TOTAL_LINES: u8 = 154; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ptr::read` and `read_to_string` [INFO] [stdout] --> src/main.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env, fs::{read_to_string, File}, io::Read, ptr::read}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 12s [INFO] running `Command { std: "docker" "inspect" "0a1eb93c9b5be60e048f85e301afc8598fb105773b75dcfd0f58a71ac5ee081d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a1eb93c9b5be60e048f85e301afc8598fb105773b75dcfd0f58a71ac5ee081d", kill_on_drop: false }` [INFO] [stdout] 0a1eb93c9b5be60e048f85e301afc8598fb105773b75dcfd0f58a71ac5ee081d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dae200112fe5cc38520199de093a9b3db61fa97306680da0e64f443c754f606d [INFO] running `Command { std: "docker" "start" "-a" "dae200112fe5cc38520199de093a9b3db61fa97306680da0e64f443c754f606d", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `f32::consts::E`, `fmt::Error`, `ops::Sub`, `thread::sleep`, and `time::Duration` [INFO] [stdout] --> src/emulator.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{f32::consts::E, fmt::Error, io::stdin, ops::Sub, thread::sleep, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write` and `stdout` [INFO] [stdout] --> src/cpu.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Write, stdout}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/instructions.rs:1160:20 [INFO] [stdout] | [INFO] [stdout] 1160 | cpu.set_flag_h(((a & 0xF) < (value & 0xF) + carry_in)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1160 - cpu.set_flag_h(((a & 0xF) < (value & 0xF) + carry_in)); [INFO] [stdout] 1160 + cpu.set_flag_h((a & 0xF) < (value & 0xF) + carry_in ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/instructions.rs:1180:20 [INFO] [stdout] | [INFO] [stdout] 1180 | cpu.set_flag_h((a & 0xF < (value & 0xF) + carry_in)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1180 - cpu.set_flag_h((a & 0xF < (value & 0xF) + carry_in)); [INFO] [stdout] 1180 + cpu.set_flag_h(a & 0xF < (value & 0xF) + carry_in ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::CPU` [INFO] [stdout] --> src/timer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cpu::CPU; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_pc` [INFO] [stdout] --> src/cpu.rs:616:17 [INFO] [stdout] | [INFO] [stdout] 616 | let current_pc = self.get_pc(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_pc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> src/emulator.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Emulator { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_debug` is never used [INFO] [stdout] --> src/emulator.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl Emulator { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | fn handle_debug(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOTAL_LINES` is never used [INFO] [stdout] --> src/emulator.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | const TOTAL_LINES: u8 = 154; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustboy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ptr::read` and `read_to_string` [INFO] [stdout] --> src/main.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env, fs::{read_to_string, File}, io::Read, ptr::read}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `f32::consts::E`, `fmt::Error`, `ops::Sub`, `thread::sleep`, and `time::Duration` [INFO] [stdout] --> src/emulator.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{f32::consts::E, fmt::Error, io::stdin, ops::Sub, thread::sleep, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write` and `stdout` [INFO] [stdout] --> src/cpu.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Write, stdout}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/instructions.rs:1160:20 [INFO] [stdout] | [INFO] [stdout] 1160 | cpu.set_flag_h(((a & 0xF) < (value & 0xF) + carry_in)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1160 - cpu.set_flag_h(((a & 0xF) < (value & 0xF) + carry_in)); [INFO] [stdout] 1160 + cpu.set_flag_h((a & 0xF) < (value & 0xF) + carry_in ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/instructions.rs:1180:20 [INFO] [stdout] | [INFO] [stdout] 1180 | cpu.set_flag_h((a & 0xF < (value & 0xF) + carry_in)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1180 - cpu.set_flag_h((a & 0xF < (value & 0xF) + carry_in)); [INFO] [stdout] 1180 + cpu.set_flag_h(a & 0xF < (value & 0xF) + carry_in ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::CPU` [INFO] [stdout] --> src/timer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cpu::CPU; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_pc` [INFO] [stdout] --> src/cpu.rs:616:17 [INFO] [stdout] | [INFO] [stdout] 616 | let current_pc = self.get_pc(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_pc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> src/emulator.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Emulator { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_debug` is never used [INFO] [stdout] --> src/emulator.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl Emulator { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | fn handle_debug(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOTAL_LINES` is never used [INFO] [stdout] --> src/emulator.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | const TOTAL_LINES: u8 = 154; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.02s [INFO] running `Command { std: "docker" "inspect" "dae200112fe5cc38520199de093a9b3db61fa97306680da0e64f443c754f606d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dae200112fe5cc38520199de093a9b3db61fa97306680da0e64f443c754f606d", kill_on_drop: false }` [INFO] [stdout] dae200112fe5cc38520199de093a9b3db61fa97306680da0e64f443c754f606d