[INFO] cloning repository https://github.com/ysenko/ch8-emu
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ysenko/ch8-emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fysenko%2Fch8-emu", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fysenko%2Fch8-emu'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b8e17a6c53f553ab0f203106d58463603f61de0e
[INFO] building ysenko/ch8-emu against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fysenko%2Fch8-emu" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ysenko/ch8-emu
[INFO] finished tweaking git repo https://github.com/ysenko/ch8-emu
[INFO] tweaked toml for git repo https://github.com/ysenko/ch8-emu written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ysenko/ch8-emu on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ysenko/ch8-emu 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 403b9be76fd4e1501c0ad9b6f704cdecf58686bcd15c608999e9f817c529355f
[INFO] running `Command { std: "docker" "start" "-a" "403b9be76fd4e1501c0ad9b6f704cdecf58686bcd15c608999e9f817c529355f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "403b9be76fd4e1501c0ad9b6f704cdecf58686bcd15c608999e9f817c529355f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "403b9be76fd4e1501c0ad9b6f704cdecf58686bcd15c608999e9f817c529355f", kill_on_drop: false }`
[INFO] [stdout] 403b9be76fd4e1501c0ad9b6f704cdecf58686bcd15c608999e9f817c529355f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 38f353d959f44307a5ebae64f4b073b5d030c3463bcd74402bd59559a09f61f4
[INFO] running `Command { std: "docker" "start" "-a" "38f353d959f44307a5ebae64f4b073b5d030c3463bcd74402bd59559a09f61f4", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.85
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling libloading v0.8.3
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling cc v1.0.99
[INFO] [stderr]    Compiling downcast-rs v1.2.1
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling scoped-tls v1.0.1
[INFO] [stderr]    Compiling wayland-client v0.31.3
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling ttf-parser v0.21.1
[INFO] [stderr]    Compiling xkeysym v0.2.1
[INFO] [stderr]    Compiling smithay-client-toolkit v0.18.1
[INFO] [stderr]    Compiling dlib v0.5.2
[INFO] [stderr]    Compiling cursor-icon v1.1.0
[INFO] [stderr]    Compiling strict-num v0.1.1
[INFO] [stderr]    Compiling arrayref v0.3.7
[INFO] [stderr]    Compiling bytemuck v1.16.0
[INFO] [stderr]    Compiling xcursor v0.3.5
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling ab_glyph_rasterizer v0.1.8
[INFO] [stderr]    Compiling cfg_aliases v0.2.1
[INFO] [stderr]    Compiling winit v0.30.1
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling quick-xml v0.31.0
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling tiny-skia-path v0.11.4
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling zerocopy v0.7.34
[INFO] [stderr]    Compiling wayland-sys v0.31.2
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling memmap2 v0.9.4
[INFO] [stderr]    Compiling x11rb-protocol v0.13.1
[INFO] [stderr]    Compiling as-raw-xcb-connection v1.0.1
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling tiny-skia v0.11.4
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling raw-window-handle v0.6.2
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling smol_str v0.2.2
[INFO] [stderr]    Compiling xkbcommon-dl v0.4.2
[INFO] [stderr]    Compiling wayland-backend v0.3.4
[INFO] [stderr]    Compiling dpi v0.1.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling wayland-scanner v0.31.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling owned_ttf_parser v0.21.0
[INFO] [stderr]    Compiling ab_glyph v0.2.26
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling polling v3.7.1
[INFO] [stderr]    Compiling calloop v0.12.4
[INFO] [stderr]    Compiling wayland-csd-frame v0.3.0
[INFO] [stderr]    Compiling wayland-protocols v0.31.2
[INFO] [stderr]    Compiling wayland-cursor v0.31.3
[INFO] [stderr]    Compiling calloop-wayland-source v0.2.0
[INFO] [stderr]    Compiling x11rb v0.13.1
[INFO] [stderr]    Compiling wayland-protocols-wlr v0.2.0
[INFO] [stderr]    Compiling wayland-protocols-plasma v0.2.0
[INFO] [stderr]    Compiling sctk-adwaita v0.9.0
[INFO] [stderr]    Compiling ch8emu v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> src/chip8/input.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::str::FromStr;
[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: `std::iter`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::iter;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/chip8.rs:148:29
[INFO] [stdout]     |
[INFO] [stdout] 148 |             Opcode::SysAddr(addr) => {}
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `InputError` is never constructed
[INFO] [stdout]   --> src/chip8.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub enum Chip8Error {
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 21 |     InputError(input::Error),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Chip8Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SPRITE_LEN` is never used
[INFO] [stdout]  --> src/chip8/display.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub const SPRITE_LEN: usize = 5;
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `SpriteValue` is never used
[INFO] [stdout]  --> src/chip8/display.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub type SpriteValue = Vec<u8>;
[INFO] [stdout]   |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `InvalidKey` is never constructed
[INFO] [stdout]  --> src/chip8/input.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum Error {
[INFO] [stdout]   |          ----- variant in this enum
[INFO] [stdout] 5 |     InvalidKey(String),
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `read_byte` is never used
[INFO] [stdout]   --> src/chip8/memory.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Memory {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn read_byte(&self, address: usize) -> Result<u8, MemoryError> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `InvalidAddress` and `InvalidOpcode` are never constructed
[INFO] [stdout]  --> src/chip8/opcodes.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum OpcodeError {
[INFO] [stdout]   |          ----------- variants in this enum
[INFO] [stdout] 5 |     InvalidAddress(u16),
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 6 |     InvalidOpcode(u16),
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `OpcodeError` 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 `get_key` and `get_key_u8` are never used
[INFO] [stdout]   --> src/chip8/input.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Input {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn get_key(&self) -> Option<&str> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn get_key_u8(&self) -> Result<Option<u8>, Error> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `StackOverflow` and `StackUnderflow` are never constructed
[INFO] [stdout]  --> src/chip8/stack.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum StackError {
[INFO] [stdout]   |          ---------- variants in this enum
[INFO] [stdout] 3 |     StackOverflow,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 4 |     StackUnderflow,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `StackError` 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 `stack` and `sp` are never read
[INFO] [stdout]   --> src/chip8/stack.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Stack {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 11 |     stack: [u16; STACK_SIZE], // Array to hold 16 levels of the stack
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 12 |     sp: usize,                // Stack pointer to track the current level (0-15)
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Stack` 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 `push` and `pop` are never used
[INFO] [stdout]   --> src/chip8/stack.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Stack {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn push(&mut self, value: u16) -> Result<(), StackError> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn pop(&mut self) -> Result<u16, StackError> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `stack`, `timers`, and `display` are never read
[INFO] [stdout]   --> src/chip8.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub struct Chip8 {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 52 |     stack: stack::Stack,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 53 |     timers: timers::Timers,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 54 |     display: display::Display,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Chip8` 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 `v` and `i` are never read
[INFO] [stdout]  --> src/chip8/registers.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Registers {
[INFO] [stdout]   |            --------- fields in this struct
[INFO] [stdout] 5 |     v: [u8; DATA_REGISTER_COUNT],
[INFO] [stdout]   |     ^
[INFO] [stdout] 6 |     pub i: u16,
[INFO] [stdout]   |         ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Registers` 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 `read_v` and `write_v` are never used
[INFO] [stdout]   --> src/chip8/registers.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Registers {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn read_v(&self, register: u8) -> u8 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn write_v(&mut self, register: u8, value: u8) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `InvalidSprite` and `InvalidDrawPosition` are never constructed
[INFO] [stdout]   --> src/chip8/display.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub enum DisplayError {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout] 32 |     InvalidSprite(u8),
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 33 |     InvalidDrawPosition(usize, usize),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DisplayError` 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 `width`, `height`, and `buffer` are never read
[INFO] [stdout]   --> src/chip8/display.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Display {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 38 |     pub width: usize,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 39 |     pub height: usize,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 40 |
[INFO] [stdout] 41 |     buffer: [[u8; BUFFER_WIDTH]; BUFFER_HEIGHT],
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Display` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `get_sprite_address`, `clear`, `draw_sprite`, and `draw_sprite_row` are never used
[INFO] [stdout]   --> src/chip8/display.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 44 | impl Display {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn get_sprite_address(sprite: u8) -> Result<usize, DisplayError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn clear(&mut self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn draw_sprite(&mut self, row: usize, col: usize, sprite_value: &SpriteValue) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     fn draw_sprite_row(&mut self, row: usize, col: usize, value: u8) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bit_erased` is never used
[INFO] [stdout]    --> src/chip8/display.rs:107:4
[INFO] [stdout]     |
[INFO] [stdout] 107 | fn bit_erased(original: u8, current: u8) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/chip8.rs:70:12
[INFO] [stdout]     |
[INFO] [stdout]  58 | impl Chip8 {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  70 |     pub fn load_rom(&mut self, rom: &[u8]) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  77 |     pub fn load_rom_from_file(&mut self, path: &str) -> Result<(), std::io::Error> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     fn get_pressed_key(&self) -> Option<&str> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |     fn get_pressed_key_u8(&self) -> Result<Option<u8>, Chip8Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     fn execute(&mut self, op: Opcode) -> Result<(), Chip8Error> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     fn wait_for_key(&mut self, vx: u8) -> Result<(), Chip8Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 172 |     fn skip_if_pressed(&mut self, vx: u8) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 180 |     fn skip_if_not_pressed(&mut self, vx: u8) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 188 |     fn clear_display(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 192 |     fn draw(&mut self, vx: u8, vy: u8, n: u8) -> Result<(), Chip8Error> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 211 |     fn load_sprite_addr(&mut self, vx: u8) -> Result<(), Chip8Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 218 |     fn subn(&mut self, vx: u8, vy: u8) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 228 |     fn skip_if_reg_not_equal(&mut self, vx: u8, vy: u8) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 237 |     fn xor(&mut self, vx: u8, vy: u8) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 246 |     fn store_bcd(&mut self, vx: u8) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 255 |     fn sub(&mut self, vx: u8, vy: u8) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 265 |     fn skip_if_not_equal(&mut self, vx: u8, byte: u8) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 272 |     fn skip_if_reg_equal(&mut self, vx: u8, vy: u8) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 281 |     fn skip_if_equal(&mut self, vx: u8, byte: u8) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 288 |     fn shift_right(&mut self, vx: u8) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 296 |     fn shift_left(&mut self, vx: u8) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 304 |     fn set_sound_timer(&mut self, vx: u8) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 309 |     fn set_index(&mut self, addr: u16) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 313 |     fn set_delay_timer(&mut self, vx: u8) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 318 |     fn return_from(&mut self) -> Result<(), Chip8Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 323 |     fn reg_load(&mut self, vx: u8) -> Result<(), Chip8Error> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 332 |     fn reg_dump(&mut self, vx: u8) -> Result<(), Chip8Error> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 340 |     fn random(&mut self, vx: u8, byte: u8) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 345 |     fn or(&mut self, vx: u8, vy: u8) {
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 354 |     fn load_register(&mut self, vx: u8, vy: u8) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 359 |     fn load_delay_timer(&mut self, vx: u8) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 364 |     fn load_byte(&mut self, vx: u8, byte: u8) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 368 |     fn jump_v0(&mut self, addr: u16) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 372 |     fn jump(&mut self, addr: u16) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 376 |     fn call(&mut self, addr: u16) -> Result<(), Chip8Error> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 382 |     fn and(&mut self, vx: u8, vy: u8) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 391 |     fn add_reg(&mut self, vx: u8, vy: u8) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 401 |     fn add_vx_byte(&mut self, vx: u8, val: u8) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 406 |     fn add_i_vx(&mut self, vx: u8) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Opcode` is never used
[INFO] [stdout]   --> src/chip8/opcodes.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum Opcode {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Instruction` is never constructed
[INFO] [stdout]   --> src/chip8/opcodes.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 | struct Instruction {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/chip8/opcodes.rs:84:8
[INFO] [stdout]     |
[INFO] [stdout]  83 | impl Instruction {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout]  84 |     fn get_address(&self) -> Result<u16, OpcodeError> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  94 |     fn get_code(&self) -> u8 {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  98 |     fn get_n(&self) -> u8 {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     fn get_x(&self) -> u8 {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     fn get_y(&self) -> u8 {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     fn get_kk(&self) -> u8 {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     fn get_byte(&self) -> u8 {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_bytes` is never used
[INFO] [stdout]    --> src/chip8/opcodes.rs:120:12
[INFO] [stdout]     |
[INFO] [stdout] 119 | impl Opcode {
[INFO] [stdout]     | ----------- associated function in this implementation
[INFO] [stdout] 120 |     pub fn from_bytes(msb: u8, lsb: u8) -> Result<Opcode, OpcodeError> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `delay_timer` and `sound_timer` are never read
[INFO] [stdout]  --> src/chip8/timers.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Timers {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 3 |     delay_timer: u8,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 4 |     sound_timer: u8,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Timers` 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 `get_delay_timer`, `set_delay_timer`, `get_sound_timer`, `set_sound_timer`, and `decrement_timers` are never used
[INFO] [stdout]   --> src/chip8/timers.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl Timers {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub fn get_delay_timer(&self) -> u8 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn set_delay_timer(&mut self, value: u8) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn get_sound_timer(&self) -> u8 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn set_sound_timer(&mut self, value: u8) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn decrement_timers(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.00s
[INFO] running `Command { std: "docker" "inspect" "38f353d959f44307a5ebae64f4b073b5d030c3463bcd74402bd59559a09f61f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "38f353d959f44307a5ebae64f4b073b5d030c3463bcd74402bd59559a09f61f4", kill_on_drop: false }`
[INFO] [stdout] 38f353d959f44307a5ebae64f4b073b5d030c3463bcd74402bd59559a09f61f4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dfb67da59e0d3f61161ac423c7056ba3b2ca406100cbd4297b849cffe9cbb5c4
[INFO] running `Command { std: "docker" "start" "-a" "dfb67da59e0d3f61161ac423c7056ba3b2ca406100cbd4297b849cffe9cbb5c4", kill_on_drop: false }`
[INFO] [stderr]    Compiling ch8emu v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> src/chip8/input.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::str::FromStr;
[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: `std::iter`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::iter;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/chip8.rs:148:29
[INFO] [stdout]     |
[INFO] [stdout] 148 |             Opcode::SysAddr(addr) => {}
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SPRITE_LEN` is never used
[INFO] [stdout]  --> src/chip8/display.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub const SPRITE_LEN: usize = 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: variant `InvalidDrawPosition` is never constructed
[INFO] [stdout]   --> src/chip8/display.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub enum DisplayError {
[INFO] [stdout]    |          ------------ variant in this enum
[INFO] [stdout] 32 |     InvalidSprite(u8),
[INFO] [stdout] 33 |     InvalidDrawPosition(usize, usize),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DisplayError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Undefined` is never constructed
[INFO] [stdout]   --> src/chip8/opcodes.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum Opcode {
[INFO] [stdout]    |          ------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 67 |     Undefined(u16), // For any opcode that doesn't match the above
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Opcode` 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 `Result` that must be used
[INFO] [stdout]    --> src/chip8.rs:943:9
[INFO] [stdout]     |
[INFO] [stdout] 943 |         chip8.load_sprites();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 943 |         let _ = chip8.load_sprites();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.83s
[INFO] running `Command { std: "docker" "inspect" "dfb67da59e0d3f61161ac423c7056ba3b2ca406100cbd4297b849cffe9cbb5c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dfb67da59e0d3f61161ac423c7056ba3b2ca406100cbd4297b849cffe9cbb5c4", kill_on_drop: false }`
[INFO] [stdout] dfb67da59e0d3f61161ac423c7056ba3b2ca406100cbd4297b849cffe9cbb5c4
