[INFO] cloning repository https://github.com/realmayus/rustgb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/realmayus/rustgb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frealmayus%2Frustgb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frealmayus%2Frustgb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f6e1d7f22caf0a09807815c0ac8b1789b8858b4f [INFO] building realmayus/rustgb against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frealmayus%2Frustgb" "/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/realmayus/rustgb [INFO] finished tweaking git repo https://github.com/realmayus/rustgb [INFO] tweaked toml for git repo https://github.com/realmayus/rustgb written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/realmayus/rustgb on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/realmayus/rustgb 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded puffin_http v0.16.1 [INFO] [stderr] Downloaded epaint v0.29.1 [INFO] [stderr] Downloaded egui_extras v0.29.1 [INFO] [stderr] Downloaded accesskit_macos v0.17.1 [INFO] [stderr] Downloaded ecolor v0.29.1 [INFO] [stderr] Downloaded accesskit_consumer v0.24.1 [INFO] [stderr] Downloaded wgpu-types v22.0.0 [INFO] [stderr] Downloaded bit-vec v0.7.0 [INFO] [stderr] Downloaded accesskit_winit v0.22.1 [INFO] [stderr] Downloaded gpu-allocator v0.26.0 [INFO] [stderr] Downloaded enumflags2_derive v0.7.10 [INFO] [stderr] Downloaded wayland-protocols-wlr v0.3.4 [INFO] [stderr] Downloaded wgpu v22.1.0 [INFO] [stderr] Downloaded accesskit_windows v0.23.0 [INFO] [stderr] Downloaded egui v0.29.1 [INFO] [stderr] Downloaded egui_glow v0.29.1 [INFO] [stderr] Downloaded wayland-sys v0.31.5 [INFO] [stderr] Downloaded naga v22.1.0 [INFO] [stderr] Downloaded cc v1.1.24 [INFO] [stderr] Downloaded epaint_default_fonts v0.29.1 [INFO] [stderr] Downloaded ttf-parser v0.24.1 [INFO] [stderr] Downloaded wayland-backend v0.3.7 [INFO] [stderr] Downloaded wgpu-hal v22.0.0 [INFO] [stderr] Downloaded egui-wgpu v0.29.1 [INFO] [stderr] Downloaded accesskit_atspi_common v0.9.1 [INFO] [stderr] Downloaded serde_repr v0.1.19 [INFO] [stderr] Downloaded webbrowser v1.0.2 [INFO] [stderr] Downloaded eframe v0.29.1 [INFO] [stderr] Downloaded egui-winit v0.29.1 [INFO] [stderr] Downloaded glutin_egl_sys v0.7.0 [INFO] [stderr] Downloaded wayland-scanner v0.31.5 [INFO] [stderr] Downloaded wgpu-core v22.1.0 [INFO] [stderr] Downloaded winit v0.30.5 [INFO] [stderr] Downloaded bytemuck_derive v1.7.1 [INFO] [stderr] Downloaded bit-set v0.6.0 [INFO] [stderr] Downloaded enumflags2 v0.7.10 [INFO] [stderr] Downloaded accesskit_unix v0.12.1 [INFO] [stderr] Downloaded glutin v0.32.1 [INFO] [stderr] Downloaded wayland-cursor v0.31.6 [INFO] [stderr] Downloaded glutin_glx_sys v0.6.0 [INFO] [stderr] Downloaded wayland-client v0.31.6 [INFO] [stderr] Downloaded wayland-protocols-plasma v0.3.4 [INFO] [stderr] Downloaded bytemuck v1.18.0 [INFO] [stderr] Downloaded arboard v3.4.1 [INFO] [stderr] Downloaded glutin_wgl_sys v0.6.0 [INFO] [stderr] Downloaded accesskit v0.16.1 [INFO] [stderr] Downloaded mime_guess2 v2.0.5 [INFO] [stderr] Downloaded emath v0.29.1 [INFO] [stderr] Downloaded puffin v0.19.1 [INFO] [stderr] Downloaded glow v0.14.1 [INFO] [stderr] Downloaded metal v0.29.0 [INFO] [stderr] Downloaded wayland-protocols v0.32.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1cbb83a53fcd669f46554bfe2e33ef1ba3a4881fb57b647346b358f5aa71ef11 [INFO] running `Command { std: "docker" "start" "-a" "1cbb83a53fcd669f46554bfe2e33ef1ba3a4881fb57b647346b358f5aa71ef11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cbb83a53fcd669f46554bfe2e33ef1ba3a4881fb57b647346b358f5aa71ef11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cbb83a53fcd669f46554bfe2e33ef1ba3a4881fb57b647346b358f5aa71ef11", kill_on_drop: false }` [INFO] [stdout] 1cbb83a53fcd669f46554bfe2e33ef1ba3a4881fb57b647346b358f5aa71ef11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0273a0f6f6299e3c94817e8575bb73afaebe8c57302688988ba772fa072a66a0 [INFO] running `Command { std: "docker" "start" "-a" "0273a0f6f6299e3c94817e8575bb73afaebe8c57302688988ba772fa072a66a0", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling once_cell v1.20.1 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling cc v1.1.24 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Compiling wayland-client v0.31.6 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling ttf-parser v0.24.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling wayland-sys v0.31.5 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling async-broadcast v0.5.1 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling xml-rs v0.8.22 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling wayland-scanner v0.31.5 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling accesskit v0.16.1 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling immutable-chunkmap v2.0.5 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling wayland-backend v0.3.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling xdg-home v1.3.0 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling owned_ttf_parser v0.24.0 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling ab_glyph v0.2.28 [INFO] [stderr] Compiling winit v0.30.5 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling epaint_default_fonts v0.29.1 [INFO] [stderr] Compiling glutin_egl_sys v0.7.0 [INFO] [stderr] Compiling glutin_glx_sys v0.6.0 [INFO] [stderr] Compiling accesskit_consumer v0.24.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling dpi v0.1.1 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling glutin v0.32.1 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling mime_guess2 v2.0.5 [INFO] [stderr] Compiling fdeflate v0.3.5 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling png v0.17.14 [INFO] [stderr] Compiling glow v0.14.1 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling webbrowser v1.0.2 [INFO] [stderr] Compiling lz4_flex v0.11.3 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Compiling zvariant_derive v3.15.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling zbus_macros v3.15.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling bytemuck_derive v1.7.1 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Compiling bytemuck v1.18.0 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling emath v0.29.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling image v0.25.2 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling polling v3.7.3 [INFO] [stderr] Compiling ecolor v0.29.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling epaint v0.29.1 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling arboard v3.4.1 [INFO] [stderr] Compiling wayland-protocols v0.32.4 [INFO] [stderr] Compiling wayland-cursor v0.31.6 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling egui v0.29.1 [INFO] [stderr] Compiling enumflags2 v0.7.10 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling enum-map v2.7.3 [INFO] [stderr] Compiling zvariant v3.15.2 [INFO] [stderr] Compiling puffin v0.19.1 [INFO] [stderr] Compiling puffin_http v0.16.1 [INFO] [stderr] Compiling zbus_names v2.6.1 [INFO] [stderr] Compiling egui_glow v0.29.1 [INFO] [stderr] Compiling egui_extras v0.29.1 [INFO] [stderr] Compiling zbus v3.15.2 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.4 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling smithay-clipboard v0.7.2 [INFO] [stderr] Compiling atspi-common v0.3.0 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling atspi-proxies v0.3.0 [INFO] [stderr] Compiling accesskit_atspi_common v0.9.1 [INFO] [stderr] Compiling atspi-connection v0.3.0 [INFO] [stderr] Compiling atspi v0.19.0 [INFO] [stderr] Compiling accesskit_unix v0.12.1 [INFO] [stderr] Compiling accesskit_winit v0.22.1 [INFO] [stderr] Compiling egui-winit v0.29.1 [INFO] [stderr] Compiling eframe v0.29.1 [INFO] [stderr] Compiling rustgb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Mbc` [INFO] [stdout] --> src/cpu.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::memory::{Interrupt, Mbc, Memory, RegisterPairValue}; [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: `Mbc` [INFO] [stdout] --> src/ppu.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::memory::{Interrupt, Mbc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom` [INFO] [stdout] --> src/memory.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | fn new(rom: Vec) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rom` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/memory.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | fn read_rom(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/memory.rs:160:31 [INFO] [stdout] | [INFO] [stdout] 160 | fn control_msg(&mut self, msg: ControlMsg) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `palette` [INFO] [stdout] --> src/ppu.rs:569:17 [INFO] [stdout] | [INFO] [stdout] 569 | let palette = flags & 0b00010000 != 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_palette` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `priority` [INFO] [stdout] --> src/ppu.rs:572:17 [INFO] [stdout] | [INFO] [stdout] 572 | let priority = flags & 0b10000000 == 0; // 1 is above background [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priority` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/ppu.rs:558:21 [INFO] [stdout] | [INFO] [stdout] 558 | let x = obj[1] as i32 - 8; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Apu` is never constructed [INFO] [stdout] --> src/apu.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Apu {} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/apu.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 4 | impl Apu { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 5 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rom` and `num_rambanks` are never read [INFO] [stdout] --> src/memory.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct Mbc1 { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 86 | rom: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | num_rambanks: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` is never used [INFO] [stdout] --> src/ppu.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl PpuMode { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 49 | fn next(&self) -> PpuMode { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCREEN_HEIGHT` is never used [INFO] [stdout] --> src/ppu.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | const SCREEN_HEIGHT: usize = 144; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `debug` is never used [INFO] [stdout] --> src/ppu.rs:601:19 [INFO] [stdout] | [INFO] [stdout] 165 | impl Ppu { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 601 | pub(crate) fn debug(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `recv_from_cpu` is never read [INFO] [stdout] --> src/ui.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 45 | frame_history: FrameHistory, [INFO] [stdout] 46 | recv_from_cpu: Receiver, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `TextureOptions` [INFO] [stdout] --> src/main.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use eframe::egui::{Color32, Context, TextureOptions}; [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: `eframe::epaint::TextureHandle` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use eframe::epaint::TextureHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Frame` [INFO] [stdout] --> src/main.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use eframe::{egui, Frame}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustgb::joypad::JoypadKey` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rustgb::joypad::JoypadKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FrameHistory` [INFO] [stdout] --> src/main.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | use rustgb::ui::{App, FrameHistory}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver` and `Sender` [INFO] [stdout] --> src/main.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::mpsc::{Receiver, Sender}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send_from_cpu` [INFO] [stdout] --> src/main.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | let (send_from_cpu, recv_from_cpu) = mpsc::channel::(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send_from_cpu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 50s [INFO] running `Command { std: "docker" "inspect" "0273a0f6f6299e3c94817e8575bb73afaebe8c57302688988ba772fa072a66a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0273a0f6f6299e3c94817e8575bb73afaebe8c57302688988ba772fa072a66a0", kill_on_drop: false }` [INFO] [stdout] 0273a0f6f6299e3c94817e8575bb73afaebe8c57302688988ba772fa072a66a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88ace08b0f1334e056081cfbaa2915f524484dfc0ad7d49bad84be8d95939763 [INFO] running `Command { std: "docker" "start" "-a" "88ace08b0f1334e056081cfbaa2915f524484dfc0ad7d49bad84be8d95939763", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stdout] warning: unused import: `Mbc` [INFO] [stdout] --> src/cpu.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::memory::{Interrupt, Mbc, Memory, RegisterPairValue}; [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: `Mbc` [INFO] [stdout] --> src/ppu.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::memory::{Interrupt, Mbc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom` [INFO] [stdout] --> src/memory.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | fn new(rom: Vec) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rom` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/memory.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | fn read_rom(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/memory.rs:160:31 [INFO] [stdout] | [INFO] [stdout] 160 | fn control_msg(&mut self, msg: ControlMsg) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `palette` [INFO] [stdout] --> src/ppu.rs:569:17 [INFO] [stdout] | [INFO] [stdout] 569 | let palette = flags & 0b00010000 != 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_palette` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `priority` [INFO] [stdout] --> src/ppu.rs:572:17 [INFO] [stdout] | [INFO] [stdout] 572 | let priority = flags & 0b10000000 == 0; // 1 is above background [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priority` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/ppu.rs:558:21 [INFO] [stdout] | [INFO] [stdout] 558 | let x = obj[1] as i32 - 8; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Apu` is never constructed [INFO] [stdout] --> src/apu.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Apu {} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/apu.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 4 | impl Apu { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 5 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rom` and `num_rambanks` are never read [INFO] [stdout] --> src/memory.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct Mbc1 { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 86 | rom: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | num_rambanks: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` is never used [INFO] [stdout] --> src/ppu.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl PpuMode { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 49 | fn next(&self) -> PpuMode { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCREEN_HEIGHT` is never used [INFO] [stdout] --> src/ppu.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | const SCREEN_HEIGHT: usize = 144; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `debug` is never used [INFO] [stdout] --> src/ppu.rs:601:19 [INFO] [stdout] | [INFO] [stdout] 165 | impl Ppu { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 601 | pub(crate) fn debug(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `recv_from_cpu` is never read [INFO] [stdout] --> src/ui.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 45 | frame_history: FrameHistory, [INFO] [stdout] 46 | recv_from_cpu: Receiver, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `TextureOptions` [INFO] [stdout] --> src/main.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use eframe::egui::{Color32, Context, TextureOptions}; [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: `eframe::epaint::TextureHandle` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use eframe::epaint::TextureHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Frame` [INFO] [stdout] --> src/main.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use eframe::{egui, Frame}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustgb::joypad::JoypadKey` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rustgb::joypad::JoypadKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FrameHistory` [INFO] [stdout] --> src/main.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | use rustgb::ui::{App, FrameHistory}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver` and `Sender` [INFO] [stdout] --> src/main.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::mpsc::{Receiver, Sender}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send_from_cpu` [INFO] [stdout] --> src/main.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | let (send_from_cpu, recv_from_cpu) = mpsc::channel::(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send_from_cpu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustgb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Context` and `TextureOptions` [INFO] [stdout] --> src/main.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use eframe::egui::{Color32, Context, TextureOptions}; [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: `eframe::epaint::TextureHandle` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use eframe::epaint::TextureHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Frame` [INFO] [stdout] --> src/main.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use eframe::{egui, Frame}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustgb::joypad::JoypadKey` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rustgb::joypad::JoypadKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FrameHistory` [INFO] [stdout] --> src/main.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | use rustgb::ui::{App, FrameHistory}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver` and `Sender` [INFO] [stdout] --> src/main.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::mpsc::{Receiver, Sender}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send_from_cpu` [INFO] [stdout] --> src/main.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | let (send_from_cpu, recv_from_cpu) = mpsc::channel::(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send_from_cpu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mbc` [INFO] [stdout] --> tests/cpu_batch.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use rustgb::memory::{LinearMemory, Mbc, Memory, RegisterPairValue}; [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 variable: `recv0` [INFO] [stdout] --> tests/cpu_batch.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | let (recv0, send0) = mpsc::channel(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_recv0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycle` [INFO] [stdout] --> tests/cpu_batch.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | for cycle in cycles { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cycle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mbc` [INFO] [stdout] --> src/cpu.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::memory::{Interrupt, Mbc, Memory, RegisterPairValue}; [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: `Mbc` [INFO] [stdout] --> src/ppu.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::memory::{Interrupt, Mbc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom` [INFO] [stdout] --> src/memory.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | fn new(rom: Vec) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rom` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/memory.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | fn read_rom(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/memory.rs:160:31 [INFO] [stdout] | [INFO] [stdout] 160 | fn control_msg(&mut self, msg: ControlMsg) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `palette` [INFO] [stdout] --> src/ppu.rs:569:17 [INFO] [stdout] | [INFO] [stdout] 569 | let palette = flags & 0b00010000 != 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_palette` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `priority` [INFO] [stdout] --> src/ppu.rs:572:17 [INFO] [stdout] | [INFO] [stdout] 572 | let priority = flags & 0b10000000 == 0; // 1 is above background [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priority` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/ppu.rs:558:21 [INFO] [stdout] | [INFO] [stdout] 558 | let x = obj[1] as i32 - 8; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Apu` is never constructed [INFO] [stdout] --> src/apu.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Apu {} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/apu.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 4 | impl Apu { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 5 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rom` and `num_rambanks` are never read [INFO] [stdout] --> src/memory.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct Mbc1 { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 86 | rom: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | num_rambanks: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` is never used [INFO] [stdout] --> src/ppu.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl PpuMode { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 49 | fn next(&self) -> PpuMode { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCREEN_HEIGHT` is never used [INFO] [stdout] --> src/ppu.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | const SCREEN_HEIGHT: usize = 144; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `debug` is never used [INFO] [stdout] --> src/ppu.rs:601:19 [INFO] [stdout] | [INFO] [stdout] 165 | impl Ppu { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 601 | pub(crate) fn debug(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `recv_from_cpu` is never read [INFO] [stdout] --> src/ui.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 45 | frame_history: FrameHistory, [INFO] [stdout] 46 | recv_from_cpu: Receiver, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.12s [INFO] running `Command { std: "docker" "inspect" "88ace08b0f1334e056081cfbaa2915f524484dfc0ad7d49bad84be8d95939763", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88ace08b0f1334e056081cfbaa2915f524484dfc0ad7d49bad84be8d95939763", kill_on_drop: false }` [INFO] [stdout] 88ace08b0f1334e056081cfbaa2915f524484dfc0ad7d49bad84be8d95939763