[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] checking lucas-cauhe/chip8-rusterpreter against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucas-cauhe%2Fchip8-rusterpreter" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lucas-cauhe/chip8-rusterpreter on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_yaml v0.9.21 [INFO] [stderr] Downloaded clap v4.3.10 [INFO] [stderr] Downloaded derive_arbitrary v1.3.1 [INFO] [stderr] Downloaded parking_lot_core v0.3.1 [INFO] [stderr] Downloaded tui-textarea v0.2.0 [INFO] [stderr] Downloaded unsafe-libyaml v0.2.8 [INFO] [stderr] Downloaded signal-hook v0.3.15 [INFO] [stderr] Downloaded parking_lot v0.6.4 [INFO] [stderr] Downloaded arbitrary v1.3.0 [INFO] [stderr] Downloaded is-terminal v0.4.8 [INFO] [stderr] Downloaded clap_builder v4.3.10 [INFO] [stderr] Downloaded rustix v0.38.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 602cee945a421ff4e085cff8f2f863cab9be6825f9450a17257490aa3b79d647 [INFO] running `Command { std: "docker" "start" "-a" "602cee945a421ff4e085cff8f2f863cab9be6825f9450a17257490aa3b79d647", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "602cee945a421ff4e085cff8f2f863cab9be6825f9450a17257490aa3b79d647", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "602cee945a421ff4e085cff8f2f863cab9be6825f9450a17257490aa3b79d647", kill_on_drop: false }` [INFO] [stdout] 602cee945a421ff4e085cff8f2f863cab9be6825f9450a17257490aa3b79d647 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5bcaf08b0b71361f06efec3f018b18faa94af8f95d40c4376bdf4db8afd6237 [INFO] running `Command { std: "docker" "start" "-a" "b5bcaf08b0b71361f06efec3f018b18faa94af8f95d40c4376bdf4db8afd6237", 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 unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling rustix v0.38.2 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Checking linux-raw-sys v0.4.3 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling signal-hook v0.3.15 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.8 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking lock_api v0.4.10 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Checking is-terminal v0.4.8 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking clap_builder v4.3.10 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking 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] Checking arbitrary v1.3.0 [INFO] [stderr] Checking clap v4.3.10 [INFO] [stderr] Checking serde_yaml v0.9.21 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking tui v0.19.0 [INFO] [stderr] Checking 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: 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 [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 [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 [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 [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 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: 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: 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 [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 [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 [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 [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 [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 [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 [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 [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 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: 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 [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 [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 [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 [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] Checking tui-textarea v0.2.0 [INFO] [stderr] Checking debugger v0.1.0 (/opt/rustwide/workdir/debugger) [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] [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 33.19s [INFO] running `Command { std: "docker" "inspect" "b5bcaf08b0b71361f06efec3f018b18faa94af8f95d40c4376bdf4db8afd6237", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5bcaf08b0b71361f06efec3f018b18faa94af8f95d40c4376bdf4db8afd6237", kill_on_drop: false }` [INFO] [stdout] b5bcaf08b0b71361f06efec3f018b18faa94af8f95d40c4376bdf4db8afd6237