[INFO] cloning repository https://github.com/lukastk/chip8-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lukastk/chip8-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukastk%2Fchip8-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukastk%2Fchip8-emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c7794838e19bc18a9ca7cb076b72a825805630fd [INFO] building lukastk/chip8-emulator against try#58b1b3c5342a414c161338871f8004258ccef2a7 for pr-149937 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukastk%2Fchip8-emulator" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lukastk/chip8-emulator [INFO] finished tweaking git repo https://github.com/lukastk/chip8-emulator [INFO] tweaked toml for git repo https://github.com/lukastk/chip8-emulator written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lukastk/chip8-emulator on toolchain 58b1b3c5342a414c161338871f8004258ccef2a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lukastk/chip8-emulator 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" "+58b1b3c5342a414c161338871f8004258ccef2a7" "fetch" "--manifest-path" "Cargo.toml", 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] Downloading crates ... [INFO] [stderr] Downloaded xcursor v0.3.10 [INFO] [stderr] Downloaded wasi v0.14.7+wasi-0.2.4 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.54 [INFO] [stderr] Downloaded version-compare v0.1.1 [INFO] [stderr] Downloaded instant v0.1.13 [INFO] [stderr] Downloaded find-msvc-tools v0.1.3 [INFO] [stderr] Downloaded xml-rs v0.8.27 [INFO] [stderr] Downloaded clap_derive v4.5.47 [INFO] [stderr] Downloaded clap v4.5.48 [INFO] [stderr] Downloaded cc v1.2.40 [INFO] [stderr] Downloaded minifb v0.28.0 [INFO] [stderr] Downloaded clap_builder v4.5.48 [INFO] [stderr] Downloaded sdl2 v0.35.2 [INFO] [stderr] Downloaded nix v0.24.3 [INFO] [stderr] Downloaded libc v0.2.176 [INFO] [stderr] Downloaded sdl2-sys v0.35.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93ea2a66515c457c4dd09c2f2f636dee4155d12ed8a900da782b083cafb49999 [INFO] running `Command { std: "docker" "start" "-a" "93ea2a66515c457c4dd09c2f2f636dee4155d12ed8a900da782b083cafb49999", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93ea2a66515c457c4dd09c2f2f636dee4155d12ed8a900da782b083cafb49999", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93ea2a66515c457c4dd09c2f2f636dee4155d12ed8a900da782b083cafb49999", kill_on_drop: false }` [INFO] [stdout] 93ea2a66515c457c4dd09c2f2f636dee4155d12ed8a900da782b083cafb49999 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51dac16d26ef2c78b2194124f710af56ac54dd2df54a30e42329a5a50d15587d [INFO] running `Command { std: "docker" "start" "-a" "51dac16d26ef2c78b2194124f710af56ac54dd2df54a30e42329a5a50d15587d", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling cc v1.2.40 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling xcursor v0.3.10 [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling minifb v0.28.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling clap v4.5.48 [INFO] [stderr] Compiling chip8-emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `flip_pixel` is never used [INFO] [stdout] --> src/disp.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Screen { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn flip_pixel(&mut self, x: usize, y: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `SP` is never read [INFO] [stdout] --> src/cpu/cpu.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct CPU<'a> { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | pub SP: usize, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_carry_flag`, `get_sound_timer`, and `get_delay_timer` are never used [INFO] [stdout] --> src/cpu/cpu.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 76 | impl<'a> CPU<'a> { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | fn set_carry_flag(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn get_sound_timer(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn get_delay_timer(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `V` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub V: [u8; 16], [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `I` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub I: u16, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PC` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub PC: usize, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SP` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub SP: usize, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_register_VX` should have a snake case name [INFO] [stdout] --> src/cpu/instr.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn set_register_VX(&mut self, x: usize, nn: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `set_register_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_value_to_register_VX` should have a snake case name [INFO] [stdout] --> src/cpu/instr.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn add_value_to_register_VX(&mut self, x: usize, nn: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `add_value_to_register_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_index_register_I` should have a snake case name [INFO] [stdout] --> src/cpu/instr.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn set_index_register_I(&mut self, nnn: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `set_index_register_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `skip_if_VX_equals_byte` should have a snake case name [INFO] [stdout] --> src/cpu/instr.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn skip_if_VX_equals_byte(&mut self, x: usize, nn: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `skip_if_vx_equals_byte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `skip_if_VX_not_equals_byte` should have a snake case name [INFO] [stdout] --> src/cpu/instr.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn skip_if_VX_not_equals_byte(&mut self, x: usize, nn: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `skip_if_vx_not_equals_byte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `skip_if_VX_equals_VY` should have a snake case name [INFO] [stdout] --> src/cpu/instr.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn skip_if_VX_equals_VY(&mut self, x: usize, y: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `skip_if_vx_equals_vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `skip_if_VX_not_equals_VY` should have a snake case name [INFO] [stdout] --> src/cpu/instr.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn skip_if_VX_not_equals_VY(&mut self, x: usize, y: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `skip_if_vx_not_equals_vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_to_register_VX` should have a snake case name [INFO] [stdout] --> src/cpu/instr.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn add_to_register_VX(&mut self, x: usize, val: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `add_to_register_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `oldVX` should have a snake case name [INFO] [stdout] --> src/cpu/instr.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let oldVX = self.V[x] as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `old_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `subtract_register_VX` should have a snake case name [INFO] [stdout] --> src/cpu/instr.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn subtract_register_VX(&mut self, x: usize, y: usize, vx_sub_vy: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `subtract_register_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `shift_register_VX` should have a snake case name [INFO] [stdout] --> src/cpu/instr.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn shift_register_VX(&mut self, x: usize, y: usize, right_shift: bool, set_vx_to_vy: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `shift_register_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_value_to_index_register_I` should have a snake case name [INFO] [stdout] --> src/cpu/instr.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn add_value_to_index_register_I(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `add_value_to_index_register_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `prev_I` should have a snake case name [INFO] [stdout] --> src/cpu/instr.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let prev_I = self.I; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `prev_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_index_register_I_to_font_sprite` should have a snake case name [INFO] [stdout] --> src/cpu/instr.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn set_index_register_I_to_font_sprite(&mut self, x: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `set_index_register_i_to_font_sprite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `binary_coded_decimal_to_I` should have a snake case name [INFO] [stdout] --> src/cpu/instr.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn binary_coded_decimal_to_I(&mut self, x: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `binary_coded_decimal_to_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.50s [INFO] running `Command { std: "docker" "inspect" "51dac16d26ef2c78b2194124f710af56ac54dd2df54a30e42329a5a50d15587d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51dac16d26ef2c78b2194124f710af56ac54dd2df54a30e42329a5a50d15587d", kill_on_drop: false }` [INFO] [stdout] 51dac16d26ef2c78b2194124f710af56ac54dd2df54a30e42329a5a50d15587d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86101371686c3c7ae7beb1ffbde83dde5da5df2be2135fde1810d6e17dbe492d [INFO] running `Command { std: "docker" "start" "-a" "86101371686c3c7ae7beb1ffbde83dde5da5df2be2135fde1810d6e17dbe492d", kill_on_drop: false }` [INFO] [stderr] Compiling chip8-emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `flip_pixel` is never used [INFO] [stdout] --> src/disp.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Screen { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn flip_pixel(&mut self, x: usize, y: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `SP` is never read [INFO] [stdout] --> src/cpu/cpu.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct CPU<'a> { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | pub SP: usize, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_carry_flag`, `get_sound_timer`, and `get_delay_timer` are never used [INFO] [stdout] --> src/cpu/cpu.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 76 | impl<'a> CPU<'a> { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | fn set_carry_flag(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn get_sound_timer(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn get_delay_timer(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `V` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub V: [u8; 16], [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `I` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub I: u16, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PC` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub PC: usize, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SP` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub SP: usize, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_register_VX` should have a snake case name [INFO] [stdout] --> src/cpu/instr.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn set_register_VX(&mut self, x: usize, nn: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `set_register_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_value_to_register_VX` should have a snake case name [INFO] [stdout] --> src/cpu/instr.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn add_value_to_register_VX(&mut self, x: usize, nn: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `add_value_to_register_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_index_register_I` should have a snake case name [INFO] [stdout] --> src/cpu/instr.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn set_index_register_I(&mut self, nnn: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `set_index_register_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `skip_if_VX_equals_byte` should have a snake case name [INFO] [stdout] --> src/cpu/instr.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn skip_if_VX_equals_byte(&mut self, x: usize, nn: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `skip_if_vx_equals_byte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `skip_if_VX_not_equals_byte` should have a snake case name [INFO] [stdout] --> src/cpu/instr.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn skip_if_VX_not_equals_byte(&mut self, x: usize, nn: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `skip_if_vx_not_equals_byte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `skip_if_VX_equals_VY` should have a snake case name [INFO] [stdout] --> src/cpu/instr.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn skip_if_VX_equals_VY(&mut self, x: usize, y: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `skip_if_vx_equals_vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `skip_if_VX_not_equals_VY` should have a snake case name [INFO] [stdout] --> src/cpu/instr.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn skip_if_VX_not_equals_VY(&mut self, x: usize, y: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `skip_if_vx_not_equals_vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_to_register_VX` should have a snake case name [INFO] [stdout] --> src/cpu/instr.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn add_to_register_VX(&mut self, x: usize, val: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `add_to_register_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `oldVX` should have a snake case name [INFO] [stdout] --> src/cpu/instr.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let oldVX = self.V[x] as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `old_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `subtract_register_VX` should have a snake case name [INFO] [stdout] --> src/cpu/instr.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn subtract_register_VX(&mut self, x: usize, y: usize, vx_sub_vy: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `subtract_register_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `shift_register_VX` should have a snake case name [INFO] [stdout] --> src/cpu/instr.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn shift_register_VX(&mut self, x: usize, y: usize, right_shift: bool, set_vx_to_vy: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `shift_register_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_value_to_index_register_I` should have a snake case name [INFO] [stdout] --> src/cpu/instr.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn add_value_to_index_register_I(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `add_value_to_index_register_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `prev_I` should have a snake case name [INFO] [stdout] --> src/cpu/instr.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let prev_I = self.I; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `prev_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_index_register_I_to_font_sprite` should have a snake case name [INFO] [stdout] --> src/cpu/instr.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn set_index_register_I_to_font_sprite(&mut self, x: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `set_index_register_i_to_font_sprite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `binary_coded_decimal_to_I` should have a snake case name [INFO] [stdout] --> src/cpu/instr.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn binary_coded_decimal_to_I(&mut self, x: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `binary_coded_decimal_to_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.63s [INFO] running `Command { std: "docker" "inspect" "86101371686c3c7ae7beb1ffbde83dde5da5df2be2135fde1810d6e17dbe492d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86101371686c3c7ae7beb1ffbde83dde5da5df2be2135fde1810d6e17dbe492d", kill_on_drop: false }` [INFO] [stdout] 86101371686c3c7ae7beb1ffbde83dde5da5df2be2135fde1810d6e17dbe492d