[INFO] cloning repository https://github.com/ryotaroAAA/rustnes
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ryotaroAAA/rustnes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FryotaroAAA%2Frustnes", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FryotaroAAA%2Frustnes'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 38abb6edf40642156978d4e4929800f50087d98f
[INFO] checking ryotaroAAA/rustnes against try#d8be25549d5418405531341b4be6d8538fc3c42e for pr-156160
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FryotaroAAA%2Frustnes" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ryotaroAAA/rustnes
[INFO] finished tweaking git repo https://github.com/ryotaroAAA/rustnes
[INFO] tweaked toml for git repo https://github.com/ryotaroAAA/rustnes written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ryotaroAAA/rustnes on toolchain d8be25549d5418405531341b4be6d8538fc3c42e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8be25549d5418405531341b4be6d8538fc3c42e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ryotaroAAA/rustnes 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" "+d8be25549d5418405531341b4be6d8538fc3c42e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded c_vec v2.0.0
[INFO] [stderr]   Downloaded libc v0.2.127
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 635e3c5a0732f6778987b26999dd6f4f9b2573949887436386df6b2983b661ea
[INFO] running `Command { std: "docker" "start" "635e3c5a0732f6778987b26999dd6f4f9b2573949887436386df6b2983b661ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "635e3c5a0732f6778987b26999dd6f4f9b2573949887436386df6b2983b661ea" "/opt/rustwide/cargo-home/bin/cargo" "+d8be25549d5418405531341b4be6d8538fc3c42e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "635e3c5a0732f6778987b26999dd6f4f9b2573949887436386df6b2983b661ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "635e3c5a0732f6778987b26999dd6f4f9b2573949887436386df6b2983b661ea" "/opt/rustwide/cargo-home/bin/cargo" "+d8be25549d5418405531341b4be6d8538fc3c42e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling version-compare v0.1.0
[INFO] [stderr]    Compiling libc v0.2.127
[INFO] [stderr]    Compiling sdl2 v0.35.2
[INFO] [stderr]     Checking c_vec v2.0.0
[INFO] [stderr]     Checking once_cell v1.13.0
[INFO] [stderr]    Compiling sdl2-sys v0.35.2
[INFO] [stderr]     Checking rustnes v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]   --> src/nes.rs:84:7
[INFO] [stdout]    |
[INFO] [stdout] 84 |     #[bench]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]    = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2026-06-16; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `test`
[INFO] [stdout]   --> src/nes.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |     use test::Bencher;
[INFO] [stdout]    |         ^^^^ use of unresolved module or unlinked crate `test`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `test`, use `cargo add test` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::nes::VRAM_SIZE`
[INFO] [stdout]  --> src/nes/ppu.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::nes::VRAM_SIZE;
[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: `super::interrupts`
[INFO] [stdout]  --> src/nes/ppu.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use super::interrupts;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/nes/ppu.rs:534:33
[INFO] [stdout]     |
[INFO] [stdout] 534 |                 let addr: u16 = (self.vram_addr - 0x3F00);
[INFO] [stdout]     |                                 ^                       ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 534 -                 let addr: u16 = (self.vram_addr - 0x3F00);
[INFO] [stdout] 534 +                 let addr: u16 = self.vram_addr - 0x3F00;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]   --> src/nes.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 | use std::time::{Duration, Instant};
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::nes::VRAM_SIZE`
[INFO] [stdout]  --> src/nes/ppu.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::nes::VRAM_SIZE;
[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: `super::interrupts`
[INFO] [stdout]  --> src/nes/ppu.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use super::interrupts;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/nes/ppu.rs:534:33
[INFO] [stdout]     |
[INFO] [stdout] 534 |                 let addr: u16 = (self.vram_addr - 0x3F00);
[INFO] [stdout]     |                                 ^                       ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 534 -                 let addr: u16 = (self.vram_addr - 0x3F00);
[INFO] [stdout] 534 +                 let addr: u16 = self.vram_addr - 0x3F00;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]   --> src/nes.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 | use std::time::{Duration, Instant};
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/nes/apu.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |             0x4000..=0x4004 => {
[INFO] [stdout]    |             --------------- this range overlaps on `16388_u16`...
[INFO] [stdout] ...
[INFO] [stdout] 90 |             0x4004..=0x4008 => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout]    = note: `#[warn(overlapping_range_endpoints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/nes/apu.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |             0x4004..=0x4008 => {
[INFO] [stdout]    |             --------------- this range overlaps on `16392_u16`...
[INFO] [stdout] ...
[INFO] [stdout] 94 |             0x4008..=0x400C => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/nes/apu.rs:98:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |             0x4008..=0x400C => {
[INFO] [stdout]    |             --------------- this range overlaps on `16396_u16`...
[INFO] [stdout] ...
[INFO] [stdout] 98 |             0x400C..=0x400F => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `interrupts`
[INFO] [stdout]    --> src/nes/apu.rs:130:41
[INFO] [stdout]     |
[INFO] [stdout] 130 |     fn update_mode1_sequence(&mut self, interrupts: &mut Interrupts) {
[INFO] [stdout]     |                                         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interrupts`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]   --> src/nes/cassette.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let size = f.read_to_end(&mut buf);
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/nes/cpu.rs:340:13
[INFO] [stdout]     |
[INFO] [stdout] 340 |             _=> panic!("invelid mode {:?}", op.mode),
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/nes/cpu.rs:340:13
[INFO] [stdout]     |
[INFO] [stdout] 295 |             AddrModes::ACM | AddrModes::IMPL => (),
[INFO] [stdout]     |             -------------------------------- matches some of the same values
[INFO] [stdout] 296 |             AddrModes::IMD | AddrModes::ZPG => {
[INFO] [stdout]     |             ------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 299 |             AddrModes::REL => {
[INFO] [stdout]     |             -------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 304 |             AddrModes::ZPGX => data =
[INFO] [stdout]     |             --------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 340 |             _=> panic!("invelid mode {:?}", op.mode),
[INFO] [stdout]     |             ^ ...and 7 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/nes/cpu.rs:918:13
[INFO] [stdout]     |
[INFO] [stdout] 918 |             _=> panic!("non implemented opcode {:?}", opcode),
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/nes/cpu.rs:918:13
[INFO] [stdout]     |
[INFO] [stdout] 393 |             OpCodes::ADC => {
[INFO] [stdout]     |             ------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 417 |             OpCodes::SBC => {
[INFO] [stdout]     |             ------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 447 |             OpCodes::AND => {
[INFO] [stdout]     |             ------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 456 |             OpCodes::ORA => {
[INFO] [stdout]     |             ------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 918 |             _=> panic!("non implemented opcode {:?}", opcode),
[INFO] [stdout]     |             ^ ...and 60 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/nes/game.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 148 |             _ => panic!("invalid mode {:?}", mode),
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/nes/game.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 145 |             UpdateMode::Game => (0,0),
[INFO] [stdout]     |             ---------------- matches some of the same values
[INFO] [stdout] 146 |             UpdateMode::NameTable => (SCALE as usize * H_SIZE, 0usize),
[INFO] [stdout]     |             --------------------- matches some of the same values
[INFO] [stdout] 147 |             UpdateMode::PatternTable => (0usize, SCALE as usize * V_SIZE),
[INFO] [stdout]     |             ------------------------ matches some of the same values
[INFO] [stdout] 148 |             _ => panic!("invalid mode {:?}", mode),
[INFO] [stdout]     |             ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/nes.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut is_dbg_rendered: bool = false;
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_dbg_rendered`
[INFO] [stdout]   --> src/nes.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut is_dbg_rendered: bool = false;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_dbg_rendered`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `end` is never read
[INFO] [stdout]   --> src/nes.rs:45:19
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let mut end = start.elapsed();
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 67 |             end = start.elapsed();
[INFO] [stdout]    |             --------------------- `end` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustnes` (bin "rustnes" test) due to 2 previous errors; 15 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/nes/apu.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |             0x4000..=0x4004 => {
[INFO] [stdout]    |             --------------- this range overlaps on `16388_u16`...
[INFO] [stdout] ...
[INFO] [stdout] 90 |             0x4004..=0x4008 => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout]    = note: `#[warn(overlapping_range_endpoints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/nes/apu.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |             0x4004..=0x4008 => {
[INFO] [stdout]    |             --------------- this range overlaps on `16392_u16`...
[INFO] [stdout] ...
[INFO] [stdout] 94 |             0x4008..=0x400C => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/nes/apu.rs:98:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |             0x4008..=0x400C => {
[INFO] [stdout]    |             --------------- this range overlaps on `16396_u16`...
[INFO] [stdout] ...
[INFO] [stdout] 98 |             0x400C..=0x400F => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `interrupts`
[INFO] [stdout]    --> src/nes/apu.rs:130:41
[INFO] [stdout]     |
[INFO] [stdout] 130 |     fn update_mode1_sequence(&mut self, interrupts: &mut Interrupts) {
[INFO] [stdout]     |                                         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interrupts`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]   --> src/nes/cassette.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let size = f.read_to_end(&mut buf);
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/nes/cpu.rs:340:13
[INFO] [stdout]     |
[INFO] [stdout] 340 |             _=> panic!("invelid mode {:?}", op.mode),
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/nes/cpu.rs:340:13
[INFO] [stdout]     |
[INFO] [stdout] 295 |             AddrModes::ACM | AddrModes::IMPL => (),
[INFO] [stdout]     |             -------------------------------- matches some of the same values
[INFO] [stdout] 296 |             AddrModes::IMD | AddrModes::ZPG => {
[INFO] [stdout]     |             ------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 299 |             AddrModes::REL => {
[INFO] [stdout]     |             -------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 304 |             AddrModes::ZPGX => data =
[INFO] [stdout]     |             --------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 340 |             _=> panic!("invelid mode {:?}", op.mode),
[INFO] [stdout]     |             ^ ...and 7 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/nes/cpu.rs:918:13
[INFO] [stdout]     |
[INFO] [stdout] 918 |             _=> panic!("non implemented opcode {:?}", opcode),
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/nes/cpu.rs:918:13
[INFO] [stdout]     |
[INFO] [stdout] 393 |             OpCodes::ADC => {
[INFO] [stdout]     |             ------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 417 |             OpCodes::SBC => {
[INFO] [stdout]     |             ------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 447 |             OpCodes::AND => {
[INFO] [stdout]     |             ------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 456 |             OpCodes::ORA => {
[INFO] [stdout]     |             ------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 918 |             _=> panic!("non implemented opcode {:?}", opcode),
[INFO] [stdout]     |             ^ ...and 60 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/nes/game.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 148 |             _ => panic!("invalid mode {:?}", mode),
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/nes/game.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 145 |             UpdateMode::Game => (0,0),
[INFO] [stdout]     |             ---------------- matches some of the same values
[INFO] [stdout] 146 |             UpdateMode::NameTable => (SCALE as usize * H_SIZE, 0usize),
[INFO] [stdout]     |             --------------------- matches some of the same values
[INFO] [stdout] 147 |             UpdateMode::PatternTable => (0usize, SCALE as usize * V_SIZE),
[INFO] [stdout]     |             ------------------------ matches some of the same values
[INFO] [stdout] 148 |             _ => panic!("invalid mode {:?}", mode),
[INFO] [stdout]     |             ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/nes.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut is_dbg_rendered: bool = false;
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_dbg_rendered`
[INFO] [stdout]   --> src/nes.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut is_dbg_rendered: bool = false;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_dbg_rendered`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `end` is never read
[INFO] [stdout]   --> src/nes.rs:45:19
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let mut end = start.elapsed();
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 67 |             end = start.elapsed();
[INFO] [stdout]    |             --------------------- `end` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CPU_CLOCK` is never used
[INFO] [stdout]   --> src/nes/apu.rs:29:7
[INFO] [stdout]    |
[INFO] [stdout] 29 | const CPU_CLOCK: f32 = 1789772.5;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GLOBAL_GAIN` is never used
[INFO] [stdout]   --> src/nes/apu.rs:30:7
[INFO] [stdout]    |
[INFO] [stdout] 30 | const GLOBAL_GAIN: f32 = 0.01;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SAMPLING_FREQUENCY` is never used
[INFO] [stdout]   --> src/nes/apu.rs:31:7
[INFO] [stdout]    |
[INFO] [stdout] 31 | const SAMPLING_FREQUENCY: usize = 44100;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `COUNTER_TABLE` is never used
[INFO] [stdout]   --> src/nes/apu.rs:32:7
[INFO] [stdout]    |
[INFO] [stdout] 32 | const COUNTER_TABLE: [u8; 32] = [
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NOISE_TIMER_PERIOD_TABLE` is never used
[INFO] [stdout]   --> src/nes/apu.rs:39:7
[INFO] [stdout]    |
[INFO] [stdout] 39 | const NOISE_TIMER_PERIOD_TABLE: [u16; 16] = [
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DMC_TIMER_PERIOD_TABLE` is never used
[INFO] [stdout]   --> src/nes/apu.rs:46:7
[INFO] [stdout]    |
[INFO] [stdout] 46 | const DMC_TIMER_PERIOD_TABLE: [u16; 16] = [
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `envelope_counter` is never read
[INFO] [stdout]   --> src/nes/apu.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct Apu {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 58 |     envelope_counter: 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: fields `path` and `rom_size` are never read
[INFO] [stdout]   --> src/nes/cassette.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Cassette {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 13 |     path: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 14 |     rom_size: u64,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Cassette` 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 `index` is never read
[INFO] [stdout]    --> src/nes/cpu.rs:138:5
[INFO] [stdout]     |
[INFO] [stdout] 137 | struct FetchedOp {
[INFO] [stdout]     |        --------- field in this struct
[INFO] [stdout] 138 |     index: u8,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `nestest_log` is never read
[INFO] [stdout]    --> src/nes/cpu.rs:150:5
[INFO] [stdout]     |
[INFO] [stdout] 145 | pub struct Cpu<'a> {
[INFO] [stdout]     |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 150 |     nestest_log: Vec<String>,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Cpu` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `show_op` and `nestest` are never used
[INFO] [stdout]    --> src/nes/cpu.rs:947:8
[INFO] [stdout]     |
[INFO] [stdout] 160 | impl<'a> Cpu<'a> {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 947 |     fn show_op(&mut self, pc: u16, fop: &FetchedOp, ppu: &Ppu) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 971 |     fn nestest(&mut self, pc: u16, fop: &FetchedOp) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `vram_offset` is never read
[INFO] [stdout]    --> src/nes/ppu.rs:204:5
[INFO] [stdout]     |
[INFO] [stdout] 198 | pub struct Ppu<'a> {
[INFO] [stdout]     |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 204 |     vram_offset: u16,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Ppu` 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 `is_pattern_rendered` is never read
[INFO] [stdout]   --> src/nes/render.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct Render {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 26 |     is_pattern_rendered: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Render` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "635e3c5a0732f6778987b26999dd6f4f9b2573949887436386df6b2983b661ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "635e3c5a0732f6778987b26999dd6f4f9b2573949887436386df6b2983b661ea", kill_on_drop: false }`
[INFO] [stdout] 635e3c5a0732f6778987b26999dd6f4f9b2573949887436386df6b2983b661ea
