[INFO] cloning repository https://github.com/Redrield/gbemu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Redrield/gbemu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRedrield%2Fgbemu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRedrield%2Fgbemu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6f9d332badc370d5a82de3d0328043f588c003ce [INFO] testing Redrield/gbemu against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRedrield%2Fgbemu" "/workspace/builds/worker-21/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-21/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Redrield/gbemu on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Redrield/gbemu [INFO] finished tweaking git repo https://github.com/Redrield/gbemu [INFO] tweaked toml for git repo https://github.com/Redrield/gbemu written to /workspace/builds/worker-21/source/Cargo.toml [INFO] crate git repo https://github.com/Redrield/gbemu already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebc2197a047afaeecb82d49ff58dd42778818522cda18eeee687ddd929e6ea7c [INFO] running `Command { std: "docker" "start" "-a" "ebc2197a047afaeecb82d49ff58dd42778818522cda18eeee687ddd929e6ea7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebc2197a047afaeecb82d49ff58dd42778818522cda18eeee687ddd929e6ea7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebc2197a047afaeecb82d49ff58dd42778818522cda18eeee687ddd929e6ea7c", kill_on_drop: false }` [INFO] [stdout] ebc2197a047afaeecb82d49ff58dd42778818522cda18eeee687ddd929e6ea7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] deca6377f710daabf1c22495ba2bd34711638beb20947b5270cd9bc4cedcbf15 [INFO] running `Command { std: "docker" "start" "-a" "deca6377f710daabf1c22495ba2bd34711638beb20947b5270cd9bc4cedcbf15", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling sdl2 v0.34.0 [INFO] [stderr] Compiling sdl2-sys v0.34.0 [INFO] [stderr] Compiling gbemu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::cpu::BOOTROM` [INFO] [stdout] --> src/cpu/decode.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::cpu::BOOTROM; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/cpu/int.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | iflags |= (1 << int as u8); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 24 - iflags |= (1 << int as u8); [INFO] [stdout] 24 + iflags |= 1 << int as u8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `int::*` [INFO] [stdout] --> src/cpu.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use int::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::*` [INFO] [stdout] --> src/peripherals/audio.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::cpu::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::peripherals::audio::SelectedSquareWaveCycle::DutyCycle12_5` [INFO] [stdout] --> src/peripherals/audio.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::peripherals::audio::SelectedSquareWaveCycle::DutyCycle12_5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::CPU` [INFO] [stdout] --> src/peripherals/video.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::cpu::CPU; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/peripherals/video.rs:175:34 [INFO] [stdout] | [INFO] [stdout] 175 | let line_inset = (*map_addr - first_tile); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 175 - let line_inset = (*map_addr - first_tile); [INFO] [stdout] 175 + let line_inset = *map_addr - first_tile; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BOOTROM` [INFO] [stdout] --> src/main.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::cpu::{BOOTROM, CPU, CYCLES_PER_FRAME, CLOCK_SPEED}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpu.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | for (i, mut b) in self.mem.buffer[0x0000..0x8000].iter_mut().enumerate() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | let mut drv = CpuDrv::new(rom, rx); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pending_cycles` [INFO] [stdout] --> src/cpu.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | pending_cycles: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dbgwait` [INFO] [stdout] --> src/cpu.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | dbgwait: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Timer` [INFO] [stdout] --> src/cpu/int.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Timer, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Serial` [INFO] [stdout] --> src/cpu/int.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Serial, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Joypad` [INFO] [stdout] --> src/cpu/int.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Joypad, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LdnnSP` [INFO] [stdout] --> src/cpu/isa.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | LdnnSP(u16), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/isa.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | #[derive(PartialEq, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Swap` [INFO] [stdout] --> src/cpu/isa.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | Swap(RegisterName), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/isa.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | #[derive(PartialEq, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `P1` [INFO] [stdout] --> src/cpu/mem.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | P1, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SB` [INFO] [stdout] --> src/cpu/mem.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | SB, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SC` [INFO] [stdout] --> src/cpu/mem.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | SC, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DIV` [INFO] [stdout] --> src/cpu/mem.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | DIV, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TIMA` [INFO] [stdout] --> src/cpu/mem.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | TIMA, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TMA` [INFO] [stdout] --> src/cpu/mem.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | TMA, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TAC` [INFO] [stdout] --> src/cpu/mem.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | TAC, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR10` [INFO] [stdout] --> src/cpu/mem.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | NR10, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR11` [INFO] [stdout] --> src/cpu/mem.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | NR11, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR12` [INFO] [stdout] --> src/cpu/mem.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | NR12, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR13` [INFO] [stdout] --> src/cpu/mem.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | NR13, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR14` [INFO] [stdout] --> src/cpu/mem.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | NR14, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR21` [INFO] [stdout] --> src/cpu/mem.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | NR21, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR22` [INFO] [stdout] --> src/cpu/mem.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | NR22, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR23` [INFO] [stdout] --> src/cpu/mem.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | NR23, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR24` [INFO] [stdout] --> src/cpu/mem.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | NR24, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR30` [INFO] [stdout] --> src/cpu/mem.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | NR30, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR31` [INFO] [stdout] --> src/cpu/mem.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | NR31, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR32` [INFO] [stdout] --> src/cpu/mem.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | NR32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR33` [INFO] [stdout] --> src/cpu/mem.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | NR33, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR34` [INFO] [stdout] --> src/cpu/mem.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | NR34, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR41` [INFO] [stdout] --> src/cpu/mem.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | NR41, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR42` [INFO] [stdout] --> src/cpu/mem.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | NR42, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR43` [INFO] [stdout] --> src/cpu/mem.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | NR43, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR44` [INFO] [stdout] --> src/cpu/mem.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | NR44, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR50` [INFO] [stdout] --> src/cpu/mem.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | NR50, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR51` [INFO] [stdout] --> src/cpu/mem.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | NR51, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR52` [INFO] [stdout] --> src/cpu/mem.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | NR52, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WavePatternRAM` [INFO] [stdout] --> src/cpu/mem.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | WavePatternRAM(u8), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DMA` [INFO] [stdout] --> src/cpu/mem.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | DMA, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OBP0` [INFO] [stdout] --> src/cpu/mem.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | OBP0, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OBP1` [INFO] [stdout] --> src/cpu/mem.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | OBP1, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WY` [INFO] [stdout] --> src/cpu/mem.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | WY, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WX` [INFO] [stdout] --> src/cpu/mem.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | WX, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DUTY_CYCLE_00` [INFO] [stdout] --> src/peripherals/audio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub const DUTY_CYCLE_00: [bool; 8] = [false, false, false, false, false, false, false, true]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DUTY_CYCLE_01` [INFO] [stdout] --> src/peripherals/audio.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub const DUTY_CYCLE_01: [bool; 8] = [true, false, false, false, false, false, false, true]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DUTY_CYCLE_10` [INFO] [stdout] --> src/peripherals/audio.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub const DUTY_CYCLE_10: [bool; 8] = [true, true, false, false, false, false, true, true]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DUTY_CYCLE_11` [INFO] [stdout] --> src/peripherals/audio.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub const DUTY_CYCLE_11: [bool; 8] = [false, true, true, true, true, true, true, false]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DutyCycle12_5` [INFO] [stdout] --> src/peripherals/audio.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | DutyCycle12_5, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DutyCycle25` [INFO] [stdout] --> src/peripherals/audio.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | DutyCycle25, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DutyCycle75` [INFO] [stdout] --> src/peripherals/audio.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | DutyCycle75, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ch2_seq_ptr` [INFO] [stdout] --> src/peripherals/audio.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | ch2_seq_ptr: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ch2_sel_cycle` [INFO] [stdout] --> src/peripherals/audio.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | ch2_sel_cycle: SelectedSquareWaveCycle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sdl_queue` [INFO] [stdout] --> src/peripherals/audio.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | sdl_queue: AudioQueue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `init_timer` [INFO] [stdout] --> src/peripherals/audio.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | init_timer: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `timer` [INFO] [stdout] --> src/peripherals/audio.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | timer: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tick` [INFO] [stdout] --> src/peripherals/audio.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn tick(&mut self, mem: &Memory) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `video` [INFO] [stdout] --> src/peripherals/video.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | video: VideoSubsystem, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sprite0_palette` [INFO] [stdout] --> src/peripherals/video.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | sprite0_palette: [GbColor; 3], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sprite1_palette` [INFO] [stdout] --> src/peripherals/video.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | sprite1_palette: [GbColor; 3], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_sprite_palettes` [INFO] [stdout] --> src/peripherals/video.rs:231:8 [INFO] [stdout] | [INFO] [stdout] 231 | fn update_sprite_palettes(&mut self, obp0: u8, obp1: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 68 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.54s [INFO] running `Command { std: "docker" "inspect" "deca6377f710daabf1c22495ba2bd34711638beb20947b5270cd9bc4cedcbf15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "deca6377f710daabf1c22495ba2bd34711638beb20947b5270cd9bc4cedcbf15", kill_on_drop: false }` [INFO] [stdout] deca6377f710daabf1c22495ba2bd34711638beb20947b5270cd9bc4cedcbf15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1d67780e0d11d6b4064d48730d039ad4ce2133756c774a5eccc84e911b3749f [INFO] running `Command { std: "docker" "start" "-a" "a1d67780e0d11d6b4064d48730d039ad4ce2133756c774a5eccc84e911b3749f", kill_on_drop: false }` [INFO] [stderr] Compiling gbemu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::cpu::BOOTROM` [INFO] [stdout] --> src/cpu/decode.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::cpu::BOOTROM; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/cpu/int.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | iflags |= (1 << int as u8); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 24 - iflags |= (1 << int as u8); [INFO] [stdout] 24 + iflags |= 1 << int as u8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `int::*` [INFO] [stdout] --> src/cpu.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use int::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::isa::*` [INFO] [stdout] --> src/cpu.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | use super::isa::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::*` [INFO] [stdout] --> src/peripherals/audio.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::cpu::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::peripherals::audio::SelectedSquareWaveCycle::DutyCycle12_5` [INFO] [stdout] --> src/peripherals/audio.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::peripherals::audio::SelectedSquareWaveCycle::DutyCycle12_5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::CPU` [INFO] [stdout] --> src/peripherals/video.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::cpu::CPU; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/peripherals/video.rs:175:34 [INFO] [stdout] | [INFO] [stdout] 175 | let line_inset = (*map_addr - first_tile); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 175 - let line_inset = (*map_addr - first_tile); [INFO] [stdout] 175 + let line_inset = *map_addr - first_tile; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BOOTROM` [INFO] [stdout] --> src/main.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::cpu::{BOOTROM, CPU, CYCLES_PER_FRAME, CLOCK_SPEED}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpu.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | for (i, mut b) in self.mem.buffer[0x0000..0x8000].iter_mut().enumerate() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | let mut drv = CpuDrv::new(rom, rx); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pending_cycles` [INFO] [stdout] --> src/cpu.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | pending_cycles: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dbgwait` [INFO] [stdout] --> src/cpu.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | dbgwait: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Timer` [INFO] [stdout] --> src/cpu/int.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Timer, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Serial` [INFO] [stdout] --> src/cpu/int.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Serial, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Joypad` [INFO] [stdout] --> src/cpu/int.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Joypad, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LdnnSP` [INFO] [stdout] --> src/cpu/isa.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | LdnnSP(u16), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/isa.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | #[derive(PartialEq, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Swap` [INFO] [stdout] --> src/cpu/isa.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | Swap(RegisterName), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/isa.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | #[derive(PartialEq, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `P1` [INFO] [stdout] --> src/cpu/mem.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | P1, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SB` [INFO] [stdout] --> src/cpu/mem.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | SB, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SC` [INFO] [stdout] --> src/cpu/mem.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | SC, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DIV` [INFO] [stdout] --> src/cpu/mem.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | DIV, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TIMA` [INFO] [stdout] --> src/cpu/mem.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | TIMA, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TMA` [INFO] [stdout] --> src/cpu/mem.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | TMA, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TAC` [INFO] [stdout] --> src/cpu/mem.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | TAC, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR10` [INFO] [stdout] --> src/cpu/mem.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | NR10, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR11` [INFO] [stdout] --> src/cpu/mem.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | NR11, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR12` [INFO] [stdout] --> src/cpu/mem.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | NR12, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR13` [INFO] [stdout] --> src/cpu/mem.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | NR13, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR14` [INFO] [stdout] --> src/cpu/mem.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | NR14, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR21` [INFO] [stdout] --> src/cpu/mem.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | NR21, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR22` [INFO] [stdout] --> src/cpu/mem.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | NR22, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR23` [INFO] [stdout] --> src/cpu/mem.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | NR23, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR24` [INFO] [stdout] --> src/cpu/mem.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | NR24, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR30` [INFO] [stdout] --> src/cpu/mem.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | NR30, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR31` [INFO] [stdout] --> src/cpu/mem.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | NR31, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR32` [INFO] [stdout] --> src/cpu/mem.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | NR32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR33` [INFO] [stdout] --> src/cpu/mem.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | NR33, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR34` [INFO] [stdout] --> src/cpu/mem.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | NR34, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR41` [INFO] [stdout] --> src/cpu/mem.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | NR41, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR42` [INFO] [stdout] --> src/cpu/mem.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | NR42, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR43` [INFO] [stdout] --> src/cpu/mem.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | NR43, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR44` [INFO] [stdout] --> src/cpu/mem.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | NR44, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR50` [INFO] [stdout] --> src/cpu/mem.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | NR50, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR51` [INFO] [stdout] --> src/cpu/mem.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | NR51, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NR52` [INFO] [stdout] --> src/cpu/mem.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | NR52, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WavePatternRAM` [INFO] [stdout] --> src/cpu/mem.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | WavePatternRAM(u8), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DMA` [INFO] [stdout] --> src/cpu/mem.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | DMA, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OBP0` [INFO] [stdout] --> src/cpu/mem.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | OBP0, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OBP1` [INFO] [stdout] --> src/cpu/mem.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | OBP1, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WY` [INFO] [stdout] --> src/cpu/mem.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | WY, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WX` [INFO] [stdout] --> src/cpu/mem.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | WX, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mem.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DUTY_CYCLE_00` [INFO] [stdout] --> src/peripherals/audio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub const DUTY_CYCLE_00: [bool; 8] = [false, false, false, false, false, false, false, true]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DUTY_CYCLE_01` [INFO] [stdout] --> src/peripherals/audio.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub const DUTY_CYCLE_01: [bool; 8] = [true, false, false, false, false, false, false, true]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DUTY_CYCLE_10` [INFO] [stdout] --> src/peripherals/audio.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub const DUTY_CYCLE_10: [bool; 8] = [true, true, false, false, false, false, true, true]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DUTY_CYCLE_11` [INFO] [stdout] --> src/peripherals/audio.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub const DUTY_CYCLE_11: [bool; 8] = [false, true, true, true, true, true, true, false]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DutyCycle12_5` [INFO] [stdout] --> src/peripherals/audio.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | DutyCycle12_5, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DutyCycle25` [INFO] [stdout] --> src/peripherals/audio.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | DutyCycle25, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DutyCycle75` [INFO] [stdout] --> src/peripherals/audio.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | DutyCycle75, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ch2_seq_ptr` [INFO] [stdout] --> src/peripherals/audio.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | ch2_seq_ptr: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ch2_sel_cycle` [INFO] [stdout] --> src/peripherals/audio.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | ch2_sel_cycle: SelectedSquareWaveCycle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sdl_queue` [INFO] [stdout] --> src/peripherals/audio.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | sdl_queue: AudioQueue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `init_timer` [INFO] [stdout] --> src/peripherals/audio.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | init_timer: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `timer` [INFO] [stdout] --> src/peripherals/audio.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | timer: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tick` [INFO] [stdout] --> src/peripherals/audio.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn tick(&mut self, mem: &Memory) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `video` [INFO] [stdout] --> src/peripherals/video.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | video: VideoSubsystem, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sprite0_palette` [INFO] [stdout] --> src/peripherals/video.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | sprite0_palette: [GbColor; 3], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sprite1_palette` [INFO] [stdout] --> src/peripherals/video.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | sprite1_palette: [GbColor; 3], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_sprite_palettes` [INFO] [stdout] --> src/peripherals/video.rs:231:8 [INFO] [stdout] | [INFO] [stdout] 231 | fn update_sprite_palettes(&mut self, obp0: u8, obp1: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 69 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.88s [INFO] running `Command { std: "docker" "inspect" "a1d67780e0d11d6b4064d48730d039ad4ce2133756c774a5eccc84e911b3749f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1d67780e0d11d6b4064d48730d039ad4ce2133756c774a5eccc84e911b3749f", kill_on_drop: false }` [INFO] [stdout] a1d67780e0d11d6b4064d48730d039ad4ce2133756c774a5eccc84e911b3749f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3c33b22aa32f7625ad8b1bcfe1f6078fc738fcf91b1598b2534fd30b14288d7b [INFO] running `Command { std: "docker" "start" "-a" "3c33b22aa32f7625ad8b1bcfe1f6078fc738fcf91b1598b2534fd30b14288d7b", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::cpu::BOOTROM` [INFO] [stderr] --> src/cpu/decode.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::cpu::BOOTROM; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/cpu/int.rs:24:19 [INFO] [stderr] | [INFO] [stderr] 24 | iflags |= (1 << int as u8); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 24 - iflags |= (1 << int as u8); [INFO] [stderr] 24 + iflags |= 1 << int as u8; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `int::*` [INFO] [stderr] --> src/cpu.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use int::*; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::isa::*` [INFO] [stderr] --> src/cpu.rs:252:9 [INFO] [stderr] | [INFO] [stderr] 252 | use super::isa::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::cpu::*` [INFO] [stderr] --> src/peripherals/audio.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::cpu::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::peripherals::audio::SelectedSquareWaveCycle::DutyCycle12_5` [INFO] [stderr] --> src/peripherals/audio.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::peripherals::audio::SelectedSquareWaveCycle::DutyCycle12_5; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::cpu::CPU` [INFO] [stderr] --> src/peripherals/video.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::cpu::CPU; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/peripherals/video.rs:175:34 [INFO] [stderr] | [INFO] [stderr] 175 | let line_inset = (*map_addr - first_tile); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 175 - let line_inset = (*map_addr - first_tile); [INFO] [stderr] 175 + let line_inset = *map_addr - first_tile; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `BOOTROM` [INFO] [stderr] --> src/main.rs:5:18 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::cpu::{BOOTROM, CPU, CYCLES_PER_FRAME, CLOCK_SPEED}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/cpu.rs:198:17 [INFO] [stderr] | [INFO] [stderr] 198 | for (i, mut b) in self.mem.buffer[0x0000..0x8000].iter_mut().enumerate() { [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:150:9 [INFO] [stderr] | [INFO] [stderr] 150 | let mut drv = CpuDrv::new(rom, rx); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `pending_cycles` [INFO] [stderr] --> src/cpu.rs:167:5 [INFO] [stderr] | [INFO] [stderr] 167 | pending_cycles: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `dbgwait` [INFO] [stderr] --> src/cpu.rs:177:5 [INFO] [stderr] | [INFO] [stderr] 177 | dbgwait: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Timer` [INFO] [stderr] --> src/cpu/int.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | Timer, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Serial` [INFO] [stderr] --> src/cpu/int.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | Serial, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Joypad` [INFO] [stderr] --> src/cpu/int.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | Joypad, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `LdnnSP` [INFO] [stderr] --> src/cpu/isa.rs:143:5 [INFO] [stderr] | [INFO] [stderr] 143 | LdnnSP(u16), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Instruction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/isa.rs:99:21 [INFO] [stderr] | [INFO] [stderr] 99 | #[derive(PartialEq, Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Swap` [INFO] [stderr] --> src/cpu/isa.rs:193:5 [INFO] [stderr] | [INFO] [stderr] 193 | Swap(RegisterName), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Instruction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/isa.rs:99:21 [INFO] [stderr] | [INFO] [stderr] 99 | #[derive(PartialEq, Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `P1` [INFO] [stderr] --> src/cpu/mem.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | P1, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/mem.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `SB` [INFO] [stderr] --> src/cpu/mem.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | SB, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/mem.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `SC` [INFO] [stderr] --> src/cpu/mem.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | SC, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/mem.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `DIV` [INFO] [stderr] --> src/cpu/mem.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | DIV, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/mem.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `TIMA` [INFO] [stderr] --> src/cpu/mem.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | TIMA, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/mem.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `TMA` [INFO] [stderr] --> src/cpu/mem.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | TMA, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/mem.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `TAC` [INFO] [stderr] --> src/cpu/mem.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | TAC, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/mem.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NR10` [INFO] [stderr] --> src/cpu/mem.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | NR10, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/mem.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NR11` [INFO] [stderr] --> src/cpu/mem.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | NR11, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/mem.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NR12` [INFO] [stderr] --> src/cpu/mem.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | NR12, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/mem.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NR13` [INFO] [stderr] --> src/cpu/mem.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | NR13, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/mem.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NR14` [INFO] [stderr] --> src/cpu/mem.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | NR14, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/mem.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NR21` [INFO] [stderr] --> src/cpu/mem.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | NR21, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/mem.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NR22` [INFO] [stderr] --> src/cpu/mem.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | NR22, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/mem.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NR23` [INFO] [stderr] --> src/cpu/mem.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | NR23, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/mem.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NR24` [INFO] [stderr] --> src/cpu/mem.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | NR24, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/mem.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NR30` [INFO] [stderr] --> src/cpu/mem.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | NR30, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/mem.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NR31` [INFO] [stderr] --> src/cpu/mem.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | NR31, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/mem.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NR32` [INFO] [stderr] --> src/cpu/mem.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | NR32, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/mem.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NR33` [INFO] [stderr] --> src/cpu/mem.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | NR33, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/mem.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NR34` [INFO] [stderr] --> src/cpu/mem.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | NR34, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/mem.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NR41` [INFO] [stderr] --> src/cpu/mem.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | NR41, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/mem.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NR42` [INFO] [stderr] --> src/cpu/mem.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | NR42, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/mem.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NR43` [INFO] [stderr] --> src/cpu/mem.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | NR43, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/mem.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NR44` [INFO] [stderr] --> src/cpu/mem.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | NR44, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/mem.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NR50` [INFO] [stderr] --> src/cpu/mem.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | NR50, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/mem.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NR51` [INFO] [stderr] --> src/cpu/mem.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | NR51, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/mem.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NR52` [INFO] [stderr] --> src/cpu/mem.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | NR52, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/mem.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `WavePatternRAM` [INFO] [stderr] --> src/cpu/mem.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | WavePatternRAM(u8), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/mem.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `DMA` [INFO] [stderr] --> src/cpu/mem.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | DMA, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/mem.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `OBP0` [INFO] [stderr] --> src/cpu/mem.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 43 | OBP0, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/mem.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `OBP1` [INFO] [stderr] --> src/cpu/mem.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | OBP1, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/mem.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `WY` [INFO] [stderr] --> src/cpu/mem.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | WY, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/mem.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `WX` [INFO] [stderr] --> src/cpu/mem.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | WX, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `MemoryRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/mem.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `DUTY_CYCLE_00` [INFO] [stderr] --> src/peripherals/audio.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | pub const DUTY_CYCLE_00: [bool; 8] = [false, false, false, false, false, false, false, true]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `DUTY_CYCLE_01` [INFO] [stderr] --> src/peripherals/audio.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | pub const DUTY_CYCLE_01: [bool; 8] = [true, false, false, false, false, false, false, true]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `DUTY_CYCLE_10` [INFO] [stderr] --> src/peripherals/audio.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | pub const DUTY_CYCLE_10: [bool; 8] = [true, true, false, false, false, false, true, true]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `DUTY_CYCLE_11` [INFO] [stderr] --> src/peripherals/audio.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub const DUTY_CYCLE_11: [bool; 8] = [false, true, true, true, true, true, true, false]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `DutyCycle12_5` [INFO] [stderr] --> src/peripherals/audio.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | DutyCycle12_5, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `DutyCycle25` [INFO] [stderr] --> src/peripherals/audio.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | DutyCycle25, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `DutyCycle75` [INFO] [stderr] --> src/peripherals/audio.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | DutyCycle75, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `ch2_seq_ptr` [INFO] [stderr] --> src/peripherals/audio.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | ch2_seq_ptr: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `ch2_sel_cycle` [INFO] [stderr] --> src/peripherals/audio.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | ch2_sel_cycle: SelectedSquareWaveCycle, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `sdl_queue` [INFO] [stderr] --> src/peripherals/audio.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | sdl_queue: AudioQueue, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `init_timer` [INFO] [stderr] --> src/peripherals/audio.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | init_timer: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `timer` [INFO] [stderr] --> src/peripherals/audio.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | timer: u32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `tick` [INFO] [stderr] --> src/peripherals/audio.rs:50:12 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn tick(&mut self, mem: &Memory) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `video` [INFO] [stderr] --> src/peripherals/video.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | video: VideoSubsystem, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `sprite0_palette` [INFO] [stderr] --> src/peripherals/video.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | sprite0_palette: [GbColor; 3], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `sprite1_palette` [INFO] [stderr] --> src/peripherals/video.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | sprite1_palette: [GbColor; 3], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `update_sprite_palettes` [INFO] [stderr] --> src/peripherals/video.rs:231:8 [INFO] [stderr] | [INFO] [stderr] 231 | fn update_sprite_palettes(&mut self, obp0: u8, obp1: u8) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `gbemu` (bin "gbemu" test) generated 69 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gbemu-fe1cdf7207702843) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] ALSA lib confmisc.c:767:(parse_card) cannot find card '0' [INFO] [stderr] ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory [INFO] [stderr] ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings [INFO] [stderr] ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory [INFO] [stderr] ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name [INFO] [stderr] ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory [INFO] [stderr] ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory [INFO] [stderr] ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default [INFO] [stdout] test cpu::tests::test_ld ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- cpu::tests::test_ld stdout ---- [INFO] [stdout] thread 'cpu::tests::test_ld' panicked at 'called `Result::unwrap()` on an `Err` value: "ALSA: Couldn't open audio device: No such file or directory"', src/peripherals/audio.rs:40:55 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55b928becc9c - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55b928becc9c - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55b928becc9c - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55b928becc9c - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55b928c11fdc - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x55b928be8598 - std::io::Write::write_fmt::h271050faa79d27d2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x55b928beef67 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55b928beef67 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55b928beef67 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55b928beec9b - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55b928bef6ba - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55b928bef3a7 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55b928bed164 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55b928bef0b9 - rust_begin_unwind [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55b928b85133 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55b928b85223 - core::result::unwrap_failed::hf9b34e307f812de0 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/result.rs:1749:5 [INFO] [stdout] 16: 0x55b928b8d5e4 - core::result::Result::unwrap::hbcdca7e002da4c04 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/result.rs:1065:23 [INFO] [stdout] 17: 0x55b928b8d7a3 - gbemu::peripherals::audio::AudioDrv::new::h3b090c7d00147d85 [INFO] [stdout] at /opt/rustwide/workdir/src/peripherals/audio.rs:40:21 [INFO] [stdout] 18: 0x55b928b8b8f6 - gbemu::cpu::CPU::new::h5fb13f18876c0d0f [INFO] [stdout] at /opt/rustwide/workdir/src/cpu.rs:183:21 [INFO] [stdout] 19: 0x55b928b8ffc9 - gbemu::cpu::tests::test_ld::h2b56a3c36acc9cdc [INFO] [stdout] at /opt/rustwide/workdir/src/cpu.rs:259:23 [INFO] [stdout] 20: 0x55b928b8ff5a - gbemu::cpu::tests::test_ld::{{closure}}::ha016090a830efe4c [INFO] [stdout] at /opt/rustwide/workdir/src/cpu.rs:256:5 [INFO] [stdout] 21: 0x55b928b8c7ce - core::ops::function::FnOnce::call_once::hd5aac58d8473cfe8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x55b928bbbc13 - core::ops::function::FnOnce::call_once::h43953c8a8f54893f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 23: 0x55b928bbbc13 - test::__rust_begin_short_backtrace::h163f55298a15df9b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:575:5 [INFO] [stdout] 24: 0x55b928bba941 - as core::ops::function::FnOnce>::call_once::hc911782b3cbc7ed5 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 25: 0x55b928bba941 - as core::ops::function::FnOnce<()>>::call_once::hc5bb369afbf9cd4e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 26: 0x55b928bba941 - std::panicking::try::do_call::he60df4e3e832faff [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 27: 0x55b928bba941 - std::panicking::try::h2633cee89a0767f3 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 28: 0x55b928bba941 - std::panic::catch_unwind::h6e10f7b94ce38b1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 29: 0x55b928bba941 - test::run_test_in_process::h085ef39049c3b50b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:598:18 [INFO] [stdout] 30: 0x55b928bba941 - test::run_test::run_test_inner::{{closure}}::h4e58ce9f68eb43e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:492:39 [INFO] [stdout] 31: 0x55b928bc4221 - test::run_test::run_test_inner::{{closure}}::h6d18db28c5e396ee [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:519:37 [INFO] [stdout] 32: 0x55b928bc4221 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32292cb2cd8be620 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 33: 0x55b928b9097f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h71ee66b20f7b0482 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 34: 0x55b928b9097f - as core::ops::function::FnOnce<()>>::call_once::hb6046e1d1a75a4a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 35: 0x55b928b9097f - std::panicking::try::do_call::h5422165a88309c77 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 36: 0x55b928b9097f - std::panicking::try::h840a12b54e2c9f5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 37: 0x55b928b9097f - std::panic::catch_unwind::h85910e437c8da180 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 38: 0x55b928b9097f - std::thread::Builder::spawn_unchecked_::{{closure}}::ha3af3a297bfd51d6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 39: 0x55b928b9097f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hff8788f58e0e06a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 40: 0x55b928bf5353 - as core::ops::function::FnOnce>::call_once::h82a18723295373b7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 41: 0x55b928bf5353 - as core::ops::function::FnOnce>::call_once::h4b9b8634f7a2a5a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 42: 0x55b928bf5353 - std::sys::unix::thread::Thread::new::thread_start::h3dc341aa024c6852 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 43: 0x7fba3c6c9609 - start_thread [INFO] [stdout] 44: 0x7fba3c4a1293 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] cpu::tests::test_ld [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin gbemu' [INFO] running `Command { std: "docker" "inspect" "3c33b22aa32f7625ad8b1bcfe1f6078fc738fcf91b1598b2534fd30b14288d7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c33b22aa32f7625ad8b1bcfe1f6078fc738fcf91b1598b2534fd30b14288d7b", kill_on_drop: false }` [INFO] [stdout] 3c33b22aa32f7625ad8b1bcfe1f6078fc738fcf91b1598b2534fd30b14288d7b