[INFO] cloning repository https://github.com/TamirBO/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/TamirBO/chip8-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTamirBO%2Fchip8-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTamirBO%2Fchip8-emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 89178160dddb69f34f8f853efd95092fd3321c8c [INFO] building TamirBO/chip8-emulator against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTamirBO%2Fchip8-emulator" "/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/TamirBO/chip8-emulator [INFO] finished tweaking git repo https://github.com/TamirBO/chip8-emulator [INFO] tweaked toml for git repo https://github.com/TamirBO/chip8-emulator written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TamirBO/chip8-emulator 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/TamirBO/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded version-compare v0.1.1 [INFO] [stderr] Downloaded atspi v0.22.0 [INFO] [stderr] Downloaded enumflags2_derive v0.7.11 [INFO] [stderr] Downloaded accesskit_unix v0.13.1 [INFO] [stderr] Downloaded libloading v0.8.7 [INFO] [stderr] Downloaded accesskit_macos v0.18.1 [INFO] [stderr] Downloaded glow v0.16.0 [INFO] [stderr] Downloaded zvariant_utils v2.1.0 [INFO] [stderr] Downloaded wgpu-core v24.0.2 [INFO] [stderr] Downloaded gpu-descriptor-types v0.2.0 [INFO] [stderr] Downloaded khronos-egl v6.0.0 [INFO] [stderr] Downloaded async-io v2.4.0 [INFO] [stderr] Downloaded async-process v2.3.0 [INFO] [stderr] Downloaded accesskit v0.17.1 [INFO] [stderr] Downloaded winit v0.30.10 [INFO] [stderr] Downloaded spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Downloaded egui-wgpu v0.31.1 [INFO] [stderr] Downloaded atspi-proxies v0.6.0 [INFO] [stderr] Downloaded async-signal v0.2.10 [INFO] [stderr] Downloaded zbus_macros v4.4.0 [INFO] [stderr] Downloaded zvariant_derive v4.2.0 [INFO] [stderr] Downloaded error-code v3.3.2 [INFO] [stderr] Downloaded epaint v0.31.1 [INFO] [stderr] Downloaded wgpu-types v24.0.0 [INFO] [stderr] Downloaded zvariant v4.2.0 [INFO] [stderr] Downloaded egui v0.31.1 [INFO] [stderr] Downloaded arboard v3.5.0 [INFO] [stderr] Downloaded wgpu v24.0.3 [INFO] [stderr] Downloaded zbus v4.4.0 [INFO] [stderr] Downloaded smithay-clipboard v0.7.2 [INFO] [stderr] Downloaded enumn v0.1.14 [INFO] [stderr] Downloaded ecolor v0.31.1 [INFO] [stderr] Downloaded wgpu-hal v24.0.4 [INFO] [stderr] Downloaded egui_glow v0.31.1 [INFO] [stderr] Downloaded gpu-descriptor v0.3.1 [INFO] [stderr] Downloaded ash v0.38.0+1.3.281 [INFO] [stderr] Downloaded accesskit_atspi_common v0.10.1 [INFO] [stderr] Downloaded atspi-common v0.6.0 [INFO] [stderr] Downloaded zbus-lockstep v0.4.4 [INFO] [stderr] Downloaded xdg-home v1.3.0 [INFO] [stderr] Downloaded immutable-chunkmap v2.0.6 [INFO] [stderr] Downloaded accesskit_windows v0.24.1 [INFO] [stderr] Downloaded accesskit_winit v0.23.1 [INFO] [stderr] Downloaded zbus_xml v4.0.0 [INFO] [stderr] Downloaded zbus-lockstep-macros v0.4.4 [INFO] [stderr] Downloaded enumflags2 v0.7.11 [INFO] [stderr] Downloaded egui-winit v0.31.1 [INFO] [stderr] Downloaded emath v0.31.1 [INFO] [stderr] Downloaded sdl2 v0.35.2 [INFO] [stderr] Downloaded epaint_default_fonts v0.31.1 [INFO] [stderr] Downloaded eframe v0.31.1 [INFO] [stderr] Downloaded objc2-core-graphics v0.3.1 [INFO] [stderr] Downloaded atspi-connection v0.6.0 [INFO] [stderr] Downloaded accesskit_consumer v0.26.0 [INFO] [stderr] Downloaded webbrowser v1.0.4 [INFO] [stderr] Downloaded objc2-io-surface v0.3.1 [INFO] [stderr] Downloaded naga v24.0.0 [INFO] [stderr] Downloaded metal v0.31.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] e5b767894f578ccf924814af6a6944281542ed3bd01d3ff2cd90990d9a048a29 [INFO] running `Command { std: "docker" "start" "-a" "e5b767894f578ccf924814af6a6944281542ed3bd01d3ff2cd90990d9a048a29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5b767894f578ccf924814af6a6944281542ed3bd01d3ff2cd90990d9a048a29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5b767894f578ccf924814af6a6944281542ed3bd01d3ff2cd90990d9a048a29", kill_on_drop: false }` [INFO] [stdout] e5b767894f578ccf924814af6a6944281542ed3bd01d3ff2cd90990d9a048a29 [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] 967191135afdb6a0676b875b578aa25f5437d3d9a1d42a15483115c6527290e9 [INFO] running `Command { std: "docker" "start" "-a" "967191135afdb6a0676b875b578aa25f5437d3d9a1d42a15483115c6527290e9", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling libloading v0.8.7 [INFO] [stderr] Compiling wayland-sys v0.31.6 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling wayland-client v0.31.10 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling cursor-icon v1.1.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling async-fs v2.1.2 [INFO] [stderr] Compiling xkeysym v0.2.1 [INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling x11rb-protocol v0.13.1 [INFO] [stderr] Compiling immutable-chunkmap v2.0.6 [INFO] [stderr] Compiling wayland-scanner v0.31.6 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling winit v0.30.10 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling epaint_default_fonts v0.31.1 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling dpi v0.1.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling glow v0.16.0 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling ab_glyph v0.2.29 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling xdg-home v1.3.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling cc v1.2.22 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling wayland-backend v0.3.10 [INFO] [stderr] Compiling emulator v0.0.1 (/opt/rustwide/workdir/emulator) [INFO] [stdout] warning: unused imports: `Duration` and `Instant` [INFO] [stdout] --> emulator/src/chip8.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::{Instant, 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 import: `std::thread::sleep` [INFO] [stdout] --> emulator/src/chip8.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::memory::*` [INFO] [stdout] --> emulator/src/cpu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::memory::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Inspect` [INFO] [stdout] --> emulator/src/cpu.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::Inspect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::rand::thread_rng` [INFO] [stdout] --> emulator/src/cpu.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use self::rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> emulator/src/cpu.rs:268:35 [INFO] [stdout] | [INFO] [stdout] 268 | let line = c8.memory.data[(c8.cpu.i + i as usize)]; [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] 268 - let line = c8.memory.data[(c8.cpu.i + i as usize)]; [INFO] [stdout] 268 + let line = c8.memory.data[c8.cpu.i + i as usize ]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pixels` [INFO] [stdout] --> emulator/src/screen.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use sdl2::{self, pixels}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> emulator/src/screen.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use sdl2::pixels::{Color}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::rect::Rect` [INFO] [stdout] --> emulator/src/screen.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2::rect::Rect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::render::Canvas` [INFO] [stdout] --> emulator/src/screen.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sdl2::render::Canvas; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::video::Window` [INFO] [stdout] --> emulator/src/screen.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::video::Window; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::keyboard::Keycode` [INFO] [stdout] --> emulator/src/keys.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::keyboard::Keycode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c8` [INFO] [stdout] --> emulator/src/cpu.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | fn run(c8: &mut Chip8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c8` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> emulator/src/cpu.rs:221:37 [INFO] [stdout] | [INFO] [stdout] 221 | fn shr_vx(c8: &mut Chip8, x: usize, y: usize) { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 221 | fn shr_vx(c8: &mut Chip8, x: usize, _y: usize) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_ROM_SIZE` [INFO] [stdout] | [INFO] [stdout] 221 - fn shr_vx(c8: &mut Chip8, x: usize, y: usize) { [INFO] [stdout] 221 + fn shr_vx(c8: &mut Chip8, x: usize, memory::MAX_ROM_SIZE: usize) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> emulator/src/cpu.rs:238:37 [INFO] [stdout] | [INFO] [stdout] 238 | fn shl_vx(c8: &mut Chip8, x: usize, y: usize) { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 238 | fn shl_vx(c8: &mut Chip8, x: usize, _y: usize) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_ROM_SIZE` [INFO] [stdout] | [INFO] [stdout] 238 - fn shl_vx(c8: &mut Chip8, x: usize, y: usize) { [INFO] [stdout] 238 + fn shl_vx(c8: &mut Chip8, x: usize, memory::MAX_ROM_SIZE: usize) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c8` [INFO] [stdout] --> emulator/src/cpu.rs:256:15 [INFO] [stdout] | [INFO] [stdout] 256 | fn jp_v0_addr(c8: &mut Chip8, nnn: u16) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nnn` [INFO] [stdout] --> emulator/src/cpu.rs:256:31 [INFO] [stdout] | [INFO] [stdout] 256 | fn jp_v0_addr(c8: &mut Chip8, nnn: u16) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_nnn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `run` is never used [INFO] [stdout] --> emulator/src/cpu.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl Cpu { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | fn run(c8: &mut Chip8) {} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `jp_v0_addr` is never used [INFO] [stdout] --> emulator/src/cpu.rs:256:4 [INFO] [stdout] | [INFO] [stdout] 256 | fn jp_v0_addr(c8: &mut Chip8, nnn: u16) {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCREEN_WIDTH` is never used [INFO] [stdout] --> emulator/src/screen.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const SCREEN_WIDTH: u32 = 64; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCREEN_HEIGHT` is never used [INFO] [stdout] --> emulator/src/screen.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const SCREEN_HEIGHT: u32 = 32; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCALE` is never used [INFO] [stdout] --> emulator/src/screen.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const SCALE: u32 = 20; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sdl_backend v0.1.0 (/opt/rustwide/workdir/sdl_backend) [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> sdl_backend/src/main.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | use std::time::{Instant, 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 import: `sdl2::keyboard` [INFO] [stdout] --> sdl_backend/src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use sdl2::keyboard; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::keyboard::Keycode` [INFO] [stdout] --> sdl_backend/src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use sdl2::keyboard::Keycode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zvariant_utils v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling enumflags2_derive v0.7.11 [INFO] [stderr] Compiling zvariant_derive v4.2.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zbus_macros v4.4.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling enumn v0.1.14 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling enumflags2 v0.7.11 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Compiling accesskit v0.17.1 [INFO] [stderr] Compiling emath v0.31.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling zvariant v4.2.0 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling webbrowser v1.0.4 [INFO] [stderr] Compiling ecolor v0.31.1 [INFO] [stderr] Compiling epaint v0.31.1 [INFO] [stderr] Compiling accesskit_consumer v0.26.0 [INFO] [stderr] Compiling zbus_names v3.0.0 [INFO] [stderr] Compiling egui v0.31.1 [INFO] [stderr] Compiling zbus_xml v4.0.0 [INFO] [stderr] Compiling zbus-lockstep v0.4.4 [INFO] [stderr] Compiling zbus-lockstep-macros v0.4.4 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling zbus v4.4.0 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling arboard v3.5.0 [INFO] [stderr] Compiling wayland-protocols v0.32.8 [INFO] [stderr] Compiling wayland-cursor v0.31.10 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling egui_glow v0.31.1 [INFO] [stderr] Compiling atspi-common v0.6.0 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.8 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.8 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling smithay-clipboard v0.7.2 [INFO] [stderr] Compiling atspi-proxies v0.6.0 [INFO] [stderr] Compiling accesskit_atspi_common v0.10.1 [INFO] [stderr] Compiling atspi-connection v0.6.0 [INFO] [stderr] Compiling atspi v0.22.0 [INFO] [stderr] Compiling accesskit_unix v0.13.1 [INFO] [stderr] Compiling accesskit_winit v0.23.1 [INFO] [stderr] Compiling egui-winit v0.31.1 [INFO] [stderr] Compiling eframe v0.31.1 [INFO] [stderr] Compiling debugger v0.1.0 (/opt/rustwide/workdir/debugger) [INFO] [stdout] warning: unused import: `egui::RichText` [INFO] [stdout] --> debugger/src/windows/disasm.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use eframe::{egui, egui::RichText}; [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: `cpu` and `memory` [INFO] [stdout] --> debugger/src/windows/disasm.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use chip8::{cpu, cpu::Instruction, chip8::Chip8, memory}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chip8::cpu::Instruction` [INFO] [stdout] --> debugger/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chip8::cpu::Instruction; [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 import: `egui::Vec2` [INFO] [stdout] --> debugger/src/main.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use eframe::{egui::Vec2, NativeOptions, CreationContext}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 24s [INFO] running `Command { std: "docker" "inspect" "967191135afdb6a0676b875b578aa25f5437d3d9a1d42a15483115c6527290e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "967191135afdb6a0676b875b578aa25f5437d3d9a1d42a15483115c6527290e9", kill_on_drop: false }` [INFO] [stdout] 967191135afdb6a0676b875b578aa25f5437d3d9a1d42a15483115c6527290e9 [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] 6c49df39a05bf9bcb149783c14beb97288ec44282f101fd45939c668690c8132 [INFO] running `Command { std: "docker" "start" "-a" "6c49df39a05bf9bcb149783c14beb97288ec44282f101fd45939c668690c8132", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling emulator v0.0.1 (/opt/rustwide/workdir/emulator) [INFO] [stderr] Compiling sdl_backend v0.1.0 (/opt/rustwide/workdir/sdl_backend) [INFO] [stderr] Compiling debugger v0.1.0 (/opt/rustwide/workdir/debugger) [INFO] [stdout] warning: unused imports: `Duration` and `Instant` [INFO] [stdout] --> emulator/src/chip8.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::{Instant, 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 import: `std::thread::sleep` [INFO] [stdout] --> emulator/src/chip8.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::memory::*` [INFO] [stdout] --> emulator/src/cpu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::memory::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Inspect` [INFO] [stdout] --> emulator/src/cpu.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::Inspect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::rand::thread_rng` [INFO] [stdout] --> emulator/src/cpu.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use self::rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> emulator/src/cpu.rs:268:35 [INFO] [stdout] | [INFO] [stdout] 268 | let line = c8.memory.data[(c8.cpu.i + i as usize)]; [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] 268 - let line = c8.memory.data[(c8.cpu.i + i as usize)]; [INFO] [stdout] 268 + let line = c8.memory.data[c8.cpu.i + i as usize ]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pixels` [INFO] [stdout] --> emulator/src/screen.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use sdl2::{self, pixels}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> emulator/src/screen.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use sdl2::pixels::{Color}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::rect::Rect` [INFO] [stdout] --> emulator/src/screen.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2::rect::Rect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::render::Canvas` [INFO] [stdout] --> emulator/src/screen.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sdl2::render::Canvas; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::video::Window` [INFO] [stdout] --> emulator/src/screen.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::video::Window; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::keyboard::Keycode` [INFO] [stdout] --> emulator/src/keys.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::keyboard::Keycode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c8` [INFO] [stdout] --> emulator/src/cpu.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | fn run(c8: &mut Chip8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c8` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> emulator/src/cpu.rs:221:37 [INFO] [stdout] | [INFO] [stdout] 221 | fn shr_vx(c8: &mut Chip8, x: usize, y: usize) { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 221 | fn shr_vx(c8: &mut Chip8, x: usize, _y: usize) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_ROM_SIZE` [INFO] [stdout] | [INFO] [stdout] 221 - fn shr_vx(c8: &mut Chip8, x: usize, y: usize) { [INFO] [stdout] 221 + fn shr_vx(c8: &mut Chip8, x: usize, memory::MAX_ROM_SIZE: usize) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> emulator/src/cpu.rs:238:37 [INFO] [stdout] | [INFO] [stdout] 238 | fn shl_vx(c8: &mut Chip8, x: usize, y: usize) { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 238 | fn shl_vx(c8: &mut Chip8, x: usize, _y: usize) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_ROM_SIZE` [INFO] [stdout] | [INFO] [stdout] 238 - fn shl_vx(c8: &mut Chip8, x: usize, y: usize) { [INFO] [stdout] 238 + fn shl_vx(c8: &mut Chip8, x: usize, memory::MAX_ROM_SIZE: usize) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c8` [INFO] [stdout] --> emulator/src/cpu.rs:256:15 [INFO] [stdout] | [INFO] [stdout] 256 | fn jp_v0_addr(c8: &mut Chip8, nnn: u16) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nnn` [INFO] [stdout] --> emulator/src/cpu.rs:256:31 [INFO] [stdout] | [INFO] [stdout] 256 | fn jp_v0_addr(c8: &mut Chip8, nnn: u16) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_nnn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `run` is never used [INFO] [stdout] --> emulator/src/cpu.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl Cpu { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | fn run(c8: &mut Chip8) {} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `jp_v0_addr` is never used [INFO] [stdout] --> emulator/src/cpu.rs:256:4 [INFO] [stdout] | [INFO] [stdout] 256 | fn jp_v0_addr(c8: &mut Chip8, nnn: u16) {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCREEN_WIDTH` is never used [INFO] [stdout] --> emulator/src/screen.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const SCREEN_WIDTH: u32 = 64; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCREEN_HEIGHT` is never used [INFO] [stdout] --> emulator/src/screen.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const SCREEN_HEIGHT: u32 = 32; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCALE` is never used [INFO] [stdout] --> emulator/src/screen.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const SCALE: u32 = 20; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `egui::RichText` [INFO] [stdout] --> debugger/src/windows/disasm.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use eframe::{egui, egui::RichText}; [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: `cpu` and `memory` [INFO] [stdout] --> debugger/src/windows/disasm.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use chip8::{cpu, cpu::Instruction, chip8::Chip8, memory}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chip8::cpu::Instruction` [INFO] [stdout] --> debugger/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chip8::cpu::Instruction; [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 import: `egui::Vec2` [INFO] [stdout] --> debugger/src/main.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use eframe::{egui::Vec2, NativeOptions, CreationContext}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> sdl_backend/src/main.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | use std::time::{Instant, 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 import: `sdl2::keyboard` [INFO] [stdout] --> sdl_backend/src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use sdl2::keyboard; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::keyboard::Keycode` [INFO] [stdout] --> sdl_backend/src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use sdl2::keyboard::Keycode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Instant` [INFO] [stdout] --> emulator/src/chip8.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::{Instant, 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 import: `std::thread::sleep` [INFO] [stdout] --> emulator/src/chip8.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::memory::*` [INFO] [stdout] --> emulator/src/cpu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::memory::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Inspect` [INFO] [stdout] --> emulator/src/cpu.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::Inspect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::rand::thread_rng` [INFO] [stdout] --> emulator/src/cpu.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use self::rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> emulator/src/cpu.rs:268:35 [INFO] [stdout] | [INFO] [stdout] 268 | let line = c8.memory.data[(c8.cpu.i + i as usize)]; [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] 268 - let line = c8.memory.data[(c8.cpu.i + i as usize)]; [INFO] [stdout] 268 + let line = c8.memory.data[c8.cpu.i + i as usize ]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pixels` [INFO] [stdout] --> emulator/src/screen.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use sdl2::{self, pixels}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> emulator/src/screen.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use sdl2::pixels::{Color}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::rect::Rect` [INFO] [stdout] --> emulator/src/screen.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2::rect::Rect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::render::Canvas` [INFO] [stdout] --> emulator/src/screen.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sdl2::render::Canvas; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::video::Window` [INFO] [stdout] --> emulator/src/screen.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::video::Window; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `egui::RichText` [INFO] [stdout] --> debugger/src/windows/disasm.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use eframe::{egui, egui::RichText}; [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 import: `sdl2::keyboard::Keycode` [INFO] [stdout] --> emulator/src/keys.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::keyboard::Keycode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cpu` and `memory` [INFO] [stdout] --> debugger/src/windows/disasm.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use chip8::{cpu, cpu::Instruction, chip8::Chip8, memory}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c8` [INFO] [stdout] --> emulator/src/cpu.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | fn run(c8: &mut Chip8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c8` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> emulator/src/cpu.rs:221:37 [INFO] [stdout] | [INFO] [stdout] 221 | fn shr_vx(c8: &mut Chip8, x: usize, y: usize) { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 221 | fn shr_vx(c8: &mut Chip8, x: usize, _y: usize) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_ROM_SIZE` [INFO] [stdout] | [INFO] [stdout] 221 - fn shr_vx(c8: &mut Chip8, x: usize, y: usize) { [INFO] [stdout] 221 + fn shr_vx(c8: &mut Chip8, x: usize, memory::MAX_ROM_SIZE: usize) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> emulator/src/cpu.rs:238:37 [INFO] [stdout] | [INFO] [stdout] 238 | fn shl_vx(c8: &mut Chip8, x: usize, y: usize) { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 238 | fn shl_vx(c8: &mut Chip8, x: usize, _y: usize) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_ROM_SIZE` [INFO] [stdout] | [INFO] [stdout] 238 - fn shl_vx(c8: &mut Chip8, x: usize, y: usize) { [INFO] [stdout] 238 + fn shl_vx(c8: &mut Chip8, x: usize, memory::MAX_ROM_SIZE: usize) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c8` [INFO] [stdout] --> emulator/src/cpu.rs:256:15 [INFO] [stdout] | [INFO] [stdout] 256 | fn jp_v0_addr(c8: &mut Chip8, nnn: u16) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nnn` [INFO] [stdout] --> emulator/src/cpu.rs:256:31 [INFO] [stdout] | [INFO] [stdout] 256 | fn jp_v0_addr(c8: &mut Chip8, nnn: u16) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_nnn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `run` is never used [INFO] [stdout] --> emulator/src/cpu.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl Cpu { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | fn run(c8: &mut Chip8) {} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `jp_v0_addr` is never used [INFO] [stdout] --> emulator/src/cpu.rs:256:4 [INFO] [stdout] | [INFO] [stdout] 256 | fn jp_v0_addr(c8: &mut Chip8, nnn: u16) {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCREEN_WIDTH` is never used [INFO] [stdout] --> emulator/src/screen.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const SCREEN_WIDTH: u32 = 64; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCREEN_HEIGHT` is never used [INFO] [stdout] --> emulator/src/screen.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const SCREEN_HEIGHT: u32 = 32; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCALE` is never used [INFO] [stdout] --> emulator/src/screen.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const SCALE: u32 = 20; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.80s [INFO] running `Command { std: "docker" "inspect" "6c49df39a05bf9bcb149783c14beb97288ec44282f101fd45939c668690c8132", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c49df39a05bf9bcb149783c14beb97288ec44282f101fd45939c668690c8132", kill_on_drop: false }` [INFO] [stdout] 6c49df39a05bf9bcb149783c14beb97288ec44282f101fd45939c668690c8132