[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#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucas-cauhe%2Fchip8-rusterpreter" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lucas-cauhe/chip8-rusterpreter on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-tc1/source/Cargo.toml [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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "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] 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 tui-textarea v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57c946238a33dd8f2100d8023bf7f379a399b7b5be437e1942a735c4709899b1 [INFO] running `Command { std: "docker" "start" "-a" "57c946238a33dd8f2100d8023bf7f379a399b7b5be437e1942a735c4709899b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57c946238a33dd8f2100d8023bf7f379a399b7b5be437e1942a735c4709899b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57c946238a33dd8f2100d8023bf7f379a399b7b5be437e1942a735c4709899b1", kill_on_drop: false }` [INFO] [stdout] 57c946238a33dd8f2100d8023bf7f379a399b7b5be437e1942a735c4709899b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 246c892b26fe870aaac2322ebfb9321d6ff177ec843f76b9602c2c52a088a1f2 [INFO] running `Command { std: "docker" "start" "-a" "246c892b26fe870aaac2322ebfb9321d6ff177ec843f76b9602c2c52a088a1f2", 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] 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 rustix v0.38.2 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Checking linux-raw-sys v0.4.3 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Compiling signal-hook v0.3.15 [INFO] [stderr] Checking lock_api v0.1.5 [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.4.10 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking is-terminal v0.4.8 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking unicode-width v0.1.10 [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 parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.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: the item `rand` is imported redundantly [INFO] [stdout] --> chip8/src/operations_set/opt_c.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand; [INFO] [stdout] | ^^^^ the item `rand` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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)]` 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: the item `serde_yaml` is imported redundantly [INFO] [stdout] --> chip8/src/config.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_yaml; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_yaml` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> chip8/src/operations_set/opt_c.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand; [INFO] [stdout] | ^^^^ the item `rand` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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)]` 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: the item `serde_yaml` is imported redundantly [INFO] [stdout] --> chip8/src/config.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_yaml; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_yaml` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 340 | let graph_clone = unsafe {Arc::clone(addr_of!(GRAPH))}; [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 341 | let mem_clone = unsafe {Arc::clone(addr_of!(MEMORY))}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 340 | let graph_clone = unsafe {Arc::clone(addr_of!(GRAPH))}; [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 341 | let mem_clone = unsafe {Arc::clone(addr_of!(MEMORY))}; [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)]` on by default [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: 6 warnings emitted [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: 7 warnings emitted [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)]` 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: the item `rand` is imported redundantly [INFO] [stdout] --> chip8/src/operations_set/opt_c.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: chip8/src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_yaml` is imported redundantly [INFO] [stdout] --> chip8/src/config.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_yaml; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_yaml` is already defined by prelude [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)]` 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: the item `rand` is imported redundantly [INFO] [stdout] --> chip8/src/operations_set/opt_c.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: chip8/src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_yaml` is imported redundantly [INFO] [stdout] --> chip8/src/config.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_yaml; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_yaml` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 340 | let graph_clone = unsafe {Arc::clone(addr_of!(GRAPH))}; [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 341 | let mem_clone = unsafe {Arc::clone(addr_of!(MEMORY))}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 340 | let graph_clone = unsafe {Arc::clone(addr_of!(GRAPH))}; [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 341 | let mem_clone = unsafe {Arc::clone(addr_of!(MEMORY))}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tui-textarea v0.2.0 [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)]` 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: 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: 9 warnings emitted [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)]` 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)]` 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: 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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `chip8` is imported redundantly [INFO] [stdout] --> debugger/src/debugger.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use chip8::{self, chip8::{Chip8, ProgramType}, timers::Signals}; [INFO] [stdout] | ^^^^ the item `chip8` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Paragraph`, `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: `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)]` on by default [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: the item `chip8` is imported redundantly [INFO] [stdout] --> debugger/src/debugger.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use chip8::{self, chip8::{Chip8, ProgramType}, timers::Signals}; [INFO] [stdout] | ^^^^ the item `chip8` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Paragraph`, `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)]` 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)]` 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.12s [INFO] running `Command { std: "docker" "inspect" "246c892b26fe870aaac2322ebfb9321d6ff177ec843f76b9602c2c52a088a1f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "246c892b26fe870aaac2322ebfb9321d6ff177ec843f76b9602c2c52a088a1f2", kill_on_drop: false }` [INFO] [stdout] 246c892b26fe870aaac2322ebfb9321d6ff177ec843f76b9602c2c52a088a1f2