[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRedrield%2Fgbemu" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Redrield/gbemu on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-12/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 821dd5af3363b961ec9dab07d778ee100e8714d2ac32fb3b185a111e69a39b83 [INFO] running `Command { std: "docker" "start" "-a" "821dd5af3363b961ec9dab07d778ee100e8714d2ac32fb3b185a111e69a39b83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "821dd5af3363b961ec9dab07d778ee100e8714d2ac32fb3b185a111e69a39b83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "821dd5af3363b961ec9dab07d778ee100e8714d2ac32fb3b185a111e69a39b83", kill_on_drop: false }` [INFO] [stdout] 821dd5af3363b961ec9dab07d778ee100e8714d2ac32fb3b185a111e69a39b83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f85dcc995ab5d86a09d419c10a366c1f600fd910a910a1e2f5551e58602aa95 [INFO] running `Command { std: "docker" "start" "-a" "6f85dcc995ab5d86a09d419c10a366c1f600fd910a910a1e2f5551e58602aa95", kill_on_drop: false }` [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 7.06s [INFO] running `Command { std: "docker" "inspect" "6f85dcc995ab5d86a09d419c10a366c1f600fd910a910a1e2f5551e58602aa95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f85dcc995ab5d86a09d419c10a366c1f600fd910a910a1e2f5551e58602aa95", kill_on_drop: false }` [INFO] [stdout] 6f85dcc995ab5d86a09d419c10a366c1f600fd910a910a1e2f5551e58602aa95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c435f8c55868bbc4a28fea0c251408be8b4dc92693ec9545b5e656052bcef3ad [INFO] running `Command { std: "docker" "start" "-a" "c435f8c55868bbc4a28fea0c251408be8b4dc92693ec9545b5e656052bcef3ad", 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.70s [INFO] running `Command { std: "docker" "inspect" "c435f8c55868bbc4a28fea0c251408be8b4dc92693ec9545b5e656052bcef3ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c435f8c55868bbc4a28fea0c251408be8b4dc92693ec9545b5e656052bcef3ad", kill_on_drop: false }` [INFO] [stdout] c435f8c55868bbc4a28fea0c251408be8b4dc92693ec9545b5e656052bcef3ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 732f222a7a49d2d0c3f4473b63cd4ed71d03ab39d89219c2e6d91c9ee936de65 [INFO] running `Command { std: "docker" "start" "-a" "732f222a7a49d2d0c3f4473b63cd4ed71d03ab39d89219c2e6d91c9ee936de65", 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-5993d3403f442392) [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: 0x56078f97eded - std::backtrace_rs::backtrace::libunwind::trace::hee598835bc88d35b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x56078f97eded - std::backtrace_rs::backtrace::trace_unsynchronized::h9cdc730ba5cf5d72 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x56078f97eded - std::sys_common::backtrace::_print_fmt::h75aeaf7ed30e43fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x56078f97eded - ::fmt::h606862f787600875 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x56078f9a41ac - core::fmt::write::he803f0f418caf762 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x56078f97a6e8 - std::io::Write::write_fmt::hbe7c1a63616291e2 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x56078f9810c7 - std::sys_common::backtrace::_print::h64d038cf8ac3e13e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x56078f9810c7 - std::sys_common::backtrace::print::h359300b4a7fccf65 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x56078f9810c7 - std::panicking::default_hook::{{closure}}::hf51be35e2f510149 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x56078f980dfc - std::panicking::default_hook::h03ca0f22e1d2d25e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x56078f981819 - std::panicking::rust_panic_with_hook::h3b7380e99b825b63 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x56078f981507 - std::panicking::begin_panic_handler::{{closure}}::h8e849d0710154ce0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x56078f97f2b4 - std::sys_common::backtrace::__rust_end_short_backtrace::hedcdaddbd4c46cc5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x56078f981219 - rust_begin_unwind [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x56078f917133 - core::panicking::panic_fmt::he1bbc7336d49a357 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x56078f917223 - core::result::unwrap_failed::h719f957ed74f93fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/result.rs:1749:5 [INFO] [stdout] 16: 0x56078f91f5e4 - core::result::Result::unwrap::h48213219871e4f2a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/result.rs:1065:23 [INFO] [stdout] 17: 0x56078f91f7a3 - gbemu::peripherals::audio::AudioDrv::new::hcd4861a40b1dc213 [INFO] [stdout] at /opt/rustwide/workdir/src/peripherals/audio.rs:40:21 [INFO] [stdout] 18: 0x56078f91d8f6 - gbemu::cpu::CPU::new::h84a848f24d31c7e0 [INFO] [stdout] at /opt/rustwide/workdir/src/cpu.rs:183:21 [INFO] [stdout] 19: 0x56078f921fc9 - gbemu::cpu::tests::test_ld::hf89977921e998cf2 [INFO] [stdout] at /opt/rustwide/workdir/src/cpu.rs:259:23 [INFO] [stdout] 20: 0x56078f921f5a - gbemu::cpu::tests::test_ld::{{closure}}::hf32c83e97980f530 [INFO] [stdout] at /opt/rustwide/workdir/src/cpu.rs:256:5 [INFO] [stdout] 21: 0x56078f91e7ce - core::ops::function::FnOnce::call_once::heb7e6351f3a35c55 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x56078f94dc53 - core::ops::function::FnOnce::call_once::h2a47b4b927cb6ca5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 23: 0x56078f94dc53 - test::__rust_begin_short_backtrace::h594ef8055a183b9b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:575:5 [INFO] [stdout] 24: 0x56078f94c934 - as core::ops::function::FnOnce>::call_once::hb40cbb8bc3e1be15 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 25: 0x56078f94c934 - as core::ops::function::FnOnce<()>>::call_once::ha4f2bd3b806745a0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 26: 0x56078f94c934 - std::panicking::try::do_call::h92af9f8bc77a5987 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 27: 0x56078f94c934 - std::panicking::try::h9df49eeae42572b7 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 28: 0x56078f94c934 - std::panic::catch_unwind::h101dbadc82bbe0fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 29: 0x56078f94c934 - test::run_test_in_process::h2ad7bffb068e750a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:598:18 [INFO] [stdout] 30: 0x56078f94c934 - test::run_test::run_test_inner::{{closure}}::h384faf46554c5acb [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:492:39 [INFO] [stdout] 31: 0x56078f956251 - test::run_test::run_test_inner::{{closure}}::h17cfe94835a46685 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:519:37 [INFO] [stdout] 32: 0x56078f956251 - std::sys_common::backtrace::__rust_begin_short_backtrace::h82709e5086312627 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 33: 0x56078f9228cf - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hdfea66a201b39571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 34: 0x56078f9228cf - as core::ops::function::FnOnce<()>>::call_once::h4912df03598e67fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 35: 0x56078f9228cf - std::panicking::try::do_call::h6d5dc1045d0eade8 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 36: 0x56078f9228cf - std::panicking::try::hbc897fc717ec6571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 37: 0x56078f9228cf - std::panic::catch_unwind::h27f1e958c91391ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 38: 0x56078f9228cf - std::thread::Builder::spawn_unchecked_::{{closure}}::h1b42e48537edc3c0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 39: 0x56078f9228cf - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9137b3d6d2a88354 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 40: 0x56078f987503 - as core::ops::function::FnOnce>::call_once::hf70ac038171e3e1a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 41: 0x56078f987503 - as core::ops::function::FnOnce>::call_once::he6690128792365ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 42: 0x56078f987503 - std::sys::unix::thread::Thread::new::thread_start::ha07928d93d5a5ec9 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 43: 0x7f840e37e609 - start_thread [INFO] [stdout] 44: 0x7f840e154163 - 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.13s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin gbemu' [INFO] running `Command { std: "docker" "inspect" "732f222a7a49d2d0c3f4473b63cd4ed71d03ab39d89219c2e6d91c9ee936de65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "732f222a7a49d2d0c3f4473b63cd4ed71d03ab39d89219c2e6d91c9ee936de65", kill_on_drop: false }` [INFO] [stdout] 732f222a7a49d2d0c3f4473b63cd4ed71d03ab39d89219c2e6d91c9ee936de65