[INFO] cloning repository https://github.com/scarydoors/ohboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/scarydoors/ohboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscarydoors%2Fohboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscarydoors%2Fohboy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 46c48f0734bc054324aeac9e002c5f3b11dfcd5a [INFO] checking scarydoors/ohboy against master#65407954098ca3c19f0d46092cb374b5d3e9dc3c for pr-157841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscarydoors%2Fohboy" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/scarydoors/ohboy [INFO] finished tweaking git repo https://github.com/scarydoors/ohboy [INFO] tweaked toml for git repo https://github.com/scarydoors/ohboy written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/scarydoors/ohboy on toolchain 65407954098ca3c19f0d46092cb374b5d3e9dc3c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65407954098ca3c19f0d46092cb374b5d3e9dc3c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/scarydoors/ohboy 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" "+65407954098ca3c19f0d46092cb374b5d3e9dc3c" "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 font-types v0.11.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 7e7e863a7970d75fa0c32a1484330e15d7e4a58e3a64d47f264b389b2349e469 [INFO] running `Command { std: "docker" "start" "7e7e863a7970d75fa0c32a1484330e15d7e4a58e3a64d47f264b389b2349e469", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7e7e863a7970d75fa0c32a1484330e15d7e4a58e3a64d47f264b389b2349e469" "/opt/rustwide/cargo-home/bin/cargo" "+65407954098ca3c19f0d46092cb374b5d3e9dc3c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e7e863a7970d75fa0c32a1484330e15d7e4a58e3a64d47f264b389b2349e469", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7e7e863a7970d75fa0c32a1484330e15d7e4a58e3a64d47f264b389b2349e469" "/opt/rustwide/cargo-home/bin/cargo" "+65407954098ca3c19f0d46092cb374b5d3e9dc3c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling wayland-sys v0.31.11 [INFO] [stderr] Compiling cc v1.2.59 [INFO] [stderr] Compiling wayland-client v0.31.14 [INFO] [stderr] Compiling wayland-scanner v0.31.10 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.48 [INFO] [stderr] Compiling naga v29.0.1 [INFO] [stderr] Checking bit-vec v0.9.1 [INFO] [stderr] Checking codespan-reporting v0.13.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking kurbo v0.13.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking linebender_resource_handle v0.1.1 [INFO] [stderr] Checking spirv v0.4.0+sdk-1.4.341.0 [INFO] [stderr] Checking simd-adler32 v0.3.9 [INFO] [stderr] Checking bit-set v0.9.1 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking memmap2 v0.9.10 [INFO] [stderr] Compiling wgpu-hal v29.0.1 [INFO] [stderr] Checking presser v0.3.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking gpu-descriptor v0.3.2 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Checking ordered-float v5.3.0 [INFO] [stderr] Checking glow v0.17.0 [INFO] [stderr] Checking indexmap v2.13.1 [INFO] [stderr] Checking gpu-allocator v0.28.0 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Compiling wgpu-core v29.0.1 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Checking epaint_default_fonts v0.34.2 [INFO] [stderr] Checking pxfm v0.1.29 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling wgpu v29.0.1 [INFO] [stderr] Compiling winit v0.30.13 [INFO] [stderr] Checking png v0.18.1 [INFO] [stderr] Checking rand_core v0.10.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Checking uuid v1.23.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Compiling wayland-backend v0.3.15 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking proc-macro2 v1.0.106 [INFO] [stderr] Checking cpufeatures v0.3.0 [INFO] [stderr] Checking rustc-hash v2.1.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking type-map v0.5.1 [INFO] [stderr] Checking accesskit v0.24.0 [INFO] [stderr] Checking chacha20 v0.10.0 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Compiling ohboy_macro v0.1.0 (/opt/rustwide/workdir/crates/ohboy_macro) [INFO] [stderr] Checking webbrowser v1.2.1 [INFO] [stderr] Checking quote v1.0.45 [INFO] [stderr] Checking color v0.3.2 [INFO] [stderr] Checking wgpu-types v29.0.1 [INFO] [stderr] Checking fearless_simd v0.3.0 [INFO] [stderr] Checking font-types v0.11.2 [INFO] [stderr] Checking emath v0.34.2 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking syn v2.0.117 [INFO] [stderr] Checking zerocopy v0.8.48 [INFO] [stderr] Checking rand v0.10.1 [INFO] [stderr] Checking peniko v0.6.0 [INFO] [stderr] Checking read-fonts v0.37.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking ecolor v0.34.2 [INFO] [stderr] Checking moxcms v0.8.1 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking calloop v0.14.4 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking vello_common v0.0.6 [INFO] [stderr] Checking vello_cpu v0.0.6 [INFO] [stderr] Checking wayland-protocols v0.32.12 [INFO] [stderr] Checking wayland-cursor v0.31.14 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking calloop-wayland-source v0.4.1 [INFO] [stderr] Checking image v0.25.10 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking skrifa v0.40.0 [INFO] [stderr] Checking epaint v0.34.2 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.12 [INFO] [stderr] Checking wayland-protocols-experimental v20250721.0.1 [INFO] [stderr] Checking wayland-protocols-misc v0.3.12 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.12 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking smithay-client-toolkit v0.20.0 [INFO] [stderr] Checking egui v0.34.2 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking smithay-clipboard v0.7.3 [INFO] [stderr] Checking arboard v3.6.1 [INFO] [stderr] Checking wgpu-naga-bridge v29.0.1 [INFO] [stderr] Checking egui-winit v0.34.2 [INFO] [stderr] Checking wgpu-core-deps-windows-linux-android v29.0.0 [INFO] [stderr] Checking egui-wgpu v0.34.1 [INFO] [stderr] Checking ohboy v0.1.0 (/opt/rustwide/workdir/crates/ohboy) [INFO] [stdout] warning: unused imports: `AppEvent` and `Emulator` [INFO] [stdout] --> crates/ohboy/src/main.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{app::{App, AppEvent}, emulator::{Emulator, EmulatorHandle, Rom}}; [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::fs::File` [INFO] [stdout] --> crates/ohboy/src/emulator.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> crates/ohboy/src/emulator.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SyncSender` and `sync_channel` [INFO] [stdout] --> crates/ohboy/src/emulator.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::mpsc::{Receiver, Sender, SyncSender, channel, sync_channel}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AppEvent` and `Emulator` [INFO] [stdout] --> crates/ohboy/src/main.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{app::{App, AppEvent}, emulator::{Emulator, EmulatorHandle, Rom}}; [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: `ShortRegisterName` [INFO] [stdout] --> crates/ohboy/src/emulator/cpu.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | CpuFlags, Registers, ShortRegisterName [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> crates/ohboy/src/emulator.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> crates/ohboy/src/emulator.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SyncSender` and `sync_channel` [INFO] [stdout] --> crates/ohboy/src/emulator.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::mpsc::{Receiver, Sender, SyncSender, channel, sync_channel}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ShortRegisterName` [INFO] [stdout] --> crates/ohboy/src/emulator/cpu.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | CpuFlags, Registers, ShortRegisterName [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReadWriteMemory` [INFO] [stdout] --> crates/ohboy/src/emulator/mbc.rs:3:72 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::emulator::{Rom, mbc::romonly::RomOnly, memory::{ReadMemory, ReadWriteMemory, WriteMemory}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReadWriteMemory` [INFO] [stdout] --> crates/ohboy/src/emulator/mbc.rs:3:72 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::emulator::{Rom, mbc::romonly::RomOnly, memory::{ReadMemory, ReadWriteMemory, WriteMemory}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitflags` [INFO] [stdout] --> crates/ohboy/src/emulator/register.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use bitflags::{Flags, bitflags}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> crates/ohboy/src/app.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{sync::Arc, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FontFamily`, `FontId`, and `RichText` [INFO] [stdout] --> crates/ohboy/src/app/ui.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use egui::{FontFamily, FontId, ImageSource, RichText, TextureHandle, TextureOptions, Vec2, load::SizedTexture}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpu::registers::Registers` [INFO] [stdout] --> crates/ohboy/src/app/ui.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::emulator::{self, cpu::registers::Registers}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitflags` [INFO] [stdout] --> crates/ohboy/src/emulator/register.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use bitflags::{Flags, bitflags}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> crates/ohboy/src/app.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{sync::Arc, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FontFamily`, `FontId`, and `RichText` [INFO] [stdout] --> crates/ohboy/src/app/ui.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use egui::{FontFamily, FontId, ImageSource, RichText, TextureHandle, TextureOptions, Vec2, load::SizedTexture}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpu::registers::Registers` [INFO] [stdout] --> crates/ohboy/src/app/ui.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::emulator::{self, cpu::registers::Registers}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Flags` [INFO] [stdout] --> crates/ohboy/src/emulator/ppu.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use bitflags::{Flags, bitflags}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Flags` [INFO] [stdout] --> crates/ohboy/src/emulator/ppu.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use bitflags::{Flags, bitflags}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> crates/ohboy/src/emulator/dma.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn step(memory: &mut Memory, steps: TimeCycle) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `steps` [INFO] [stdout] --> crates/ohboy/src/emulator/dma.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn step(memory: &mut Memory, steps: TimeCycle) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_steps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> crates/ohboy/src/emulator/mbc/romonly.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | fn write_memory(&mut self, address: u16, value: u8) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ohboy/src/emulator/mbc/romonly.rs:31:46 [INFO] [stdout] | [INFO] [stdout] 31 | fn write_memory(&mut self, address: u16, value: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> crates/ohboy/src/emulator/dma.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn step(memory: &mut Memory, steps: TimeCycle) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `steps` [INFO] [stdout] --> crates/ohboy/src/emulator/dma.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn step(memory: &mut Memory, steps: TimeCycle) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_steps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> crates/ohboy/src/app.rs:64:30 [INFO] [stdout] | [INFO] [stdout] 64 | fn user_event(&mut self, event_loop: &ActiveEventLoop, event: AppEvent) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> crates/ohboy/src/emulator/mbc/romonly.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | fn write_memory(&mut self, address: u16, value: u8) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ohboy/src/emulator/mbc/romonly.rs:31:46 [INFO] [stdout] | [INFO] [stdout] 31 | fn write_memory(&mut self, address: u16, value: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `EguiRenderer` is more private than the item `RenderContext::egui` [INFO] [stdout] --> crates/ohboy/src/app.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | pub egui: EguiRenderer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ field `RenderContext::egui` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `EguiRenderer` is only usable at visibility `pub(self)` [INFO] [stdout] --> crates/ohboy/src/app.rs:255:1 [INFO] [stdout] | [INFO] [stdout] 255 | struct EguiRenderer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dma` is never read [INFO] [stdout] --> crates/ohboy/src/emulator.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Emulator { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub dma: Dma, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Pause` and `Active` are never constructed [INFO] [stdout] --> crates/ohboy/src/emulator.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 74 | pub enum EmulatorCommand { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 75 | Resume, [INFO] [stdout] 76 | Pause, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 77 | LoadRom(Rom), [INFO] [stdout] 78 | Active(ActiveCommand), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EmulatorCommand` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ButtonDown` is never constructed [INFO] [stdout] --> crates/ohboy/src/emulator.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub enum ActiveCommand { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 83 | ButtonDown, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActiveCommand` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `F` is never constructed [INFO] [stdout] --> crates/ohboy/src/emulator/cpu/registers.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum ShortRegisterName { [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] 25 | A, [INFO] [stdout] 26 | F, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `ShortRegisterName` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PC` is never constructed [INFO] [stdout] --> crates/ohboy/src/emulator/cpu/registers.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub enum WordRegisterName { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 60 | PC, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `WordRegisterName` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Halt` is never constructed [INFO] [stdout] --> crates/ohboy/src/emulator/cpu/instructions.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 203 | full: Instruction, [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 209 | Halt, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `instructions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cycles_left` is never read [INFO] [stdout] --> crates/ohboy/src/emulator/dma.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Dma { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 4 | cycles_left: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `step` is never used [INFO] [stdout] --> crates/ohboy/src/emulator/dma.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Dma { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn step(memory: &mut Memory, steps: TimeCycle) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> crates/ohboy/src/emulator/rom.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct CartridgeType { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 50 | pub mbc_type: mbc::MbcType, [INFO] [stdout] 51 | pub ram: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 52 | pub battery: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 53 | pub timer: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 54 | pub rumble: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 55 | pub sensor: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 56 | pub pocket_camera: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 57 | pub bandai_tama5: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ReadWriteMemory` is never used [INFO] [stdout] --> crates/ohboy/src/emulator/memory.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait ReadWriteMemory: ReadMemory + WriteMemory {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MBC4`, `M161`, `HuC1`, and `HuC3` are never constructed [INFO] [stdout] --> crates/ohboy/src/emulator/mbc.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum MbcType { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | MBC4, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | M161, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | HuC1, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | HuC3, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MbcType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MBC_ROM_BANK_0_END` is never used [INFO] [stdout] --> crates/ohboy/src/emulator/mbc.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const MBC_ROM_BANK_0_END: u16 = 0x3FFF; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MBC_ROM_BANK_N_START` is never used [INFO] [stdout] --> crates/ohboy/src/emulator/mbc.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const MBC_ROM_BANK_N_START: u16 = 0x4000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_ppu_mode` is never used [INFO] [stdout] --> crates/ohboy/src/emulator/ppu.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl LcdStatusFlags { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 32 | fn set_ppu_mode(&mut self, mode: PpuMode) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Mode2`, `Mode3`, `Mode0`, and `Mode1` are never constructed [INFO] [stdout] --> crates/ohboy/src/emulator/ppu.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | enum PpuMode { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 39 | Mode2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 40 | Mode3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | Mode0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 42 | Mode1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `framebuffer` is never read [INFO] [stdout] --> crates/ohboy/src/emulator/ppu.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Ppu { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 60 | pub framebuffer: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> crates/ohboy/src/app.rs:64:30 [INFO] [stdout] | [INFO] [stdout] 64 | fn user_event(&mut self, event_loop: &ActiveEventLoop, event: AppEvent) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `EguiRenderer` is more private than the item `RenderContext::egui` [INFO] [stdout] --> crates/ohboy/src/app.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | pub egui: EguiRenderer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ field `RenderContext::egui` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `EguiRenderer` is only usable at visibility `pub(self)` [INFO] [stdout] --> crates/ohboy/src/app.rs:255:1 [INFO] [stdout] | [INFO] [stdout] 255 | struct EguiRenderer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dma` is never read [INFO] [stdout] --> crates/ohboy/src/emulator.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Emulator { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub dma: Dma, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Pause` and `Active` are never constructed [INFO] [stdout] --> crates/ohboy/src/emulator.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 74 | pub enum EmulatorCommand { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 75 | Resume, [INFO] [stdout] 76 | Pause, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 77 | LoadRom(Rom), [INFO] [stdout] 78 | Active(ActiveCommand), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EmulatorCommand` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ButtonDown` is never constructed [INFO] [stdout] --> crates/ohboy/src/emulator.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub enum ActiveCommand { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 83 | ButtonDown, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActiveCommand` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `F` is never constructed [INFO] [stdout] --> crates/ohboy/src/emulator/cpu/registers.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum ShortRegisterName { [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] 25 | A, [INFO] [stdout] 26 | F, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `ShortRegisterName` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PC` is never constructed [INFO] [stdout] --> crates/ohboy/src/emulator/cpu/registers.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub enum WordRegisterName { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 60 | PC, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `WordRegisterName` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Halt` is never constructed [INFO] [stdout] --> crates/ohboy/src/emulator/cpu/instructions.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 203 | full: Instruction, [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 209 | Halt, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `instructions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cycles_left` is never read [INFO] [stdout] --> crates/ohboy/src/emulator/dma.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Dma { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 4 | cycles_left: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `step` is never used [INFO] [stdout] --> crates/ohboy/src/emulator/dma.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Dma { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn step(memory: &mut Memory, steps: TimeCycle) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> crates/ohboy/src/emulator/rom.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct CartridgeType { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 50 | pub mbc_type: mbc::MbcType, [INFO] [stdout] 51 | pub ram: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 52 | pub battery: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 53 | pub timer: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 54 | pub rumble: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 55 | pub sensor: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 56 | pub pocket_camera: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 57 | pub bandai_tama5: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ReadWriteMemory` is never used [INFO] [stdout] --> crates/ohboy/src/emulator/memory.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait ReadWriteMemory: ReadMemory + WriteMemory {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MBC4`, `M161`, `HuC1`, and `HuC3` are never constructed [INFO] [stdout] --> crates/ohboy/src/emulator/mbc.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum MbcType { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | MBC4, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | M161, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | HuC1, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | HuC3, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MbcType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MBC_ROM_BANK_0_END` is never used [INFO] [stdout] --> crates/ohboy/src/emulator/mbc.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const MBC_ROM_BANK_0_END: u16 = 0x3FFF; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MBC_ROM_BANK_N_START` is never used [INFO] [stdout] --> crates/ohboy/src/emulator/mbc.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const MBC_ROM_BANK_N_START: u16 = 0x4000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_ppu_mode` is never used [INFO] [stdout] --> crates/ohboy/src/emulator/ppu.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl LcdStatusFlags { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 32 | fn set_ppu_mode(&mut self, mode: PpuMode) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Mode2`, `Mode3`, `Mode0`, and `Mode1` are never constructed [INFO] [stdout] --> crates/ohboy/src/emulator/ppu.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | enum PpuMode { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 39 | Mode2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 40 | Mode3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | Mode0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 42 | Mode1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `framebuffer` is never read [INFO] [stdout] --> crates/ohboy/src/emulator/ppu.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Ppu { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 60 | pub framebuffer: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "7e7e863a7970d75fa0c32a1484330e15d7e4a58e3a64d47f264b389b2349e469", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e7e863a7970d75fa0c32a1484330e15d7e4a58e3a64d47f264b389b2349e469", kill_on_drop: false }` [INFO] [stdout] 7e7e863a7970d75fa0c32a1484330e15d7e4a58e3a64d47f264b389b2349e469