[INFO] cloning repository https://github.com/lucas-cauhe/chip8-rusterpreter
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lucas-cauhe/chip8-rusterpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucas-cauhe%2Fchip8-rusterpreter", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucas-cauhe%2Fchip8-rusterpreter'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bf3d14ea064cd9f963bf3d7c27a63440c4b2eb09
[INFO] testing lucas-cauhe/chip8-rusterpreter against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucas-cauhe%2Fchip8-rusterpreter" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/lucas-cauhe/chip8-rusterpreter
[INFO] finished tweaking git repo https://github.com/lucas-cauhe/chip8-rusterpreter
[INFO] tweaked toml for git repo https://github.com/lucas-cauhe/chip8-rusterpreter written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lucas-cauhe/chip8-rusterpreter on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/lucas-cauhe/chip8-rusterpreter 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0879771352ef4c9390f47532eb6c2430adf1a7157e32681ef70fdd2d92da1b80
[INFO] running `Command { std: "docker" "start" "-a" "0879771352ef4c9390f47532eb6c2430adf1a7157e32681ef70fdd2d92da1b80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0879771352ef4c9390f47532eb6c2430adf1a7157e32681ef70fdd2d92da1b80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0879771352ef4c9390f47532eb6c2430adf1a7157e32681ef70fdd2d92da1b80", kill_on_drop: false }`
[INFO] [stdout] 0879771352ef4c9390f47532eb6c2430adf1a7157e32681ef70fdd2d92da1b80
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 7e5f619e0429d47aff5c5a7cc5c8787f8754ce906c6eaed5018d0782cee2751a
[INFO] running `Command { std: "docker" "start" "-a" "7e5f619e0429d47aff5c5a7cc5c8787f8754ce906c6eaed5018d0782cee2751a", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling libc v0.2.146
[INFO] [stderr]    Compiling proc-macro2 v1.0.60
[INFO] [stderr]    Compiling quote v1.0.28
[INFO] [stderr]    Compiling unicode-ident v1.0.9
[INFO] [stderr]    Compiling serde v1.0.164
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling rustix v0.38.2
[INFO] [stderr]    Compiling linux-raw-sys v0.4.3
[INFO] [stderr]    Compiling bitflags v2.3.3
[INFO] [stderr]    Compiling version-compare v0.1.1
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling signal-hook v0.3.15
[INFO] [stderr]    Compiling utf8parse v0.2.1
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling anstyle-parse v0.2.1
[INFO] [stderr]    Compiling anstyle v1.0.1
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling log v0.4.19
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling smallvec v1.10.0
[INFO] [stderr]    Compiling anstyle-query v1.0.0
[INFO] [stderr]    Compiling colorchoice v1.0.0
[INFO] [stderr]    Compiling owning_ref v0.4.1
[INFO] [stderr]    Compiling sdl2 v0.35.2
[INFO] [stderr]    Compiling sdl2-sys v0.35.2
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling clap_lex v0.5.0
[INFO] [stderr]    Compiling smallvec v0.6.14
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling scopeguard v0.3.3
[INFO] [stderr]    Compiling ryu v1.0.13
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.8
[INFO] [stderr]    Compiling itoa v1.0.6
[INFO] [stderr]    Compiling lock_api v0.1.5
[INFO] [stderr]    Compiling cassowary v0.3.0
[INFO] [stderr]    Compiling unicode-segmentation v1.10.1
[INFO] [stderr]    Compiling unicode-width v0.1.10
[INFO] [stderr]    Compiling parking_lot_core v0.3.1
[INFO] [stderr]    Compiling is-terminal v0.4.8
[INFO] [stderr]    Compiling anstream v0.3.2
[INFO] [stderr]    Compiling syn v2.0.18
[INFO] [stderr]    Compiling clap_builder v4.3.10
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling mio v0.8.8
[INFO] [stderr]    Compiling rand v0.5.6
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling signal-hook-mio v0.2.3
[INFO] [stderr]    Compiling parking_lot v0.6.4
[INFO] [stderr]    Compiling serde_derive v1.0.164
[INFO] [stderr]    Compiling clap_derive v4.3.2
[INFO] [stderr]    Compiling derive_arbitrary v1.3.1
[INFO] [stderr]    Compiling arbitrary v1.3.0
[INFO] [stderr]    Compiling clap v4.3.10
[INFO] [stderr]    Compiling serde_yaml v0.9.21
[INFO] [stderr]    Compiling crossterm v0.25.0
[INFO] [stderr]    Compiling tui v0.19.0
[INFO] [stderr]    Compiling chip8 v0.1.0 (/opt/rustwide/workdir/chip8)
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> chip8/src/chip8.rs:652:46
[INFO] [stdout]     |
[INFO] [stdout] 652 |         let next_opcode: u16 = ((self.memory[(self.pc as usize)] as u16) << 8) | self.memory[(self.pc as usize)+1] as u16;
[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] 652 -         let next_opcode: u16 = ((self.memory[(self.pc as usize)] as u16) << 8) | self.memory[(self.pc as usize)+1] as u16;
[INFO] [stdout] 652 +         let next_opcode: u16 = ((self.memory[self.pc as usize] as u16) << 8) | self.memory[(self.pc as usize)+1] as u16;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> chip8/src/chip8.rs:318:32
[INFO] [stdout]     |
[INFO] [stdout] 318 |                     for key in GRAPH.lock().keys() {
[INFO] [stdout]     |                                ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> chip8/src/chip8.rs:340:46
[INFO] [stdout]     |
[INFO] [stdout] 340 |         let graph_clone = unsafe {Arc::clone(&GRAPH)};
[INFO] [stdout]     |                                              ^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 340 |         let graph_clone = unsafe {Arc::clone(&raw const GRAPH)};
[INFO] [stdout]     |                                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> chip8/src/chip8.rs:341:44
[INFO] [stdout]     |
[INFO] [stdout] 341 |         let mem_clone = unsafe {Arc::clone(&MEMORY)};
[INFO] [stdout]     |                                            ^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 341 |         let mem_clone = unsafe {Arc::clone(&raw const MEMORY)};
[INFO] [stdout]     |                                             +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> chip8/src/chip8.rs:349:51
[INFO] [stdout]     |
[INFO] [stdout] 349 |                 let mut parsed_line: String = line.clone().to_string();
[INFO] [stdout]     |                                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> chip8/src/chip8.rs:391:35
[INFO] [stdout]     |
[INFO] [stdout] 391 |             self.memory = unsafe {MEMORY.lock().clone()};
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling tui-textarea v0.2.0
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> chip8/src/chip8.rs:652:46
[INFO] [stdout]     |
[INFO] [stdout] 652 |         let next_opcode: u16 = ((self.memory[(self.pc as usize)] as u16) << 8) | self.memory[(self.pc as usize)+1] as u16;
[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] 652 -         let next_opcode: u16 = ((self.memory[(self.pc as usize)] as u16) << 8) | self.memory[(self.pc as usize)+1] as u16;
[INFO] [stdout] 652 +         let next_opcode: u16 = ((self.memory[self.pc as usize] as u16) << 8) | self.memory[(self.pc as usize)+1] as u16;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling debugger v0.1.0 (/opt/rustwide/workdir/debugger)
[INFO] [stdout] warning: fields `status` and `message` are never read
[INFO] [stdout]   --> chip8/src/chip8.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct EopError {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 34 |     pub status: u8,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 35 |     pub message: String
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EopError` 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: method `send_signal` is never used
[INFO] [stdout]    --> chip8/src/chip8.rs:177:12
[INFO] [stdout]     |
[INFO] [stdout]  87 | impl Chip8 {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 177 |     pub fn send_signal(&self, sig: Signals, target: &str) -> Result<(), String>{
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `STP` and `RES` are never constructed
[INFO] [stdout]  --> chip8/src/timers.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum Signals {
[INFO] [stdout]   |          ------- variants in this enum
[INFO] [stdout] 7 |     KILL, // kill thread
[INFO] [stdout] 8 |     STP, // stop thread
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 9 |     RES // resume thread
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Config` is never constructed
[INFO] [stdout]   --> chip8/src/config.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct Config {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> chip8/src/chip8.rs:318:32
[INFO] [stdout]     |
[INFO] [stdout] 318 |                     for key in GRAPH.lock().keys() {
[INFO] [stdout]     |                                ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> chip8/src/chip8.rs:340:46
[INFO] [stdout]     |
[INFO] [stdout] 340 |         let graph_clone = unsafe {Arc::clone(&GRAPH)};
[INFO] [stdout]     |                                              ^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 340 |         let graph_clone = unsafe {Arc::clone(&raw const GRAPH)};
[INFO] [stdout]     |                                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> chip8/src/chip8.rs:341:44
[INFO] [stdout]     |
[INFO] [stdout] 341 |         let mem_clone = unsafe {Arc::clone(&MEMORY)};
[INFO] [stdout]     |                                            ^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 341 |         let mem_clone = unsafe {Arc::clone(&raw const MEMORY)};
[INFO] [stdout]     |                                             +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> chip8/src/chip8.rs:349:51
[INFO] [stdout]     |
[INFO] [stdout] 349 |                 let mut parsed_line: String = line.clone().to_string();
[INFO] [stdout]     |                                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> chip8/src/chip8.rs:391:35
[INFO] [stdout]     |
[INFO] [stdout] 391 |             self.memory = unsafe {MEMORY.lock().clone()};
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Arc`
[INFO] [stdout]  --> debugger/src/debugger.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::{Arc, mpsc::TryRecvError};
[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 imports: `Paragraph` and `Rect`
[INFO] [stdout]  --> debugger/src/components/timers.rs:6:25
[INFO] [stdout]   |
[INFO] [stdout] 6 |     layout::{Alignment, Rect}, 
[INFO] [stdout]   |                         ^^^^
[INFO] [stdout] 7 |     widgets::{Paragraph, Borders, BorderType, Block}, 
[INFO] [stdout]   |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::display::DefaultTerminal`
[INFO] [stdout]   --> debugger/src/components/timers.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::display::DefaultTerminal;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> debugger/src/scaffold.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crossterm::style::Stylize`
[INFO] [stdout]  --> debugger/src/display.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crossterm::style::Stylize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> debugger/src/display.rs:49:38
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn render_display(&mut self, mut current_line: usize) {
[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: field `command` is never read
[INFO] [stdout]   --> debugger/src/components/command.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct CommandComponent {
[INFO] [stdout]    |            ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub command: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.44s
[INFO] running `Command { std: "docker" "inspect" "7e5f619e0429d47aff5c5a7cc5c8787f8754ce906c6eaed5018d0782cee2751a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7e5f619e0429d47aff5c5a7cc5c8787f8754ce906c6eaed5018d0782cee2751a", kill_on_drop: false }`
[INFO] [stdout] 7e5f619e0429d47aff5c5a7cc5c8787f8754ce906c6eaed5018d0782cee2751a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 4c907ba62e4bc38e8fe616583b48ba667377586e14e2a0a7336b82c5e45e786a
[INFO] running `Command { std: "docker" "start" "-a" "4c907ba62e4bc38e8fe616583b48ba667377586e14e2a0a7336b82c5e45e786a", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling chip8 v0.1.0 (/opt/rustwide/workdir/chip8)
[INFO] [stderr]    Compiling debugger v0.1.0 (/opt/rustwide/workdir/debugger)
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> chip8/src/chip8.rs:652:46
[INFO] [stdout]     |
[INFO] [stdout] 652 |         let next_opcode: u16 = ((self.memory[(self.pc as usize)] as u16) << 8) | self.memory[(self.pc as usize)+1] as u16;
[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] 652 -         let next_opcode: u16 = ((self.memory[(self.pc as usize)] as u16) << 8) | self.memory[(self.pc as usize)+1] as u16;
[INFO] [stdout] 652 +         let next_opcode: u16 = ((self.memory[self.pc as usize] as u16) << 8) | self.memory[(self.pc as usize)+1] as u16;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> chip8/src/chip8.rs:318:32
[INFO] [stdout]     |
[INFO] [stdout] 318 |                     for key in GRAPH.lock().keys() {
[INFO] [stdout]     |                                ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> chip8/src/chip8.rs:340:46
[INFO] [stdout]     |
[INFO] [stdout] 340 |         let graph_clone = unsafe {Arc::clone(&GRAPH)};
[INFO] [stdout]     |                                              ^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 340 |         let graph_clone = unsafe {Arc::clone(&raw const GRAPH)};
[INFO] [stdout]     |                                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> chip8/src/chip8.rs:341:44
[INFO] [stdout]     |
[INFO] [stdout] 341 |         let mem_clone = unsafe {Arc::clone(&MEMORY)};
[INFO] [stdout]     |                                            ^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 341 |         let mem_clone = unsafe {Arc::clone(&raw const MEMORY)};
[INFO] [stdout]     |                                             +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> chip8/src/chip8.rs:349:51
[INFO] [stdout]     |
[INFO] [stdout] 349 |                 let mut parsed_line: String = line.clone().to_string();
[INFO] [stdout]     |                                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> chip8/src/chip8.rs:391:35
[INFO] [stdout]     |
[INFO] [stdout] 391 |             self.memory = unsafe {MEMORY.lock().clone()};
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> chip8/src/chip8.rs:652:46
[INFO] [stdout]     |
[INFO] [stdout] 652 |         let next_opcode: u16 = ((self.memory[(self.pc as usize)] as u16) << 8) | self.memory[(self.pc as usize)+1] as u16;
[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] 652 -         let next_opcode: u16 = ((self.memory[(self.pc as usize)] as u16) << 8) | self.memory[(self.pc as usize)+1] as u16;
[INFO] [stdout] 652 +         let next_opcode: u16 = ((self.memory[self.pc as usize] as u16) << 8) | self.memory[(self.pc as usize)+1] as u16;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> chip8/src/chip8.rs:652:46
[INFO] [stdout]     |
[INFO] [stdout] 652 |         let next_opcode: u16 = ((self.memory[(self.pc as usize)] as u16) << 8) | self.memory[(self.pc as usize)+1] as u16;
[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] 652 -         let next_opcode: u16 = ((self.memory[(self.pc as usize)] as u16) << 8) | self.memory[(self.pc as usize)+1] as u16;
[INFO] [stdout] 652 +         let next_opcode: u16 = ((self.memory[self.pc as usize] as u16) << 8) | self.memory[(self.pc as usize)+1] as u16;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Arc`
[INFO] [stdout]  --> debugger/src/debugger.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::{Arc, mpsc::TryRecvError};
[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 imports: `Paragraph` and `Rect`
[INFO] [stdout]  --> debugger/src/components/timers.rs:6:25
[INFO] [stdout]   |
[INFO] [stdout] 6 |     layout::{Alignment, Rect}, 
[INFO] [stdout]   |                         ^^^^
[INFO] [stdout] 7 |     widgets::{Paragraph, Borders, BorderType, Block}, 
[INFO] [stdout]   |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::display::DefaultTerminal`
[INFO] [stdout]   --> debugger/src/components/timers.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::display::DefaultTerminal;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> debugger/src/scaffold.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crossterm::style::Stylize`
[INFO] [stdout]  --> debugger/src/display.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crossterm::style::Stylize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `specs`
[INFO] [stdout]   --> chip8/src/operations_set/opt_d.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let specs = OperationSpecs {
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_specs`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> debugger/src/display.rs:49:38
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn render_display(&mut self, mut current_line: usize) {
[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: field `command` is never read
[INFO] [stdout]   --> debugger/src/components/command.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct CommandComponent {
[INFO] [stdout]    |            ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub command: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `specs`
[INFO] [stdout]   --> chip8/src/operations_set/opt_d.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let specs = OperationSpecs {
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_specs`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> chip8/src/chip8.rs:318:32
[INFO] [stdout]     |
[INFO] [stdout] 318 |                     for key in GRAPH.lock().keys() {
[INFO] [stdout]     |                                ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> chip8/src/chip8.rs:340:46
[INFO] [stdout]     |
[INFO] [stdout] 340 |         let graph_clone = unsafe {Arc::clone(&GRAPH)};
[INFO] [stdout]     |                                              ^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 340 |         let graph_clone = unsafe {Arc::clone(&raw const GRAPH)};
[INFO] [stdout]     |                                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> chip8/src/chip8.rs:341:44
[INFO] [stdout]     |
[INFO] [stdout] 341 |         let mem_clone = unsafe {Arc::clone(&MEMORY)};
[INFO] [stdout]     |                                            ^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 341 |         let mem_clone = unsafe {Arc::clone(&raw const MEMORY)};
[INFO] [stdout]     |                                             +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> chip8/src/chip8.rs:349:51
[INFO] [stdout]     |
[INFO] [stdout] 349 |                 let mut parsed_line: String = line.clone().to_string();
[INFO] [stdout]     |                                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> chip8/src/chip8.rs:391:35
[INFO] [stdout]     |
[INFO] [stdout] 391 |             self.memory = unsafe {MEMORY.lock().clone()};
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `status` and `message` are never read
[INFO] [stdout]   --> chip8/src/chip8.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct EopError {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 34 |     pub status: u8,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 35 |     pub message: String
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EopError` 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: method `send_signal` is never used
[INFO] [stdout]    --> chip8/src/chip8.rs:177:12
[INFO] [stdout]     |
[INFO] [stdout]  87 | impl Chip8 {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 177 |     pub fn send_signal(&self, sig: Signals, target: &str) -> Result<(), String>{
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `STP` and `RES` are never constructed
[INFO] [stdout]  --> chip8/src/timers.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum Signals {
[INFO] [stdout]   |          ------- variants in this enum
[INFO] [stdout] 7 |     KILL, // kill thread
[INFO] [stdout] 8 |     STP, // stop thread
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 9 |     RES // resume thread
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Config` is never constructed
[INFO] [stdout]   --> chip8/src/config.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct Config {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> chip8/src/chip8.rs:318:32
[INFO] [stdout]     |
[INFO] [stdout] 318 |                     for key in GRAPH.lock().keys() {
[INFO] [stdout]     |                                ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> chip8/src/chip8.rs:340:46
[INFO] [stdout]     |
[INFO] [stdout] 340 |         let graph_clone = unsafe {Arc::clone(&GRAPH)};
[INFO] [stdout]     |                                              ^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 340 |         let graph_clone = unsafe {Arc::clone(&raw const GRAPH)};
[INFO] [stdout]     |                                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> chip8/src/chip8.rs:341:44
[INFO] [stdout]     |
[INFO] [stdout] 341 |         let mem_clone = unsafe {Arc::clone(&MEMORY)};
[INFO] [stdout]     |                                            ^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 341 |         let mem_clone = unsafe {Arc::clone(&raw const MEMORY)};
[INFO] [stdout]     |                                             +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> chip8/src/chip8.rs:349:51
[INFO] [stdout]     |
[INFO] [stdout] 349 |                 let mut parsed_line: String = line.clone().to_string();
[INFO] [stdout]     |                                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> chip8/src/chip8.rs:391:35
[INFO] [stdout]     |
[INFO] [stdout] 391 |             self.memory = unsafe {MEMORY.lock().clone()};
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.35s
[INFO] running `Command { std: "docker" "inspect" "4c907ba62e4bc38e8fe616583b48ba667377586e14e2a0a7336b82c5e45e786a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4c907ba62e4bc38e8fe616583b48ba667377586e14e2a0a7336b82c5e45e786a", kill_on_drop: false }`
[INFO] [stdout] 4c907ba62e4bc38e8fe616583b48ba667377586e14e2a0a7336b82c5e45e786a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 2b9249dd51dd26a23259d4c99c425029d1d057448dc374f4156f64b1865fc3ff
[INFO] running `Command { std: "docker" "start" "-a" "2b9249dd51dd26a23259d4c99c425029d1d057448dc374f4156f64b1865fc3ff", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr] warning: unnecessary parentheses around index expression
[INFO] [stderr]    --> chip8/src/chip8.rs:652:46
[INFO] [stderr]     |
[INFO] [stderr] 652 |         let next_opcode: u16 = ((self.memory[(self.pc as usize)] as u16) << 8) | self.memory[(self.pc as usize)+1] as u16;
[INFO] [stderr]     |                                              ^                ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 652 -         let next_opcode: u16 = ((self.memory[(self.pc as usize)] as u16) << 8) | self.memory[(self.pc as usize)+1] as u16;
[INFO] [stderr] 652 +         let next_opcode: u16 = ((self.memory[self.pc as usize] as u16) << 8) | self.memory[(self.pc as usize)+1] as u16;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> chip8/src/chip8.rs:318:32
[INFO] [stderr]     |
[INFO] [stderr] 318 |                     for key in GRAPH.lock().keys() {
[INFO] [stderr]     |                                ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> chip8/src/chip8.rs:340:46
[INFO] [stderr]     |
[INFO] [stderr] 340 |         let graph_clone = unsafe {Arc::clone(&GRAPH)};
[INFO] [stderr]     |                                              ^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] help: use `&raw const` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 340 |         let graph_clone = unsafe {Arc::clone(&raw const GRAPH)};
[INFO] [stderr]     |                                               +++++++++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> chip8/src/chip8.rs:341:44
[INFO] [stderr]     |
[INFO] [stderr] 341 |         let mem_clone = unsafe {Arc::clone(&MEMORY)};
[INFO] [stderr]     |                                            ^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] help: use `&raw const` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 341 |         let mem_clone = unsafe {Arc::clone(&raw const MEMORY)};
[INFO] [stderr]     |                                             +++++++++
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]    --> chip8/src/chip8.rs:349:51
[INFO] [stderr]     |
[INFO] [stderr] 349 |                 let mut parsed_line: String = line.clone().to_string();
[INFO] [stderr]     |                                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stderr]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> chip8/src/chip8.rs:391:35
[INFO] [stderr]     |
[INFO] [stderr] 391 |             self.memory = unsafe {MEMORY.lock().clone()};
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `specs`
[INFO] [stderr]   --> chip8/src/operations_set/opt_d.rs:47:13
[INFO] [stderr]    |
[INFO] [stderr] 47 |         let specs = OperationSpecs {
[INFO] [stderr]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_specs`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `chip8` (lib) generated 6 warnings (run `cargo fix --lib -p chip8` to apply 2 suggestions)
[INFO] [stderr] warning: `chip8` (lib test) generated 7 warnings (6 duplicates) (run `cargo fix --lib -p chip8 --tests` to apply 1 suggestion)
[INFO] [stderr] warning: fields `status` and `message` are never read
[INFO] [stderr]   --> chip8/src/chip8.rs:34:9
[INFO] [stderr]    |
[INFO] [stderr] 33 | pub struct EopError {
[INFO] [stderr]    |            -------- fields in this struct
[INFO] [stderr] 34 |     pub status: u8,
[INFO] [stderr]    |         ^^^^^^
[INFO] [stderr] 35 |     pub message: String
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `EopError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `send_signal` is never used
[INFO] [stderr]    --> chip8/src/chip8.rs:177:12
[INFO] [stderr]     |
[INFO] [stderr]  87 | impl Chip8 {
[INFO] [stderr]     | ---------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 177 |     pub fn send_signal(&self, sig: Signals, target: &str) -> Result<(), String>{
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `STP` and `RES` are never constructed
[INFO] [stderr]  --> chip8/src/timers.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub enum Signals {
[INFO] [stderr]   |          ------- variants in this enum
[INFO] [stderr] 7 |     KILL, // kill thread
[INFO] [stderr] 8 |     STP, // stop thread
[INFO] [stderr]   |     ^^^
[INFO] [stderr] 9 |     RES // resume thread
[INFO] [stderr]   |     ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Config` is never constructed
[INFO] [stderr]   --> chip8/src/config.rs:31:12
[INFO] [stderr]    |
[INFO] [stderr] 31 | pub struct Config {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `chip8` (bin "chip8" test) generated 11 warnings (7 duplicates)
[INFO] [stderr] warning: unused import: `Arc`
[INFO] [stderr]  --> debugger/src/debugger.rs:1:17
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::sync::{Arc, mpsc::TryRecvError};
[INFO] [stderr]   |                 ^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Paragraph` and `Rect`
[INFO] [stderr]  --> debugger/src/components/timers.rs:6:25
[INFO] [stderr]   |
[INFO] [stderr] 6 |     layout::{Alignment, Rect}, 
[INFO] [stderr]   |                         ^^^^
[INFO] [stderr] 7 |     widgets::{Paragraph, Borders, BorderType, Block}, 
[INFO] [stderr]   |               ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::display::DefaultTerminal`
[INFO] [stderr]   --> debugger/src/components/timers.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use crate::display::DefaultTerminal;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::sync::Arc`
[INFO] [stderr]  --> debugger/src/scaffold.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::sync::Arc;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crossterm::style::Stylize`
[INFO] [stderr]  --> debugger/src/display.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crossterm::style::Stylize;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> debugger/src/display.rs:49:38
[INFO] [stderr]    |
[INFO] [stderr] 49 |     pub fn render_display(&mut self, mut current_line: usize) {
[INFO] [stderr]    |                                      ----^^^^^^^^^^^^
[INFO] [stderr]    |                                      |
[INFO] [stderr]    |                                      help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `command` is never read
[INFO] [stderr]   --> debugger/src/components/command.rs:14:9
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub struct CommandComponent {
[INFO] [stderr]    |            ---------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 14 |     pub command: String,
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `debugger` (bin "debugger" test) generated 7 warnings (run `cargo fix --bin "debugger" -p debugger --tests` to apply 6 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/chip8/ebbb7ca24040b3c2/deps/chip8-ebbb7ca24040b3c2)
[INFO] [stdout] 
[INFO] [stdout] running 20 tests
[INFO] [stderr] error: the following required arguments were not provided:
[INFO] [stderr]   <FILE>
[INFO] [stderr] 
[INFO] [stderr] Usage: chip8-ebbb7ca24040b3c2 <FILE>
[INFO] [stderr] 
[INFO] [stderr] For more information, try '--help'.
[INFO] [stderr] error: test failed, to rerun pass `-p chip8 --lib`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/chip8/ebbb7ca24040b3c2/deps/chip8-ebbb7ca24040b3c2` (exit status: 2)
[INFO] [stderr] note: test exited abnormally; to see the full output pass --no-capture to the harness.
[INFO] running `Command { std: "docker" "inspect" "2b9249dd51dd26a23259d4c99c425029d1d057448dc374f4156f64b1865fc3ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2b9249dd51dd26a23259d4c99c425029d1d057448dc374f4156f64b1865fc3ff", kill_on_drop: false }`
[INFO] [stdout] 2b9249dd51dd26a23259d4c99c425029d1d057448dc374f4156f64b1865fc3ff
