[INFO] cloning repository https://github.com/c-ola/cassowary-gb
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/c-ola/cassowary-gb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc-ola%2Fcassowary-gb", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc-ola%2Fcassowary-gb'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 59563f1271297b87a4d51447bb3575636797368f
[INFO] testing c-ola/cassowary-gb against master#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc-ola%2Fcassowary-gb" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/c-ola/cassowary-gb
[INFO] finished tweaking git repo https://github.com/c-ola/cassowary-gb
[INFO] tweaked toml for git repo https://github.com/c-ola/cassowary-gb written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/c-ola/cassowary-gb on toolchain 1ef7943ee607160a564655b6596f83670ef95df5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/c-ola/cassowary-gb already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded anstyle v1.0.4
[INFO] [stderr]   Downloaded anstream v0.6.4
[INFO] [stderr]   Downloaded version-compare v0.1.1
[INFO] [stderr]   Downloaded clap v4.4.7
[INFO] [stderr]   Downloaded anstyle-wincon v3.0.1
[INFO] [stderr]   Downloaded clap_derive v4.4.7
[INFO] [stderr]   Downloaded sdl2 v0.35.2
[INFO] [stderr]   Downloaded syn v2.0.31
[INFO] [stderr]   Downloaded clap_builder v4.4.7
[INFO] [stderr]   Downloaded sdl2-sys v0.35.2
[INFO] [stderr]   Downloaded anstyle-parse v0.2.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f3c4b699369ee0f669ce235f228483d37b7105b98b0ad080570341b19b6afef9
[INFO] running `Command { std: "docker" "start" "-a" "f3c4b699369ee0f669ce235f228483d37b7105b98b0ad080570341b19b6afef9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f3c4b699369ee0f669ce235f228483d37b7105b98b0ad080570341b19b6afef9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f3c4b699369ee0f669ce235f228483d37b7105b98b0ad080570341b19b6afef9", kill_on_drop: false }`
[INFO] [stdout] f3c4b699369ee0f669ce235f228483d37b7105b98b0ad080570341b19b6afef9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4bd29f7282ac85e29009f0f4603d046a876b98b7e8577081ade3256172aa476f
[INFO] running `Command { std: "docker" "start" "-a" "4bd29f7282ac85e29009f0f4603d046a876b98b7e8577081ade3256172aa476f", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling version-compare v0.1.1
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling utf8parse v0.2.1
[INFO] [stderr]    Compiling anstyle v1.0.4
[INFO] [stderr]    Compiling anstyle-query v1.0.0
[INFO] [stderr]    Compiling colorchoice v1.0.0
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling sdl2 v0.35.2
[INFO] [stderr]    Compiling clap_lex v0.6.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling anstyle-parse v0.2.2
[INFO] [stderr]    Compiling sdl2-sys v0.35.2
[INFO] [stderr]    Compiling anstream v0.6.4
[INFO] [stderr]    Compiling clap_builder v4.4.7
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling syn v2.0.31
[INFO] [stderr]    Compiling clap_derive v4.4.7
[INFO] [stderr]    Compiling clap v4.4.7
[INFO] [stderr]    Compiling cassowary-gb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `super::regids::IF`
[INFO] [stdout]  --> src/console/ppu.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::regids::IF;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::pixels::Color`
[INFO] [stdout]  --> src/console/ppu.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sdl2::pixels::Color;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::rect::Point`
[INFO] [stdout]  --> src/console/ppu.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sdl2::rect::Point;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Canvas`
[INFO] [stdout]  --> src/console/ppu.rs:8:20
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sdl2::render::{Canvas, Texture};
[INFO] [stdout]   |                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::surface::Surface`
[INFO] [stdout]  --> src/console/ppu.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use sdl2::surface::Surface;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::Window`
[INFO] [stdout]   --> src/console/ppu.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use sdl2::video::Window;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::regids::*`
[INFO] [stdout]  --> src/console/apu.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::regids::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AudioSpecDesired`
[INFO] [stdout]  --> src/console/apu.rs:5:34
[INFO] [stdout]   |
[INFO] [stdout] 5 | use sdl2::audio::{AudioCallback, AudioSpecDesired};
[INFO] [stdout]   |                                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::atomic::AtomicU64`
[INFO] [stdout]   --> src/console.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::sync::atomic::AtomicU64;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc`
[INFO] [stdout]   --> src/console.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use std::sync::mpsc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc::channel`
[INFO] [stdout]   --> src/console.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use std::sync::mpsc::channel;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc::Receiver`
[INFO] [stdout]   --> src/console.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use std::sync::mpsc::Receiver;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc::Sender`
[INFO] [stdout]   --> src/console.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::sync::mpsc::Sender;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::JoinHandle`
[INFO] [stdout]   --> src/console.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use std::thread::JoinHandle;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y_flip`
[INFO] [stdout]    --> src/console/ppu.rs:230:41
[INFO] [stdout]     |
[INFO] [stdout] 230 |     fn mix_bytes_obj(low: u8, high: u8, y_flip: bool, x_flip: bool) -> [u8; 8] {
[INFO] [stdout]     |                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_flip`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pace`
[INFO] [stdout]   --> src/console/apu.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let pace = nr10 & 0b01110000 >> 4;
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_pace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `env_dir`
[INFO] [stdout]   --> src/console/apu.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let env_dir = nr12 & 0b00001000 >> 3;
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_env_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sweep_pace`
[INFO] [stdout]   --> src/console/apu.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let sweep_pace = nr12 & 0b00000111;
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sweep_pace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trigger`
[INFO] [stdout]   --> src/console/apu.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let trigger = nr14 & 0b10000000 >> 7;
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trigger`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `length_en`
[INFO] [stdout]   --> src/console/apu.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let length_en = nr14 & 0b01000000 >> 6;
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_length_en`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value captured by `clock_timer` is never read
[INFO] [stdout]    --> src/console.rs:188:17
[INFO] [stdout]     |
[INFO] [stdout] 188 |                 clock_timer = Instant::now();
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: did you mean to capture by reference instead?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `clock_timer` is never read
[INFO] [stdout]    --> src/console.rs:188:17
[INFO] [stdout]     |
[INFO] [stdout] 188 |                 clock_timer = Instant::now();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `clock_timer`
[INFO] [stdout]    --> src/console.rs:158:13
[INFO] [stdout]     |
[INFO] [stdout] 158 |         let mut clock_timer = Instant::now();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clock_timer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stop`
[INFO] [stdout]    --> src/console.rs:227:13
[INFO] [stdout]     |
[INFO] [stdout] 227 |         let stop = Arc::new(AtomicBool::new(false));
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_stop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `byte`
[INFO] [stdout]    --> src/console.rs:303:17
[INFO] [stdout]     |
[INFO] [stdout] 303 |             let byte = data[i];
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_byte`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PerfError` is never constructed
[INFO] [stdout]   --> src/console.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | struct PerfError {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PerfTimer` is never constructed
[INFO] [stdout]   --> src/console.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | struct PerfTimer<const N: usize = 1000> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `start`, `end`, and `avg` are never used
[INFO] [stdout]   --> src/console.rs:69:8
[INFO] [stdout]    |
[INFO] [stdout] 68 | impl<const N: usize> PerfTimer<N> {
[INFO] [stdout]    | --------------------------------- associated items in this implementation
[INFO] [stdout] 69 |     fn new() -> PerfTimer<N> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 76 |     fn start(&mut self) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     fn end(&mut self) -> Result<(), PerfError> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 96 |     fn avg(&self) -> f64 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `run_cpu` is never used
[INFO] [stdout]    --> src/console.rs:157:8
[INFO] [stdout]     |
[INFO] [stdout] 147 | impl GameBoy {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 157 |     fn run_cpu(&mut self, stop_signal: Arc<AtomicBool>, clock: Arc<(Mutex<usize>, Condvar)>) -> thread::JoinHandle<()> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_carry_flags` is never used
[INFO] [stdout]    --> src/console/cpu.rs:655:8
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl SharpSM83 {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 655 |     fn set_carry_flags(&mut self, carry: bool, half_carry: bool) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DMA` is never used
[INFO] [stdout]   --> src/console/ppu.rs:31:7
[INFO] [stdout]    |
[INFO] [stdout] 31 | const DMA: u16 = 0xFF46;
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OBJ_EN` is never used
[INFO] [stdout]   --> src/console/ppu.rs:44:7
[INFO] [stdout]    |
[INFO] [stdout] 44 | const OBJ_EN: u8 = 1 << 1;
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LYC_INT_SEL` is never used
[INFO] [stdout]   --> src/console/ppu.rs:48:7
[INFO] [stdout]    |
[INFO] [stdout] 48 | const LYC_INT_SEL: u8 = 1 << 6;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `M2_INT_SEL` is never used
[INFO] [stdout]   --> src/console/ppu.rs:49:7
[INFO] [stdout]    |
[INFO] [stdout] 49 | const M2_INT_SEL: u8 = 1 << 5;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `M1_INT_SEL` is never used
[INFO] [stdout]   --> src/console/ppu.rs:50:7
[INFO] [stdout]    |
[INFO] [stdout] 50 | const M1_INT_SEL: u8 = 1 << 4;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `M0_INT_SEL` is never used
[INFO] [stdout]   --> src/console/ppu.rs:51:7
[INFO] [stdout]    |
[INFO] [stdout] 51 | const M0_INT_SEL: u8 = 1 << 3;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LYC_EQ_LY` is never used
[INFO] [stdout]   --> src/console/ppu.rs:52:7
[INFO] [stdout]    |
[INFO] [stdout] 52 | const LYC_EQ_LY: u8 = 1 << 2;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PPU_MODE` is never used
[INFO] [stdout]   --> src/console/ppu.rs:53:7
[INFO] [stdout]    |
[INFO] [stdout] 53 | const PPU_MODE: u8 = 0b11;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `sprite_prio` is never read
[INFO] [stdout]   --> src/console/ppu.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 78 | struct Pixel {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 81 |     pub sprite_prio: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Pixel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `channel3_pos` is never read
[INFO] [stdout]   --> src/console/apu.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct Apu {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 37 |     channel3_pos: u8,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Apu` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::regids::IF`
[INFO] [stdout]  --> src/console/ppu.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::regids::IF;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::pixels::Color`
[INFO] [stdout]  --> src/console/ppu.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sdl2::pixels::Color;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::rect::Point`
[INFO] [stdout]  --> src/console/ppu.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sdl2::rect::Point;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Canvas`
[INFO] [stdout]  --> src/console/ppu.rs:8:20
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sdl2::render::{Canvas, Texture};
[INFO] [stdout]   |                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::surface::Surface`
[INFO] [stdout]  --> src/console/ppu.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use sdl2::surface::Surface;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::Window`
[INFO] [stdout]   --> src/console/ppu.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use sdl2::video::Window;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::regids::*`
[INFO] [stdout]  --> src/console/apu.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::regids::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AudioSpecDesired`
[INFO] [stdout]  --> src/console/apu.rs:5:34
[INFO] [stdout]   |
[INFO] [stdout] 5 | use sdl2::audio::{AudioCallback, AudioSpecDesired};
[INFO] [stdout]   |                                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::atomic::AtomicU64`
[INFO] [stdout]   --> src/console.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::sync::atomic::AtomicU64;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc`
[INFO] [stdout]   --> src/console.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use std::sync::mpsc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc::channel`
[INFO] [stdout]   --> src/console.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use std::sync::mpsc::channel;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc::Receiver`
[INFO] [stdout]   --> src/console.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use std::sync::mpsc::Receiver;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc::Sender`
[INFO] [stdout]   --> src/console.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::sync::mpsc::Sender;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::JoinHandle`
[INFO] [stdout]   --> src/console.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use std::thread::JoinHandle;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y_flip`
[INFO] [stdout]    --> src/console/ppu.rs:230:41
[INFO] [stdout]     |
[INFO] [stdout] 230 |     fn mix_bytes_obj(low: u8, high: u8, y_flip: bool, x_flip: bool) -> [u8; 8] {
[INFO] [stdout]     |                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_flip`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pace`
[INFO] [stdout]   --> src/console/apu.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let pace = nr10 & 0b01110000 >> 4;
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_pace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `env_dir`
[INFO] [stdout]   --> src/console/apu.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let env_dir = nr12 & 0b00001000 >> 3;
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_env_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sweep_pace`
[INFO] [stdout]   --> src/console/apu.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let sweep_pace = nr12 & 0b00000111;
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sweep_pace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trigger`
[INFO] [stdout]   --> src/console/apu.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let trigger = nr14 & 0b10000000 >> 7;
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trigger`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `length_en`
[INFO] [stdout]   --> src/console/apu.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let length_en = nr14 & 0b01000000 >> 6;
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_length_en`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value captured by `clock_timer` is never read
[INFO] [stdout]    --> src/console.rs:188:17
[INFO] [stdout]     |
[INFO] [stdout] 188 |                 clock_timer = Instant::now();
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: did you mean to capture by reference instead?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `clock_timer` is never read
[INFO] [stdout]    --> src/console.rs:188:17
[INFO] [stdout]     |
[INFO] [stdout] 188 |                 clock_timer = Instant::now();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `clock_timer`
[INFO] [stdout]    --> src/console.rs:158:13
[INFO] [stdout]     |
[INFO] [stdout] 158 |         let mut clock_timer = Instant::now();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clock_timer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stop`
[INFO] [stdout]    --> src/console.rs:227:13
[INFO] [stdout]     |
[INFO] [stdout] 227 |         let stop = Arc::new(AtomicBool::new(false));
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_stop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `byte`
[INFO] [stdout]    --> src/console.rs:303:17
[INFO] [stdout]     |
[INFO] [stdout] 303 |             let byte = data[i];
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_byte`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PerfError` is never constructed
[INFO] [stdout]   --> src/console.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | struct PerfError {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PerfTimer` is never constructed
[INFO] [stdout]   --> src/console.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | struct PerfTimer<const N: usize = 1000> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `start`, `end`, and `avg` are never used
[INFO] [stdout]   --> src/console.rs:69:8
[INFO] [stdout]    |
[INFO] [stdout] 68 | impl<const N: usize> PerfTimer<N> {
[INFO] [stdout]    | --------------------------------- associated items in this implementation
[INFO] [stdout] 69 |     fn new() -> PerfTimer<N> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 76 |     fn start(&mut self) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     fn end(&mut self) -> Result<(), PerfError> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 96 |     fn avg(&self) -> f64 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `run_cpu` is never used
[INFO] [stdout]    --> src/console.rs:157:8
[INFO] [stdout]     |
[INFO] [stdout] 147 | impl GameBoy {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 157 |     fn run_cpu(&mut self, stop_signal: Arc<AtomicBool>, clock: Arc<(Mutex<usize>, Condvar)>) -> thread::JoinHandle<()> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_carry_flags` is never used
[INFO] [stdout]    --> src/console/cpu.rs:655:8
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl SharpSM83 {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 655 |     fn set_carry_flags(&mut self, carry: bool, half_carry: bool) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DMA` is never used
[INFO] [stdout]   --> src/console/ppu.rs:31:7
[INFO] [stdout]    |
[INFO] [stdout] 31 | const DMA: u16 = 0xFF46;
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OBJ_EN` is never used
[INFO] [stdout]   --> src/console/ppu.rs:44:7
[INFO] [stdout]    |
[INFO] [stdout] 44 | const OBJ_EN: u8 = 1 << 1;
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LYC_INT_SEL` is never used
[INFO] [stdout]   --> src/console/ppu.rs:48:7
[INFO] [stdout]    |
[INFO] [stdout] 48 | const LYC_INT_SEL: u8 = 1 << 6;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `M2_INT_SEL` is never used
[INFO] [stdout]   --> src/console/ppu.rs:49:7
[INFO] [stdout]    |
[INFO] [stdout] 49 | const M2_INT_SEL: u8 = 1 << 5;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `M1_INT_SEL` is never used
[INFO] [stdout]   --> src/console/ppu.rs:50:7
[INFO] [stdout]    |
[INFO] [stdout] 50 | const M1_INT_SEL: u8 = 1 << 4;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `M0_INT_SEL` is never used
[INFO] [stdout]   --> src/console/ppu.rs:51:7
[INFO] [stdout]    |
[INFO] [stdout] 51 | const M0_INT_SEL: u8 = 1 << 3;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LYC_EQ_LY` is never used
[INFO] [stdout]   --> src/console/ppu.rs:52:7
[INFO] [stdout]    |
[INFO] [stdout] 52 | const LYC_EQ_LY: u8 = 1 << 2;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PPU_MODE` is never used
[INFO] [stdout]   --> src/console/ppu.rs:53:7
[INFO] [stdout]    |
[INFO] [stdout] 53 | const PPU_MODE: u8 = 0b11;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `sprite_prio` is never read
[INFO] [stdout]   --> src/console/ppu.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 78 | struct Pixel {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 81 |     pub sprite_prio: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Pixel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `channel3_pos` is never read
[INFO] [stdout]   --> src/console/apu.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct Apu {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 37 |     channel3_pos: u8,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Apu` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [optimized + debuginfo] target(s) in 15.59s
[INFO] running `Command { std: "docker" "inspect" "4bd29f7282ac85e29009f0f4603d046a876b98b7e8577081ade3256172aa476f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4bd29f7282ac85e29009f0f4603d046a876b98b7e8577081ade3256172aa476f", kill_on_drop: false }`
[INFO] [stdout] 4bd29f7282ac85e29009f0f4603d046a876b98b7e8577081ade3256172aa476f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ad33d6668c2dbd9e4c1866880adc9fe09f02bcf6bd468d597ce38075cfd77f83
[INFO] running `Command { std: "docker" "start" "-a" "ad33d6668c2dbd9e4c1866880adc9fe09f02bcf6bd468d597ce38075cfd77f83", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `super::regids::IF`
[INFO] [stdout]  --> src/console/ppu.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::regids::IF;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::pixels::Color`
[INFO] [stdout]  --> src/console/ppu.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sdl2::pixels::Color;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::rect::Point`
[INFO] [stdout]  --> src/console/ppu.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sdl2::rect::Point;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Canvas`
[INFO] [stdout]  --> src/console/ppu.rs:8:20
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sdl2::render::{Canvas, Texture};
[INFO] [stdout]   |                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::surface::Surface`
[INFO] [stdout]  --> src/console/ppu.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use sdl2::surface::Surface;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::Window`
[INFO] [stdout]   --> src/console/ppu.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use sdl2::video::Window;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::regids::*`
[INFO] [stdout]  --> src/console/apu.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::regids::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AudioSpecDesired`
[INFO] [stdout]  --> src/console/apu.rs:5:34
[INFO] [stdout]   |
[INFO] [stdout] 5 | use sdl2::audio::{AudioCallback, AudioSpecDesired};
[INFO] [stdout]   |                                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::atomic::AtomicU64`
[INFO] [stdout]   --> src/console.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::sync::atomic::AtomicU64;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc`
[INFO] [stdout]   --> src/console.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use std::sync::mpsc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc::channel`
[INFO] [stdout]   --> src/console.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use std::sync::mpsc::channel;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc::Receiver`
[INFO] [stdout]   --> src/console.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use std::sync::mpsc::Receiver;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc::Sender`
[INFO] [stdout]   --> src/console.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::sync::mpsc::Sender;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::JoinHandle`
[INFO] [stdout]   --> src/console.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use std::thread::JoinHandle;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y_flip`
[INFO] [stdout]    --> src/console/ppu.rs:230:41
[INFO] [stdout]     |
[INFO] [stdout] 230 |     fn mix_bytes_obj(low: u8, high: u8, y_flip: bool, x_flip: bool) -> [u8; 8] {
[INFO] [stdout]     |                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_flip`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pace`
[INFO] [stdout]   --> src/console/apu.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let pace = nr10 & 0b01110000 >> 4;
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_pace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `env_dir`
[INFO] [stdout]   --> src/console/apu.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let env_dir = nr12 & 0b00001000 >> 3;
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_env_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sweep_pace`
[INFO] [stdout]   --> src/console/apu.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let sweep_pace = nr12 & 0b00000111;
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sweep_pace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trigger`
[INFO] [stdout]   --> src/console/apu.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let trigger = nr14 & 0b10000000 >> 7;
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trigger`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `length_en`
[INFO] [stdout]   --> src/console/apu.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let length_en = nr14 & 0b01000000 >> 6;
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_length_en`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value captured by `clock_timer` is never read
[INFO] [stdout]    --> src/console.rs:188:17
[INFO] [stdout]     |
[INFO] [stdout] 188 |                 clock_timer = Instant::now();
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: did you mean to capture by reference instead?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `clock_timer` is never read
[INFO] [stdout]    --> src/console.rs:188:17
[INFO] [stdout]     |
[INFO] [stdout] 188 |                 clock_timer = Instant::now();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `clock_timer`
[INFO] [stdout]    --> src/console.rs:158:13
[INFO] [stdout]     |
[INFO] [stdout] 158 |         let mut clock_timer = Instant::now();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clock_timer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stop`
[INFO] [stdout]    --> src/console.rs:227:13
[INFO] [stdout]     |
[INFO] [stdout] 227 |         let stop = Arc::new(AtomicBool::new(false));
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_stop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `byte`
[INFO] [stdout]    --> src/console.rs:303:17
[INFO] [stdout]     |
[INFO] [stdout] 303 |             let byte = data[i];
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_byte`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PerfError` is never constructed
[INFO] [stdout]   --> src/console.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | struct PerfError {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PerfTimer` is never constructed
[INFO] [stdout]   --> src/console.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | struct PerfTimer<const N: usize = 1000> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `start`, `end`, and `avg` are never used
[INFO] [stdout]   --> src/console.rs:69:8
[INFO] [stdout]    |
[INFO] [stdout] 68 | impl<const N: usize> PerfTimer<N> {
[INFO] [stdout]    | --------------------------------- associated items in this implementation
[INFO] [stdout] 69 |     fn new() -> PerfTimer<N> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 76 |     fn start(&mut self) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     fn end(&mut self) -> Result<(), PerfError> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 96 |     fn avg(&self) -> f64 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `run_cpu` is never used
[INFO] [stdout]    --> src/console.rs:157:8
[INFO] [stdout]     |
[INFO] [stdout] 147 | impl GameBoy {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 157 |     fn run_cpu(&mut self, stop_signal: Arc<AtomicBool>, clock: Arc<(Mutex<usize>, Condvar)>) -> thread::JoinHandle<()> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling cassowary-gb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: method `set_carry_flags` is never used
[INFO] [stdout]    --> src/console/cpu.rs:655:8
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl SharpSM83 {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 655 |     fn set_carry_flags(&mut self, carry: bool, half_carry: bool) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DMA` is never used
[INFO] [stdout]   --> src/console/ppu.rs:31:7
[INFO] [stdout]    |
[INFO] [stdout] 31 | const DMA: u16 = 0xFF46;
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OBJ_EN` is never used
[INFO] [stdout]   --> src/console/ppu.rs:44:7
[INFO] [stdout]    |
[INFO] [stdout] 44 | const OBJ_EN: u8 = 1 << 1;
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LYC_INT_SEL` is never used
[INFO] [stdout]   --> src/console/ppu.rs:48:7
[INFO] [stdout]    |
[INFO] [stdout] 48 | const LYC_INT_SEL: u8 = 1 << 6;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `M2_INT_SEL` is never used
[INFO] [stdout]   --> src/console/ppu.rs:49:7
[INFO] [stdout]    |
[INFO] [stdout] 49 | const M2_INT_SEL: u8 = 1 << 5;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `M1_INT_SEL` is never used
[INFO] [stdout]   --> src/console/ppu.rs:50:7
[INFO] [stdout]    |
[INFO] [stdout] 50 | const M1_INT_SEL: u8 = 1 << 4;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `M0_INT_SEL` is never used
[INFO] [stdout]   --> src/console/ppu.rs:51:7
[INFO] [stdout]    |
[INFO] [stdout] 51 | const M0_INT_SEL: u8 = 1 << 3;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LYC_EQ_LY` is never used
[INFO] [stdout]   --> src/console/ppu.rs:52:7
[INFO] [stdout]    |
[INFO] [stdout] 52 | const LYC_EQ_LY: u8 = 1 << 2;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PPU_MODE` is never used
[INFO] [stdout]   --> src/console/ppu.rs:53:7
[INFO] [stdout]    |
[INFO] [stdout] 53 | const PPU_MODE: u8 = 0b11;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `sprite_prio` is never read
[INFO] [stdout]   --> src/console/ppu.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 78 | struct Pixel {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 81 |     pub sprite_prio: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Pixel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `channel3_pos` is never read
[INFO] [stdout]   --> src/console/apu.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct Apu {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 37 |     channel3_pos: u8,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Apu` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::regids::IF`
[INFO] [stdout]  --> src/console/ppu.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::regids::IF;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::pixels::Color`
[INFO] [stdout]  --> src/console/ppu.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sdl2::pixels::Color;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::rect::Point`
[INFO] [stdout]  --> src/console/ppu.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sdl2::rect::Point;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Canvas`
[INFO] [stdout]  --> src/console/ppu.rs:8:20
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sdl2::render::{Canvas, Texture};
[INFO] [stdout]   |                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::surface::Surface`
[INFO] [stdout]  --> src/console/ppu.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use sdl2::surface::Surface;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::Window`
[INFO] [stdout]   --> src/console/ppu.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use sdl2::video::Window;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::regids::*`
[INFO] [stdout]  --> src/console/apu.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::regids::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AudioSpecDesired`
[INFO] [stdout]  --> src/console/apu.rs:5:34
[INFO] [stdout]   |
[INFO] [stdout] 5 | use sdl2::audio::{AudioCallback, AudioSpecDesired};
[INFO] [stdout]   |                                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::atomic::AtomicU64`
[INFO] [stdout]   --> src/console.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::sync::atomic::AtomicU64;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc`
[INFO] [stdout]   --> src/console.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use std::sync::mpsc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc::channel`
[INFO] [stdout]   --> src/console.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use std::sync::mpsc::channel;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc::Receiver`
[INFO] [stdout]   --> src/console.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use std::sync::mpsc::Receiver;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc::Sender`
[INFO] [stdout]   --> src/console.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::sync::mpsc::Sender;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::JoinHandle`
[INFO] [stdout]   --> src/console.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use std::thread::JoinHandle;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y_flip`
[INFO] [stdout]    --> src/console/ppu.rs:230:41
[INFO] [stdout]     |
[INFO] [stdout] 230 |     fn mix_bytes_obj(low: u8, high: u8, y_flip: bool, x_flip: bool) -> [u8; 8] {
[INFO] [stdout]     |                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_flip`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pace`
[INFO] [stdout]   --> src/console/apu.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let pace = nr10 & 0b01110000 >> 4;
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_pace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `env_dir`
[INFO] [stdout]   --> src/console/apu.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let env_dir = nr12 & 0b00001000 >> 3;
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_env_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sweep_pace`
[INFO] [stdout]   --> src/console/apu.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let sweep_pace = nr12 & 0b00000111;
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sweep_pace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trigger`
[INFO] [stdout]   --> src/console/apu.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let trigger = nr14 & 0b10000000 >> 7;
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trigger`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `length_en`
[INFO] [stdout]   --> src/console/apu.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let length_en = nr14 & 0b01000000 >> 6;
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_length_en`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value captured by `clock_timer` is never read
[INFO] [stdout]    --> src/console.rs:188:17
[INFO] [stdout]     |
[INFO] [stdout] 188 |                 clock_timer = Instant::now();
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: did you mean to capture by reference instead?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `clock_timer` is never read
[INFO] [stdout]    --> src/console.rs:188:17
[INFO] [stdout]     |
[INFO] [stdout] 188 |                 clock_timer = Instant::now();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `clock_timer`
[INFO] [stdout]    --> src/console.rs:158:13
[INFO] [stdout]     |
[INFO] [stdout] 158 |         let mut clock_timer = Instant::now();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clock_timer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stop`
[INFO] [stdout]    --> src/console.rs:227:13
[INFO] [stdout]     |
[INFO] [stdout] 227 |         let stop = Arc::new(AtomicBool::new(false));
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_stop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `byte`
[INFO] [stdout]    --> src/console.rs:303:17
[INFO] [stdout]     |
[INFO] [stdout] 303 |             let byte = data[i];
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_byte`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PerfError` is never constructed
[INFO] [stdout]   --> src/console.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | struct PerfError {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PerfTimer` is never constructed
[INFO] [stdout]   --> src/console.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | struct PerfTimer<const N: usize = 1000> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `start`, `end`, and `avg` are never used
[INFO] [stdout]   --> src/console.rs:69:8
[INFO] [stdout]    |
[INFO] [stdout] 68 | impl<const N: usize> PerfTimer<N> {
[INFO] [stdout]    | --------------------------------- associated items in this implementation
[INFO] [stdout] 69 |     fn new() -> PerfTimer<N> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 76 |     fn start(&mut self) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     fn end(&mut self) -> Result<(), PerfError> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 96 |     fn avg(&self) -> f64 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `run_cpu` is never used
[INFO] [stdout]    --> src/console.rs:157:8
[INFO] [stdout]     |
[INFO] [stdout] 147 | impl GameBoy {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 157 |     fn run_cpu(&mut self, stop_signal: Arc<AtomicBool>, clock: Arc<(Mutex<usize>, Condvar)>) -> thread::JoinHandle<()> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_carry_flags` is never used
[INFO] [stdout]    --> src/console/cpu.rs:655:8
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl SharpSM83 {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 655 |     fn set_carry_flags(&mut self, carry: bool, half_carry: bool) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DMA` is never used
[INFO] [stdout]   --> src/console/ppu.rs:31:7
[INFO] [stdout]    |
[INFO] [stdout] 31 | const DMA: u16 = 0xFF46;
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OBJ_EN` is never used
[INFO] [stdout]   --> src/console/ppu.rs:44:7
[INFO] [stdout]    |
[INFO] [stdout] 44 | const OBJ_EN: u8 = 1 << 1;
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LYC_INT_SEL` is never used
[INFO] [stdout]   --> src/console/ppu.rs:48:7
[INFO] [stdout]    |
[INFO] [stdout] 48 | const LYC_INT_SEL: u8 = 1 << 6;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `M2_INT_SEL` is never used
[INFO] [stdout]   --> src/console/ppu.rs:49:7
[INFO] [stdout]    |
[INFO] [stdout] 49 | const M2_INT_SEL: u8 = 1 << 5;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `M1_INT_SEL` is never used
[INFO] [stdout]   --> src/console/ppu.rs:50:7
[INFO] [stdout]    |
[INFO] [stdout] 50 | const M1_INT_SEL: u8 = 1 << 4;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `M0_INT_SEL` is never used
[INFO] [stdout]   --> src/console/ppu.rs:51:7
[INFO] [stdout]    |
[INFO] [stdout] 51 | const M0_INT_SEL: u8 = 1 << 3;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LYC_EQ_LY` is never used
[INFO] [stdout]   --> src/console/ppu.rs:52:7
[INFO] [stdout]    |
[INFO] [stdout] 52 | const LYC_EQ_LY: u8 = 1 << 2;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PPU_MODE` is never used
[INFO] [stdout]   --> src/console/ppu.rs:53:7
[INFO] [stdout]    |
[INFO] [stdout] 53 | const PPU_MODE: u8 = 0b11;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `sprite_prio` is never read
[INFO] [stdout]   --> src/console/ppu.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 78 | struct Pixel {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 81 |     pub sprite_prio: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Pixel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `channel3_pos` is never read
[INFO] [stdout]   --> src/console/apu.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct Apu {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 37 |     channel3_pos: u8,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Apu` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::regids::IF`
[INFO] [stdout]  --> src/console/ppu.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::regids::IF;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::pixels::Color`
[INFO] [stdout]  --> src/console/ppu.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sdl2::pixels::Color;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::rect::Point`
[INFO] [stdout]  --> src/console/ppu.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sdl2::rect::Point;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Canvas`
[INFO] [stdout]  --> src/console/ppu.rs:8:20
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sdl2::render::{Canvas, Texture};
[INFO] [stdout]   |                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::surface::Surface`
[INFO] [stdout]  --> src/console/ppu.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use sdl2::surface::Surface;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::Window`
[INFO] [stdout]   --> src/console/ppu.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use sdl2::video::Window;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::regids::*`
[INFO] [stdout]  --> src/console/apu.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::regids::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AudioSpecDesired`
[INFO] [stdout]  --> src/console/apu.rs:5:34
[INFO] [stdout]   |
[INFO] [stdout] 5 | use sdl2::audio::{AudioCallback, AudioSpecDesired};
[INFO] [stdout]   |                                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::atomic::AtomicU64`
[INFO] [stdout]   --> src/console.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::sync::atomic::AtomicU64;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc`
[INFO] [stdout]   --> src/console.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use std::sync::mpsc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc::channel`
[INFO] [stdout]   --> src/console.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use std::sync::mpsc::channel;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc::Receiver`
[INFO] [stdout]   --> src/console.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use std::sync::mpsc::Receiver;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc::Sender`
[INFO] [stdout]   --> src/console.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::sync::mpsc::Sender;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::JoinHandle`
[INFO] [stdout]   --> src/console.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use std::thread::JoinHandle;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pc_ret`
[INFO] [stdout]    --> tests/cpu_test.rs:300:9
[INFO] [stdout]     |
[INFO] [stdout] 300 |     let pc_ret = cpu.pc;
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pc_ret`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::regids::IF`
[INFO] [stdout]  --> src/console/ppu.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::regids::IF;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::pixels::Color`
[INFO] [stdout]  --> src/console/ppu.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sdl2::pixels::Color;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::rect::Point`
[INFO] [stdout]  --> src/console/ppu.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sdl2::rect::Point;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Canvas`
[INFO] [stdout]  --> src/console/ppu.rs:8:20
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sdl2::render::{Canvas, Texture};
[INFO] [stdout]   |                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::surface::Surface`
[INFO] [stdout]  --> src/console/ppu.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use sdl2::surface::Surface;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::Window`
[INFO] [stdout]   --> src/console/ppu.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use sdl2::video::Window;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::regids::*`
[INFO] [stdout]  --> src/console/apu.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::regids::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AudioSpecDesired`
[INFO] [stdout]  --> src/console/apu.rs:5:34
[INFO] [stdout]   |
[INFO] [stdout] 5 | use sdl2::audio::{AudioCallback, AudioSpecDesired};
[INFO] [stdout]   |                                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::atomic::AtomicU64`
[INFO] [stdout]   --> src/console.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::sync::atomic::AtomicU64;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc`
[INFO] [stdout]   --> src/console.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use std::sync::mpsc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc::channel`
[INFO] [stdout]   --> src/console.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use std::sync::mpsc::channel;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc::Receiver`
[INFO] [stdout]   --> src/console.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use std::sync::mpsc::Receiver;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc::Sender`
[INFO] [stdout]   --> src/console.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::sync::mpsc::Sender;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::JoinHandle`
[INFO] [stdout]   --> src/console.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use std::thread::JoinHandle;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y_flip`
[INFO] [stdout]    --> src/console/ppu.rs:230:41
[INFO] [stdout]     |
[INFO] [stdout] 230 |     fn mix_bytes_obj(low: u8, high: u8, y_flip: bool, x_flip: bool) -> [u8; 8] {
[INFO] [stdout]     |                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_flip`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pace`
[INFO] [stdout]   --> src/console/apu.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let pace = nr10 & 0b01110000 >> 4;
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_pace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `env_dir`
[INFO] [stdout]   --> src/console/apu.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let env_dir = nr12 & 0b00001000 >> 3;
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_env_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sweep_pace`
[INFO] [stdout]   --> src/console/apu.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let sweep_pace = nr12 & 0b00000111;
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sweep_pace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trigger`
[INFO] [stdout]   --> src/console/apu.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let trigger = nr14 & 0b10000000 >> 7;
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trigger`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `length_en`
[INFO] [stdout]   --> src/console/apu.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let length_en = nr14 & 0b01000000 >> 6;
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_length_en`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value captured by `clock_timer` is never read
[INFO] [stdout]    --> src/console.rs:188:17
[INFO] [stdout]     |
[INFO] [stdout] 188 |                 clock_timer = Instant::now();
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: did you mean to capture by reference instead?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `clock_timer` is never read
[INFO] [stdout]    --> src/console.rs:188:17
[INFO] [stdout]     |
[INFO] [stdout] 188 |                 clock_timer = Instant::now();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `clock_timer`
[INFO] [stdout]    --> src/console.rs:158:13
[INFO] [stdout]     |
[INFO] [stdout] 158 |         let mut clock_timer = Instant::now();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clock_timer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stop`
[INFO] [stdout]    --> src/console.rs:227:13
[INFO] [stdout]     |
[INFO] [stdout] 227 |         let stop = Arc::new(AtomicBool::new(false));
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_stop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `byte`
[INFO] [stdout]    --> src/console.rs:303:17
[INFO] [stdout]     |
[INFO] [stdout] 303 |             let byte = data[i];
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_byte`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PerfError` is never constructed
[INFO] [stdout]   --> src/console.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | struct PerfError {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PerfTimer` is never constructed
[INFO] [stdout]   --> src/console.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | struct PerfTimer<const N: usize = 1000> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `start`, `end`, and `avg` are never used
[INFO] [stdout]   --> src/console.rs:69:8
[INFO] [stdout]    |
[INFO] [stdout] 68 | impl<const N: usize> PerfTimer<N> {
[INFO] [stdout]    | --------------------------------- associated items in this implementation
[INFO] [stdout] 69 |     fn new() -> PerfTimer<N> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 76 |     fn start(&mut self) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     fn end(&mut self) -> Result<(), PerfError> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 96 |     fn avg(&self) -> f64 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `run_cpu` is never used
[INFO] [stdout]    --> src/console.rs:157:8
[INFO] [stdout]     |
[INFO] [stdout] 147 | impl GameBoy {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 157 |     fn run_cpu(&mut self, stop_signal: Arc<AtomicBool>, clock: Arc<(Mutex<usize>, Condvar)>) -> thread::JoinHandle<()> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_carry_flags` is never used
[INFO] [stdout]    --> src/console/cpu.rs:655:8
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl SharpSM83 {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 655 |     fn set_carry_flags(&mut self, carry: bool, half_carry: bool) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DMA` is never used
[INFO] [stdout]   --> src/console/ppu.rs:31:7
[INFO] [stdout]    |
[INFO] [stdout] 31 | const DMA: u16 = 0xFF46;
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OBJ_EN` is never used
[INFO] [stdout]   --> src/console/ppu.rs:44:7
[INFO] [stdout]    |
[INFO] [stdout] 44 | const OBJ_EN: u8 = 1 << 1;
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LYC_INT_SEL` is never used
[INFO] [stdout]   --> src/console/ppu.rs:48:7
[INFO] [stdout]    |
[INFO] [stdout] 48 | const LYC_INT_SEL: u8 = 1 << 6;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `M2_INT_SEL` is never used
[INFO] [stdout]   --> src/console/ppu.rs:49:7
[INFO] [stdout]    |
[INFO] [stdout] 49 | const M2_INT_SEL: u8 = 1 << 5;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `M1_INT_SEL` is never used
[INFO] [stdout]   --> src/console/ppu.rs:50:7
[INFO] [stdout]    |
[INFO] [stdout] 50 | const M1_INT_SEL: u8 = 1 << 4;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `M0_INT_SEL` is never used
[INFO] [stdout]   --> src/console/ppu.rs:51:7
[INFO] [stdout]    |
[INFO] [stdout] 51 | const M0_INT_SEL: u8 = 1 << 3;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LYC_EQ_LY` is never used
[INFO] [stdout]   --> src/console/ppu.rs:52:7
[INFO] [stdout]    |
[INFO] [stdout] 52 | const LYC_EQ_LY: u8 = 1 << 2;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PPU_MODE` is never used
[INFO] [stdout]   --> src/console/ppu.rs:53:7
[INFO] [stdout]    |
[INFO] [stdout] 53 | const PPU_MODE: u8 = 0b11;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `sprite_prio` is never read
[INFO] [stdout]   --> src/console/ppu.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 78 | struct Pixel {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 81 |     pub sprite_prio: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Pixel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `channel3_pos` is never read
[INFO] [stdout]   --> src/console/apu.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct Apu {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 37 |     channel3_pos: u8,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Apu` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y_flip`
[INFO] [stdout]    --> src/console/ppu.rs:230:41
[INFO] [stdout]     |
[INFO] [stdout] 230 |     fn mix_bytes_obj(low: u8, high: u8, y_flip: bool, x_flip: bool) -> [u8; 8] {
[INFO] [stdout]     |                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_flip`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pace`
[INFO] [stdout]   --> src/console/apu.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let pace = nr10 & 0b01110000 >> 4;
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_pace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `env_dir`
[INFO] [stdout]   --> src/console/apu.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let env_dir = nr12 & 0b00001000 >> 3;
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_env_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sweep_pace`
[INFO] [stdout]   --> src/console/apu.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let sweep_pace = nr12 & 0b00000111;
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sweep_pace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trigger`
[INFO] [stdout]   --> src/console/apu.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let trigger = nr14 & 0b10000000 >> 7;
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trigger`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `length_en`
[INFO] [stdout]   --> src/console/apu.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let length_en = nr14 & 0b01000000 >> 6;
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_length_en`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value captured by `clock_timer` is never read
[INFO] [stdout]    --> src/console.rs:188:17
[INFO] [stdout]     |
[INFO] [stdout] 188 |                 clock_timer = Instant::now();
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: did you mean to capture by reference instead?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `clock_timer` is never read
[INFO] [stdout]    --> src/console.rs:188:17
[INFO] [stdout]     |
[INFO] [stdout] 188 |                 clock_timer = Instant::now();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `clock_timer`
[INFO] [stdout]    --> src/console.rs:158:13
[INFO] [stdout]     |
[INFO] [stdout] 158 |         let mut clock_timer = Instant::now();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clock_timer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stop`
[INFO] [stdout]    --> src/console.rs:227:13
[INFO] [stdout]     |
[INFO] [stdout] 227 |         let stop = Arc::new(AtomicBool::new(false));
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_stop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `byte`
[INFO] [stdout]    --> src/console.rs:303:17
[INFO] [stdout]     |
[INFO] [stdout] 303 |             let byte = data[i];
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_byte`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PerfError` is never constructed
[INFO] [stdout]   --> src/console.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | struct PerfError {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PerfTimer` is never constructed
[INFO] [stdout]   --> src/console.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | struct PerfTimer<const N: usize = 1000> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `start`, `end`, and `avg` are never used
[INFO] [stdout]   --> src/console.rs:69:8
[INFO] [stdout]    |
[INFO] [stdout] 68 | impl<const N: usize> PerfTimer<N> {
[INFO] [stdout]    | --------------------------------- associated items in this implementation
[INFO] [stdout] 69 |     fn new() -> PerfTimer<N> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 76 |     fn start(&mut self) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     fn end(&mut self) -> Result<(), PerfError> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 96 |     fn avg(&self) -> f64 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `run_cpu` is never used
[INFO] [stdout]    --> src/console.rs:157:8
[INFO] [stdout]     |
[INFO] [stdout] 147 | impl GameBoy {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 157 |     fn run_cpu(&mut self, stop_signal: Arc<AtomicBool>, clock: Arc<(Mutex<usize>, Condvar)>) -> thread::JoinHandle<()> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_carry_flags` is never used
[INFO] [stdout]    --> src/console/cpu.rs:655:8
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl SharpSM83 {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 655 |     fn set_carry_flags(&mut self, carry: bool, half_carry: bool) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DMA` is never used
[INFO] [stdout]   --> src/console/ppu.rs:31:7
[INFO] [stdout]    |
[INFO] [stdout] 31 | const DMA: u16 = 0xFF46;
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OBJ_EN` is never used
[INFO] [stdout]   --> src/console/ppu.rs:44:7
[INFO] [stdout]    |
[INFO] [stdout] 44 | const OBJ_EN: u8 = 1 << 1;
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LYC_INT_SEL` is never used
[INFO] [stdout]   --> src/console/ppu.rs:48:7
[INFO] [stdout]    |
[INFO] [stdout] 48 | const LYC_INT_SEL: u8 = 1 << 6;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `M2_INT_SEL` is never used
[INFO] [stdout]   --> src/console/ppu.rs:49:7
[INFO] [stdout]    |
[INFO] [stdout] 49 | const M2_INT_SEL: u8 = 1 << 5;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `M1_INT_SEL` is never used
[INFO] [stdout]   --> src/console/ppu.rs:50:7
[INFO] [stdout]    |
[INFO] [stdout] 50 | const M1_INT_SEL: u8 = 1 << 4;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `M0_INT_SEL` is never used
[INFO] [stdout]   --> src/console/ppu.rs:51:7
[INFO] [stdout]    |
[INFO] [stdout] 51 | const M0_INT_SEL: u8 = 1 << 3;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LYC_EQ_LY` is never used
[INFO] [stdout]   --> src/console/ppu.rs:52:7
[INFO] [stdout]    |
[INFO] [stdout] 52 | const LYC_EQ_LY: u8 = 1 << 2;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PPU_MODE` is never used
[INFO] [stdout]   --> src/console/ppu.rs:53:7
[INFO] [stdout]    |
[INFO] [stdout] 53 | const PPU_MODE: u8 = 0b11;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `sprite_prio` is never read
[INFO] [stdout]   --> src/console/ppu.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 78 | struct Pixel {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 81 |     pub sprite_prio: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Pixel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `channel3_pos` is never read
[INFO] [stdout]   --> src/console/apu.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct Apu {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 37 |     channel3_pos: u8,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Apu` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [optimized + debuginfo] target(s) in 1.37s
[INFO] running `Command { std: "docker" "inspect" "ad33d6668c2dbd9e4c1866880adc9fe09f02bcf6bd468d597ce38075cfd77f83", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ad33d6668c2dbd9e4c1866880adc9fe09f02bcf6bd468d597ce38075cfd77f83", kill_on_drop: false }`
[INFO] [stdout] ad33d6668c2dbd9e4c1866880adc9fe09f02bcf6bd468d597ce38075cfd77f83
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] d57b868e37968a587ee518081ca6640c5bbb19a6779e329a1bd30a16095fc859
[INFO] running `Command { std: "docker" "start" "-a" "d57b868e37968a587ee518081ca6640c5bbb19a6779e329a1bd30a16095fc859", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `super::regids::IF`
[INFO] [stderr]  --> src/console/ppu.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use super::regids::IF;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `sdl2::pixels::Color`
[INFO] [stderr]  --> src/console/ppu.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use sdl2::pixels::Color;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `sdl2::rect::Point`
[INFO] [stderr]  --> src/console/ppu.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use sdl2::rect::Point;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Canvas`
[INFO] [stderr]  --> src/console/ppu.rs:8:20
[INFO] [stderr]   |
[INFO] [stderr] 8 | use sdl2::render::{Canvas, Texture};
[INFO] [stderr]   |                    ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `sdl2::surface::Surface`
[INFO] [stderr]  --> src/console/ppu.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use sdl2::surface::Surface;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `sdl2::video::Window`
[INFO] [stderr]   --> src/console/ppu.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use sdl2::video::Window;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::regids::*`
[INFO] [stderr]  --> src/console/apu.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use super::regids::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `AudioSpecDesired`
[INFO] [stderr]  --> src/console/apu.rs:5:34
[INFO] [stderr]   |
[INFO] [stderr] 5 | use sdl2::audio::{AudioCallback, AudioSpecDesired};
[INFO] [stderr]   |                                  ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::sync::atomic::AtomicU64`
[INFO] [stderr]   --> src/console.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 19 | use std::sync::atomic::AtomicU64;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::sync::mpsc`
[INFO] [stderr]   --> src/console.rs:21:5
[INFO] [stderr]    |
[INFO] [stderr] 21 | use std::sync::mpsc;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::sync::mpsc::channel`
[INFO] [stderr]   --> src/console.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 22 | use std::sync::mpsc::channel;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::sync::mpsc::Receiver`
[INFO] [stderr]   --> src/console.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 23 | use std::sync::mpsc::Receiver;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::sync::mpsc::Sender`
[INFO] [stderr]   --> src/console.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr] 24 | use std::sync::mpsc::Sender;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::thread::JoinHandle`
[INFO] [stderr]   --> src/console.rs:29:5
[INFO] [stderr]    |
[INFO] [stderr] 29 | use std::thread::JoinHandle;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `y_flip`
[INFO] [stderr]    --> src/console/ppu.rs:230:41
[INFO] [stderr]     |
[INFO] [stderr] 230 |     fn mix_bytes_obj(low: u8, high: u8, y_flip: bool, x_flip: bool) -> [u8; 8] {
[INFO] [stderr]     |                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_flip`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `pace`
[INFO] [stderr]   --> src/console/apu.rs:55:13
[INFO] [stderr]    |
[INFO] [stderr] 55 |         let pace = nr10 & 0b01110000 >> 4;
[INFO] [stderr]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_pace`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `env_dir`
[INFO] [stderr]   --> src/console/apu.rs:65:13
[INFO] [stderr]    |
[INFO] [stderr] 65 |         let env_dir = nr12 & 0b00001000 >> 3;
[INFO] [stderr]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_env_dir`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `sweep_pace`
[INFO] [stderr]   --> src/console/apu.rs:66:13
[INFO] [stderr]    |
[INFO] [stderr] 66 |         let sweep_pace = nr12 & 0b00000111;
[INFO] [stderr]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sweep_pace`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `trigger`
[INFO] [stderr]   --> src/console/apu.rs:71:13
[INFO] [stderr]    |
[INFO] [stderr] 71 |         let trigger = nr14 & 0b10000000 >> 7;
[INFO] [stderr]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trigger`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `length_en`
[INFO] [stderr]   --> src/console/apu.rs:72:13
[INFO] [stderr]    |
[INFO] [stderr] 72 |         let length_en = nr14 & 0b01000000 >> 6;
[INFO] [stderr]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_length_en`
[INFO] [stderr] 
[INFO] [stderr] warning: value captured by `clock_timer` is never read
[INFO] [stderr]    --> src/console.rs:188:17
[INFO] [stderr]     |
[INFO] [stderr] 188 |                 clock_timer = Instant::now();
[INFO] [stderr]     |                 ^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: did you mean to capture by reference instead?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `clock_timer` is never read
[INFO] [stderr]    --> src/console.rs:188:17
[INFO] [stderr]     |
[INFO] [stderr] 188 |                 clock_timer = Instant::now();
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `clock_timer`
[INFO] [stderr]    --> src/console.rs:158:13
[INFO] [stderr]     |
[INFO] [stderr] 158 |         let mut clock_timer = Instant::now();
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clock_timer`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `stop`
[INFO] [stderr]    --> src/console.rs:227:13
[INFO] [stderr]     |
[INFO] [stderr] 227 |         let stop = Arc::new(AtomicBool::new(false));
[INFO] [stderr]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_stop`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `byte`
[INFO] [stderr]    --> src/console.rs:303:17
[INFO] [stderr]     |
[INFO] [stderr] 303 |             let byte = data[i];
[INFO] [stderr]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_byte`
[INFO] [stderr] 
[INFO] [stderr] warning: struct `PerfError` is never constructed
[INFO] [stderr]   --> src/console.rs:51:8
[INFO] [stderr]    |
[INFO] [stderr] 51 | struct PerfError {
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `PerfTimer` is never constructed
[INFO] [stderr]   --> src/console.rs:62:8
[INFO] [stderr]    |
[INFO] [stderr] 62 | struct PerfTimer<const N: usize = 1000> {
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `start`, `end`, and `avg` are never used
[INFO] [stderr]   --> src/console.rs:69:8
[INFO] [stderr]    |
[INFO] [stderr] 68 | impl<const N: usize> PerfTimer<N> {
[INFO] [stderr]    | --------------------------------- associated items in this implementation
[INFO] [stderr] 69 |     fn new() -> PerfTimer<N> {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 76 |     fn start(&mut self) {
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 79 |     fn end(&mut self) -> Result<(), PerfError> {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 96 |     fn avg(&self) -> f64 {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `run_cpu` is never used
[INFO] [stderr]    --> src/console.rs:157:8
[INFO] [stderr]     |
[INFO] [stderr] 147 | impl GameBoy {
[INFO] [stderr]     | ------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 157 |     fn run_cpu(&mut self, stop_signal: Arc<AtomicBool>, clock: Arc<(Mutex<usize>, Condvar)>) -> thread::JoinHandle<()> {
[INFO] [stderr]     |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `set_carry_flags` is never used
[INFO] [stderr]    --> src/console/cpu.rs:655:8
[INFO] [stderr]     |
[INFO] [stderr]  42 | impl SharpSM83 {
[INFO] [stderr]     | -------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 655 |     fn set_carry_flags(&mut self, carry: bool, half_carry: bool) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `DMA` is never used
[INFO] [stderr]   --> src/console/ppu.rs:31:7
[INFO] [stderr]    |
[INFO] [stderr] 31 | const DMA: u16 = 0xFF46;
[INFO] [stderr]    |       ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `OBJ_EN` is never used
[INFO] [stderr]   --> src/console/ppu.rs:44:7
[INFO] [stderr]    |
[INFO] [stderr] 44 | const OBJ_EN: u8 = 1 << 1;
[INFO] [stderr]    |       ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `LYC_INT_SEL` is never used
[INFO] [stderr]   --> src/console/ppu.rs:48:7
[INFO] [stderr]    |
[INFO] [stderr] 48 | const LYC_INT_SEL: u8 = 1 << 6;
[INFO] [stderr]    |       ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `M2_INT_SEL` is never used
[INFO] [stderr]   --> src/console/ppu.rs:49:7
[INFO] [stderr]    |
[INFO] [stderr] 49 | const M2_INT_SEL: u8 = 1 << 5;
[INFO] [stderr]    |       ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `M1_INT_SEL` is never used
[INFO] [stderr]   --> src/console/ppu.rs:50:7
[INFO] [stderr]    |
[INFO] [stderr] 50 | const M1_INT_SEL: u8 = 1 << 4;
[INFO] [stderr]    |       ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `M0_INT_SEL` is never used
[INFO] [stderr]   --> src/console/ppu.rs:51:7
[INFO] [stderr]    |
[INFO] [stderr] 51 | const M0_INT_SEL: u8 = 1 << 3;
[INFO] [stderr]    |       ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `LYC_EQ_LY` is never used
[INFO] [stderr]   --> src/console/ppu.rs:52:7
[INFO] [stderr]    |
[INFO] [stderr] 52 | const LYC_EQ_LY: u8 = 1 << 2;
[INFO] [stderr]    |       ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `PPU_MODE` is never used
[INFO] [stderr]   --> src/console/ppu.rs:53:7
[INFO] [stderr]    |
[INFO] [stderr] 53 | const PPU_MODE: u8 = 0b11;
[INFO] [stderr]    |       ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `sprite_prio` is never read
[INFO] [stderr]   --> src/console/ppu.rs:81:9
[INFO] [stderr]    |
[INFO] [stderr] 78 | struct Pixel {
[INFO] [stderr]    |        ----- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 81 |     pub sprite_prio: u8,
[INFO] [stderr]    |         ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Pixel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `channel3_pos` is never read
[INFO] [stderr]   --> src/console/apu.rs:37:5
[INFO] [stderr]    |
[INFO] [stderr] 31 | pub struct Apu {
[INFO] [stderr]    |            --- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 37 |     channel3_pos: u8,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Apu` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `cassowary-gb` (lib) generated 40 warnings (run `cargo fix --lib -p cassowary-gb` to apply 23 suggestions)
[INFO] [stderr] warning: `cassowary-gb` (lib test) generated 40 warnings (40 duplicates)
[INFO] [stderr] warning: unused variable: `pc_ret`
[INFO] [stderr]    --> tests/cpu_test.rs:300:9
[INFO] [stderr]     |
[INFO] [stderr] 300 |     let pc_ret = cpu.pc;
[INFO] [stderr]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pc_ret`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `cassowary-gb` (test "cpu_test") generated 1 warning (run `cargo fix --test "cpu_test" -p cassowary-gb` to apply 1 suggestion)
[INFO] [stderr] warning: `cassowary-gb` (bin "cassowary-gb" test) generated 40 warnings (40 duplicates)
[INFO] [stderr] warning: `cassowary-gb` (bin "cassowary-gb") generated 40 warnings (40 duplicates)
[INFO] [stderr]     Finished `test` profile [optimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cassowary_gb-d090ee274665d706)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cassowary_gb-91b2cd4e4958cb67)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/cpu_test.rs (/opt/rustwide/target/debug/deps/cpu_test-43b0a96b3b9d77c9)
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test prefix ... ok
[INFO] [stdout] test arithmetic_8bit ... ok
[INFO] [stdout] test load_16bit ... ok
[INFO] [stdout] test arithmetic_16bit ... ok
[INFO] [stdout] test rotates_and_shifts ... ok
[INFO] [stdout] test control_flow ... FAILED
[INFO] [stdout] test misc ... FAILED
[INFO] [stdout] test load_8bit ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- control_flow stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'control_flow' (28) panicked at tests/cpu_test.rs:304:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: 16
[INFO] [stdout]  right: 0
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5cbb6d0afed2 - std::backtrace_rs::backtrace::libunwind::trace::h786de35fecf3582f
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5cbb6d0afed2 - std::backtrace_rs::backtrace::trace_unsynchronized::h4a7da1a2a64387f1
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5cbb6d0afed2 - std::sys::backtrace::_print_fmt::h6bd7d500070c788c
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5cbb6d0afed2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h6d82c1afff976903
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5cbb6d0bffaf - core::fmt::rt::Argument::fmt::hc4ce6d643d397690
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5cbb6d0bffaf - core::fmt::write::hb1e7ca88b6a3936e
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/fmt/mod.rs:1469:25
[INFO] [stdout]    6:     0x5cbb6d07d873 - std::io::default_write_fmt::haffd49d96f1984a8
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5cbb6d07d873 - std::io::Write::write_fmt::h027871c57cf57c01
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5cbb6d089742 - std::sys::backtrace::BacktraceLock::print::ha2430613ee79d059
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5cbb6d08e21f - std::panicking::default_hook::{{closure}}::hdbd2db9e5c303cf6
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:301:27
[INFO] [stdout]   10:     0x5cbb6d08e0b1 - std::panicking::default_hook::hed93c70cba5fdcf0
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:325:9
[INFO] [stdout]   11:     0x5cbb6d04d1ce - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd0ee8b569efc6a07
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   12:     0x5cbb6d04d1ce - test::test_main_with_exit_callback::{{closure}}::hf10864b576ecd15d
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5cbb6d08e82f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h3a55ca34534c0d00
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   14:     0x5cbb6d08e82f - std::panicking::panic_with_hook::h3862d766c2cec19b
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:842:13
[INFO] [stdout]   15:     0x5cbb6d08e68a - std::panicking::panic_handler::{{closure}}::hb95eb402b5e28ee1
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:707:13
[INFO] [stdout]   16:     0x5cbb6d089879 - std::sys::backtrace::__rust_end_short_backtrace::hf73a26dc1835d85a
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x5cbb6d071a4d - __rustc[6ed5915ee467787]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:698:5
[INFO] [stdout]   18:     0x5cbb6d0c77a0 - core::panicking::panic_fmt::h3454303eb8e6f7cd
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5cbb6d0c7643 - core::panicking::assert_failed_inner::hdcc703ae7c807131
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panicking.rs:444:17
[INFO] [stdout]   20:     0x5cbb6d02c43d - core::panicking::assert_failed::hc4a45491c9549bc1
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panicking.rs:399:5
[INFO] [stdout]   21:     0x5cbb6d0270c2 - cpu_test::control_flow::hf0d75edc4b960e88
[INFO] [stdout]   22:     0x5cbb6d0270c2 - cpu_test::control_flow::{{closure}}::h59fc98f122861eab
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/cpu_test.rs:258:18
[INFO] [stdout]   23:     0x5cbb6d0270c2 - core::ops::function::FnOnce::call_once::h04fbd470c6e738f4
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5cbb6d04cfab - core::ops::function::FnOnce::call_once::ha729ee35d2fab541
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5cbb6d04cfab - test::__rust_begin_short_backtrace::ha40f4db8207e1111
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:663:18
[INFO] [stdout]   26:     0x5cbb6d06102d - test::run_test_in_process::{{closure}}::hc1b77cda5d44f0f3
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:686:74
[INFO] [stdout]   27:     0x5cbb6d06102d - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h1dbea1de64785521
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   28:     0x5cbb6d06102d - std::panicking::catch_unwind::do_call::hd5febe9affd5a1b3
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:590:40
[INFO] [stdout]   29:     0x5cbb6d06102d - std::panicking::catch_unwind::h51ea89627559b6f4
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:553:19
[INFO] [stdout]   30:     0x5cbb6d06102d - std::panic::catch_unwind::hb8b8c2367cae3d66
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5cbb6d06102d - test::run_test_in_process::ha5b55801407ea100
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:686:27
[INFO] [stdout]   32:     0x5cbb6d06102d - test::run_test::{{closure}}::h0b9d4072b527abf5
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:607:43
[INFO] [stdout]   33:     0x5cbb6d03a544 - test::run_test::{{closure}}::hb1056b5731205822
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:637:41
[INFO] [stdout]   34:     0x5cbb6d03a544 - std::sys::backtrace::__rust_begin_short_backtrace::hb61ff5a34023c7ef
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   35:     0x5cbb6d03de7a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hb0a83c0e8b353cff
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/thread/mod.rs:562:17
[INFO] [stdout]   36:     0x5cbb6d03de7a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb4f32cb008535298
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   37:     0x5cbb6d03de7a - std::panicking::catch_unwind::do_call::h16d110e4fc35789a
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:590:40
[INFO] [stdout]   38:     0x5cbb6d03de7a - std::panicking::catch_unwind::hea9118f355699c4b
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:553:19
[INFO] [stdout]   39:     0x5cbb6d03de7a - std::panic::catch_unwind::hf4b3c2a06d3f42f5
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x5cbb6d03de7a - std::thread::Builder::spawn_unchecked_::{{closure}}::h3f4cb733a52d53d5
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/thread/mod.rs:560:30
[INFO] [stdout]   41:     0x5cbb6d03de7a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4052f0967b37caeb
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5cbb6d084c7f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7ec433abd3f148b4
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2085:9
[INFO] [stdout]   43:     0x5cbb6d084c7f - std::sys::thread::unix::Thread::new::thread_start::he514622d3d7ba65c
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/thread/unix.rs:124:17
[INFO] [stdout]   44:     0x7e7911527aa4 - <unknown>
[INFO] [stdout]   45:     0x7e79115b4a64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- misc stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'misc' (31) panicked at tests/cpu_test.rs:22:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: 16
[INFO] [stdout]  right: 0
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5cbb6d0afed2 - std::backtrace_rs::backtrace::libunwind::trace::h786de35fecf3582f
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5cbb6d0afed2 - std::backtrace_rs::backtrace::trace_unsynchronized::h4a7da1a2a64387f1
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5cbb6d0afed2 - std::sys::backtrace::_print_fmt::h6bd7d500070c788c
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5cbb6d0afed2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h6d82c1afff976903
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5cbb6d0bffaf - core::fmt::rt::Argument::fmt::hc4ce6d643d397690
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5cbb6d0bffaf - core::fmt::write::hb1e7ca88b6a3936e
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/fmt/mod.rs:1469:25
[INFO] [stdout]    6:     0x5cbb6d07d873 - std::io::default_write_fmt::haffd49d96f1984a8
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5cbb6d07d873 - std::io::Write::write_fmt::h027871c57cf57c01
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5cbb6d089742 - std::sys::backtrace::BacktraceLock::print::ha2430613ee79d059
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5cbb6d08e21f - std::panicking::default_hook::{{closure}}::hdbd2db9e5c303cf6
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:301:27
[INFO] [stdout]   10:     0x5cbb6d08e0b1 - std::panicking::default_hook::hed93c70cba5fdcf0
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:325:9
[INFO] [stdout]   11:     0x5cbb6d04d1ce - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd0ee8b569efc6a07
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   12:     0x5cbb6d04d1ce - test::test_main_with_exit_callback::{{closure}}::hf10864b576ecd15d
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5cbb6d08e82f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h3a55ca34534c0d00
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   14:     0x5cbb6d08e82f - std::panicking::panic_with_hook::h3862d766c2cec19b
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:842:13
[INFO] [stdout]   15:     0x5cbb6d08e68a - std::panicking::panic_handler::{{closure}}::hb95eb402b5e28ee1
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:707:13
[INFO] [stdout]   16:     0x5cbb6d089879 - std::sys::backtrace::__rust_end_short_backtrace::hf73a26dc1835d85a
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x5cbb6d071a4d - __rustc[6ed5915ee467787]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:698:5
[INFO] [stdout]   18:     0x5cbb6d0c77a0 - core::panicking::panic_fmt::h3454303eb8e6f7cd
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5cbb6d0c7643 - core::panicking::assert_failed_inner::hdcc703ae7c807131
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panicking.rs:444:17
[INFO] [stdout]   20:     0x5cbb6d02c43d - core::panicking::assert_failed::hc4a45491c9549bc1
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panicking.rs:399:5
[INFO] [stdout]   21:     0x5cbb6d02b83a - cpu_test::misc::h225677d6cc83e91c
[INFO] [stdout]   22:     0x5cbb6d02b83a - cpu_test::misc::{{closure}}::he46412cb76d9a1d5
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/cpu_test.rs:7:10
[INFO] [stdout]   23:     0x5cbb6d02b83a - core::ops::function::FnOnce::call_once::hc68726ea508436c3
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5cbb6d04cfab - core::ops::function::FnOnce::call_once::ha729ee35d2fab541
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5cbb6d04cfab - test::__rust_begin_short_backtrace::ha40f4db8207e1111
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:663:18
[INFO] [stdout]   26:     0x5cbb6d06102d - test::run_test_in_process::{{closure}}::hc1b77cda5d44f0f3
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:686:74
[INFO] [stdout]   27:     0x5cbb6d06102d - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h1dbea1de64785521
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   28:     0x5cbb6d06102d - std::panicking::catch_unwind::do_call::hd5febe9affd5a1b3
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:590:40
[INFO] [stdout]   29:     0x5cbb6d06102d - std::panicking::catch_unwind::h51ea89627559b6f4
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:553:19
[INFO] [stdout]   30:     0x5cbb6d06102d - std::panic::catch_unwind::hb8b8c2367cae3d66
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5cbb6d06102d - test::run_test_in_process::ha5b55801407ea100
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:686:27
[INFO] [stdout]   32:     0x5cbb6d06102d - test::run_test::{{closure}}::h0b9d4072b527abf5
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:607:43
[INFO] [stdout]   33:     0x5cbb6d03a544 - test::run_test::{{closure}}::hb1056b5731205822
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:637:41
[INFO] [stdout]   34:     0x5cbb6d03a544 - std::sys::backtrace::__rust_begin_short_backtrace::hb61ff5a34023c7ef
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   35:     0x5cbb6d03de7a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hb0a83c0e8b353cff
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/thread/mod.rs:562:17
[INFO] [stdout]   36:     0x5cbb6d03de7a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb4f32cb008535298
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   37:     0x5cbb6d03de7a - std::panicking::catch_unwind::do_call::h16d110e4fc35789a
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:590:40
[INFO] [stdout]   38:     0x5cbb6d03de7a - std::panicking::catch_unwind::hea9118f355699c4b
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:553:19
[INFO] [stdout]   39:     0x5cbb6d03de7a - std::panic::catch_unwind::hf4b3c2a06d3f42f5
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x5cbb6d03de7a - std::thread::Builder::spawn_unchecked_::{{closure}}::h3f4cb733a52d53d5
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/thread/mod.rs:560:30
[INFO] [stdout]   41:     0x5cbb6d03de7a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4052f0967b37caeb
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5cbb6d084c7f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7ec433abd3f148b4
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2085:9
[INFO] [stdout]   43:     0x5cbb6d084c7f - std::sys::thread::unix::Thread::new::thread_start::he514622d3d7ba65c
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/thread/unix.rs:124:17
[INFO] [stdout]   44:     0x7e7911527aa4 - <unknown>
[INFO] [stdout]   45:     0x7e79115b4a64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     control_flow
[INFO] [stdout]     misc
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 6 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.90s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--test cpu_test`
[INFO] running `Command { std: "docker" "inspect" "d57b868e37968a587ee518081ca6640c5bbb19a6779e329a1bd30a16095fc859", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d57b868e37968a587ee518081ca6640c5bbb19a6779e329a1bd30a16095fc859", kill_on_drop: false }`
[INFO] [stdout] d57b868e37968a587ee518081ca6640c5bbb19a6779e329a1bd30a16095fc859
