[INFO] cloning repository https://github.com/mahimahi42/chip8 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mahimahi42/chip8" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahimahi42%2Fchip8", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahimahi42%2Fchip8'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 094b1ec56ce474369a81daa3b4654a3b2b4afe3a [INFO] testing mahimahi42/chip8 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahimahi42%2Fchip8" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mahimahi42/chip8 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mahimahi42/chip8 [INFO] finished tweaking git repo https://github.com/mahimahi42/chip8 [INFO] tweaked toml for git repo https://github.com/mahimahi42/chip8 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/mahimahi42/chip8 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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] ec92743b7fa526b5b39e305c2d7f882cfa64e7cc395838f711b219f7b1780549 [INFO] running `Command { std: "docker" "start" "-a" "ec92743b7fa526b5b39e305c2d7f882cfa64e7cc395838f711b219f7b1780549", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec92743b7fa526b5b39e305c2d7f882cfa64e7cc395838f711b219f7b1780549", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec92743b7fa526b5b39e305c2d7f882cfa64e7cc395838f711b219f7b1780549", kill_on_drop: false }` [INFO] [stdout] ec92743b7fa526b5b39e305c2d7f882cfa64e7cc395838f711b219f7b1780549 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2cdf4f887e1220edd684a461be7fa0318a040e54b7d3612cea9b77768d4cdc0a [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" "2cdf4f887e1220edd684a461be7fa0318a040e54b7d3612cea9b77768d4cdc0a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Compiling c_vec v1.3.3 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling fps_clock v2.0.0 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling getrandom v0.1.7 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_core v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling chip8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Rng`, `SeedableRng` [INFO] [stdout] --> src/cpu/cpu.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::{SeedableRng, RngCore, Rng}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::EventPump` [INFO] [stdout] --> src/display/display.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sdl2::EventPump; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Chip8Audio` [INFO] [stdout] --> src/audio/audio.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Chip8Audio { [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: `new` [INFO] [stdout] --> src/audio/audio.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(sdl: &sdl2::Sdl) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `play` [INFO] [stdout] --> src/audio/audio.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn play(&self) { self.device.resume(); } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stop` [INFO] [stdout] --> src/audio/audio.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn stop(&self) { self.device.pause(); } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RAM` [INFO] [stdout] --> src/cpu/cpu.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const RAM: usize = 4096; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HEIGHT` [INFO] [stdout] --> src/cpu/cpu.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const HEIGHT: usize = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WIDTH` [INFO] [stdout] --> src/cpu/cpu.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const WIDTH: usize = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PROG_START` [INFO] [stdout] --> src/cpu/cpu.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | const PROG_START: usize = 0x200; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FONT` [INFO] [stdout] --> src/cpu/cpu.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / const FONT: [u8; 80] = [ [INFO] [stdout] 14 | | 0xF0, 0x90, 0x90, 0x90, 0xF0, [INFO] [stdout] 15 | | 0x20, 0x60, 0x20, 0x20, 0x70, [INFO] [stdout] 16 | | 0xF0, 0x10, 0xF0, 0x80, 0xF0, [INFO] [stdout] ... | [INFO] [stdout] 29 | | 0xF0, 0x80, 0xF0, 0x80, 0x80, [INFO] [stdout] 30 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Chip8Cpu` [INFO] [stdout] --> src/cpu/cpu.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Chip8Cpu { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cpu/cpu.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_rom` [INFO] [stdout] --> src/cpu/cpu.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn load_rom(&mut self, path: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_rom` [INFO] [stdout] --> src/cpu/cpu.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | fn read_rom(&self, path: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fetch_opcode` [INFO] [stdout] --> src/cpu/cpu.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | fn fetch_opcode(&self) -> Opcode { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tick` [INFO] [stdout] --> src/cpu/cpu.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn tick(&mut self, input: [bool; 16]) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decode_opcode` [INFO] [stdout] --> src/cpu/cpu.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | fn decode_opcode(&mut self, op: Opcode, input: [bool; 16]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cls_00E0` [INFO] [stdout] --> src/cpu/cpu.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | fn cls_00E0(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ret_00EE` [INFO] [stdout] --> src/cpu/cpu.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | fn ret_00EE(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `jp_addr_1nnn` [INFO] [stdout] --> src/cpu/cpu.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 222 | fn jp_addr_1nnn(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `call_addr_2nnn` [INFO] [stdout] --> src/cpu/cpu.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | fn call_addr_2nnn(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `se_vx_kk_3xkk` [INFO] [stdout] --> src/cpu/cpu.rs:232:8 [INFO] [stdout] | [INFO] [stdout] 232 | fn se_vx_kk_3xkk(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sne_vx_kk_4xkk` [INFO] [stdout] --> src/cpu/cpu.rs:236:8 [INFO] [stdout] | [INFO] [stdout] 236 | fn sne_vx_kk_4xkk(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `se_vx_vy_5xy0` [INFO] [stdout] --> src/cpu/cpu.rs:240:8 [INFO] [stdout] | [INFO] [stdout] 240 | fn se_vx_vy_5xy0(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ld_vx_kk_6xkk` [INFO] [stdout] --> src/cpu/cpu.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | fn ld_vx_kk_6xkk(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_vx_kk_7xkk` [INFO] [stdout] --> src/cpu/cpu.rs:249:8 [INFO] [stdout] | [INFO] [stdout] 249 | fn add_vx_kk_7xkk(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ld_vx_vy_8xy0` [INFO] [stdout] --> src/cpu/cpu.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | fn ld_vx_vy_8xy0(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `or_vx_vy_8xy1` [INFO] [stdout] --> src/cpu/cpu.rs:260:8 [INFO] [stdout] | [INFO] [stdout] 260 | fn or_vx_vy_8xy1(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `and_vx_vy_8xy2` [INFO] [stdout] --> src/cpu/cpu.rs:265:8 [INFO] [stdout] | [INFO] [stdout] 265 | fn and_vx_vy_8xy2(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `xor_vx_vy_8xy3` [INFO] [stdout] --> src/cpu/cpu.rs:270:8 [INFO] [stdout] | [INFO] [stdout] 270 | fn xor_vx_vy_8xy3(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_vx_vy_8xy4` [INFO] [stdout] --> src/cpu/cpu.rs:275:8 [INFO] [stdout] | [INFO] [stdout] 275 | fn add_vx_vy_8xy4(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sub_vx_vy_8xy5` [INFO] [stdout] --> src/cpu/cpu.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn sub_vx_vy_8xy5(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shr_vx_8xy6` [INFO] [stdout] --> src/cpu/cpu.rs:289:8 [INFO] [stdout] | [INFO] [stdout] 289 | fn shr_vx_8xy6(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `subn_vx_vy_8xy7` [INFO] [stdout] --> src/cpu/cpu.rs:295:8 [INFO] [stdout] | [INFO] [stdout] 295 | fn subn_vx_vy_8xy7(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shl_vx_8xyE` [INFO] [stdout] --> src/cpu/cpu.rs:302:8 [INFO] [stdout] | [INFO] [stdout] 302 | fn shl_vx_8xyE(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sne_vx_vy_9xy0` [INFO] [stdout] --> src/cpu/cpu.rs:308:8 [INFO] [stdout] | [INFO] [stdout] 308 | fn sne_vx_vy_9xy0(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ld_i_addr_Annn` [INFO] [stdout] --> src/cpu/cpu.rs:312:8 [INFO] [stdout] | [INFO] [stdout] 312 | fn ld_i_addr_Annn(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `jp_v0_addr_Bnnn` [INFO] [stdout] --> src/cpu/cpu.rs:317:8 [INFO] [stdout] | [INFO] [stdout] 317 | fn jp_v0_addr_Bnnn(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rnd_vx_kk_Cxkk` [INFO] [stdout] --> src/cpu/cpu.rs:321:8 [INFO] [stdout] | [INFO] [stdout] 321 | fn rnd_vx_kk_Cxkk(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `drw_vx_vy_n_Dxyn` [INFO] [stdout] --> src/cpu/cpu.rs:328:8 [INFO] [stdout] | [INFO] [stdout] 328 | fn drw_vx_vy_n_Dxyn(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `skp_vx_Ex9E` [INFO] [stdout] --> src/cpu/cpu.rs:343:8 [INFO] [stdout] | [INFO] [stdout] 343 | fn skp_vx_Ex9E(&mut self, op: Opcode, input: [bool; 16]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sknp_vx_ExA1` [INFO] [stdout] --> src/cpu/cpu.rs:352:8 [INFO] [stdout] | [INFO] [stdout] 352 | fn sknp_vx_ExA1(&mut self, op: Opcode, input: [bool; 16]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ld_vx_dt_Fx07` [INFO] [stdout] --> src/cpu/cpu.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 361 | fn ld_vx_dt_Fx07(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ld_vx_k_Fx0A` [INFO] [stdout] --> src/cpu/cpu.rs:366:8 [INFO] [stdout] | [INFO] [stdout] 366 | fn ld_vx_k_Fx0A(&mut self, op: Opcode, input: [bool; 16]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ld_dt_vx_Fx15` [INFO] [stdout] --> src/cpu/cpu.rs:375:8 [INFO] [stdout] | [INFO] [stdout] 375 | fn ld_dt_vx_Fx15(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ld_st_vx_Fx18` [INFO] [stdout] --> src/cpu/cpu.rs:380:8 [INFO] [stdout] | [INFO] [stdout] 380 | fn ld_st_vx_Fx18(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_i_vx_Fx1E` [INFO] [stdout] --> src/cpu/cpu.rs:385:8 [INFO] [stdout] | [INFO] [stdout] 385 | fn add_i_vx_Fx1E(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ld_f_vx_Fx29` [INFO] [stdout] --> src/cpu/cpu.rs:391:8 [INFO] [stdout] | [INFO] [stdout] 391 | fn ld_f_vx_Fx29(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ld_b_vx_Fx33` [INFO] [stdout] --> src/cpu/cpu.rs:396:8 [INFO] [stdout] | [INFO] [stdout] 396 | fn ld_b_vx_Fx33(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ld_i_vx_Fx55` [INFO] [stdout] --> src/cpu/cpu.rs:403:8 [INFO] [stdout] | [INFO] [stdout] 403 | fn ld_i_vx_Fx55(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ld_vx_i_Fx65` [INFO] [stdout] --> src/cpu/cpu.rs:410:8 [INFO] [stdout] | [INFO] [stdout] 410 | fn ld_vx_i_Fx65(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SCALE` [INFO] [stdout] --> src/display/display.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const SCALE: u32 = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HEIGHT` [INFO] [stdout] --> src/display/display.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const HEIGHT: u32 = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WIDTH` [INFO] [stdout] --> src/display/display.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const WIDTH: u32 = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SCREEN_HEIGHT` [INFO] [stdout] --> src/display/display.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const SCREEN_HEIGHT: u32 = SCALE * HEIGHT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SCREEN_WIDTH` [INFO] [stdout] --> src/display/display.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | const SCREEN_WIDTH: u32 = SCALE * WIDTH; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Chip8Display` [INFO] [stdout] --> src/display/display.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Chip8Display { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/display/display.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(sdl: &sdl2::Sdl) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw` [INFO] [stdout] --> src/display/display.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn draw(&mut self, vram: &[[u8; WIDTH as usize]; HEIGHT as usize]) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pix_color` [INFO] [stdout] --> src/display/display.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn pix_color(pix: u8) -> pixels::Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Chip8Input` [INFO] [stdout] --> src/input/input.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Chip8Input { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/input/input.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(sdl: &sdl2::Sdl) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `poll` [INFO] [stdout] --> src/input/input.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn poll(&self) -> [bool; 16] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cls_00E0` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | fn cls_00E0(&mut self) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `cls_00_e0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ret_00EE` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | fn ret_00EE(&mut self) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ret_00_ee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `shl_vx_8xyE` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:302:8 [INFO] [stdout] | [INFO] [stdout] 302 | fn shl_vx_8xyE(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `shl_vx_8xy_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ld_i_addr_Annn` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:312:8 [INFO] [stdout] | [INFO] [stdout] 312 | fn ld_i_addr_Annn(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ld_i_addr_annn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `jp_v0_addr_Bnnn` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:317:8 [INFO] [stdout] | [INFO] [stdout] 317 | fn jp_v0_addr_Bnnn(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `jp_v0_addr_bnnn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rnd_vx_kk_Cxkk` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:321:8 [INFO] [stdout] | [INFO] [stdout] 321 | fn rnd_vx_kk_Cxkk(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `rnd_vx_kk_cxkk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `drw_vx_vy_n_Dxyn` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:328:8 [INFO] [stdout] | [INFO] [stdout] 328 | fn drw_vx_vy_n_Dxyn(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `drw_vx_vy_n_dxyn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `skp_vx_Ex9E` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:343:8 [INFO] [stdout] | [INFO] [stdout] 343 | fn skp_vx_Ex9E(&mut self, op: Opcode, input: [bool; 16]) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `skp_vx_ex9_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sknp_vx_ExA1` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:352:8 [INFO] [stdout] | [INFO] [stdout] 352 | fn sknp_vx_ExA1(&mut self, op: Opcode, input: [bool; 16]) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `sknp_vx_ex_a1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ld_vx_dt_Fx07` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 361 | fn ld_vx_dt_Fx07(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `ld_vx_dt_fx07` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ld_vx_k_Fx0A` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:366:8 [INFO] [stdout] | [INFO] [stdout] 366 | fn ld_vx_k_Fx0A(&mut self, op: Opcode, input: [bool; 16]) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `ld_vx_k_fx0_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ld_dt_vx_Fx15` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:375:8 [INFO] [stdout] | [INFO] [stdout] 375 | fn ld_dt_vx_Fx15(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `ld_dt_vx_fx15` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ld_st_vx_Fx18` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:380:8 [INFO] [stdout] | [INFO] [stdout] 380 | fn ld_st_vx_Fx18(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `ld_st_vx_fx18` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_i_vx_Fx1E` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:385:8 [INFO] [stdout] | [INFO] [stdout] 385 | fn add_i_vx_Fx1E(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `add_i_vx_fx1_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ld_f_vx_Fx29` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:391:8 [INFO] [stdout] | [INFO] [stdout] 391 | fn ld_f_vx_Fx29(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `ld_f_vx_fx29` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ld_b_vx_Fx33` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:396:8 [INFO] [stdout] | [INFO] [stdout] 396 | fn ld_b_vx_Fx33(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `ld_b_vx_fx33` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ld_i_vx_Fx55` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:403:8 [INFO] [stdout] | [INFO] [stdout] 403 | fn ld_i_vx_Fx55(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `ld_i_vx_fx55` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ld_vx_i_Fx65` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:410:8 [INFO] [stdout] | [INFO] [stdout] 410 | fn ld_vx_i_Fx65(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `ld_vx_i_fx65` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 82 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng`, `SeedableRng` [INFO] [stdout] --> src/cpu/cpu.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::{SeedableRng, RngCore, Rng}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::EventPump` [INFO] [stdout] --> src/display/display.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sdl2::EventPump; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cls_00E0` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | fn cls_00E0(&mut self) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `cls_00_e0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ret_00EE` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | fn ret_00EE(&mut self) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ret_00_ee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `shl_vx_8xyE` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:302:8 [INFO] [stdout] | [INFO] [stdout] 302 | fn shl_vx_8xyE(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `shl_vx_8xy_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ld_i_addr_Annn` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:312:8 [INFO] [stdout] | [INFO] [stdout] 312 | fn ld_i_addr_Annn(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ld_i_addr_annn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `jp_v0_addr_Bnnn` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:317:8 [INFO] [stdout] | [INFO] [stdout] 317 | fn jp_v0_addr_Bnnn(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `jp_v0_addr_bnnn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rnd_vx_kk_Cxkk` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:321:8 [INFO] [stdout] | [INFO] [stdout] 321 | fn rnd_vx_kk_Cxkk(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `rnd_vx_kk_cxkk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `drw_vx_vy_n_Dxyn` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:328:8 [INFO] [stdout] | [INFO] [stdout] 328 | fn drw_vx_vy_n_Dxyn(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `drw_vx_vy_n_dxyn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `skp_vx_Ex9E` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:343:8 [INFO] [stdout] | [INFO] [stdout] 343 | fn skp_vx_Ex9E(&mut self, op: Opcode, input: [bool; 16]) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `skp_vx_ex9_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sknp_vx_ExA1` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:352:8 [INFO] [stdout] | [INFO] [stdout] 352 | fn sknp_vx_ExA1(&mut self, op: Opcode, input: [bool; 16]) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `sknp_vx_ex_a1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ld_vx_dt_Fx07` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 361 | fn ld_vx_dt_Fx07(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `ld_vx_dt_fx07` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ld_vx_k_Fx0A` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:366:8 [INFO] [stdout] | [INFO] [stdout] 366 | fn ld_vx_k_Fx0A(&mut self, op: Opcode, input: [bool; 16]) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `ld_vx_k_fx0_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ld_dt_vx_Fx15` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:375:8 [INFO] [stdout] | [INFO] [stdout] 375 | fn ld_dt_vx_Fx15(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `ld_dt_vx_fx15` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ld_st_vx_Fx18` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:380:8 [INFO] [stdout] | [INFO] [stdout] 380 | fn ld_st_vx_Fx18(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `ld_st_vx_fx18` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_i_vx_Fx1E` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:385:8 [INFO] [stdout] | [INFO] [stdout] 385 | fn add_i_vx_Fx1E(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `add_i_vx_fx1_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ld_f_vx_Fx29` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:391:8 [INFO] [stdout] | [INFO] [stdout] 391 | fn ld_f_vx_Fx29(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `ld_f_vx_fx29` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ld_b_vx_Fx33` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:396:8 [INFO] [stdout] | [INFO] [stdout] 396 | fn ld_b_vx_Fx33(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `ld_b_vx_fx33` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ld_i_vx_Fx55` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:403:8 [INFO] [stdout] | [INFO] [stdout] 403 | fn ld_i_vx_Fx55(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `ld_i_vx_fx55` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ld_vx_i_Fx65` should have a snake case name [INFO] [stdout] --> src/cpu/cpu.rs:410:8 [INFO] [stdout] | [INFO] [stdout] 410 | fn ld_vx_i_Fx65(&mut self, op: Opcode) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `ld_vx_i_fx65` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/chip8-289fb1790d0d9c6a.chip8.ca34f74d-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/chip8-289fb1790d0d9c6a.chip8.ca34f74d-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/chip8-289fb1790d0d9c6a.chip8.ca34f74d-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/chip8-289fb1790d0d9c6a.chip8.ca34f74d-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/chip8-289fb1790d0d9c6a.chip8.ca34f74d-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/chip8-289fb1790d0d9c6a.chip8.ca34f74d-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/chip8-289fb1790d0d9c6a.chip8.ca34f74d-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/chip8-289fb1790d0d9c6a.chip8.ca34f74d-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/chip8-289fb1790d0d9c6a.chip8.ca34f74d-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/chip8-289fb1790d0d9c6a.chip8.ca34f74d-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/chip8-289fb1790d0d9c6a.chip8.ca34f74d-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/chip8-289fb1790d0d9c6a.chip8.ca34f74d-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/chip8-289fb1790d0d9c6a.chip8.ca34f74d-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/chip8-289fb1790d0d9c6a.chip8.ca34f74d-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/chip8-289fb1790d0d9c6a.chip8.ca34f74d-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/chip8-289fb1790d0d9c6a.chip8.ca34f74d-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/chip8-289fb1790d0d9c6a.2do8mys4ap0ioyf0.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl2-c48828554f2e9e80.rlib" "/opt/rustwide/target/debug/deps/librand-c65af6b178611da7.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-970991550c187f87.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-767a95b021fe5d75.rlib" "/opt/rustwide/target/debug/deps/librand_hc-41127eeeefef1010.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-b33ba888d22bfbd6.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-aeb3e6cd33b8e995.rlib" "/opt/rustwide/target/debug/deps/librand_core-54881814acc37a87.rlib" "/opt/rustwide/target/debug/deps/librand_os-dbb3554c42239a42.rlib" "/opt/rustwide/target/debug/deps/librand_jitter-d16cb8bd0352f99d.rlib" "/opt/rustwide/target/debug/deps/librand_core-24b7ee40fd421f2e.rlib" "/opt/rustwide/target/debug/deps/libc_vec-e96f7ea073c23814.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-173e4b64b3057443.rlib" "/opt/rustwide/target/debug/deps/libnum-0f8fa49beebbd341.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-49e8c963072400f2.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-46fc55d1c108cfdb.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-adbbbd05cc260146.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-3185be587a79cefd.rlib" "/opt/rustwide/target/debug/deps/librand-2671be6072fb6545.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-a30d26638aa7d2e9.rlib" "/opt/rustwide/target/debug/deps/libc2_chacha-2df5d520349bfdd5.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-f718162676277fd2.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-deaeff8e79132040.rlib" "/opt/rustwide/target/debug/deps/librand_core-565eed905b55a643.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-469d4a8261fdcdb5.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-074917369cef59f5.rlib" "/opt/rustwide/target/debug/deps/libfps_clock-505baa3b889e1ace.rlib" "/opt/rustwide/target/debug/deps/libclap-3723f9311ce0c0b5.rlib" "/opt/rustwide/target/debug/deps/libvec_map-11539489c7468588.rlib" "/opt/rustwide/target/debug/deps/libtextwrap-c000b62b7a029c16.rlib" "/opt/rustwide/target/debug/deps/libunicode_width-1c5c393aa49a23dd.rlib" "/opt/rustwide/target/debug/deps/libstrsim-c0d73e3d44b574a0.rlib" "/opt/rustwide/target/debug/deps/libbitflags-b1e820d41a28c6d6.rlib" "/opt/rustwide/target/debug/deps/libatty-8e7c456f59c6f7fa.rlib" "/opt/rustwide/target/debug/deps/liblibc-3a275aa39e4cb3e7.rlib" "/opt/rustwide/target/debug/deps/libansi_term-76ca62e328105e50.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-29e5e596e889a0aa.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1b145d9fcdc08832.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-5b037ee6b77e2ff0.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-9635a64fca0ebd28.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-a7574eb9bb7a8fc5.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-f5fa1dc334dcaeeb.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-6ee570a898e75ef0.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-afb62f29a0815772.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-a632746535fd9988.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-25acc307bcb1d7b6.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-377721a625f6ace7.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-43c01431c8a4ee6f.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-5f74725679453254.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-2b35d8999819161d.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-a81f2980c3f58cf2.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-57b4679830289815.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2a6a2797f7a73818.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-13b419dfbcf9c1f8.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_gfx" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/chip8-289fb1790d0d9c6a" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lSDL2_gfx [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chip8` due to 2 previous errors; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2cdf4f887e1220edd684a461be7fa0318a040e54b7d3612cea9b77768d4cdc0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cdf4f887e1220edd684a461be7fa0318a040e54b7d3612cea9b77768d4cdc0a", kill_on_drop: false }` [INFO] [stdout] 2cdf4f887e1220edd684a461be7fa0318a040e54b7d3612cea9b77768d4cdc0a