[INFO] cloning repository https://github.com/NicholasHallman/dmg-emu-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NicholasHallman/dmg-emu-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNicholasHallman%2Fdmg-emu-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNicholasHallman%2Fdmg-emu-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b68740f1517982ded1c8834860b83d3231d10f2f [INFO] testing NicholasHallman/dmg-emu-rs against beta-2025-01-12 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNicholasHallman%2Fdmg-emu-rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NicholasHallman/dmg-emu-rs on toolchain beta-2025-01-12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/NicholasHallman/dmg-emu-rs [INFO] finished tweaking git repo https://github.com/NicholasHallman/dmg-emu-rs [INFO] tweaked toml for git repo https://github.com/NicholasHallman/dmg-emu-rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/NicholasHallman/dmg-emu-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" "+beta-2025-01-12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cascade v1.0.0 [INFO] [stderr] Downloaded test-case v1.1.0 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.24 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2982caa8ed8e01520ee7b87c4edadbd9f49266a98152cb0c1f3c6346893f6a61 [INFO] running `Command { std: "docker" "start" "-a" "2982caa8ed8e01520ee7b87c4edadbd9f49266a98152cb0c1f3c6346893f6a61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2982caa8ed8e01520ee7b87c4edadbd9f49266a98152cb0c1f3c6346893f6a61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2982caa8ed8e01520ee7b87c4edadbd9f49266a98152cb0c1f3c6346893f6a61", kill_on_drop: false }` [INFO] [stdout] 2982caa8ed8e01520ee7b87c4edadbd9f49266a98152cb0c1f3c6346893f6a61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa3bf87fadd074c0601492f37278023ed078fb2096240378d298da0e7f67d61a [INFO] running `Command { std: "docker" "start" "-a" "aa3bf87fadd074c0601492f37278023ed078fb2096240378d298da0e7f67d61a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.74 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bumpalo v3.7.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.74 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.74 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.74 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.74 [INFO] [stderr] Compiling js-sys v0.3.51 [INFO] [stderr] Compiling console_error_panic_hook v0.1.6 [INFO] [stderr] Compiling web-sys v0.3.51 [INFO] [stderr] Compiling dmg_emu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `log` [INFO] [stdout] --> src/mem.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | macro_rules! log { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `log` [INFO] [stdout] --> src/cpu.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | macro_rules! log { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/ppu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `js_sys::SharedArrayBuffer` [INFO] [stdout] --> src/apu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use js_sys::SharedArrayBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/mem.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | _ => 0xFF [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/mem.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 114 | P1_ADDR => self.joypad.read(), [INFO] [stdout] | ------- matches some of the same values [INFO] [stdout] 115 | 0xFFFF => self.ienable, [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] 116 | 0xFF0F => self.iflag, [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] 117 | [INFO] [stdout] 118 | 0xFF40 => self.LCDControl, [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 138 | _ => 0xFF [INFO] [stdout] | ^ ...and 18 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> src/cpu.rs:621:22 [INFO] [stdout] | [INFO] [stdout] 621 | fn di(&mut self, mem: &mut Mem) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> src/cpu.rs:626:22 [INFO] [stdout] | [INFO] [stdout] 626 | fn ei(&mut self, mem: &mut Mem) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mask` [INFO] [stdout] --> src/mbc.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | let mask = self.properties.ram_banks - 1; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom` [INFO] [stdout] --> src/mbc.rs:226:29 [INFO] [stdout] | [INFO] [stdout] 226 | fn load_cart(&mut self, rom: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mbc.rs:244:20 [INFO] [stdout] | [INFO] [stdout] 244 | fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mbc.rs:248:25 [INFO] [stdout] | [INFO] [stdout] 248 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/mbc.rs:248:36 [INFO] [stdout] | [INFO] [stdout] 248 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom` [INFO] [stdout] --> src/mbc.rs:252:29 [INFO] [stdout] | [INFO] [stdout] 252 | fn load_cart(&mut self, rom: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mbc.rs:270:20 [INFO] [stdout] | [INFO] [stdout] 270 | fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mbc.rs:274:25 [INFO] [stdout] | [INFO] [stdout] 274 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/mbc.rs:274:36 [INFO] [stdout] | [INFO] [stdout] 274 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom` [INFO] [stdout] --> src/mbc.rs:278:29 [INFO] [stdout] | [INFO] [stdout] 278 | fn load_cart(&mut self, rom: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mbc.rs:296:20 [INFO] [stdout] | [INFO] [stdout] 296 | fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mbc.rs:300:25 [INFO] [stdout] | [INFO] [stdout] 300 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/mbc.rs:300:36 [INFO] [stdout] | [INFO] [stdout] 300 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom` [INFO] [stdout] --> src/mbc.rs:304:29 [INFO] [stdout] | [INFO] [stdout] 304 | fn load_cart(&mut self, rom: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mbc.rs:322:20 [INFO] [stdout] | [INFO] [stdout] 322 | fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mbc.rs:326:25 [INFO] [stdout] | [INFO] [stdout] 326 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/mbc.rs:326:36 [INFO] [stdout] | [INFO] [stdout] 326 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom` [INFO] [stdout] --> src/mbc.rs:330:29 [INFO] [stdout] | [INFO] [stdout] 330 | fn load_cart(&mut self, rom: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mbc.rs:348:20 [INFO] [stdout] | [INFO] [stdout] 348 | fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mbc.rs:352:25 [INFO] [stdout] | [INFO] [stdout] 352 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/mbc.rs:352:36 [INFO] [stdout] | [INFO] [stdout] 352 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom` [INFO] [stdout] --> src/mbc.rs:356:29 [INFO] [stdout] | [INFO] [stdout] 356 | fn load_cart(&mut self, rom: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mbc.rs:374:20 [INFO] [stdout] | [INFO] [stdout] 374 | fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mbc.rs:378:25 [INFO] [stdout] | [INFO] [stdout] 378 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/mbc.rs:378:36 [INFO] [stdout] | [INFO] [stdout] 378 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom` [INFO] [stdout] --> src/mbc.rs:382:29 [INFO] [stdout] | [INFO] [stdout] 382 | fn load_cart(&mut self, rom: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mbc.rs:400:20 [INFO] [stdout] | [INFO] [stdout] 400 | fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mbc.rs:404:25 [INFO] [stdout] | [INFO] [stdout] 404 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/mbc.rs:404:36 [INFO] [stdout] | [INFO] [stdout] 404 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom` [INFO] [stdout] --> src/mbc.rs:408:29 [INFO] [stdout] | [INFO] [stdout] 408 | fn load_cart(&mut self, rom: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mbc.rs:422:20 [INFO] [stdout] | [INFO] [stdout] 422 | fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mbc.rs:426:25 [INFO] [stdout] | [INFO] [stdout] 426 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/mbc.rs:426:36 [INFO] [stdout] | [INFO] [stdout] 426 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom` [INFO] [stdout] --> src/mbc.rs:430:29 [INFO] [stdout] | [INFO] [stdout] 430 | fn load_cart(&mut self, rom: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ppu_enabled` and `get_obj_enabled` are never used [INFO] [stdout] --> src/ppu.rs:600:8 [INFO] [stdout] | [INFO] [stdout] 597 | trait FetcherHelpers { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 600 | fn ppu_enabled(&self, mem: &Mem) -> bool; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 606 | fn get_obj_enabled(&self, mem: &Mem) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIV_TICK` is never used [INFO] [stdout] --> src/io.rs:78:7 [INFO] [stdout] | [INFO] [stdout] 78 | const DIV_TICK: u32 = 16384; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FREQUENCY` is never used [INFO] [stdout] --> src/io.rs:90:7 [INFO] [stdout] | [INFO] [stdout] 90 | const FREQUENCY: u32 = 4_194_304; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `features` is never read [INFO] [stdout] --> src/mbc.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MBCProperties { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | features: Vec [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/mbc.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 231 | pub struct MBC2 { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 232 | properties: MBCProperties, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/mbc.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct MBC3 { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 258 | properties: MBCProperties [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/mbc.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct MBC4 { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 284 | properties: MBCProperties [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/mbc.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 309 | pub struct MBC5 { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 310 | properties: MBCProperties [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/mbc.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 335 | pub struct MBC6 { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 336 | properties: MBCProperties [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/mbc.rs:362:5 [INFO] [stdout] | [INFO] [stdout] 361 | pub struct MBC7 { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 362 | properties: MBCProperties [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/mbc.rs:388:5 [INFO] [stdout] | [INFO] [stdout] 387 | pub struct MMM01 { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 388 | properties: MBCProperties [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SAMPLE_RATE` is never used [INFO] [stdout] --> src/apu.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const SAMPLE_RATE: usize = 44100; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `buffer_channel_1` is never used [INFO] [stdout] --> src/apu.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl APU { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | fn buffer_channel_1(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `LCDControl` should have a snake case name [INFO] [stdout] --> src/mem.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | LCDControl: u8, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `lcdcontrol` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `LCDStatus` should have a snake case name [INFO] [stdout] --> src/mem.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | LCDStatus: u8, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `lcdstatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `AF` should have a snake case name [INFO] [stdout] --> src/cpu.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub AF: u16, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `af` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `BC` should have a snake case name [INFO] [stdout] --> src/cpu.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub BC: u16, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `bc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `DE` should have a snake case name [INFO] [stdout] --> src/cpu.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub DE: u16, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `de` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `HL` should have a snake case name [INFO] [stdout] --> src/cpu.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub HL: u16, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `hl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SP` should have a snake case name [INFO] [stdout] --> src/cpu.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub SP: u16, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PC` should have a snake case name [INFO] [stdout] --> src/cpu.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub PC: u16, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `AF` should have a snake case name [INFO] [stdout] --> src/cpu.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub AF: u16, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `af` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `BC` should have a snake case name [INFO] [stdout] --> src/cpu.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub BC: u16, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `bc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `DE` should have a snake case name [INFO] [stdout] --> src/cpu.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub DE: u16, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `de` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `HL` should have a snake case name [INFO] [stdout] --> src/cpu.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub HL: u16, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `hl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SP` should have a snake case name [INFO] [stdout] --> src/cpu.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub SP: u16, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PC` should have a snake case name [INFO] [stdout] --> src/cpu.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub PC: u16, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SB` should have a snake case name [INFO] [stdout] --> src/io.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | SB: u8, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `sb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SC` should have a snake case name [INFO] [stdout] --> src/io.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | SC: u8, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `sc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `DIV` should have a snake case name [INFO] [stdout] --> src/io.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub DIV: u16, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `div` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `TIMA` should have a snake case name [INFO] [stdout] --> src/io.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub TIMA: u8, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `tima` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `TMA` should have a snake case name [INFO] [stdout] --> src/io.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub TMA: u8, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `tma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `TAC` should have a snake case name [INFO] [stdout] --> src/io.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub TAC: u8, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `tac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NR50` should have a snake case name [INFO] [stdout] --> src/apu.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | NR50: u8, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `nr50` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NR51` should have a snake case name [INFO] [stdout] --> src/apu.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | NR51: u8, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `nr51` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NR52` should have a snake case name [INFO] [stdout] --> src/apu.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | NR52: u8, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `nr52` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.45s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.74 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "aa3bf87fadd074c0601492f37278023ed078fb2096240378d298da0e7f67d61a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa3bf87fadd074c0601492f37278023ed078fb2096240378d298da0e7f67d61a", kill_on_drop: false }` [INFO] [stdout] aa3bf87fadd074c0601492f37278023ed078fb2096240378d298da0e7f67d61a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd86471c8138a93aabf0893e0147951994c04bce6632c6a47fc2d631e95518d7 [INFO] running `Command { std: "docker" "start" "-a" "bd86471c8138a93aabf0893e0147951994c04bce6632c6a47fc2d631e95518d7", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling cascade v1.0.0 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.24 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.24 [INFO] [stdout] warning: unused macro definition: `log` [INFO] [stdout] --> src/mem.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | macro_rules! log { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `log` [INFO] [stdout] --> src/cpu.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | macro_rules! log { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/ppu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `js_sys::SharedArrayBuffer` [INFO] [stdout] --> src/apu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use js_sys::SharedArrayBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/mem.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | _ => 0xFF [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/mem.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 114 | P1_ADDR => self.joypad.read(), [INFO] [stdout] | ------- matches some of the same values [INFO] [stdout] 115 | 0xFFFF => self.ienable, [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] 116 | 0xFF0F => self.iflag, [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] 117 | [INFO] [stdout] 118 | 0xFF40 => self.LCDControl, [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 138 | _ => 0xFF [INFO] [stdout] | ^ ...and 18 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> src/cpu.rs:621:22 [INFO] [stdout] | [INFO] [stdout] 621 | fn di(&mut self, mem: &mut Mem) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> src/cpu.rs:626:22 [INFO] [stdout] | [INFO] [stdout] 626 | fn ei(&mut self, mem: &mut Mem) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mask` [INFO] [stdout] --> src/mbc.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | let mask = self.properties.ram_banks - 1; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom` [INFO] [stdout] --> src/mbc.rs:226:29 [INFO] [stdout] | [INFO] [stdout] 226 | fn load_cart(&mut self, rom: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mbc.rs:244:20 [INFO] [stdout] | [INFO] [stdout] 244 | fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mbc.rs:248:25 [INFO] [stdout] | [INFO] [stdout] 248 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/mbc.rs:248:36 [INFO] [stdout] | [INFO] [stdout] 248 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom` [INFO] [stdout] --> src/mbc.rs:252:29 [INFO] [stdout] | [INFO] [stdout] 252 | fn load_cart(&mut self, rom: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mbc.rs:270:20 [INFO] [stdout] | [INFO] [stdout] 270 | fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mbc.rs:274:25 [INFO] [stdout] | [INFO] [stdout] 274 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/mbc.rs:274:36 [INFO] [stdout] | [INFO] [stdout] 274 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom` [INFO] [stdout] --> src/mbc.rs:278:29 [INFO] [stdout] | [INFO] [stdout] 278 | fn load_cart(&mut self, rom: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mbc.rs:296:20 [INFO] [stdout] | [INFO] [stdout] 296 | fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mbc.rs:300:25 [INFO] [stdout] | [INFO] [stdout] 300 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/mbc.rs:300:36 [INFO] [stdout] | [INFO] [stdout] 300 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom` [INFO] [stdout] --> src/mbc.rs:304:29 [INFO] [stdout] | [INFO] [stdout] 304 | fn load_cart(&mut self, rom: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mbc.rs:322:20 [INFO] [stdout] | [INFO] [stdout] 322 | fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mbc.rs:326:25 [INFO] [stdout] | [INFO] [stdout] 326 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/mbc.rs:326:36 [INFO] [stdout] | [INFO] [stdout] 326 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom` [INFO] [stdout] --> src/mbc.rs:330:29 [INFO] [stdout] | [INFO] [stdout] 330 | fn load_cart(&mut self, rom: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mbc.rs:348:20 [INFO] [stdout] | [INFO] [stdout] 348 | fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mbc.rs:352:25 [INFO] [stdout] | [INFO] [stdout] 352 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/mbc.rs:352:36 [INFO] [stdout] | [INFO] [stdout] 352 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom` [INFO] [stdout] --> src/mbc.rs:356:29 [INFO] [stdout] | [INFO] [stdout] 356 | fn load_cart(&mut self, rom: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mbc.rs:374:20 [INFO] [stdout] | [INFO] [stdout] 374 | fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mbc.rs:378:25 [INFO] [stdout] | [INFO] [stdout] 378 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/mbc.rs:378:36 [INFO] [stdout] | [INFO] [stdout] 378 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom` [INFO] [stdout] --> src/mbc.rs:382:29 [INFO] [stdout] | [INFO] [stdout] 382 | fn load_cart(&mut self, rom: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mbc.rs:400:20 [INFO] [stdout] | [INFO] [stdout] 400 | fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mbc.rs:404:25 [INFO] [stdout] | [INFO] [stdout] 404 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/mbc.rs:404:36 [INFO] [stdout] | [INFO] [stdout] 404 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom` [INFO] [stdout] --> src/mbc.rs:408:29 [INFO] [stdout] | [INFO] [stdout] 408 | fn load_cart(&mut self, rom: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mbc.rs:422:20 [INFO] [stdout] | [INFO] [stdout] 422 | fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mbc.rs:426:25 [INFO] [stdout] | [INFO] [stdout] 426 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/mbc.rs:426:36 [INFO] [stdout] | [INFO] [stdout] 426 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom` [INFO] [stdout] --> src/mbc.rs:430:29 [INFO] [stdout] | [INFO] [stdout] 430 | fn load_cart(&mut self, rom: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ppu_enabled` and `get_obj_enabled` are never used [INFO] [stdout] --> src/ppu.rs:600:8 [INFO] [stdout] | [INFO] [stdout] 597 | trait FetcherHelpers { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 600 | fn ppu_enabled(&self, mem: &Mem) -> bool; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 606 | fn get_obj_enabled(&self, mem: &Mem) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIV_TICK` is never used [INFO] [stdout] --> src/io.rs:78:7 [INFO] [stdout] | [INFO] [stdout] 78 | const DIV_TICK: u32 = 16384; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FREQUENCY` is never used [INFO] [stdout] --> src/io.rs:90:7 [INFO] [stdout] | [INFO] [stdout] 90 | const FREQUENCY: u32 = 4_194_304; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `features` is never read [INFO] [stdout] --> src/mbc.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MBCProperties { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | features: Vec [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/mbc.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 231 | pub struct MBC2 { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 232 | properties: MBCProperties, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/mbc.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct MBC3 { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 258 | properties: MBCProperties [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/mbc.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct MBC4 { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 284 | properties: MBCProperties [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/mbc.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 309 | pub struct MBC5 { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 310 | properties: MBCProperties [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/mbc.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 335 | pub struct MBC6 { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 336 | properties: MBCProperties [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/mbc.rs:362:5 [INFO] [stdout] | [INFO] [stdout] 361 | pub struct MBC7 { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 362 | properties: MBCProperties [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/mbc.rs:388:5 [INFO] [stdout] | [INFO] [stdout] 387 | pub struct MMM01 { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 388 | properties: MBCProperties [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SAMPLE_RATE` is never used [INFO] [stdout] --> src/apu.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const SAMPLE_RATE: usize = 44100; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `buffer_channel_1` is never used [INFO] [stdout] --> src/apu.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl APU { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | fn buffer_channel_1(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `LCDControl` should have a snake case name [INFO] [stdout] --> src/mem.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | LCDControl: u8, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `lcdcontrol` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `LCDStatus` should have a snake case name [INFO] [stdout] --> src/mem.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | LCDStatus: u8, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `lcdstatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `AF` should have a snake case name [INFO] [stdout] --> src/cpu.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub AF: u16, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `af` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `BC` should have a snake case name [INFO] [stdout] --> src/cpu.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub BC: u16, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `bc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `DE` should have a snake case name [INFO] [stdout] --> src/cpu.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub DE: u16, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `de` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `HL` should have a snake case name [INFO] [stdout] --> src/cpu.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub HL: u16, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `hl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SP` should have a snake case name [INFO] [stdout] --> src/cpu.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub SP: u16, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PC` should have a snake case name [INFO] [stdout] --> src/cpu.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub PC: u16, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `AF` should have a snake case name [INFO] [stdout] --> src/cpu.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub AF: u16, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `af` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `BC` should have a snake case name [INFO] [stdout] --> src/cpu.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub BC: u16, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `bc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `DE` should have a snake case name [INFO] [stdout] --> src/cpu.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub DE: u16, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `de` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `HL` should have a snake case name [INFO] [stdout] --> src/cpu.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub HL: u16, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `hl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SP` should have a snake case name [INFO] [stdout] --> src/cpu.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub SP: u16, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PC` should have a snake case name [INFO] [stdout] --> src/cpu.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub PC: u16, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SB` should have a snake case name [INFO] [stdout] --> src/io.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | SB: u8, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `sb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SC` should have a snake case name [INFO] [stdout] --> src/io.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | SC: u8, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `sc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `DIV` should have a snake case name [INFO] [stdout] --> src/io.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub DIV: u16, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `div` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `TIMA` should have a snake case name [INFO] [stdout] --> src/io.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub TIMA: u8, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `tima` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `TMA` should have a snake case name [INFO] [stdout] --> src/io.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub TMA: u8, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `tma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `TAC` should have a snake case name [INFO] [stdout] --> src/io.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub TAC: u8, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `tac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NR50` should have a snake case name [INFO] [stdout] --> src/apu.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | NR50: u8, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `nr50` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NR51` should have a snake case name [INFO] [stdout] --> src/apu.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | NR51: u8, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `nr51` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NR52` should have a snake case name [INFO] [stdout] --> src/apu.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | NR52: u8, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `nr52` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling test-case v1.1.0 [INFO] [stderr] Compiling wasm-bindgen-test v0.3.24 [INFO] [stdout] error: couldn't create a temp dir: No space left on device (os error 28) at path "/opt/rustwide/target/debug/deps/rmetarg7Hb9" [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm-bindgen-test` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/beta-2025-01-12-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/rustcK2Jy7b/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcK2Jy7b/symbols.o" "<4 object files omitted>" "/opt/rustwide/target/debug/deps/test_case-8c8537bb144267d2.eksr6eydck90n7m5zu3of75zi.rcgu.rmeta" "<1 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libcfg_if-3e7fc4e38d4a72b5.rlib,libsyn-7d1e85dbb766deb4.rlib,libquote-78511d73fc09d521.rlib,libproc_macro2-5c35a1fdec90521a.rlib,libunicode_xid-9c42e910ba545649.rlib}" "/opt/rustwide/rustup-home/toolchains/beta-2025-01-12-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libproc_macro-c29252cb12fc4d91.rlib,libstd-2e6eca6bf1681754.rlib,libpanic_unwind-6419b8734ab2f0cb.rlib,libobject-784ada497c5d935e.rlib,libmemchr-9267ffe866ca370f.rlib,libaddr2line-36f3ec5f8f15f213.rlib,libgimli-a0a71c3c5fe00164.rlib,librustc_demangle-95f237535246c825.rlib,libstd_detect-e0bd23c2b0917c59.rlib,libhashbrown-22a7802a8abbef9e.rlib,librustc_std_workspace_alloc-eb0228d54dd99343.rlib,libminiz_oxide-e6c6f516ce70276d.rlib,libadler-af73ed2b2e212982.rlib,libunwind-0000b4ce778574a2.rlib,libcfg_if-1a94dbdc43bc518f.rlib,liblibc-b957950176a614bc.rlib,liballoc-2b137d666ae9b5cb.rlib,librustc_std_workspace_core-4cf833632aafa84c.rlib,libcore-65c2c6d2d6ae570b.rlib,libcompiler_builtins-678c764df5f831e4.rlib}" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2025-01-12-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libtest_case-8c8537bb144267d2.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: final link failed: No space left on device [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `test-case` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "bd86471c8138a93aabf0893e0147951994c04bce6632c6a47fc2d631e95518d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd86471c8138a93aabf0893e0147951994c04bce6632c6a47fc2d631e95518d7", kill_on_drop: false }` [INFO] [stdout] bd86471c8138a93aabf0893e0147951994c04bce6632c6a47fc2d631e95518d7