[INFO] cloning repository https://github.com/and00h/ohBoi-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/and00h/ohBoi-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fand00h%2FohBoi-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fand00h%2FohBoi-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 903c3bfe825b92bcc83c65b078fe071a6f6d86d9 [INFO] checking and00h/ohBoi-rs/903c3bfe825b92bcc83c65b078fe071a6f6d86d9 against master#c0bb140a37c81cf59a0b40c21c9413059644e294 for pr-129249-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fand00h%2FohBoi-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/and00h/ohBoi-rs [INFO] finished tweaking git repo https://github.com/and00h/ohBoi-rs [INFO] tweaked toml for git repo https://github.com/and00h/ohBoi-rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/and00h/ohBoi-rs on toolchain c0bb140a37c81cf59a0b40c21c9413059644e294 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0bb140a37c81cf59a0b40c21c9413059644e294" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/and00h/ohBoi-rs 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" "+c0bb140a37c81cf59a0b40c21c9413059644e294" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strfmt v0.2.4 [INFO] [stderr] Downloaded openal-sys v1.16.0 [INFO] [stderr] Downloaded chlorine v1.0.13 [INFO] [stderr] Downloaded openal v0.2.2 [INFO] [stderr] Downloaded bitfield-macros v0.19.0 [INFO] [stderr] Downloaded bitfield v0.19.0 [INFO] [stderr] Downloaded imgui-sdl2-support v0.13.0 [INFO] [stderr] Downloaded sdl2 v0.37.0 [INFO] [stderr] Downloaded tinyfiledialogs v3.9.1 [INFO] [stderr] Downloaded clap v4.5.37 [INFO] [stderr] Downloaded cc v1.2.20 [INFO] [stderr] Downloaded imgui v0.12.0 [INFO] [stderr] Downloaded glow v0.14.2 [INFO] [stderr] Downloaded clap_builder v4.5.37 [INFO] [stderr] Downloaded fern v0.7.1 [INFO] [stderr] Downloaded imgui-glow-renderer v0.13.0 [INFO] [stderr] Downloaded imgui-sys v0.12.0 [INFO] [stderr] Downloaded sdl2-sys v0.37.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 92f023c10a85fd1652229b1a5c10574eca1ba42a8de1526f5e3ff3dfbffc2d3c [INFO] running `Command { std: "docker" "start" "92f023c10a85fd1652229b1a5c10574eca1ba42a8de1526f5e3ff3dfbffc2d3c", 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" "92f023c10a85fd1652229b1a5c10574eca1ba42a8de1526f5e3ff3dfbffc2d3c" "/opt/rustwide/cargo-home/bin/cargo" "+c0bb140a37c81cf59a0b40c21c9413059644e294" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92f023c10a85fd1652229b1a5c10574eca1ba42a8de1526f5e3ff3dfbffc2d3c", 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" "92f023c10a85fd1652229b1a5c10574eca1ba42a8de1526f5e3ff3dfbffc2d3c" "/opt/rustwide/cargo-home/bin/cargo" "+c0bb140a37c81cf59a0b40c21c9413059644e294" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking chlorine v1.0.13 [INFO] [stderr] Checking mint v0.5.9 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling cc v1.2.20 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Compiling sdl2 v0.37.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking strfmt v0.2.4 [INFO] [stderr] Checking glow v0.14.2 [INFO] [stderr] Compiling sdl2-sys v0.37.0 [INFO] [stderr] Checking fern v0.7.1 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking clap_builder v4.5.37 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking openal-sys v1.16.0 [INFO] [stderr] Checking openal v0.2.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling imgui-sys v0.12.0 [INFO] [stderr] Compiling tinyfiledialogs v3.9.1 [INFO] [stderr] Checking clap v4.5.37 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling bitfield-macros v0.19.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking bitfield v0.19.0 [INFO] [stderr] Checking ohboi-core v0.1.0 (/opt/rustwide/workdir/ohboi-core) [INFO] [stdout] warning: unused import: `vram::Tile` [INFO] [stdout] --> ohboi-core/src/ppu/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use vram::Tile; [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: `vram::Tile` [INFO] [stdout] --> ohboi-core/src/ppu/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use vram::Tile; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_days` [INFO] [stdout] --> ohboi-core/src/memory/cartridge/mbc/mbc3.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | let new_days = self.day as u32 + (new_hours / 24); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_days` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cgb` [INFO] [stdout] --> ohboi-core/src/ppu/fifo.rs:226:63 [INFO] [stdout] | [INFO] [stdout] 226 | fn get_tile(&mut self, vram: &Vram, signed_tileset: bool, cgb: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cgb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `keys_enabled` and `keys_pressed` are never used [INFO] [stdout] --> ohboi-core/src/joypad.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl Joypad { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | fn keys_enabled(&self) -> bool { (self.key_state_buttons & key_masks::KEY_GROUPS) != key_masks::KEY_GROUPS } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 105 | #[inline] [INFO] [stdout] 106 | fn keys_pressed(&self) -> bool { (self.key_state_buttons & key_masks::KEYS) != key_masks::KEYS } [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 `KEY_GROUPS` is never used [INFO] [stdout] --> ohboi-core/src/joypad.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | pub const KEY_GROUPS: u8 = DIRECTIONAL | BUTTON; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KEYS` is never used [INFO] [stdout] --> ohboi-core/src/joypad.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | pub const KEYS: u8 = RIGHT_A | LEFT_B | UP_SELECT | DOWN_START; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `NARGS` is never used [INFO] [stdout] --> ohboi-core/src/cpu/instructions.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub static NARGS: [usize; 256] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MNEMONICS` is never used [INFO] [stdout] --> ohboi-core/src/cpu/instructions.rs:270:11 [INFO] [stdout] | [INFO] [stdout] 270 | pub const MNEMONICS: &[&str; 256] = &[ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hi` is never used [INFO] [stdout] --> ohboi-core/src/cpu/instructions.rs:559:12 [INFO] [stdout] | [INFO] [stdout] 539 | impl InstArg { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 559 | pub fn hi(&self) -> u8 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Register` is never used [INFO] [stdout] --> ohboi-core/src/cpu/prefixed_insts.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | enum Register { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PREFIXED_MNEMONICS` is never used [INFO] [stdout] --> ohboi-core/src/cpu/prefixed_insts.rs:479:11 [INFO] [stdout] | [INFO] [stdout] 479 | pub const PREFIXED_MNEMONICS: [&str; 0x100] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `state` is never used [INFO] [stdout] --> ohboi-core/src/memory/dma.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl DmaController { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn state(&self) -> DmaState { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `num_banks`, `num_ram_banks`, and `has_rtc` are never used [INFO] [stdout] --> ohboi-core/src/memory/cartridge/mbc/mod.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) trait Mbc { [INFO] [stdout] | --- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 31 | fn num_banks(&self) -> usize { 2 } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | fn num_ram_banks(&self) -> usize { 0 } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn has_rtc(&self) -> bool { false } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `current_time` is never read [INFO] [stdout] --> ohboi-core/src/memory/cartridge/mbc/mbc3.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct Rtc { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | current_time: SystemTime [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_saved_time_from_buf`, `rtc_buffer_for_sav`, and `update_time` are never used [INFO] [stdout] --> ohboi-core/src/memory/cartridge/mbc/mbc3.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Rtc { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn read_saved_time_from_buf(&mut self, buf: &[u8], size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn rtc_buffer_for_sav(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn update_time(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `n_ram_banks` is never read [INFO] [stdout] --> ohboi-core/src/memory/cartridge/mbc/mbc3.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 139 | pub(crate) struct Mbc3 { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 148 | n_ram_banks: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `n_ram_banks` is never read [INFO] [stdout] --> ohboi-core/src/memory/cartridge/mbc/mbc5.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct Mbc5 { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | n_ram_banks: usize [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `spr_front` and `is_spr_fifo_full` are never used [INFO] [stdout] --> ohboi-core/src/ppu/fifo.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 155 | impl PixelFetcher { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn spr_front(&self) -> Option<&SpritePixel> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | pub fn is_spr_fifo_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> ohboi-core/src/ppu/palettes.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl DmgPalette { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn value(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_index` and `color` are never used [INFO] [stdout] --> ohboi-core/src/ppu/palettes.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl CgbPalette { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn read_index(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn color(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read` and `write` are never used [INFO] [stdout] --> ohboi-core/src/ppu/oam.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl Oam { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn write(&mut self, addr: u16, value: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `signed_addressing` is never read [INFO] [stdout] --> ohboi-core/src/ppu/vram.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct Vram { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 74 | signed_addressing: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_days` [INFO] [stdout] --> ohboi-core/src/memory/cartridge/mbc/mbc3.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | let new_days = self.day as u32 + (new_hours / 24); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_days` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cgb` [INFO] [stdout] --> ohboi-core/src/ppu/fifo.rs:226:63 [INFO] [stdout] | [INFO] [stdout] 226 | fn get_tile(&mut self, vram: &Vram, signed_tileset: bool, cgb: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cgb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_pressed`, `keys_enabled`, and `keys_pressed` are never used [INFO] [stdout] --> ohboi-core/src/joypad.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 44 | impl Joypad { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | pub(self) fn is_pressed(&self, key: Key) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | fn keys_enabled(&self) -> bool { (self.key_state_buttons & key_masks::KEY_GROUPS) != key_masks::KEY_GROUPS } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 105 | #[inline] [INFO] [stdout] 106 | fn keys_pressed(&self) -> bool { (self.key_state_buttons & key_masks::KEYS) != key_masks::KEYS } [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 `KEY_GROUPS` is never used [INFO] [stdout] --> ohboi-core/src/joypad.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | pub const KEY_GROUPS: u8 = DIRECTIONAL | BUTTON; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KEYS` is never used [INFO] [stdout] --> ohboi-core/src/joypad.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | pub const KEYS: u8 = RIGHT_A | LEFT_B | UP_SELECT | DOWN_START; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `NARGS` is never used [INFO] [stdout] --> ohboi-core/src/cpu/instructions.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub static NARGS: [usize; 256] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MNEMONICS` is never used [INFO] [stdout] --> ohboi-core/src/cpu/instructions.rs:270:11 [INFO] [stdout] | [INFO] [stdout] 270 | pub const MNEMONICS: &[&str; 256] = &[ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hi` is never used [INFO] [stdout] --> ohboi-core/src/cpu/instructions.rs:559:12 [INFO] [stdout] | [INFO] [stdout] 539 | impl InstArg { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 559 | pub fn hi(&self) -> u8 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Register` is never used [INFO] [stdout] --> ohboi-core/src/cpu/prefixed_insts.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | enum Register { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PREFIXED_MNEMONICS` is never used [INFO] [stdout] --> ohboi-core/src/cpu/prefixed_insts.rs:479:11 [INFO] [stdout] | [INFO] [stdout] 479 | pub const PREFIXED_MNEMONICS: [&str; 0x100] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `state` is never used [INFO] [stdout] --> ohboi-core/src/memory/dma.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl DmaController { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn state(&self) -> DmaState { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `num_banks`, `num_ram_banks`, and `has_rtc` are never used [INFO] [stdout] --> ohboi-core/src/memory/cartridge/mbc/mod.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) trait Mbc { [INFO] [stdout] | --- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 31 | fn num_banks(&self) -> usize { 2 } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | fn num_ram_banks(&self) -> usize { 0 } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn has_rtc(&self) -> bool { false } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `current_time` is never read [INFO] [stdout] --> ohboi-core/src/memory/cartridge/mbc/mbc3.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct Rtc { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | current_time: SystemTime [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_saved_time_from_buf`, `rtc_buffer_for_sav`, and `update_time` are never used [INFO] [stdout] --> ohboi-core/src/memory/cartridge/mbc/mbc3.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Rtc { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn read_saved_time_from_buf(&mut self, buf: &[u8], size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn rtc_buffer_for_sav(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn update_time(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `n_ram_banks` is never read [INFO] [stdout] --> ohboi-core/src/memory/cartridge/mbc/mbc3.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 139 | pub(crate) struct Mbc3 { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 148 | n_ram_banks: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `n_ram_banks` is never read [INFO] [stdout] --> ohboi-core/src/memory/cartridge/mbc/mbc5.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct Mbc5 { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | n_ram_banks: usize [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `spr_front` and `is_spr_fifo_full` are never used [INFO] [stdout] --> ohboi-core/src/ppu/fifo.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 155 | impl PixelFetcher { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn spr_front(&self) -> Option<&SpritePixel> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | pub fn is_spr_fifo_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> ohboi-core/src/ppu/palettes.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl DmgPalette { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn value(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_index` and `color` are never used [INFO] [stdout] --> ohboi-core/src/ppu/palettes.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl CgbPalette { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn read_index(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn color(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read` and `write` are never used [INFO] [stdout] --> ohboi-core/src/ppu/oam.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl Oam { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn write(&mut self, addr: u16, value: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `signed_addressing` is never read [INFO] [stdout] --> ohboi-core/src/ppu/vram.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct Vram { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 74 | signed_addressing: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking imgui v0.12.0 [INFO] [stderr] Checking imgui-sdl2-support v0.13.0 [INFO] [stderr] Checking imgui-glow-renderer v0.13.0 [INFO] [stderr] Checking ohboi-sdl v0.1.0 (/opt/rustwide/workdir/ohboi-sdl) [INFO] [stdout] warning: unused import: `ohboi_core::cpu::Register16` [INFO] [stdout] --> ohboi-sdl/src/ui/widgets/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use ohboi_core::cpu::Register16; [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: `ohboi_core::GameBoy` [INFO] [stdout] --> ohboi-sdl/src/ui/widgets/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use ohboi_core::GameBoy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ui::widgets::hexview::calc_hex_view_width` [INFO] [stdout] --> ohboi-sdl/src/ui/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::ui::widgets::hexview::calc_hex_view_width; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ohboi_core::cpu::Register16` [INFO] [stdout] --> ohboi-sdl/src/ui/widgets/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use ohboi_core::cpu::Register16; [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: `ohboi_core::GameBoy` [INFO] [stdout] --> ohboi-sdl/src/ui/widgets/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use ohboi_core::GameBoy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ui::widgets::hexview::calc_hex_view_width` [INFO] [stdout] --> ohboi-sdl/src/ui/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::ui::widgets::hexview::calc_hex_view_width; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log_buffer` [INFO] [stdout] --> ohboi-sdl/src/ui/mod.rs:127:16 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn new(log_buffer: Option>>>) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile_texture` [INFO] [stdout] --> ohboi-sdl/src/ui/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | let tile_texture = new_texture(32 * 8, 24 * 8, &gl, &mut textures)?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tile_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample` [INFO] [stdout] --> ohboi-sdl/src/ui/mod.rs:236:68 [INFO] [stdout] | [INFO] [stdout] 236 | ...oy, text: Option, sample: (&[f32], &[f32], &[f32], &[f32])) -> Result> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fps` is assigned to, but never used [INFO] [stdout] --> ohboi-sdl/src/main.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let mut fps = String::from("0.0"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_fps` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `fps` is never read [INFO] [stdout] --> ohboi-sdl/src/main.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | fps = format!("FPS: {}", 1.0 / elapsed.as_secs_f64()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `text` and `level` are never read [INFO] [stdout] --> ohboi-sdl/src/logging.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ImguiLogString { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 8 | pub text: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub level: log::Level [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `gl_context` is never read [INFO] [stdout] --> ohboi-sdl/src/ui/mod.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct OhBoiUi { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 104 | gl_context: GLContext, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TileWindow` is never constructed [INFO] [stdout] --> ohboi-sdl/src/ui/mod.rs:432:12 [INFO] [stdout] | [INFO] [stdout] 432 | pub struct TileWindow { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `show`, and `texture_id` are never used [INFO] [stdout] --> ohboi-sdl/src/ui/mod.rs:437:12 [INFO] [stdout] | [INFO] [stdout] 436 | impl TileWindow { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 437 | pub fn new(texture: TextureId) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 441 | pub fn show(&self, ui: &mut Ui) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 455 | pub fn texture_id(&self) -> TextureId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_window` is never used [INFO] [stdout] --> ohboi-sdl/src/ui/widgets/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn log_window(ui: &Ui, title: &str, log: Arc>>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hex_view` is never used [INFO] [stdout] --> ohboi-sdl/src/ui/widgets/hexview.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn hex_view(ui: &Ui, bytes_per_row: usize, data: &[u8], split_threshold: Option, selected: &mut usize, id: Option<&str>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HexView` is never constructed [INFO] [stdout] --> ohboi-sdl/src/ui/widgets/hexview.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct HexView { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `show`, and `toggle` are never used [INFO] [stdout] --> ohboi-sdl/src/ui/widgets/hexview.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl HexView { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 55 | // ... [INFO] [stdout] 56 | pub fn new(title: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn show(&mut self, ui: &mut Ui, data: &[u8], position: [f32; 2], split_threshold: Option) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn toggle(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_hex_view_width` is never used [INFO] [stdout] --> ohboi-sdl/src/ui/widgets/hexview.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn calc_hex_view_width(ui: &mut Ui, bytes_per_row: usize) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> ohboi-sdl/src/ui/mod.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | self.audio_device.queue_audio(audio); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 234 | let _ = self.audio_device.queue_audio(audio); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log_buffer` [INFO] [stdout] --> ohboi-sdl/src/ui/mod.rs:127:16 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn new(log_buffer: Option>>>) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile_texture` [INFO] [stdout] --> ohboi-sdl/src/ui/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | let tile_texture = new_texture(32 * 8, 24 * 8, &gl, &mut textures)?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tile_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample` [INFO] [stdout] --> ohboi-sdl/src/ui/mod.rs:236:68 [INFO] [stdout] | [INFO] [stdout] 236 | ...oy, text: Option, sample: (&[f32], &[f32], &[f32], &[f32])) -> Result> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fps` is assigned to, but never used [INFO] [stdout] --> ohboi-sdl/src/main.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let mut fps = String::from("0.0"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_fps` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `fps` is never read [INFO] [stdout] --> ohboi-sdl/src/main.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | fps = format!("FPS: {}", 1.0 / elapsed.as_secs_f64()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `text` and `level` are never read [INFO] [stdout] --> ohboi-sdl/src/logging.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ImguiLogString { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 8 | pub text: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub level: log::Level [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `gl_context` is never read [INFO] [stdout] --> ohboi-sdl/src/ui/mod.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct OhBoiUi { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 104 | gl_context: GLContext, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TileWindow` is never constructed [INFO] [stdout] --> ohboi-sdl/src/ui/mod.rs:432:12 [INFO] [stdout] | [INFO] [stdout] 432 | pub struct TileWindow { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `show`, and `texture_id` are never used [INFO] [stdout] --> ohboi-sdl/src/ui/mod.rs:437:12 [INFO] [stdout] | [INFO] [stdout] 436 | impl TileWindow { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 437 | pub fn new(texture: TextureId) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 441 | pub fn show(&self, ui: &mut Ui) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 455 | pub fn texture_id(&self) -> TextureId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_window` is never used [INFO] [stdout] --> ohboi-sdl/src/ui/widgets/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn log_window(ui: &Ui, title: &str, log: Arc>>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hex_view` is never used [INFO] [stdout] --> ohboi-sdl/src/ui/widgets/hexview.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn hex_view(ui: &Ui, bytes_per_row: usize, data: &[u8], split_threshold: Option, selected: &mut usize, id: Option<&str>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HexView` is never constructed [INFO] [stdout] --> ohboi-sdl/src/ui/widgets/hexview.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct HexView { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `show`, and `toggle` are never used [INFO] [stdout] --> ohboi-sdl/src/ui/widgets/hexview.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl HexView { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 55 | // ... [INFO] [stdout] 56 | pub fn new(title: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn show(&mut self, ui: &mut Ui, data: &[u8], position: [f32; 2], split_threshold: Option) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn toggle(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_hex_view_width` is never used [INFO] [stdout] --> ohboi-sdl/src/ui/widgets/hexview.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn calc_hex_view_width(ui: &mut Ui, bytes_per_row: usize) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> ohboi-sdl/src/ui/mod.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | self.audio_device.queue_audio(audio); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 234 | let _ = self.audio_device.queue_audio(audio); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.75s [INFO] running `Command { std: "docker" "inspect" "92f023c10a85fd1652229b1a5c10574eca1ba42a8de1526f5e3ff3dfbffc2d3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92f023c10a85fd1652229b1a5c10574eca1ba42a8de1526f5e3ff3dfbffc2d3c", kill_on_drop: false }` [INFO] [stdout] 92f023c10a85fd1652229b1a5c10574eca1ba42a8de1526f5e3ff3dfbffc2d3c