[INFO] cloning repository https://github.com/frublox/gbemu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/frublox/gbemu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrublox%2Fgbemu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrublox%2Fgbemu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d059b8bd5ab201b9a413cf29f97cefa2b25be77e [INFO] checking frublox/gbemu against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrublox%2Fgbemu" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/frublox/gbemu on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/frublox/gbemu [INFO] finished tweaking git repo https://github.com/frublox/gbemu [INFO] tweaked toml for git repo https://github.com/frublox/gbemu written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding sdl2 v0.35.2 (latest: v0.37.0) [INFO] [stderr] Adding sdl2-sys v0.35.2 (latest: v0.37.0) [INFO] [stderr] Adding self_cell v0.10.3 (latest: v1.0.4) [INFO] [stderr] Adding version-compare v0.1.1 (latest: v0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded argparse v0.2.2 [INFO] [stderr] Downloaded version-compare v0.1.1 [INFO] [stderr] Downloaded self_cell v0.10.3 [INFO] [stderr] Downloaded sdl2 v0.35.2 [INFO] [stderr] Downloaded sdl2-sys v0.35.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc3ea9ac2fd887aed13343c9f079d629a473dda289dffddb6d843ef47675484c [INFO] running `Command { std: "docker" "start" "-a" "dc3ea9ac2fd887aed13343c9f079d629a473dda289dffddb6d843ef47675484c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc3ea9ac2fd887aed13343c9f079d629a473dda289dffddb6d843ef47675484c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc3ea9ac2fd887aed13343c9f079d629a473dda289dffddb6d843ef47675484c", kill_on_drop: false }` [INFO] [stdout] dc3ea9ac2fd887aed13343c9f079d629a473dda289dffddb6d843ef47675484c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1acb7992c4509a8cf86adb01bfccc7a06d3b1b555f2071d8ac5a71b601b6624 [INFO] running `Command { std: "docker" "start" "-a" "c1acb7992c4509a8cf86adb01bfccc7a06d3b1b555f2071d8ac5a71b601b6624", kill_on_drop: false }` [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking self_cell v1.0.4 [INFO] [stderr] Checking argparse v0.2.2 [INFO] [stderr] Checking self_cell v0.10.3 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking gbemu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/gameboy/cpu/mod.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub use exec::{*}; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/gameboy/cpu/mod.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | pub use instruction::{*}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/gameboy/mod.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | pub use debug::{*}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/gameboy/mod.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | pub use utils::{*}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/gameboy/cpu/mod.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub use exec::{*}; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/gameboy/cpu/mod.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | pub use instruction::{*}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/gameboy/mod.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | pub use debug::{*}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/gameboy/mod.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | pub use utils::{*}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/gameboy/cartridge.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | InvalidCartridgeType(u8), [INFO] [stdout] | -------------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CartridgeLoadErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 18 | InvalidCartridgeType(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/gameboy/cartridge.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | UnsupportedCartridgeType(u8), [INFO] [stdout] | ------------------------ ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CartridgeLoadErr` 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] 19 | UnsupportedCartridgeType(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_new_rtc_regs` is never used [INFO] [stdout] --> src/gameboy/cartridge.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn calc_new_rtc_regs(_timestamp: u64, _rtc_s: u8, _rtc_m: u8, _rtc_h: u8, _rtc_dl: u8, _rtc_dh: u8) -> (u8, u8, u8, u8, u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/gameboy/bess.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct NameBlock { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 39 | pub name: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NameBlock` 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 `title` and `checksum` are never read [INFO] [stdout] --> src/gameboy/bess.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct InfoBlock { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 67 | pub title: [u8; 16], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 68 | pub checksum: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InfoBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/gameboy/bess.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct CoreBlock<'a> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 99 | pub major: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 100 | pub minor: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 101 | pub model: [u8; 4], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 102 | pub pc: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 103 | pub af: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 104 | pub bc: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 105 | pub de: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 106 | pub hl: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 107 | pub sp: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 108 | pub ime: u8, // 0 or 1 [INFO] [stdout] | ^^^ [INFO] [stdout] 109 | pub ie: u8, [INFO] [stdout] | ^^ [INFO] [stdout] 110 | pub execution_state: u8, // 0 = running, 1 = halted, 2 = stopped [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 111 | pub reserved: u8, // Must be 0 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 112 | pub memory_mapped_registers: &'a [u8; 128], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 113 | pub ram: &'a [u8], [INFO] [stdout] | ^^^ [INFO] [stdout] 114 | pub vram: &'a [u8], [INFO] [stdout] | ^^^^ [INFO] [stdout] 115 | pub mbc_ram: &'a [u8], [INFO] [stdout] 116 | pub oam: &'a [u8], [INFO] [stdout] | ^^^ [INFO] [stdout] 117 | pub hram: &'a [u8], [INFO] [stdout] | ^^^^ [INFO] [stdout] 118 | pub bgp: &'a [u8], [INFO] [stdout] | ^^^ [INFO] [stdout] 119 | pub obp: &'a [u8], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CoreBlock` 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 `bytes` is never read [INFO] [stdout] --> src/gameboy/bess.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 192 | pub struct XaomBlock { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 193 | pub bytes: [u8; 0x60], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `XaomBlock` 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 `registers` is never read [INFO] [stdout] --> src/gameboy/bess.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 221 | pub struct MbcBlock { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 222 | pub registers: Vec<(u16, u8)>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MbcBlock` 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 `latched_seconds`, `latched_minutes`, `latched_hours`, `latched_days_low`, `latched_days_high`, and `unix_timestamp` are never read [INFO] [stdout] --> src/gameboy/bess.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 254 | pub struct RtcBlock { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 260 | pub latched_seconds: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 261 | pub latched_minutes: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 262 | pub latched_hours: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 263 | pub latched_days_low: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 264 | pub latched_days_high: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 265 | pub unix_timestamp: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RtcBlock` 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 `unix_timestamp`, `rtc_minutes`, `rtc_days`, `alarm_minutes`, and `alarm_days` are never read [INFO] [stdout] --> src/gameboy/bess.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 323 | pub struct Huc3Block { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 324 | pub unix_timestamp: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 325 | pub rtc_minutes: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 326 | pub rtc_days: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 327 | pub alarm_minutes: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 328 | pub alarm_days: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Huc3Block` 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 `unix_timestamp`, `rtc`, `latched_rtc`, and `mr4` are never read [INFO] [stdout] --> src/gameboy/bess.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 363 | pub struct Tpp1Block { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 364 | pub unix_timestamp: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 365 | pub rtc: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 366 | pub latched_rtc: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 367 | pub mr4: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tpp1Block` 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 `flags`, `argument_bits_left`, `eeprom_command`, `pending_bits`, `latched_gyro_x`, and `latched_gyro_y` are never read [INFO] [stdout] --> src/gameboy/bess.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 396 | pub struct Mbc7Block { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 397 | pub flags: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 398 | pub argument_bits_left: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 399 | pub eeprom_command: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 400 | pub pending_bits: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 401 | pub latched_gyro_x: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 402 | pub latched_gyro_y: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mbc7Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/gameboy/bess.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 433 | pub struct SgbBlock<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 434 | pub border_tile_data: &'a [u8], // 0x2000 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 435 | pub border_tilemap: &'a [u8], // 0x800 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 436 | pub border_palettes: &'a [u8], // 0x80 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 437 | pub active_colorization_palettes: &'a [u8], // 0x20 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 438 | pub ram_colorization_palettes: &'a [u8], // 0x1000 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 439 | pub attribute_map: &'a [u8], // 0x168 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 440 | pub attribute_files: &'a [u8], // 0xfd2 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 441 | pub multiplayer_status: u8, // High nibble = player count (1, 2 or 4), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SgbBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/gameboy/bess.rs:476:9 [INFO] [stdout] | [INFO] [stdout] 475 | pub struct Bess<'a> { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 476 | pub filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 477 | pub name_block: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 478 | pub info_block: InfoBlock, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 479 | pub core_block: CoreBlock<'a>, [INFO] [stdout] 480 | pub xaom_block: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 481 | pub mbc_block: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 482 | pub rtc_block: Option, [INFO] [stdout] 483 | pub huc3_block: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 484 | pub tpp1_block: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 485 | pub mbc7_block: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 486 | pub sgb_block: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bess` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/gameboy/ppu.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | drop(vram); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&MutexGuard<'_, [u8; 8192]>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 297 - drop(vram); [INFO] [stdout] 297 + let _ = vram; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/gameboy/cartridge.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | InvalidCartridgeType(u8), [INFO] [stdout] | -------------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CartridgeLoadErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 18 | InvalidCartridgeType(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/gameboy/cartridge.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | UnsupportedCartridgeType(u8), [INFO] [stdout] | ------------------------ ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CartridgeLoadErr` 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] 19 | UnsupportedCartridgeType(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_new_rtc_regs` is never used [INFO] [stdout] --> src/gameboy/cartridge.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn calc_new_rtc_regs(_timestamp: u64, _rtc_s: u8, _rtc_m: u8, _rtc_h: u8, _rtc_dl: u8, _rtc_dh: u8) -> (u8, u8, u8, u8, u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/gameboy/bess.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 433 | pub struct SgbBlock<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 434 | pub border_tile_data: &'a [u8], // 0x2000 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 435 | pub border_tilemap: &'a [u8], // 0x800 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 436 | pub border_palettes: &'a [u8], // 0x80 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 437 | pub active_colorization_palettes: &'a [u8], // 0x20 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 438 | pub ram_colorization_palettes: &'a [u8], // 0x1000 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 439 | pub attribute_map: &'a [u8], // 0x168 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 440 | pub attribute_files: &'a [u8], // 0xfd2 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 441 | pub multiplayer_status: u8, // High nibble = player count (1, 2 or 4), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SgbBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/gameboy/bess.rs:476:9 [INFO] [stdout] | [INFO] [stdout] 475 | pub struct Bess<'a> { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 476 | pub filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 477 | pub name_block: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 478 | pub info_block: InfoBlock, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 479 | pub core_block: CoreBlock<'a>, [INFO] [stdout] 480 | pub xaom_block: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 481 | pub mbc_block: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 482 | pub rtc_block: Option, [INFO] [stdout] 483 | pub huc3_block: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 484 | pub tpp1_block: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 485 | pub mbc7_block: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 486 | pub sgb_block: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bess` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/gameboy/ppu.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | drop(vram); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&MutexGuard<'_, [u8; 8192]>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 297 - drop(vram); [INFO] [stdout] 297 + let _ = vram; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.27s [INFO] running `Command { std: "docker" "inspect" "c1acb7992c4509a8cf86adb01bfccc7a06d3b1b555f2071d8ac5a71b601b6624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1acb7992c4509a8cf86adb01bfccc7a06d3b1b555f2071d8ac5a71b601b6624", kill_on_drop: false }` [INFO] [stdout] c1acb7992c4509a8cf86adb01bfccc7a06d3b1b555f2071d8ac5a71b601b6624