[INFO] fetching crate ruboy_lib 0.1.7... [INFO] building ruboy_lib-0.1.7 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate ruboy_lib 0.1.7 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate ruboy_lib 0.1.7 [INFO] finished tweaking crates.io crate ruboy_lib 0.1.7 [INFO] tweaked toml for crates.io crate ruboy_lib 0.1.7 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ruboy_lib 0.1.7 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 21 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [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] Downloading crates ... [INFO] [stderr] Downloaded spin_sleep v1.3.3 [INFO] [stderr] Downloaded ruboy_proc_macro v0.1.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 6fee5e00b832fc3bac7f329b3cef14c079a26a08f7816e88869ae6c7be67b22f [INFO] running `Command { std: "docker" "start" "-a" "6fee5e00b832fc3bac7f329b3cef14c079a26a08f7816e88869ae6c7be67b22f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fee5e00b832fc3bac7f329b3cef14c079a26a08f7816e88869ae6c7be67b22f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fee5e00b832fc3bac7f329b3cef14c079a26a08f7816e88869ae6c7be67b22f", kill_on_drop: false }` [INFO] [stdout] 6fee5e00b832fc3bac7f329b3cef14c079a26a08f7816e88869ae6c7be67b22f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] c3dd84873d34635215beb741e93cbd15656cefebc27106b0775eb3f58591ee93 [INFO] running `Command { std: "docker" "start" "-a" "c3dd84873d34635215beb741e93cbd15656cefebc27106b0775eb3f58591ee93", kill_on_drop: false }` [INFO] [stderr] Compiling spin_sleep v1.3.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling ruboy_proc_macro v0.1.7 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ruboy_lib v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Instant; [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: `crate::ppu::palette::Palette` [INFO] [stdout] --> src/extern_traits.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::ppu::palette::Palette; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DMACommand` [INFO] [stdout] --> src/memcontroller/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use dma::{DMACommand, DMAController}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WriteErrType` [INFO] [stdout] --> src/memcontroller/dma.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{MemController, ReadError, WriteErrType}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GbMonoColor` [INFO] [stdout] --> src/ppu/mod.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | GbColorID, GbMonoColor, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Seek`, and `error::Error` [INFO] [stdout] --> src/rom/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | error::Error, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 3 | io::{Read, Seek}, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `io::Read` and `num::Wrapping` [INFO] [stdout] --> src/rom/meta.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Display, io::Read, num::Wrapping}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/cpu/nums.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/cpu/nums.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/ppu/fetcher.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 137 | let (x, y) = todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 138 | [INFO] [stdout] 139 | debug_assert!(x <= 31, "tile X wrong size: {}", x); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `debug_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tilemap_base` [INFO] [stdout] --> src/ppu/fetcher.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | let tilemap_base: u16 = if mem.io_registers.lcd_control.window_tilemap_area() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 131 | let _tilemap_base: u16 = if mem.io_registers.lcd_control.window_tilemap_area() { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `HRAM_SIZE` [INFO] [stdout] | [INFO] [stdout] 131 - let tilemap_base: u16 = if mem.io_registers.lcd_control.window_tilemap_area() { [INFO] [stdout] 131 + let memcontroller::HRAM_SIZE: u16 = if mem.io_registers.lcd_control.window_tilemap_area() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/ppu/fetcher.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | let (x, y) = todo!(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 137 | let (_x, y) = todo!(); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `NUM_OAM_OBJECTS` [INFO] [stdout] | [INFO] [stdout] 137 - let (x, y) = todo!(); [INFO] [stdout] 137 + let (ppu::NUM_OAM_OBJECTS, y) = todo!(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/ppu/fetcher.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | let (x, y) = todo!(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 137 | let (x, _y) = todo!(); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `NUM_OAM_OBJECTS` [INFO] [stdout] | [INFO] [stdout] 137 - let (x, y) = todo!(); [INFO] [stdout] 137 + let (x, ppu::NUM_OAM_OBJECTS) = todo!(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Frequency` is never used [INFO] [stdout] --> src/lib.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 45 | enum Frequency { [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 items `new`, `val_raw`, `val_unit`, and `upcast` are never used [INFO] [stdout] --> src/lib.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl Frequency { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 53 | pub fn new(val: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn val_raw(self) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn val_unit(self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn upcast(self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_NAME` is never used [INFO] [stdout] --> src/boot.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub const IMAGE_NAME: &str = "DMG"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `do_push8` and `do_pop8` are never used [INFO] [stdout] --> src/cpu/mod.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl Cpu { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | fn do_push8( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | fn do_pop8( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_msb` is never used [INFO] [stdout] --> src/cpu/nums.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait GbBits { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | fn set_msb(self, val: bool) -> Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `win_x_reached` is never read [INFO] [stdout] --> src/ppu/fetcher.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct PixelFetcher { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | win_x_reached: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PixelFetcher` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_obj_fifo` is never used [INFO] [stdout] --> src/ppu/fetcher.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl PixelFetcher { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 304 | pub fn get_obj_fifo(&self) -> &InlineQueue { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `empty` is never used [INFO] [stdout] --> src/ppu/inlinequeue.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 34 | impl InlineQueue { [INFO] [stdout] | ----------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub const fn empty(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `X_SIZE` is never used [INFO] [stdout] --> src/ppu/tile.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 7 | impl Tile { [INFO] [stdout] | --------- associated constant in this implementation [INFO] [stdout] 8 | pub const X_SIZE: usize = 8; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TILEMAP_Y_SIZE` is never used [INFO] [stdout] --> src/ppu/tilemap.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const TILEMAP_Y_SIZE: usize = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TileMap` is never constructed [INFO] [stdout] --> src/ppu/tilemap.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TileMap([u8; TILEMAP_X_SIZE * TILEMAP_Y_SIZE]); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Phantom` is never constructed [INFO] [stdout] --> src/rom/controller/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum RomController { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 23 | Phantom(PhantomData), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RomController` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ReadOnly` is never constructed [INFO] [stdout] --> src/rom/controller/mod.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub enum WriteError { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 88 | ReadOnly(u16), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WriteError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `raw` is never read [INFO] [stdout] --> src/rom/meta.rs:355:5 [INFO] [stdout] | [INFO] [stdout] 354 | pub struct CartridgeHardware { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 355 | raw: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CartridgeHardware` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.38s [INFO] running `Command { std: "docker" "inspect" "c3dd84873d34635215beb741e93cbd15656cefebc27106b0775eb3f58591ee93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3dd84873d34635215beb741e93cbd15656cefebc27106b0775eb3f58591ee93", kill_on_drop: false }` [INFO] [stdout] c3dd84873d34635215beb741e93cbd15656cefebc27106b0775eb3f58591ee93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 8fb47eda255157a0c0fe41b758b48a06d7d7f66ebbd87f41811bc9f6b22b0068 [INFO] running `Command { std: "docker" "start" "-a" "8fb47eda255157a0c0fe41b758b48a06d7d7f66ebbd87f41811bc9f6b22b0068", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Instant; [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: `crate::ppu::palette::Palette` [INFO] [stdout] --> src/extern_traits.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::ppu::palette::Palette; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DMACommand` [INFO] [stdout] --> src/memcontroller/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use dma::{DMACommand, DMAController}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WriteErrType` [INFO] [stdout] --> src/memcontroller/dma.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{MemController, ReadError, WriteErrType}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GbMonoColor` [INFO] [stdout] --> src/ppu/mod.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | GbColorID, GbMonoColor, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Seek`, and `error::Error` [INFO] [stdout] --> src/rom/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | error::Error, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 3 | io::{Read, Seek}, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `io::Read` and `num::Wrapping` [INFO] [stdout] --> src/rom/meta.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Display, io::Read, num::Wrapping}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/cpu/nums.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/cpu/nums.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/ppu/fetcher.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 137 | let (x, y) = todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 138 | [INFO] [stdout] 139 | debug_assert!(x <= 31, "tile X wrong size: {}", x); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `debug_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tilemap_base` [INFO] [stdout] --> src/ppu/fetcher.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | let tilemap_base: u16 = if mem.io_registers.lcd_control.window_tilemap_area() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 131 | let _tilemap_base: u16 = if mem.io_registers.lcd_control.window_tilemap_area() { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `HRAM_SIZE` [INFO] [stdout] | [INFO] [stdout] 131 - let tilemap_base: u16 = if mem.io_registers.lcd_control.window_tilemap_area() { [INFO] [stdout] 131 + let memcontroller::HRAM_SIZE: u16 = if mem.io_registers.lcd_control.window_tilemap_area() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/ppu/fetcher.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | let (x, y) = todo!(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 137 | let (_x, y) = todo!(); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `NUM_OAM_OBJECTS` [INFO] [stdout] | [INFO] [stdout] 137 - let (x, y) = todo!(); [INFO] [stdout] 137 + let (ppu::NUM_OAM_OBJECTS, y) = todo!(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/ppu/fetcher.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | let (x, y) = todo!(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 137 | let (x, _y) = todo!(); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `NUM_OAM_OBJECTS` [INFO] [stdout] | [INFO] [stdout] 137 - let (x, y) = todo!(); [INFO] [stdout] 137 + let (x, ppu::NUM_OAM_OBJECTS) = todo!(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Frequency` is never used [INFO] [stdout] --> src/lib.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 45 | enum Frequency { [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 items `new`, `val_raw`, `val_unit`, and `upcast` are never used [INFO] [stdout] --> src/lib.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl Frequency { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 53 | pub fn new(val: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn val_raw(self) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn val_unit(self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn upcast(self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_NAME` is never used [INFO] [stdout] --> src/boot.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub const IMAGE_NAME: &str = "DMG"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `do_push8` and `do_pop8` are never used [INFO] [stdout] --> src/cpu/mod.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl Cpu { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | fn do_push8( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | fn do_pop8( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_msb` is never used [INFO] [stdout] --> src/cpu/nums.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait GbBits { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | fn set_msb(self, val: bool) -> Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `win_x_reached` is never read [INFO] [stdout] --> src/ppu/fetcher.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct PixelFetcher { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | win_x_reached: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PixelFetcher` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_obj_fifo` is never used [INFO] [stdout] --> src/ppu/fetcher.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl PixelFetcher { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 304 | pub fn get_obj_fifo(&self) -> &InlineQueue { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `empty` is never used [INFO] [stdout] --> src/ppu/inlinequeue.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 34 | impl InlineQueue { [INFO] [stdout] | ----------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub const fn empty(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `X_SIZE` is never used [INFO] [stdout] --> src/ppu/tile.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 7 | impl Tile { [INFO] [stdout] | --------- associated constant in this implementation [INFO] [stdout] 8 | pub const X_SIZE: usize = 8; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ruboy_lib v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `TILEMAP_Y_SIZE` is never used [INFO] [stdout] --> src/ppu/tilemap.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const TILEMAP_Y_SIZE: usize = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TileMap` is never constructed [INFO] [stdout] --> src/ppu/tilemap.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TileMap([u8; TILEMAP_X_SIZE * TILEMAP_Y_SIZE]); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Phantom` is never constructed [INFO] [stdout] --> src/rom/controller/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum RomController { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 23 | Phantom(PhantomData), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RomController` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ReadOnly` is never constructed [INFO] [stdout] --> src/rom/controller/mod.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub enum WriteError { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 88 | ReadOnly(u16), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WriteError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `raw` is never read [INFO] [stdout] --> src/rom/meta.rs:355:5 [INFO] [stdout] | [INFO] [stdout] 354 | pub struct CartridgeHardware { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 355 | raw: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CartridgeHardware` 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: unused import: `std::time::Instant` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Instant; [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: `crate::ppu::palette::Palette` [INFO] [stdout] --> src/extern_traits.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::ppu::palette::Palette; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DMACommand` [INFO] [stdout] --> src/memcontroller/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use dma::{DMACommand, DMAController}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WriteErrType` [INFO] [stdout] --> src/memcontroller/dma.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{MemController, ReadError, WriteErrType}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GbMonoColor` [INFO] [stdout] --> src/ppu/mod.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | GbColorID, GbMonoColor, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Seek`, and `error::Error` [INFO] [stdout] --> src/rom/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | error::Error, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 3 | io::{Read, Seek}, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `io::Read` and `num::Wrapping` [INFO] [stdout] --> src/rom/meta.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Display, io::Read, num::Wrapping}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/cpu/nums.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/cpu/nums.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/ppu/fetcher.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 137 | let (x, y) = todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 138 | [INFO] [stdout] 139 | debug_assert!(x <= 31, "tile X wrong size: {}", x); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `debug_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tilemap_base` [INFO] [stdout] --> src/ppu/fetcher.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | let tilemap_base: u16 = if mem.io_registers.lcd_control.window_tilemap_area() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 131 | let _tilemap_base: u16 = if mem.io_registers.lcd_control.window_tilemap_area() { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `HRAM_SIZE` [INFO] [stdout] | [INFO] [stdout] 131 - let tilemap_base: u16 = if mem.io_registers.lcd_control.window_tilemap_area() { [INFO] [stdout] 131 + let memcontroller::HRAM_SIZE: u16 = if mem.io_registers.lcd_control.window_tilemap_area() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/ppu/fetcher.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | let (x, y) = todo!(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 137 | let (_x, y) = todo!(); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `NUM_OAM_OBJECTS` [INFO] [stdout] | [INFO] [stdout] 137 - let (x, y) = todo!(); [INFO] [stdout] 137 + let (ppu::NUM_OAM_OBJECTS, y) = todo!(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/ppu/fetcher.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | let (x, y) = todo!(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 137 | let (x, _y) = todo!(); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `NUM_OAM_OBJECTS` [INFO] [stdout] | [INFO] [stdout] 137 - let (x, y) = todo!(); [INFO] [stdout] 137 + let (x, ppu::NUM_OAM_OBJECTS) = todo!(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Frequency` is never used [INFO] [stdout] --> src/lib.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 45 | enum Frequency { [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 items `new`, `val_raw`, `val_unit`, and `upcast` are never used [INFO] [stdout] --> src/lib.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl Frequency { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 53 | pub fn new(val: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn val_raw(self) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn val_unit(self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn upcast(self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_NAME` is never used [INFO] [stdout] --> src/boot.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub const IMAGE_NAME: &str = "DMG"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `do_push8` and `do_pop8` are never used [INFO] [stdout] --> src/cpu/mod.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl Cpu { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | fn do_push8( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | fn do_pop8( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_msb` is never used [INFO] [stdout] --> src/cpu/nums.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait GbBits { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | fn set_msb(self, val: bool) -> Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `win_x_reached` is never read [INFO] [stdout] --> src/ppu/fetcher.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct PixelFetcher { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | win_x_reached: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PixelFetcher` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_obj_fifo` is never used [INFO] [stdout] --> src/ppu/fetcher.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl PixelFetcher { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 304 | pub fn get_obj_fifo(&self) -> &InlineQueue { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `X_SIZE` is never used [INFO] [stdout] --> src/ppu/tile.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 7 | impl Tile { [INFO] [stdout] | --------- associated constant in this implementation [INFO] [stdout] 8 | pub const X_SIZE: usize = 8; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Phantom` is never constructed [INFO] [stdout] --> src/rom/controller/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum RomController { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 23 | Phantom(PhantomData), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RomController` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ReadOnly` is never constructed [INFO] [stdout] --> src/rom/controller/mod.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub enum WriteError { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 88 | ReadOnly(u16), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WriteError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `raw` is never read [INFO] [stdout] --> src/rom/meta.rs:355:5 [INFO] [stdout] | [INFO] [stdout] 354 | pub struct CartridgeHardware { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 355 | raw: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CartridgeHardware` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.18s [INFO] running `Command { std: "docker" "inspect" "8fb47eda255157a0c0fe41b758b48a06d7d7f66ebbd87f41811bc9f6b22b0068", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fb47eda255157a0c0fe41b758b48a06d7d7f66ebbd87f41811bc9f6b22b0068", kill_on_drop: false }` [INFO] [stdout] 8fb47eda255157a0c0fe41b758b48a06d7d7f66ebbd87f41811bc9f6b22b0068