[INFO] cloning repository https://github.com/ErikBZ/crusty-gba [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ErikBZ/crusty-gba" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErikBZ%2Fcrusty-gba", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErikBZ%2Fcrusty-gba'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b1044c3c629bea03e62309a24cc1c0715128b95b [INFO] checking ErikBZ/crusty-gba against master#65407954098ca3c19f0d46092cb374b5d3e9dc3c for pr-157841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErikBZ%2Fcrusty-gba" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ErikBZ/crusty-gba [INFO] finished tweaking git repo https://github.com/ErikBZ/crusty-gba [INFO] tweaked toml for git repo https://github.com/ErikBZ/crusty-gba written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ErikBZ/crusty-gba 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/ErikBZ/crusty-gba 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded winit_input_helper v0.15.3 [INFO] [stderr] Downloaded randomize v3.0.1 [INFO] [stderr] Downloaded pixels v0.16.0 [INFO] [stderr] Downloaded ultraviolet v0.10.0 [INFO] [stderr] Downloaded game-loop v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 79500c09a4b56566b07264df11af02f2635d132e84f74aeb7822b271d52f81c4 [INFO] running `Command { std: "docker" "start" "79500c09a4b56566b07264df11af02f2635d132e84f74aeb7822b271d52f81c4", 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" "79500c09a4b56566b07264df11af02f2635d132e84f74aeb7822b271d52f81c4" "/opt/rustwide/cargo-home/bin/cargo" "+65407954098ca3c19f0d46092cb374b5d3e9dc3c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79500c09a4b56566b07264df11af02f2635d132e84f74aeb7822b271d52f81c4", 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" "79500c09a4b56566b07264df11af02f2635d132e84f74aeb7822b271d52f81c4" "/opt/rustwide/cargo-home/bin/cargo" "+65407954098ca3c19f0d46092cb374b5d3e9dc3c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling wayland-sys v0.31.11 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling wayland-backend v0.3.15 [INFO] [stderr] Compiling quick-xml v0.39.4 [INFO] [stderr] Compiling wayland-client v0.31.14 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Checking indexmap v2.14.0 [INFO] [stderr] Checking codespan-reporting v0.12.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking ordered-float v5.3.0 [INFO] [stderr] Checking gpu-descriptor v0.3.2 [INFO] [stderr] Compiling wayland-scanner v0.31.10 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Checking memmap2 v0.9.10 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking profiling v1.0.18 [INFO] [stderr] Checking glow v0.16.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling wgpu-core v27.0.3 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Checking owned_ttf_parser v0.25.1 [INFO] [stderr] Checking ab_glyph v0.2.32 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling wgpu v27.0.1 [INFO] [stderr] Compiling instability v0.3.12 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Checking unicode-segmentation v1.13.2 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking pollster v0.4.0 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking randomize v3.0.1 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.48 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking wayland-cursor v0.31.14 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling clap_derive v4.6.1 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking zerocopy v0.8.48 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking wgpu-types v27.0.1 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Checking clap v4.6.1 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking ratatui v0.29.0 [INFO] [stderr] Checking ultraviolet v0.10.0 [INFO] [stderr] Checking tokio v1.52.3 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking sctk-adwaita v0.8.3 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking naga v27.0.3 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking winit_input_helper v0.15.3 [INFO] [stderr] Checking game-loop v1.1.0 [INFO] [stderr] Checking wgpu-hal v27.0.4 [INFO] [stderr] Checking wgpu-core-deps-windows-linux-android v27.0.0 [INFO] [stderr] Checking pixels v0.16.0 [INFO] [stderr] Checking crusty-gba v0.1.0 (/opt/rustwide/workdir/crusty-gba) [INFO] [stdout] warning: unused import: `WORD` [INFO] [stdout] --> crusty-gba/src/gba/arm.rs:10:62 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::utils::{ArmCalculations, BYTE, Bitable, HALFWORD, WORD}; [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: `info` [INFO] [stdout] --> crusty-gba/src/gba/cpu.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::{debug, error, trace, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> crusty-gba/src/gba/system.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing::{info, trace}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CPSR_T`, `get_abs_int_value`, and `is_signed` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:6:47 [INFO] [stdout] | [INFO] [stdout] 6 | add_nums, bit_map_to_array, count_cycles, get_abs_int_value, get_v_from_add, get_v_from_sub, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | is_signed, subtract_nums, Conditional, Operation, CPSR_C, CPSR_T, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemMemory` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::{Cpu, SystemMemory}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | use tracing::{warn, trace, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemMemory` [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | use crate::{SystemMemory, memory::Memory}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DefaultTerminal` and `terminal` [INFO] [stdout] --> crusty-gba/src/renderer/ratatui.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | terminal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | DefaultTerminal, Frame, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::trace` [INFO] [stdout] --> crusty-gba/src/utils/math.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tracing::trace; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> crusty-gba/src/memory/mod.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Display, Formatter, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_add` [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:143:11 [INFO] [stdout] | [INFO] [stdout] 143 | (res, get_v_from_add(lhs, rhs, res)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_sub` [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:151:11 [INFO] [stdout] | [INFO] [stdout] 151 | (res, get_v_from_sub(lhs, o2 as u64, res)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::add_nums` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | add_nums, bit_map_to_array, count_cycles, get_abs_int_value, get_v_from_add, get_v_from_sub, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_add` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:6:66 [INFO] [stdout] | [INFO] [stdout] 6 | add_nums, bit_map_to_array, count_cycles, get_abs_int_value, get_v_from_add, get_v_from_sub, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_sub` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:6:82 [INFO] [stdout] | [INFO] [stdout] 6 | add_nums, bit_map_to_array, count_cycles, get_abs_int_value, get_v_from_add, get_v_from_sub, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::add_nums` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | add_nums(cpu.get_register(self.rs), offset, false) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_add` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:278:28 [INFO] [stdout] | [INFO] [stdout] 278 | v_status = get_v_from_add(rd, offset, res); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_add` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:421:28 [INFO] [stdout] | [INFO] [stdout] 421 | v_status = get_v_from_add(rd_value, rs_value, res); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_sub` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:427:28 [INFO] [stdout] | [INFO] [stdout] 427 | v_status = get_v_from_sub(rd_value, rs_value, res); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_sub` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:449:28 [INFO] [stdout] | [INFO] [stdout] 449 | v_status = get_v_from_sub(rd_value, rs_value, res); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_add` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:454:28 [INFO] [stdout] | [INFO] [stdout] 454 | v_status = get_v_from_add(rd_value, rs_value, res); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WORD` [INFO] [stdout] --> crusty-gba/src/gba/arm.rs:10:62 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::utils::{ArmCalculations, BYTE, Bitable, HALFWORD, WORD}; [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: `info` [INFO] [stdout] --> crusty-gba/src/gba/cpu.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::{debug, error, trace, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> crusty-gba/src/gba/system.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing::{info, trace}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CPSR_T`, `get_abs_int_value`, and `is_signed` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:6:47 [INFO] [stdout] | [INFO] [stdout] 6 | add_nums, bit_map_to_array, count_cycles, get_abs_int_value, get_v_from_add, get_v_from_sub, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | is_signed, subtract_nums, Conditional, Operation, CPSR_C, CPSR_T, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemMemory` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::{Cpu, SystemMemory}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | use tracing::{warn, trace, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemMemory` [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | use crate::{SystemMemory, memory::Memory}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DefaultTerminal` and `terminal` [INFO] [stdout] --> crusty-gba/src/renderer/ratatui.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | terminal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | DefaultTerminal, Frame, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::trace` [INFO] [stdout] --> crusty-gba/src/utils/math.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tracing::trace; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> crusty-gba/src/memory/mod.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Display, Formatter, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_add` [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:143:11 [INFO] [stdout] | [INFO] [stdout] 143 | (res, get_v_from_add(lhs, rhs, res)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_sub` [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:151:11 [INFO] [stdout] | [INFO] [stdout] 151 | (res, get_v_from_sub(lhs, o2 as u64, res)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::add_nums` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | add_nums, bit_map_to_array, count_cycles, get_abs_int_value, get_v_from_add, get_v_from_sub, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_add` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:6:66 [INFO] [stdout] | [INFO] [stdout] 6 | add_nums, bit_map_to_array, count_cycles, get_abs_int_value, get_v_from_add, get_v_from_sub, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_sub` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:6:82 [INFO] [stdout] | [INFO] [stdout] 6 | add_nums, bit_map_to_array, count_cycles, get_abs_int_value, get_v_from_add, get_v_from_sub, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::add_nums` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | add_nums(cpu.get_register(self.rs), offset, false) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_add` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:278:28 [INFO] [stdout] | [INFO] [stdout] 278 | v_status = get_v_from_add(rd, offset, res); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_add` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:421:28 [INFO] [stdout] | [INFO] [stdout] 421 | v_status = get_v_from_add(rd_value, rs_value, res); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_sub` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:427:28 [INFO] [stdout] | [INFO] [stdout] 427 | v_status = get_v_from_sub(rd_value, rs_value, res); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_sub` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:449:28 [INFO] [stdout] | [INFO] [stdout] 449 | v_status = get_v_from_sub(rd_value, rs_value, res); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_add` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:454:28 [INFO] [stdout] | [INFO] [stdout] 454 | v_status = get_v_from_add(rd_value, rs_value, res); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_out` [INFO] [stdout] --> crusty-gba/src/gba/arm.rs:818:22 [INFO] [stdout] | [INFO] [stdout] 818 | let (offset, c_out) = self.operand.apply(cpu); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_c_out` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_out` [INFO] [stdout] --> crusty-gba/src/gba/arm.rs:818:22 [INFO] [stdout] | [INFO] [stdout] 818 | let (offset, c_out) = self.operand.apply(cpu); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_c_out` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `display_control` [INFO] [stdout] --> crusty-gba/src/ppu/mod.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | display_control: &DisplayControl, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display_control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `display_control` [INFO] [stdout] --> crusty-gba/src/ppu/mod.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | display_control: &DisplayControl, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display_control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `gba::arm::SoftwareInterruptOp` is more private than the item `Arm::SoftwareInterruptOp::0` [INFO] [stdout] --> crusty-gba/src/gba/arm.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | SoftwareInterruptOp(SoftwareInterruptOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ field `Arm::SoftwareInterruptOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `gba::arm::SoftwareInterruptOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/arm.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | struct SoftwareInterruptOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `UndefinedInstruction` is more private than the item `Arm::UndefinedInstruction::0` [INFO] [stdout] --> crusty-gba/src/gba/arm.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | UndefinedInstruction(UndefinedInstruction) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field `Arm::UndefinedInstruction::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `UndefinedInstruction` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/arm.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | struct UndefinedInstruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AddSubtractOp` is more private than the item `Thumb::AddSubtractOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | AddSubtractOp(AddSubtractOp), [INFO] [stdout] | ^^^^^^^^^^^^^ field `Thumb::AddSubtractOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `AddSubtractOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | struct AddSubtractOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MoveShiftedRegisterOp` is more private than the item `Thumb::MoveShiftedRegisterOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | MoveShiftedRegisterOp(MoveShiftedRegisterOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ field `Thumb::MoveShiftedRegisterOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MoveShiftedRegisterOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:144:1 [INFO] [stdout] | [INFO] [stdout] 144 | struct MoveShiftedRegisterOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MathImmOp` is more private than the item `Thumb::MathImmOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | MathImmOp(MathImmOp), [INFO] [stdout] | ^^^^^^^^^ field `Thumb::MathImmOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MathImmOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:239:1 [INFO] [stdout] | [INFO] [stdout] 239 | struct MathImmOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ALUOp` is more private than the item `Thumb::ALUOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | ALUOp(ALUOp), [INFO] [stdout] | ^^^^^ field `Thumb::ALUOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ALUOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:360:1 [INFO] [stdout] | [INFO] [stdout] 360 | struct ALUOp { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `HiRegOp` is more private than the item `Thumb::HiRegOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | HiRegOp(HiRegOp), [INFO] [stdout] | ^^^^^^^ field `Thumb::HiRegOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `HiRegOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:493:1 [INFO] [stdout] | [INFO] [stdout] 493 | struct HiRegOp { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PcRelativeLoadOp` is more private than the item `Thumb::PcRelativeLoadOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | PcRelativeLoadOp(PcRelativeLoadOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ field `Thumb::PcRelativeLoadOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `PcRelativeLoadOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:577:1 [INFO] [stdout] | [INFO] [stdout] 577 | struct PcRelativeLoadOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LoadStoreSignExOp` is more private than the item `Thumb::LoadStoreSignExOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | LoadStoreSignExOp(LoadStoreSignExOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ field `Thumb::LoadStoreSignExOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `LoadStoreSignExOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:680:1 [INFO] [stdout] | [INFO] [stdout] 680 | struct LoadStoreSignExOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LoadAddressOp` is more private than the item `Thumb::LoadAddressOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | LoadAddressOp(LoadAddressOp), [INFO] [stdout] | ^^^^^^^^^^^^^ field `Thumb::LoadAddressOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `LoadAddressOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:897:1 [INFO] [stdout] | [INFO] [stdout] 897 | struct LoadAddressOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LoadStoreHalfWordOp` is more private than the item `Thumb::LoadStoreHalfWordOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | LoadStoreHalfWordOp(LoadStoreHalfWordOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ field `Thumb::LoadStoreHalfWordOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `LoadStoreHalfWordOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:804:1 [INFO] [stdout] | [INFO] [stdout] 804 | struct LoadStoreHalfWordOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LoadStoreRegOffsetOp` is more private than the item `Thumb::LoadStoreRegOffsetOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | LoadStoreRegOffsetOp(LoadStoreRegOffsetOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field `Thumb::LoadStoreRegOffsetOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `LoadStoreRegOffsetOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:615:1 [INFO] [stdout] | [INFO] [stdout] 615 | struct LoadStoreRegOffsetOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LoadStoreImmOffsetOp` is more private than the item `Thumb::LoadStoreImmOffsetOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | LoadStoreImmOffsetOp(LoadStoreImmOffsetOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field `Thumb::LoadStoreImmOffsetOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `LoadStoreImmOffsetOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:737:1 [INFO] [stdout] | [INFO] [stdout] 737 | struct LoadStoreImmOffsetOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SpRelativeLoadOp` is more private than the item `Thumb::SpRelativeLoadOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | SpRelativeLoadOp(SpRelativeLoadOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ field `Thumb::SpRelativeLoadOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `SpRelativeLoadOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:851:1 [INFO] [stdout] | [INFO] [stdout] 851 | struct SpRelativeLoadOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AddOffsetSPOp` is more private than the item `Thumb::AddOffsetSPOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | AddOffsetSPOp(AddOffsetSPOp), [INFO] [stdout] | ^^^^^^^^^^^^^ field `Thumb::AddOffsetSPOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `AddOffsetSPOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:935:1 [INFO] [stdout] | [INFO] [stdout] 935 | struct AddOffsetSPOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PushPopRegOp` is more private than the item `Thumb::PushPopRegOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | PushPopRegOp(PushPopRegOp), [INFO] [stdout] | ^^^^^^^^^^^^ field `Thumb::PushPopRegOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `PushPopRegOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:963:1 [INFO] [stdout] | [INFO] [stdout] 963 | struct PushPopRegOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MultipleLoadStoreOp` is more private than the item `Thumb::MultipleLoadStoreOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | MultipleLoadStoreOp(MultipleLoadStoreOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ field `Thumb::MultipleLoadStoreOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MultipleLoadStoreOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:1046:1 [INFO] [stdout] | [INFO] [stdout] 1046 | struct MultipleLoadStoreOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `thumb::SoftwareInterruptOp` is more private than the item `Thumb::SoftwareInterruptOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | SoftwareInterruptOp(SoftwareInterruptOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ field `Thumb::SoftwareInterruptOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `thumb::SoftwareInterruptOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:1169:1 [INFO] [stdout] | [INFO] [stdout] 1169 | struct SoftwareInterruptOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ConditionalBranchOp` is more private than the item `Thumb::ConditionalBranchOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | ConditionalBranchOp(ConditionalBranchOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ field `Thumb::ConditionalBranchOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ConditionalBranchOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:1105:1 [INFO] [stdout] | [INFO] [stdout] 1105 | struct ConditionalBranchOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `UnconditionalBranchOp` is more private than the item `Thumb::UnconditionalBranchOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | UnconditionalBranchOp(UnconditionalBranchOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ field `Thumb::UnconditionalBranchOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `UnconditionalBranchOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:1202:1 [INFO] [stdout] | [INFO] [stdout] 1202 | struct UnconditionalBranchOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LongBranchWithLinkOp` is more private than the item `Thumb::LongBranchWithLinkOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | LongBranchWithLinkOp(LongBranchWithLinkOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field `Thumb::LongBranchWithLinkOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `LongBranchWithLinkOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:1230:1 [INFO] [stdout] | [INFO] [stdout] 1230 | struct LongBranchWithLinkOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `gba::arm::SoftwareInterruptOp` is more private than the item `gba::arm::Arm::SoftwareInterruptOp::0` [INFO] [stdout] --> crusty-gba/src/gba/arm.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | SoftwareInterruptOp(SoftwareInterruptOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ field `gba::arm::Arm::SoftwareInterruptOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `gba::arm::SoftwareInterruptOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/arm.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | struct SoftwareInterruptOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `UndefinedInstruction` is more private than the item `gba::arm::Arm::UndefinedInstruction::0` [INFO] [stdout] --> crusty-gba/src/gba/arm.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | UndefinedInstruction(UndefinedInstruction) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field `gba::arm::Arm::UndefinedInstruction::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `UndefinedInstruction` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/arm.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | struct UndefinedInstruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `thumb::AddSubtractOp` is more private than the item `Thumb::AddSubtractOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | AddSubtractOp(AddSubtractOp), [INFO] [stdout] | ^^^^^^^^^^^^^ field `Thumb::AddSubtractOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `thumb::AddSubtractOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | struct AddSubtractOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `thumb::MoveShiftedRegisterOp` is more private than the item `Thumb::MoveShiftedRegisterOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | MoveShiftedRegisterOp(MoveShiftedRegisterOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ field `Thumb::MoveShiftedRegisterOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `thumb::MoveShiftedRegisterOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:144:1 [INFO] [stdout] | [INFO] [stdout] 144 | struct MoveShiftedRegisterOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `thumb::MathImmOp` is more private than the item `Thumb::MathImmOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | MathImmOp(MathImmOp), [INFO] [stdout] | ^^^^^^^^^ field `Thumb::MathImmOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `thumb::MathImmOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:239:1 [INFO] [stdout] | [INFO] [stdout] 239 | struct MathImmOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ALUOp` is more private than the item `Thumb::ALUOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | ALUOp(ALUOp), [INFO] [stdout] | ^^^^^ field `Thumb::ALUOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ALUOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:360:1 [INFO] [stdout] | [INFO] [stdout] 360 | struct ALUOp { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `thumb::HiRegOp` is more private than the item `Thumb::HiRegOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | HiRegOp(HiRegOp), [INFO] [stdout] | ^^^^^^^ field `Thumb::HiRegOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `thumb::HiRegOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:493:1 [INFO] [stdout] | [INFO] [stdout] 493 | struct HiRegOp { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `thumb::PcRelativeLoadOp` is more private than the item `Thumb::PcRelativeLoadOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | PcRelativeLoadOp(PcRelativeLoadOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ field `Thumb::PcRelativeLoadOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `thumb::PcRelativeLoadOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:577:1 [INFO] [stdout] | [INFO] [stdout] 577 | struct PcRelativeLoadOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LoadStoreSignExOp` is more private than the item `Thumb::LoadStoreSignExOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | LoadStoreSignExOp(LoadStoreSignExOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ field `Thumb::LoadStoreSignExOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `LoadStoreSignExOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:680:1 [INFO] [stdout] | [INFO] [stdout] 680 | struct LoadStoreSignExOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LoadAddressOp` is more private than the item `Thumb::LoadAddressOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | LoadAddressOp(LoadAddressOp), [INFO] [stdout] | ^^^^^^^^^^^^^ field `Thumb::LoadAddressOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `LoadAddressOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:897:1 [INFO] [stdout] | [INFO] [stdout] 897 | struct LoadAddressOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `thumb::LoadStoreHalfWordOp` is more private than the item `Thumb::LoadStoreHalfWordOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | LoadStoreHalfWordOp(LoadStoreHalfWordOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ field `Thumb::LoadStoreHalfWordOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `thumb::LoadStoreHalfWordOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:804:1 [INFO] [stdout] | [INFO] [stdout] 804 | struct LoadStoreHalfWordOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `thumb::LoadStoreRegOffsetOp` is more private than the item `Thumb::LoadStoreRegOffsetOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | LoadStoreRegOffsetOp(LoadStoreRegOffsetOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field `Thumb::LoadStoreRegOffsetOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `thumb::LoadStoreRegOffsetOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:615:1 [INFO] [stdout] | [INFO] [stdout] 615 | struct LoadStoreRegOffsetOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCEPTION_VECTOR_RESET` is never used [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const EXCEPTION_VECTOR_RESET: usize = 0x0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `thumb::LoadStoreImmOffsetOp` is more private than the item `Thumb::LoadStoreImmOffsetOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | LoadStoreImmOffsetOp(LoadStoreImmOffsetOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field `Thumb::LoadStoreImmOffsetOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `thumb::LoadStoreImmOffsetOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:737:1 [INFO] [stdout] | [INFO] [stdout] 737 | struct LoadStoreImmOffsetOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SpRelativeLoadOp` is more private than the item `Thumb::SpRelativeLoadOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | SpRelativeLoadOp(SpRelativeLoadOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ field `Thumb::SpRelativeLoadOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `SpRelativeLoadOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:851:1 [INFO] [stdout] | [INFO] [stdout] 851 | struct SpRelativeLoadOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCEPTION_VECTOR_UNDF` is never used [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const EXCEPTION_VECTOR_UNDF: usize = 0x4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AddOffsetSPOp` is more private than the item `Thumb::AddOffsetSPOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | AddOffsetSPOp(AddOffsetSPOp), [INFO] [stdout] | ^^^^^^^^^^^^^ field `Thumb::AddOffsetSPOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `AddOffsetSPOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:935:1 [INFO] [stdout] | [INFO] [stdout] 935 | struct AddOffsetSPOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCEPTION_VECTOR_IRQ` is never used [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const EXCEPTION_VECTOR_IRQ: usize = 0x18; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCEPTION_VECTOR_ABORT_PREFETCH` is never used [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const EXCEPTION_VECTOR_ABORT_PREFETCH: usize = 0xc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCEPTION_VECTOR_ABORT_DATA` is never used [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const EXCEPTION_VECTOR_ABORT_DATA: usize = 0x10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `thumb::PushPopRegOp` is more private than the item `Thumb::PushPopRegOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | PushPopRegOp(PushPopRegOp), [INFO] [stdout] | ^^^^^^^^^^^^ field `Thumb::PushPopRegOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `thumb::PushPopRegOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:963:1 [INFO] [stdout] | [INFO] [stdout] 963 | struct PushPopRegOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCEPTION_VECTOR_RESERVE` is never used [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const EXCEPTION_VECTOR_RESERVE: usize = 0x14; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCEPTION_VECTOR_FIQ` is never used [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const EXCEPTION_VECTOR_FIQ: usize = 0x1c; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_logical_operation` is never used [INFO] [stdout] --> crusty-gba/src/gba/arm.rs:434:8 [INFO] [stdout] | [INFO] [stdout] 433 | impl DataProcessingOp { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 434 | fn is_logical_operation(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> crusty-gba/src/gba/dma.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub(super) struct DmaControl { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 4 | pub destination_control: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | pub source_control: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 6 | pub dma_repeat: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | pub dma_tfx_type: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 8 | pub gma_pak_drq: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | pub dma_start_timing: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub irq: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InterruptMasterEnable` is never constructed [INFO] [stdout] --> crusty-gba/src/gba/mapped_io.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct InterruptMasterEnable(bool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interrupt_enable` is never used [INFO] [stdout] --> crusty-gba/src/gba/mapped_io.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn interrupt_enable(ram: &SystemMemory) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interrupt_request` is never used [INFO] [stdout] --> crusty-gba/src/gba/mapped_io.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn interrupt_request(ram: &SystemMemory) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interrupt_master_enable` is never used [INFO] [stdout] --> crusty-gba/src/gba/mapped_io.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn interrupt_master_enable(ram: &SystemMemory) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InterruptEnableOrRequest` is never constructed [INFO] [stdout] --> crusty-gba/src/gba/mapped_io.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct InterruptEnableOrRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `V_COUNTER_FLAG` is never used [INFO] [stdout] --> crusty-gba/src/ppu/mod.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const V_COUNTER_FLAG: u32 = 0b00000100; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAME_BUFFER_0_START` is never used [INFO] [stdout] --> crusty-gba/src/ppu/mod.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const FRAME_BUFFER_0_START: u32 = 0x6000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BITMAP_OBJ_DATA_OFFSET` is never used [INFO] [stdout] --> crusty-gba/src/ppu/mod.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const BITMAP_OBJ_DATA_OFFSET: u32 = 0x14000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAME_BUFFER_1_OFFSET` is never used [INFO] [stdout] --> crusty-gba/src/ppu/mod.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | const FRAME_BUFFER_1_OFFSET: u32 = 0xA000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mosaic` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/mod.rs:353:8 [INFO] [stdout] | [INFO] [stdout] 353 | struct Mosaic { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> crusty-gba/src/ppu/bg_control.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub(super) struct BgControl { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 30 | pub bg_priority: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 31 | pub character_base_block: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | pub mosaic: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | pub pallete: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 34 | pub screen_base_block: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub display_area_wraparound: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | pub screen_size: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BgControl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BgOffset` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/bg_control.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | pub(super) struct BgOffset { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BgRotScale` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/bg_control.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | pub(super) struct BgRotScale { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InternalColorEffect` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/color_effect.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub(super) struct InternalColorEffect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ColorEffect` is never used [INFO] [stdout] --> crusty-gba/src/ppu/color_effect.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | pub(super) enum ColorEffect { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EffectCoef` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/color_effect.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | pub(super) struct EffectCoef(u32); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColorEffectSelection` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/color_effect.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | pub(super) struct ColorEffectSelection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_stat` is never used [INFO] [stdout] --> crusty-gba/src/ppu/disp_control.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn display_stat(ram: &SystemMemory) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> crusty-gba/src/ppu/disp_control.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub(super) struct DisplayControl { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 20 | pub bg_mode: u32, [INFO] [stdout] 21 | pub gbc_mode: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | pub display_frame_select: bool, [INFO] [stdout] 23 | pub h_blank_interval_free: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | pub obj_character_mapping: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub forced_blank: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub display_window0: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | pub display_window1: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub display_window_obj: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DisplayControl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DisplayStat` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/disp_control.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | pub(super) struct DisplayStat { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_oam_entry_enabled` is never used [INFO] [stdout] --> crusty-gba/src/ppu/oam_attribute.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn is_oam_entry_enabled(value: &[u32]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_rot_scale`, `object_flag`, `obj_mode`, `obj_mosaic`, `priority`, and `transformation` are never read [INFO] [stdout] --> crusty-gba/src/ppu/oam_attribute.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct OamAttribute { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | pub is_rot_scale: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | pub object_flag: ObjectFlag, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 30 | pub obj_mode: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | pub obj_mosaic: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub priority: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 36 | pub palette_idx: usize, [INFO] [stdout] 37 | pub transformation: Transformation, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OamAttribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MultipleLoadStoreOp` is more private than the item `Thumb::MultipleLoadStoreOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | MultipleLoadStoreOp(MultipleLoadStoreOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ field `Thumb::MultipleLoadStoreOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MultipleLoadStoreOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:1046:1 [INFO] [stdout] | [INFO] [stdout] 1046 | struct MultipleLoadStoreOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crusty-gba/src/ppu/oam_attribute.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | DoublSize(bool), [INFO] [stdout] | --------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ObjectFlag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 48 - DoublSize(bool), [INFO] [stdout] 48 + DoublSize(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `thumb::SoftwareInterruptOp` is more private than the item `Thumb::SoftwareInterruptOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | SoftwareInterruptOp(SoftwareInterruptOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ field `Thumb::SoftwareInterruptOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `thumb::SoftwareInterruptOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:1169:1 [INFO] [stdout] | [INFO] [stdout] 1169 | struct SoftwareInterruptOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crusty-gba/src/ppu/oam_attribute.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | Disbale(bool), [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ObjectFlag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 49 - Disbale(bool), [INFO] [stdout] 49 + Disbale(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `idx` is never read [INFO] [stdout] --> crusty-gba/src/ppu/oam_attribute.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | RotScale { idx: usize }, [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Transformation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ConditionalBranchOp` is more private than the item `Thumb::ConditionalBranchOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | ConditionalBranchOp(ConditionalBranchOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ field `Thumb::ConditionalBranchOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ConditionalBranchOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:1105:1 [INFO] [stdout] | [INFO] [stdout] 1105 | struct ConditionalBranchOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `horizontal` and `veritical` are never read [INFO] [stdout] --> crusty-gba/src/ppu/oam_attribute.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | Flip { horizontal: bool, veritical: bool }, [INFO] [stdout] | ---- ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Transformation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `thumb::UnconditionalBranchOp` is more private than the item `Thumb::UnconditionalBranchOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | UnconditionalBranchOp(UnconditionalBranchOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ field `Thumb::UnconditionalBranchOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `thumb::UnconditionalBranchOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:1202:1 [INFO] [stdout] | [INFO] [stdout] 1202 | struct UnconditionalBranchOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LongBranchWithLinkOp` is more private than the item `Thumb::LongBranchWithLinkOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | LongBranchWithLinkOp(LongBranchWithLinkOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field `Thumb::LongBranchWithLinkOp::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `LongBranchWithLinkOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:1230:1 [INFO] [stdout] | [INFO] [stdout] 1230 | struct LongBranchWithLinkOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dx`, `dmx`, `dy`, and `dmy` are never read [INFO] [stdout] --> crusty-gba/src/ppu/oam_attribute.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct RotationScaleParameter { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 132 | pub dx: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 133 | pub dmx: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 134 | pub dy: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 135 | pub dmy: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RotationScaleParameter` 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 `num_of_palettes` is never used [INFO] [stdout] --> crusty-gba/src/ppu/oam_attribute.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 179 | impl Colors { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn num_of_palettes(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WindowDimensions` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/window_control.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub(super) struct WindowDimensions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InternalWindowCnt` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/window_control.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub(super) struct InternalWindowCnt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WindowCnt` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/window_control.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | pub(super) struct WindowCnt { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCEPTION_VECTOR_RESET` is never used [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const EXCEPTION_VECTOR_RESET: usize = 0x0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCEPTION_VECTOR_UNDF` is never used [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const EXCEPTION_VECTOR_UNDF: usize = 0x4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCEPTION_VECTOR_IRQ` is never used [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const EXCEPTION_VECTOR_IRQ: usize = 0x18; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCEPTION_VECTOR_ABORT_PREFETCH` is never used [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const EXCEPTION_VECTOR_ABORT_PREFETCH: usize = 0xc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCEPTION_VECTOR_ABORT_DATA` is never used [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const EXCEPTION_VECTOR_ABORT_DATA: usize = 0x10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCEPTION_VECTOR_RESERVE` is never used [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const EXCEPTION_VECTOR_RESERVE: usize = 0x14; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCEPTION_VECTOR_FIQ` is never used [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const EXCEPTION_VECTOR_FIQ: usize = 0x1c; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_logical_operation` is never used [INFO] [stdout] --> crusty-gba/src/gba/arm.rs:434:8 [INFO] [stdout] | [INFO] [stdout] 433 | impl DataProcessingOp { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 434 | fn is_logical_operation(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> crusty-gba/src/gba/dma.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub(super) struct DmaControl { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 4 | pub destination_control: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | pub source_control: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 6 | pub dma_repeat: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | pub dma_tfx_type: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 8 | pub gma_pak_drq: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | pub dma_start_timing: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub irq: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InterruptMasterEnable` is never constructed [INFO] [stdout] --> crusty-gba/src/gba/mapped_io.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct InterruptMasterEnable(bool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interrupt_enable` is never used [INFO] [stdout] --> crusty-gba/src/gba/mapped_io.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn interrupt_enable(ram: &SystemMemory) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interrupt_request` is never used [INFO] [stdout] --> crusty-gba/src/gba/mapped_io.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn interrupt_request(ram: &SystemMemory) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interrupt_master_enable` is never used [INFO] [stdout] --> crusty-gba/src/gba/mapped_io.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn interrupt_master_enable(ram: &SystemMemory) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InterruptEnableOrRequest` is never constructed [INFO] [stdout] --> crusty-gba/src/gba/mapped_io.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct InterruptEnableOrRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `V_COUNTER_FLAG` is never used [INFO] [stdout] --> crusty-gba/src/ppu/mod.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const V_COUNTER_FLAG: u32 = 0b00000100; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAME_BUFFER_0_START` is never used [INFO] [stdout] --> crusty-gba/src/ppu/mod.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const FRAME_BUFFER_0_START: u32 = 0x6000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BITMAP_OBJ_DATA_OFFSET` is never used [INFO] [stdout] --> crusty-gba/src/ppu/mod.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const BITMAP_OBJ_DATA_OFFSET: u32 = 0x14000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAME_BUFFER_1_OFFSET` is never used [INFO] [stdout] --> crusty-gba/src/ppu/mod.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | const FRAME_BUFFER_1_OFFSET: u32 = 0xA000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mosaic` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/mod.rs:353:8 [INFO] [stdout] | [INFO] [stdout] 353 | struct Mosaic { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> crusty-gba/src/ppu/bg_control.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub(super) struct BgControl { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 30 | pub bg_priority: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 31 | pub character_base_block: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | pub mosaic: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | pub pallete: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 34 | pub screen_base_block: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub display_area_wraparound: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | pub screen_size: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BgControl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BgOffset` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/bg_control.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | pub(super) struct BgOffset { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BgRotScale` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/bg_control.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | pub(super) struct BgRotScale { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InternalColorEffect` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/color_effect.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub(super) struct InternalColorEffect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ColorEffect` is never used [INFO] [stdout] --> crusty-gba/src/ppu/color_effect.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | pub(super) enum ColorEffect { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EffectCoef` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/color_effect.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | pub(super) struct EffectCoef(u32); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColorEffectSelection` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/color_effect.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | pub(super) struct ColorEffectSelection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_stat` is never used [INFO] [stdout] --> crusty-gba/src/ppu/disp_control.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn display_stat(ram: &SystemMemory) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> crusty-gba/src/ppu/disp_control.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub(super) struct DisplayControl { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 20 | pub bg_mode: u32, [INFO] [stdout] 21 | pub gbc_mode: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | pub display_frame_select: bool, [INFO] [stdout] 23 | pub h_blank_interval_free: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | pub obj_character_mapping: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub forced_blank: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub display_window0: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | pub display_window1: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub display_window_obj: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DisplayControl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DisplayStat` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/disp_control.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | pub(super) struct DisplayStat { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_oam_entry_enabled` is never used [INFO] [stdout] --> crusty-gba/src/ppu/oam_attribute.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn is_oam_entry_enabled(value: &[u32]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_rot_scale`, `object_flag`, `obj_mode`, `obj_mosaic`, `priority`, and `transformation` are never read [INFO] [stdout] --> crusty-gba/src/ppu/oam_attribute.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct OamAttribute { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | pub is_rot_scale: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | pub object_flag: ObjectFlag, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 30 | pub obj_mode: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | pub obj_mosaic: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub priority: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 36 | pub palette_idx: usize, [INFO] [stdout] 37 | pub transformation: Transformation, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OamAttribute` 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 `0` is never read [INFO] [stdout] --> crusty-gba/src/ppu/oam_attribute.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | DoublSize(bool), [INFO] [stdout] | --------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ObjectFlag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 48 - DoublSize(bool), [INFO] [stdout] 48 + DoublSize(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crusty-gba/src/ppu/oam_attribute.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | Disbale(bool), [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ObjectFlag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 49 - Disbale(bool), [INFO] [stdout] 49 + Disbale(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `idx` is never read [INFO] [stdout] --> crusty-gba/src/ppu/oam_attribute.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | RotScale { idx: usize }, [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Transformation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `horizontal` and `veritical` are never read [INFO] [stdout] --> crusty-gba/src/ppu/oam_attribute.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | Flip { horizontal: bool, veritical: bool }, [INFO] [stdout] | ---- ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Transformation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dx`, `dmx`, `dy`, and `dmy` are never read [INFO] [stdout] --> crusty-gba/src/ppu/oam_attribute.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct RotationScaleParameter { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 132 | pub dx: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 133 | pub dmx: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 134 | pub dy: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 135 | pub dmy: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RotationScaleParameter` 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 `num_of_palettes` is never used [INFO] [stdout] --> crusty-gba/src/ppu/oam_attribute.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 179 | impl Colors { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn num_of_palettes(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WindowDimensions` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/window_control.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub(super) struct WindowDimensions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InternalWindowCnt` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/window_control.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub(super) struct InternalWindowCnt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WindowCnt` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/window_control.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | pub(super) struct WindowCnt { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking crusty_harness v0.1.0 (/opt/rustwide/workdir/crusty_harness) [INFO] [stdout] warning: unused import: `serde::de::Expected` [INFO] [stdout] --> crusty_harness/src/report.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Expected; [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: `tracing::trace` [INFO] [stdout] --> crusty_harness/src/report.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tracing::trace; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::Level` [INFO] [stdout] --> crusty_harness/src/cli.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing::Level; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug` and `warn` [INFO] [stdout] --> crusty_harness/src/main.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use tracing::{info, error, warn, debug}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::Expected` [INFO] [stdout] --> crusty_harness/src/report.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Expected; [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: `tracing::trace` [INFO] [stdout] --> crusty_harness/src/report.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tracing::trace; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::Level` [INFO] [stdout] --> crusty_harness/src/cli.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing::Level; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug` and `warn` [INFO] [stdout] --> crusty_harness/src/main.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use tracing::{info, error, warn, debug}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WORD` [INFO] [stdout] --> crusty-gba/src/gba/arm.rs:10:62 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::utils::{ArmCalculations, BYTE, Bitable, HALFWORD, WORD}; [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: `info` [INFO] [stdout] --> crusty-gba/src/gba/cpu.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::{debug, error, trace, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> crusty-gba/src/gba/system.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing::{info, trace}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CPSR_T`, `get_abs_int_value`, and `is_signed` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:6:47 [INFO] [stdout] | [INFO] [stdout] 6 | add_nums, bit_map_to_array, count_cycles, get_abs_int_value, get_v_from_add, get_v_from_sub, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | is_signed, subtract_nums, Conditional, Operation, CPSR_C, CPSR_T, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemMemory` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::{Cpu, SystemMemory}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | use tracing::{warn, trace, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemMemory` [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | use crate::{SystemMemory, memory::Memory}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DefaultTerminal` and `terminal` [INFO] [stdout] --> crusty-gba/src/renderer/ratatui.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | terminal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | DefaultTerminal, Frame, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::trace` [INFO] [stdout] --> crusty-gba/src/utils/math.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tracing::trace; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> crusty-gba/src/memory/mod.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Display, Formatter, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WORD` [INFO] [stdout] --> crusty-gba/src/gba/arm.rs:10:62 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::utils::{ArmCalculations, BYTE, Bitable, HALFWORD, WORD}; [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: `info` [INFO] [stdout] --> crusty-gba/src/gba/cpu.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::{debug, error, trace, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> crusty-gba/src/gba/system.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing::{info, trace}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CPSR_T`, `get_abs_int_value`, and `is_signed` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:6:47 [INFO] [stdout] | [INFO] [stdout] 6 | add_nums, bit_map_to_array, count_cycles, get_abs_int_value, get_v_from_add, get_v_from_sub, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | is_signed, subtract_nums, Conditional, Operation, CPSR_C, CPSR_T, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemMemory` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::{Cpu, SystemMemory}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | use tracing::{warn, trace, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemMemory` [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | use crate::{SystemMemory, memory::Memory}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DefaultTerminal` and `terminal` [INFO] [stdout] --> crusty-gba/src/renderer/ratatui.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | terminal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | DefaultTerminal, Frame, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::trace` [INFO] [stdout] --> crusty-gba/src/utils/math.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tracing::trace; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> crusty-gba/src/memory/mod.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Display, Formatter, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_add` [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:143:11 [INFO] [stdout] | [INFO] [stdout] 143 | (res, get_v_from_add(lhs, rhs, res)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_sub` [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:151:11 [INFO] [stdout] | [INFO] [stdout] 151 | (res, get_v_from_sub(lhs, o2 as u64, res)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::add_nums` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | add_nums, bit_map_to_array, count_cycles, get_abs_int_value, get_v_from_add, get_v_from_sub, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_add` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:6:66 [INFO] [stdout] | [INFO] [stdout] 6 | add_nums, bit_map_to_array, count_cycles, get_abs_int_value, get_v_from_add, get_v_from_sub, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_sub` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:6:82 [INFO] [stdout] | [INFO] [stdout] 6 | add_nums, bit_map_to_array, count_cycles, get_abs_int_value, get_v_from_add, get_v_from_sub, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::add_nums` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | add_nums(cpu.get_register(self.rs), offset, false) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_add` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:278:28 [INFO] [stdout] | [INFO] [stdout] 278 | v_status = get_v_from_add(rd, offset, res); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_add` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:421:28 [INFO] [stdout] | [INFO] [stdout] 421 | v_status = get_v_from_add(rd_value, rs_value, res); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_sub` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:427:28 [INFO] [stdout] | [INFO] [stdout] 427 | v_status = get_v_from_sub(rd_value, rs_value, res); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_sub` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:449:28 [INFO] [stdout] | [INFO] [stdout] 449 | v_status = get_v_from_sub(rd_value, rs_value, res); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_add` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:454:28 [INFO] [stdout] | [INFO] [stdout] 454 | v_status = get_v_from_add(rd_value, rs_value, res); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_add` [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:143:11 [INFO] [stdout] | [INFO] [stdout] 143 | (res, get_v_from_add(lhs, rhs, res)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_sub` [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:151:11 [INFO] [stdout] | [INFO] [stdout] 151 | (res, get_v_from_sub(lhs, o2 as u64, res)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::add_nums` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | add_nums, bit_map_to_array, count_cycles, get_abs_int_value, get_v_from_add, get_v_from_sub, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_add` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:6:66 [INFO] [stdout] | [INFO] [stdout] 6 | add_nums, bit_map_to_array, count_cycles, get_abs_int_value, get_v_from_add, get_v_from_sub, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_sub` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:6:82 [INFO] [stdout] | [INFO] [stdout] 6 | add_nums, bit_map_to_array, count_cycles, get_abs_int_value, get_v_from_add, get_v_from_sub, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::add_nums` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | add_nums(cpu.get_register(self.rs), offset, false) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_add` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:278:28 [INFO] [stdout] | [INFO] [stdout] 278 | v_status = get_v_from_add(rd, offset, res); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_add` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:421:28 [INFO] [stdout] | [INFO] [stdout] 421 | v_status = get_v_from_add(rd_value, rs_value, res); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_sub` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:427:28 [INFO] [stdout] | [INFO] [stdout] 427 | v_status = get_v_from_sub(rd_value, rs_value, res); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_sub` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:449:28 [INFO] [stdout] | [INFO] [stdout] 449 | v_status = get_v_from_sub(rd_value, rs_value, res); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gba::get_v_from_add` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:454:28 [INFO] [stdout] | [INFO] [stdout] 454 | v_status = get_v_from_add(rd_value, rs_value, res); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base_addr` is never read [INFO] [stdout] --> crusty_harness/src/models.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Test { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | base_addr: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Test` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `access` is never read [INFO] [stdout] --> crusty_harness/src/models.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 58 | struct CpuState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 76 | access: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CpuState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cycle` and `access` are never read [INFO] [stdout] --> crusty_harness/src/models.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct Transaction { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 104 | cycle: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 105 | access: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` 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 `base_addr` is never read [INFO] [stdout] --> crusty_harness/src/models.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Test { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | base_addr: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Test` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `access` is never read [INFO] [stdout] --> crusty_harness/src/models.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 58 | struct CpuState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 76 | access: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CpuState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cycle` and `access` are never read [INFO] [stdout] --> crusty_harness/src/models.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct Transaction { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 104 | cycle: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 105 | access: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_out` [INFO] [stdout] --> crusty-gba/src/gba/arm.rs:818:22 [INFO] [stdout] | [INFO] [stdout] 818 | let (offset, c_out) = self.operand.apply(cpu); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_c_out` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_out` [INFO] [stdout] --> crusty-gba/src/gba/arm.rs:818:22 [INFO] [stdout] | [INFO] [stdout] 818 | let (offset, c_out) = self.operand.apply(cpu); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_c_out` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `display_control` [INFO] [stdout] --> crusty-gba/src/ppu/mod.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | display_control: &DisplayControl, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display_control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `gba::arm::SoftwareInterruptOp` is more private than the item `Arm::SoftwareInterruptOp::0` [INFO] [stdout] --> crusty-gba/src/gba/arm.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | SoftwareInterruptOp(SoftwareInterruptOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ field `Arm::SoftwareInterruptOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `gba::arm::SoftwareInterruptOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/arm.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | struct SoftwareInterruptOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `UndefinedInstruction` is more private than the item `Arm::UndefinedInstruction::0` [INFO] [stdout] --> crusty-gba/src/gba/arm.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | UndefinedInstruction(UndefinedInstruction) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field `Arm::UndefinedInstruction::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `UndefinedInstruction` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/arm.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | struct UndefinedInstruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AddSubtractOp` is more private than the item `Thumb::AddSubtractOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | AddSubtractOp(AddSubtractOp), [INFO] [stdout] | ^^^^^^^^^^^^^ field `Thumb::AddSubtractOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `AddSubtractOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | struct AddSubtractOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MoveShiftedRegisterOp` is more private than the item `Thumb::MoveShiftedRegisterOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | MoveShiftedRegisterOp(MoveShiftedRegisterOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ field `Thumb::MoveShiftedRegisterOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `MoveShiftedRegisterOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:144:1 [INFO] [stdout] | [INFO] [stdout] 144 | struct MoveShiftedRegisterOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MathImmOp` is more private than the item `Thumb::MathImmOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | MathImmOp(MathImmOp), [INFO] [stdout] | ^^^^^^^^^ field `Thumb::MathImmOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `MathImmOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:239:1 [INFO] [stdout] | [INFO] [stdout] 239 | struct MathImmOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ALUOp` is more private than the item `Thumb::ALUOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | ALUOp(ALUOp), [INFO] [stdout] | ^^^^^ field `Thumb::ALUOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ALUOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:360:1 [INFO] [stdout] | [INFO] [stdout] 360 | struct ALUOp { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `HiRegOp` is more private than the item `Thumb::HiRegOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | HiRegOp(HiRegOp), [INFO] [stdout] | ^^^^^^^ field `Thumb::HiRegOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `HiRegOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:493:1 [INFO] [stdout] | [INFO] [stdout] 493 | struct HiRegOp { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PcRelativeLoadOp` is more private than the item `Thumb::PcRelativeLoadOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | PcRelativeLoadOp(PcRelativeLoadOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ field `Thumb::PcRelativeLoadOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `PcRelativeLoadOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:577:1 [INFO] [stdout] | [INFO] [stdout] 577 | struct PcRelativeLoadOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LoadStoreSignExOp` is more private than the item `Thumb::LoadStoreSignExOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | LoadStoreSignExOp(LoadStoreSignExOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ field `Thumb::LoadStoreSignExOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `LoadStoreSignExOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:680:1 [INFO] [stdout] | [INFO] [stdout] 680 | struct LoadStoreSignExOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LoadAddressOp` is more private than the item `Thumb::LoadAddressOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | LoadAddressOp(LoadAddressOp), [INFO] [stdout] | ^^^^^^^^^^^^^ field `Thumb::LoadAddressOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `LoadAddressOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:897:1 [INFO] [stdout] | [INFO] [stdout] 897 | struct LoadAddressOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LoadStoreHalfWordOp` is more private than the item `Thumb::LoadStoreHalfWordOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | LoadStoreHalfWordOp(LoadStoreHalfWordOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ field `Thumb::LoadStoreHalfWordOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `LoadStoreHalfWordOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:804:1 [INFO] [stdout] | [INFO] [stdout] 804 | struct LoadStoreHalfWordOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LoadStoreRegOffsetOp` is more private than the item `Thumb::LoadStoreRegOffsetOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | LoadStoreRegOffsetOp(LoadStoreRegOffsetOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field `Thumb::LoadStoreRegOffsetOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `LoadStoreRegOffsetOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:615:1 [INFO] [stdout] | [INFO] [stdout] 615 | struct LoadStoreRegOffsetOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LoadStoreImmOffsetOp` is more private than the item `Thumb::LoadStoreImmOffsetOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | LoadStoreImmOffsetOp(LoadStoreImmOffsetOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field `Thumb::LoadStoreImmOffsetOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `LoadStoreImmOffsetOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:737:1 [INFO] [stdout] | [INFO] [stdout] 737 | struct LoadStoreImmOffsetOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SpRelativeLoadOp` is more private than the item `Thumb::SpRelativeLoadOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | SpRelativeLoadOp(SpRelativeLoadOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ field `Thumb::SpRelativeLoadOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `SpRelativeLoadOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:851:1 [INFO] [stdout] | [INFO] [stdout] 851 | struct SpRelativeLoadOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AddOffsetSPOp` is more private than the item `Thumb::AddOffsetSPOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | AddOffsetSPOp(AddOffsetSPOp), [INFO] [stdout] | ^^^^^^^^^^^^^ field `Thumb::AddOffsetSPOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `AddOffsetSPOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:935:1 [INFO] [stdout] | [INFO] [stdout] 935 | struct AddOffsetSPOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PushPopRegOp` is more private than the item `Thumb::PushPopRegOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | PushPopRegOp(PushPopRegOp), [INFO] [stdout] | ^^^^^^^^^^^^ field `Thumb::PushPopRegOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `PushPopRegOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:963:1 [INFO] [stdout] | [INFO] [stdout] 963 | struct PushPopRegOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MultipleLoadStoreOp` is more private than the item `Thumb::MultipleLoadStoreOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | MultipleLoadStoreOp(MultipleLoadStoreOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ field `Thumb::MultipleLoadStoreOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `MultipleLoadStoreOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:1046:1 [INFO] [stdout] | [INFO] [stdout] 1046 | struct MultipleLoadStoreOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `thumb::SoftwareInterruptOp` is more private than the item `Thumb::SoftwareInterruptOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | SoftwareInterruptOp(SoftwareInterruptOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ field `Thumb::SoftwareInterruptOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `thumb::SoftwareInterruptOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:1169:1 [INFO] [stdout] | [INFO] [stdout] 1169 | struct SoftwareInterruptOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ConditionalBranchOp` is more private than the item `Thumb::ConditionalBranchOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | ConditionalBranchOp(ConditionalBranchOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ field `Thumb::ConditionalBranchOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ConditionalBranchOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:1105:1 [INFO] [stdout] | [INFO] [stdout] 1105 | struct ConditionalBranchOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `UnconditionalBranchOp` is more private than the item `Thumb::UnconditionalBranchOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | UnconditionalBranchOp(UnconditionalBranchOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ field `Thumb::UnconditionalBranchOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `UnconditionalBranchOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:1202:1 [INFO] [stdout] | [INFO] [stdout] 1202 | struct UnconditionalBranchOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LongBranchWithLinkOp` is more private than the item `Thumb::LongBranchWithLinkOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | LongBranchWithLinkOp(LongBranchWithLinkOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field `Thumb::LongBranchWithLinkOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `LongBranchWithLinkOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:1230:1 [INFO] [stdout] | [INFO] [stdout] 1230 | struct LongBranchWithLinkOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCEPTION_VECTOR_RESET` is never used [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const EXCEPTION_VECTOR_RESET: usize = 0x0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCEPTION_VECTOR_UNDF` is never used [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const EXCEPTION_VECTOR_UNDF: usize = 0x4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCEPTION_VECTOR_IRQ` is never used [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const EXCEPTION_VECTOR_IRQ: usize = 0x18; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCEPTION_VECTOR_ABORT_PREFETCH` is never used [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const EXCEPTION_VECTOR_ABORT_PREFETCH: usize = 0xc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCEPTION_VECTOR_ABORT_DATA` is never used [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const EXCEPTION_VECTOR_ABORT_DATA: usize = 0x10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCEPTION_VECTOR_RESERVE` is never used [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const EXCEPTION_VECTOR_RESERVE: usize = 0x14; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCEPTION_VECTOR_FIQ` is never used [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const EXCEPTION_VECTOR_FIQ: usize = 0x1c; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CPSR_FIQ` is never used [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const CPSR_FIQ: u32 = 0x40; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_abs_int_value` is never used [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn get_abs_int_value(num: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_logical_operation` is never used [INFO] [stdout] --> crusty-gba/src/gba/arm.rs:434:8 [INFO] [stdout] | [INFO] [stdout] 433 | impl DataProcessingOp { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 434 | fn is_logical_operation(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HalfwordRegOffset` is never constructed [INFO] [stdout] --> crusty-gba/src/gba/arm.rs:670:12 [INFO] [stdout] | [INFO] [stdout] 670 | pub struct HalfwordRegOffset { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> crusty-gba/src/gba/cpu.rs:357:12 [INFO] [stdout] | [INFO] [stdout] 168 | impl Cpu { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 357 | pub fn disable_fiq(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 361 | pub fn enable_fiq(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub fn is_fiq(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 373 | pub fn enable_irq(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 377 | pub fn is_irq(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub fn set_cpsr_mode_bits(&mut self, value: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 460 | pub fn set_v_status(&mut self, status: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 464 | pub fn set_n_status(&mut self, status: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 468 | pub fn set_c_status(&mut self, status: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 472 | pub fn set_z_status(&mut self, status: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 476 | fn set_status_code(&mut self, status: bool, flag: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 557 | pub fn tick_for_cycles(&mut self, ram: &mut SystemMemory, num_of_cycles: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INTERNAL_DMA_CONTROL_0` is never used [INFO] [stdout] --> crusty-gba/src/gba/system.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const INTERNAL_DMA_CONTROL_0: usize = 0x0000ba; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INTERNAL_DMA_CONTROL_1` is never used [INFO] [stdout] --> crusty-gba/src/gba/system.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const INTERNAL_DMA_CONTROL_1: usize = 0x0000c6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INTERNAL_DMA_CONTROL_2` is never used [INFO] [stdout] --> crusty-gba/src/gba/system.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const INTERNAL_DMA_CONTROL_2: usize = 0x0000d2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INTERNAL_DMA_CONTROL_3` is never used [INFO] [stdout] --> crusty-gba/src/gba/system.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const INTERNAL_DMA_CONTROL_3: usize = 0x0000de; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_dma_enabled`, `run_dma`, `get_vram`, and `get_wram` are never used [INFO] [stdout] --> crusty-gba/src/gba/system.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl SystemMemory { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn is_dma_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn run_dma(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn get_vram(&self) -> &[u32] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn get_wram(&self) -> &[u32] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DmaControl` is never constructed [INFO] [stdout] --> crusty-gba/src/gba/dma.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub(super) struct DmaControl { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InterruptMasterEnable` is never constructed [INFO] [stdout] --> crusty-gba/src/gba/mapped_io.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct InterruptMasterEnable(bool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interrupt_enable` is never used [INFO] [stdout] --> crusty-gba/src/gba/mapped_io.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn interrupt_enable(ram: &SystemMemory) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interrupt_request` is never used [INFO] [stdout] --> crusty-gba/src/gba/mapped_io.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn interrupt_request(ram: &SystemMemory) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interrupt_master_enable` is never used [INFO] [stdout] --> crusty-gba/src/gba/mapped_io.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn interrupt_master_enable(ram: &SystemMemory) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InterruptEnableOrRequest` is never constructed [INFO] [stdout] --> crusty-gba/src/gba/mapped_io.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct InterruptEnableOrRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `V_COUNTER_FLAG` is never used [INFO] [stdout] --> crusty-gba/src/ppu/mod.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const V_COUNTER_FLAG: u32 = 0b00000100; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAME_BUFFER_0_START` is never used [INFO] [stdout] --> crusty-gba/src/ppu/mod.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const FRAME_BUFFER_0_START: u32 = 0x6000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BITMAP_OBJ_DATA_OFFSET` is never used [INFO] [stdout] --> crusty-gba/src/ppu/mod.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const BITMAP_OBJ_DATA_OFFSET: u32 = 0x14000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAME_BUFFER_1_OFFSET` is never used [INFO] [stdout] --> crusty-gba/src/ppu/mod.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | const FRAME_BUFFER_1_OFFSET: u32 = 0xA000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mosaic` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/mod.rs:353:8 [INFO] [stdout] | [INFO] [stdout] 353 | struct Mosaic { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> crusty-gba/src/ppu/bg_control.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub(super) struct BgControl { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 30 | pub bg_priority: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 31 | pub character_base_block: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | pub mosaic: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | pub pallete: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 34 | pub screen_base_block: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub display_area_wraparound: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | pub screen_size: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BgControl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BgOffset` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/bg_control.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | pub(super) struct BgOffset { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BgRotScale` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/bg_control.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | pub(super) struct BgRotScale { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InternalColorEffect` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/color_effect.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub(super) struct InternalColorEffect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ColorEffect` is never used [INFO] [stdout] --> crusty-gba/src/ppu/color_effect.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | pub(super) enum ColorEffect { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EffectCoef` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/color_effect.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | pub(super) struct EffectCoef(u32); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColorEffectSelection` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/color_effect.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | pub(super) struct ColorEffectSelection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_stat` is never used [INFO] [stdout] --> crusty-gba/src/ppu/disp_control.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn display_stat(ram: &SystemMemory) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> crusty-gba/src/ppu/disp_control.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub(super) struct DisplayControl { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 20 | pub bg_mode: u32, [INFO] [stdout] 21 | pub gbc_mode: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | pub display_frame_select: bool, [INFO] [stdout] 23 | pub h_blank_interval_free: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | pub obj_character_mapping: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub forced_blank: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub display_window0: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | pub display_window1: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub display_window_obj: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DisplayControl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DisplayStat` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/disp_control.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | pub(super) struct DisplayStat { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_oam_entry_enabled` is never used [INFO] [stdout] --> crusty-gba/src/ppu/oam_attribute.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn is_oam_entry_enabled(value: &[u32]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_rot_scale`, `object_flag`, `obj_mode`, `obj_mosaic`, `priority`, and `transformation` are never read [INFO] [stdout] --> crusty-gba/src/ppu/oam_attribute.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct OamAttribute { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | pub is_rot_scale: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | pub object_flag: ObjectFlag, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 30 | pub obj_mode: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | pub obj_mosaic: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub priority: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 36 | pub palette_idx: usize, [INFO] [stdout] 37 | pub transformation: Transformation, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OamAttribute` 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 `0` is never read [INFO] [stdout] --> crusty-gba/src/ppu/oam_attribute.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | DoublSize(bool), [INFO] [stdout] | --------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ObjectFlag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 48 - DoublSize(bool), [INFO] [stdout] 48 + DoublSize(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crusty-gba/src/ppu/oam_attribute.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | Disbale(bool), [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ObjectFlag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 49 - Disbale(bool), [INFO] [stdout] 49 + Disbale(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `idx` is never read [INFO] [stdout] --> crusty-gba/src/ppu/oam_attribute.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | RotScale { idx: usize }, [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Transformation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `horizontal` and `veritical` are never read [INFO] [stdout] --> crusty-gba/src/ppu/oam_attribute.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | Flip { horizontal: bool, veritical: bool }, [INFO] [stdout] | ---- ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Transformation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dx`, `dmx`, `dy`, and `dmy` are never read [INFO] [stdout] --> crusty-gba/src/ppu/oam_attribute.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct RotationScaleParameter { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 132 | pub dx: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 133 | pub dmx: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 134 | pub dy: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 135 | pub dmy: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RotationScaleParameter` 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 `num_of_palettes` is never used [INFO] [stdout] --> crusty-gba/src/ppu/oam_attribute.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 179 | impl Colors { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn num_of_palettes(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WindowDimensions` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/window_control.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub(super) struct WindowDimensions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InternalWindowCnt` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/window_control.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub(super) struct InternalWindowCnt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WindowCnt` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/window_control.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | pub(super) struct WindowCnt { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bit_is_one_at` is never used [INFO] [stdout] --> crusty-gba/src/utils/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn bit_is_one_at(num: u32, x: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `half_byte_at` and `halfword_at` are never used [INFO] [stdout] --> crusty-gba/src/utils/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait Bitable { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 24 | fn bit_is_high(&self, x: u32) -> bool; [INFO] [stdout] 25 | fn half_byte_at(&self, x: u32) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 26 | fn byte_at(&self, x: u32) -> u32; [INFO] [stdout] 27 | fn halfword_at(&self, x: u32) -> u32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `display_control` [INFO] [stdout] --> crusty-gba/src/ppu/mod.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | display_control: &DisplayControl, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display_control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `gba::arm::SoftwareInterruptOp` is more private than the item `gba::arm::Arm::SoftwareInterruptOp::0` [INFO] [stdout] --> crusty-gba/src/gba/arm.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | SoftwareInterruptOp(SoftwareInterruptOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ field `gba::arm::Arm::SoftwareInterruptOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `gba::arm::SoftwareInterruptOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/arm.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | struct SoftwareInterruptOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `UndefinedInstruction` is more private than the item `gba::arm::Arm::UndefinedInstruction::0` [INFO] [stdout] --> crusty-gba/src/gba/arm.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | UndefinedInstruction(UndefinedInstruction) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field `gba::arm::Arm::UndefinedInstruction::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `UndefinedInstruction` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/arm.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | struct UndefinedInstruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `thumb::AddSubtractOp` is more private than the item `Thumb::AddSubtractOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | AddSubtractOp(AddSubtractOp), [INFO] [stdout] | ^^^^^^^^^^^^^ field `Thumb::AddSubtractOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `thumb::AddSubtractOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | struct AddSubtractOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `thumb::MoveShiftedRegisterOp` is more private than the item `Thumb::MoveShiftedRegisterOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | MoveShiftedRegisterOp(MoveShiftedRegisterOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ field `Thumb::MoveShiftedRegisterOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `thumb::MoveShiftedRegisterOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:144:1 [INFO] [stdout] | [INFO] [stdout] 144 | struct MoveShiftedRegisterOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `thumb::MathImmOp` is more private than the item `Thumb::MathImmOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | MathImmOp(MathImmOp), [INFO] [stdout] | ^^^^^^^^^ field `Thumb::MathImmOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `thumb::MathImmOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:239:1 [INFO] [stdout] | [INFO] [stdout] 239 | struct MathImmOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ALUOp` is more private than the item `Thumb::ALUOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | ALUOp(ALUOp), [INFO] [stdout] | ^^^^^ field `Thumb::ALUOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ALUOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:360:1 [INFO] [stdout] | [INFO] [stdout] 360 | struct ALUOp { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `thumb::HiRegOp` is more private than the item `Thumb::HiRegOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | HiRegOp(HiRegOp), [INFO] [stdout] | ^^^^^^^ field `Thumb::HiRegOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `thumb::HiRegOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:493:1 [INFO] [stdout] | [INFO] [stdout] 493 | struct HiRegOp { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `thumb::PcRelativeLoadOp` is more private than the item `Thumb::PcRelativeLoadOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | PcRelativeLoadOp(PcRelativeLoadOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ field `Thumb::PcRelativeLoadOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `thumb::PcRelativeLoadOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:577:1 [INFO] [stdout] | [INFO] [stdout] 577 | struct PcRelativeLoadOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LoadStoreSignExOp` is more private than the item `Thumb::LoadStoreSignExOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | LoadStoreSignExOp(LoadStoreSignExOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ field `Thumb::LoadStoreSignExOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `LoadStoreSignExOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:680:1 [INFO] [stdout] | [INFO] [stdout] 680 | struct LoadStoreSignExOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LoadAddressOp` is more private than the item `Thumb::LoadAddressOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | LoadAddressOp(LoadAddressOp), [INFO] [stdout] | ^^^^^^^^^^^^^ field `Thumb::LoadAddressOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `LoadAddressOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:897:1 [INFO] [stdout] | [INFO] [stdout] 897 | struct LoadAddressOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `thumb::LoadStoreHalfWordOp` is more private than the item `Thumb::LoadStoreHalfWordOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | LoadStoreHalfWordOp(LoadStoreHalfWordOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ field `Thumb::LoadStoreHalfWordOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `thumb::LoadStoreHalfWordOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:804:1 [INFO] [stdout] | [INFO] [stdout] 804 | struct LoadStoreHalfWordOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `thumb::LoadStoreRegOffsetOp` is more private than the item `Thumb::LoadStoreRegOffsetOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | LoadStoreRegOffsetOp(LoadStoreRegOffsetOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field `Thumb::LoadStoreRegOffsetOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `thumb::LoadStoreRegOffsetOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:615:1 [INFO] [stdout] | [INFO] [stdout] 615 | struct LoadStoreRegOffsetOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `thumb::LoadStoreImmOffsetOp` is more private than the item `Thumb::LoadStoreImmOffsetOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | LoadStoreImmOffsetOp(LoadStoreImmOffsetOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field `Thumb::LoadStoreImmOffsetOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `thumb::LoadStoreImmOffsetOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:737:1 [INFO] [stdout] | [INFO] [stdout] 737 | struct LoadStoreImmOffsetOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SpRelativeLoadOp` is more private than the item `Thumb::SpRelativeLoadOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | SpRelativeLoadOp(SpRelativeLoadOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ field `Thumb::SpRelativeLoadOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `SpRelativeLoadOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:851:1 [INFO] [stdout] | [INFO] [stdout] 851 | struct SpRelativeLoadOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AddOffsetSPOp` is more private than the item `Thumb::AddOffsetSPOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | AddOffsetSPOp(AddOffsetSPOp), [INFO] [stdout] | ^^^^^^^^^^^^^ field `Thumb::AddOffsetSPOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `AddOffsetSPOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:935:1 [INFO] [stdout] | [INFO] [stdout] 935 | struct AddOffsetSPOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `thumb::PushPopRegOp` is more private than the item `Thumb::PushPopRegOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | PushPopRegOp(PushPopRegOp), [INFO] [stdout] | ^^^^^^^^^^^^ field `Thumb::PushPopRegOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `thumb::PushPopRegOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:963:1 [INFO] [stdout] | [INFO] [stdout] 963 | struct PushPopRegOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MultipleLoadStoreOp` is more private than the item `Thumb::MultipleLoadStoreOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | MultipleLoadStoreOp(MultipleLoadStoreOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ field `Thumb::MultipleLoadStoreOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `MultipleLoadStoreOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:1046:1 [INFO] [stdout] | [INFO] [stdout] 1046 | struct MultipleLoadStoreOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `thumb::SoftwareInterruptOp` is more private than the item `Thumb::SoftwareInterruptOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | SoftwareInterruptOp(SoftwareInterruptOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ field `Thumb::SoftwareInterruptOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `thumb::SoftwareInterruptOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:1169:1 [INFO] [stdout] | [INFO] [stdout] 1169 | struct SoftwareInterruptOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ConditionalBranchOp` is more private than the item `Thumb::ConditionalBranchOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | ConditionalBranchOp(ConditionalBranchOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ field `Thumb::ConditionalBranchOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ConditionalBranchOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:1105:1 [INFO] [stdout] | [INFO] [stdout] 1105 | struct ConditionalBranchOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `thumb::UnconditionalBranchOp` is more private than the item `Thumb::UnconditionalBranchOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | UnconditionalBranchOp(UnconditionalBranchOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ field `Thumb::UnconditionalBranchOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `thumb::UnconditionalBranchOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:1202:1 [INFO] [stdout] | [INFO] [stdout] 1202 | struct UnconditionalBranchOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LongBranchWithLinkOp` is more private than the item `Thumb::LongBranchWithLinkOp::0` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | LongBranchWithLinkOp(LongBranchWithLinkOp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field `Thumb::LongBranchWithLinkOp::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `LongBranchWithLinkOp` is only usable at visibility `pub(self)` [INFO] [stdout] --> crusty-gba/src/gba/thumb.rs:1230:1 [INFO] [stdout] | [INFO] [stdout] 1230 | struct LongBranchWithLinkOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCEPTION_VECTOR_RESET` is never used [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const EXCEPTION_VECTOR_RESET: usize = 0x0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCEPTION_VECTOR_UNDF` is never used [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const EXCEPTION_VECTOR_UNDF: usize = 0x4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCEPTION_VECTOR_IRQ` is never used [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const EXCEPTION_VECTOR_IRQ: usize = 0x18; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCEPTION_VECTOR_ABORT_PREFETCH` is never used [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const EXCEPTION_VECTOR_ABORT_PREFETCH: usize = 0xc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCEPTION_VECTOR_ABORT_DATA` is never used [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const EXCEPTION_VECTOR_ABORT_DATA: usize = 0x10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCEPTION_VECTOR_RESERVE` is never used [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const EXCEPTION_VECTOR_RESERVE: usize = 0x14; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCEPTION_VECTOR_FIQ` is never used [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const EXCEPTION_VECTOR_FIQ: usize = 0x1c; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CPSR_FIQ` is never used [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const CPSR_FIQ: u32 = 0x40; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_abs_int_value` is never used [INFO] [stdout] --> crusty-gba/src/gba/mod.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn get_abs_int_value(num: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_logical_operation` is never used [INFO] [stdout] --> crusty-gba/src/gba/arm.rs:434:8 [INFO] [stdout] | [INFO] [stdout] 433 | impl DataProcessingOp { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 434 | fn is_logical_operation(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HalfwordRegOffset` is never constructed [INFO] [stdout] --> crusty-gba/src/gba/arm.rs:670:12 [INFO] [stdout] | [INFO] [stdout] 670 | pub struct HalfwordRegOffset { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> crusty-gba/src/gba/cpu.rs:357:12 [INFO] [stdout] | [INFO] [stdout] 168 | impl Cpu { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 357 | pub fn disable_fiq(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 361 | pub fn enable_fiq(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub fn is_fiq(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 373 | pub fn enable_irq(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 377 | pub fn is_irq(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub fn set_cpsr_mode_bits(&mut self, value: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 464 | pub fn set_n_status(&mut self, status: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 468 | pub fn set_c_status(&mut self, status: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 472 | pub fn set_z_status(&mut self, status: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 557 | pub fn tick_for_cycles(&mut self, ram: &mut SystemMemory, num_of_cycles: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INTERNAL_DMA_CONTROL_0` is never used [INFO] [stdout] --> crusty-gba/src/gba/system.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const INTERNAL_DMA_CONTROL_0: usize = 0x0000ba; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INTERNAL_DMA_CONTROL_1` is never used [INFO] [stdout] --> crusty-gba/src/gba/system.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const INTERNAL_DMA_CONTROL_1: usize = 0x0000c6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INTERNAL_DMA_CONTROL_2` is never used [INFO] [stdout] --> crusty-gba/src/gba/system.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const INTERNAL_DMA_CONTROL_2: usize = 0x0000d2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INTERNAL_DMA_CONTROL_3` is never used [INFO] [stdout] --> crusty-gba/src/gba/system.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const INTERNAL_DMA_CONTROL_3: usize = 0x0000de; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_dma_enabled`, `run_dma`, `get_vram`, and `get_wram` are never used [INFO] [stdout] --> crusty-gba/src/gba/system.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl SystemMemory { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn is_dma_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn run_dma(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn get_vram(&self) -> &[u32] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn get_wram(&self) -> &[u32] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DmaControl` is never constructed [INFO] [stdout] --> crusty-gba/src/gba/dma.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub(super) struct DmaControl { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InterruptMasterEnable` is never constructed [INFO] [stdout] --> crusty-gba/src/gba/mapped_io.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct InterruptMasterEnable(bool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interrupt_enable` is never used [INFO] [stdout] --> crusty-gba/src/gba/mapped_io.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn interrupt_enable(ram: &SystemMemory) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interrupt_request` is never used [INFO] [stdout] --> crusty-gba/src/gba/mapped_io.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn interrupt_request(ram: &SystemMemory) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interrupt_master_enable` is never used [INFO] [stdout] --> crusty-gba/src/gba/mapped_io.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn interrupt_master_enable(ram: &SystemMemory) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InterruptEnableOrRequest` is never constructed [INFO] [stdout] --> crusty-gba/src/gba/mapped_io.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct InterruptEnableOrRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `V_COUNTER_FLAG` is never used [INFO] [stdout] --> crusty-gba/src/ppu/mod.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const V_COUNTER_FLAG: u32 = 0b00000100; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAME_BUFFER_0_START` is never used [INFO] [stdout] --> crusty-gba/src/ppu/mod.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const FRAME_BUFFER_0_START: u32 = 0x6000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BITMAP_OBJ_DATA_OFFSET` is never used [INFO] [stdout] --> crusty-gba/src/ppu/mod.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const BITMAP_OBJ_DATA_OFFSET: u32 = 0x14000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAME_BUFFER_1_OFFSET` is never used [INFO] [stdout] --> crusty-gba/src/ppu/mod.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | const FRAME_BUFFER_1_OFFSET: u32 = 0xA000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mosaic` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/mod.rs:353:8 [INFO] [stdout] | [INFO] [stdout] 353 | struct Mosaic { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> crusty-gba/src/ppu/bg_control.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub(super) struct BgControl { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 30 | pub bg_priority: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 31 | pub character_base_block: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | pub mosaic: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | pub pallete: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 34 | pub screen_base_block: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub display_area_wraparound: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | pub screen_size: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BgControl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BgOffset` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/bg_control.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | pub(super) struct BgOffset { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BgRotScale` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/bg_control.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | pub(super) struct BgRotScale { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InternalColorEffect` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/color_effect.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub(super) struct InternalColorEffect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ColorEffect` is never used [INFO] [stdout] --> crusty-gba/src/ppu/color_effect.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | pub(super) enum ColorEffect { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EffectCoef` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/color_effect.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | pub(super) struct EffectCoef(u32); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColorEffectSelection` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/color_effect.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | pub(super) struct ColorEffectSelection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_stat` is never used [INFO] [stdout] --> crusty-gba/src/ppu/disp_control.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn display_stat(ram: &SystemMemory) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> crusty-gba/src/ppu/disp_control.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub(super) struct DisplayControl { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 20 | pub bg_mode: u32, [INFO] [stdout] 21 | pub gbc_mode: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | pub display_frame_select: bool, [INFO] [stdout] 23 | pub h_blank_interval_free: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | pub obj_character_mapping: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub forced_blank: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub display_window0: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | pub display_window1: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub display_window_obj: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DisplayControl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DisplayStat` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/disp_control.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | pub(super) struct DisplayStat { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_oam_entry_enabled` is never used [INFO] [stdout] --> crusty-gba/src/ppu/oam_attribute.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn is_oam_entry_enabled(value: &[u32]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_rot_scale`, `object_flag`, `obj_mode`, `obj_mosaic`, `priority`, and `transformation` are never read [INFO] [stdout] --> crusty-gba/src/ppu/oam_attribute.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct OamAttribute { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | pub is_rot_scale: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | pub object_flag: ObjectFlag, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 30 | pub obj_mode: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | pub obj_mosaic: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub priority: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 36 | pub palette_idx: usize, [INFO] [stdout] 37 | pub transformation: Transformation, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OamAttribute` 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 `0` is never read [INFO] [stdout] --> crusty-gba/src/ppu/oam_attribute.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | DoublSize(bool), [INFO] [stdout] | --------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ObjectFlag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 48 - DoublSize(bool), [INFO] [stdout] 48 + DoublSize(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crusty-gba/src/ppu/oam_attribute.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | Disbale(bool), [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ObjectFlag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 49 - Disbale(bool), [INFO] [stdout] 49 + Disbale(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `idx` is never read [INFO] [stdout] --> crusty-gba/src/ppu/oam_attribute.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | RotScale { idx: usize }, [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Transformation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `horizontal` and `veritical` are never read [INFO] [stdout] --> crusty-gba/src/ppu/oam_attribute.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | Flip { horizontal: bool, veritical: bool }, [INFO] [stdout] | ---- ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Transformation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dx`, `dmx`, `dy`, and `dmy` are never read [INFO] [stdout] --> crusty-gba/src/ppu/oam_attribute.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct RotationScaleParameter { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 132 | pub dx: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 133 | pub dmx: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 134 | pub dy: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 135 | pub dmy: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RotationScaleParameter` 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 `num_of_palettes` is never used [INFO] [stdout] --> crusty-gba/src/ppu/oam_attribute.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 179 | impl Colors { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn num_of_palettes(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WindowDimensions` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/window_control.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub(super) struct WindowDimensions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InternalWindowCnt` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/window_control.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub(super) struct InternalWindowCnt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WindowCnt` is never constructed [INFO] [stdout] --> crusty-gba/src/ppu/window_control.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | pub(super) struct WindowCnt { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bit_is_one_at` is never used [INFO] [stdout] --> crusty-gba/src/utils/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn bit_is_one_at(num: u32, x: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `half_byte_at` and `halfword_at` are never used [INFO] [stdout] --> crusty-gba/src/utils/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait Bitable { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 24 | fn bit_is_high(&self, x: u32) -> bool; [INFO] [stdout] 25 | fn half_byte_at(&self, x: u32) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 26 | fn byte_at(&self, x: u32) -> u32; [INFO] [stdout] 27 | fn halfword_at(&self, x: u32) -> u32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 04s [INFO] running `Command { std: "docker" "inspect" "79500c09a4b56566b07264df11af02f2635d132e84f74aeb7822b271d52f81c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79500c09a4b56566b07264df11af02f2635d132e84f74aeb7822b271d52f81c4", kill_on_drop: false }` [INFO] [stdout] 79500c09a4b56566b07264df11af02f2635d132e84f74aeb7822b271d52f81c4