[INFO] cloning repository https://github.com/gmbeard/bbc-em [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gmbeard/bbc-em" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmbeard%2Fbbc-em", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmbeard%2Fbbc-em'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1c4dabaa705c8338ef89aeed6de410996b16dc72 [INFO] checking gmbeard/bbc-em against try#5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmbeard%2Fbbc-em" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gmbeard/bbc-em [INFO] finished tweaking git repo https://github.com/gmbeard/bbc-em [INFO] tweaked toml for git repo https://github.com/gmbeard/bbc-em written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gmbeard/bbc-em on toolchain 5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gmbeard/bbc-em 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" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] checking gmbeard/bbc-em against try#5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmbeard%2Fbbc-em" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gmbeard/bbc-em [INFO] finished tweaking git repo https://github.com/gmbeard/bbc-em [INFO] tweaked toml for git repo https://github.com/gmbeard/bbc-em written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gmbeard/bbc-em on toolchain 5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gmbeard/bbc-em 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" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e24edec1c0aaf8dd5925761fedce0b7f0e717bb0c7add35cd2a1425cd468818 [INFO] running `Command { std: "docker" "start" "-a" "3e24edec1c0aaf8dd5925761fedce0b7f0e717bb0c7add35cd2a1425cd468818", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e24edec1c0aaf8dd5925761fedce0b7f0e717bb0c7add35cd2a1425cd468818", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e24edec1c0aaf8dd5925761fedce0b7f0e717bb0c7add35cd2a1425cd468818", kill_on_drop: false }` [INFO] [stdout] 3e24edec1c0aaf8dd5925761fedce0b7f0e717bb0c7add35cd2a1425cd468818 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04f82507bdc551b12bae3b70d670fcc0b7a1f89706d38942bd25a20235e105d6 [INFO] running `Command { std: "docker" "start" "-a" "04f82507bdc551b12bae3b70d670fcc0b7a1f89706d38942bd25a20235e105d6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.2.31 [INFO] [stderr] Checking lazy_static v0.2.9 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking regex-syntax v0.4.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking log v0.3.8 [INFO] [stderr] Checking glyphs v0.1.0 (/opt/rustwide/workdir/glyphs) [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling x11-dl v2.14.0 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking time v0.1.38 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Compiling minifb v0.10.3 [INFO] [stderr] Checking regex v0.2.2 [INFO] [stderr] Checking env_logger v0.4.3 [INFO] [stderr] Checking bbc_em v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate log; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `timer::*` [INFO] [stdout] --> src/emulator/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use timer::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::u16` [INFO] [stdout] --> src/emulator/mod.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | use std::u16; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/debugger/frontend.rs:56:32 [INFO] [stdout] | [INFO] [stdout] 56 | b'0'...b'9' => (*b as u16 - b'0' 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] 56 - b'0'...b'9' => (*b as u16 - b'0' as u16), [INFO] [stdout] 56 + b'0'...b'9' => *b as u16 - b'0' as u16, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/debugger/frontend.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | b'0'...b'9' => (*b as u16 - b'0' as u16), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/debugger/frontend.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | b'a'...b'f' => 10 + (*b as u16 - b'a' as u16), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/debugger/frontend.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | b'A'...b'F' => 10 + (*b as u16 - b'A' as u16), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/memory/map.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | (val >= range.start && val <= range.end) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 33 - (val >= range.start && val <= range.end) [INFO] [stdout] 33 + val >= range.start && val <= range.end [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/video/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpu::Cpu` [INFO] [stdout] --> src/via/system.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cpu::Cpu; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/via/interrupts.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | self.signalled |= (0x01 << (t as u32 & 0x07)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 132 - self.signalled |= (0x01 << (t as u32 & 0x07)); [INFO] [stdout] 132 + self.signalled |= 0x01 << (t as u32 & 0x07); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/via/interrupts.rs:139:15 [INFO] [stdout] | [INFO] [stdout] 139 | match (e.0 & 0x80) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 139 - match (e.0 & 0x80) { [INFO] [stdout] 139 + match e.0 & 0x80 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/via/interrupts.rs:174:23 [INFO] [stdout] | [INFO] [stdout] 174 | match (self.1 - 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 174 - match (self.1 - 1) { [INFO] [stdout] 174 + match self.1 - 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate log; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `timer::*` [INFO] [stdout] --> src/emulator/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use timer::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::u16` [INFO] [stdout] --> src/emulator/mod.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | use std::u16; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/debugger/frontend.rs:56:32 [INFO] [stdout] | [INFO] [stdout] 56 | b'0'...b'9' => (*b as u16 - b'0' 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] 56 - b'0'...b'9' => (*b as u16 - b'0' as u16), [INFO] [stdout] 56 + b'0'...b'9' => *b as u16 - b'0' as u16, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/debugger/frontend.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | b'0'...b'9' => (*b as u16 - b'0' as u16), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/debugger/frontend.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | b'a'...b'f' => 10 + (*b as u16 - b'a' as u16), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/debugger/frontend.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | b'A'...b'F' => 10 + (*b as u16 - b'A' as u16), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/memory/map.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | (val >= range.start && val <= range.end) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 33 - (val >= range.start && val <= range.end) [INFO] [stdout] 33 + val >= range.start && val <= range.end [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/video/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpu::Cpu` [INFO] [stdout] --> src/via/system.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cpu::Cpu; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/via/interrupts.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | self.signalled |= (0x01 << (t as u32 & 0x07)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 132 - self.signalled |= (0x01 << (t as u32 & 0x07)); [INFO] [stdout] 132 + self.signalled |= 0x01 << (t as u32 & 0x07); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/via/interrupts.rs:139:15 [INFO] [stdout] | [INFO] [stdout] 139 | match (e.0 & 0x80) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 139 - match (e.0 & 0x80) { [INFO] [stdout] 139 + match e.0 & 0x80 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/via/interrupts.rs:174:23 [INFO] [stdout] | [INFO] [stdout] 174 | match (self.1 - 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 174 - match (self.1 - 1) { [INFO] [stdout] 174 + match self.1 - 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cpu/mod.rs:490:42 [INFO] [stdout] | [INFO] [stdout] 490 | write!(f, "{}", ::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cpu/mod.rs:496:42 [INFO] [stdout] | [INFO] [stdout] 496 | write!(f, "{}", ::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cpu/mod.rs:526:42 [INFO] [stdout] | [INFO] [stdout] 526 | write!(f, "{}", ::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/debugger/frontend.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::atomic::{AtomicUsize, ATOMIC_USIZE_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/debugger/frontend.rs:193:39 [INFO] [stdout] | [INFO] [stdout] 193 | static CHILD_STDIN_PTR: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 193 - static CHILD_STDIN_PTR: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] 193 + static CHILD_STDIN_PTR: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cpu/mod.rs:490:42 [INFO] [stdout] | [INFO] [stdout] 490 | write!(f, "{}", ::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cpu/mod.rs:496:42 [INFO] [stdout] | [INFO] [stdout] 496 | write!(f, "{}", ::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cpu/mod.rs:526:42 [INFO] [stdout] | [INFO] [stdout] 526 | write!(f, "{}", ::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/debugger/frontend.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::atomic::{AtomicUsize, ATOMIC_USIZE_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/debugger/frontend.rs:193:39 [INFO] [stdout] | [INFO] [stdout] 193 | static CHILD_STDIN_PTR: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 193 - static CHILD_STDIN_PTR: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] 193 + static CHILD_STDIN_PTR: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cpu/mod.rs:480:42 [INFO] [stdout] | [INFO] [stdout] 480 | CpuError::Memory(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cpu/mod.rs:481:41 [INFO] [stdout] | [INFO] [stdout] 481 | CpuError::Stack(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cpu/mod.rs:480:42 [INFO] [stdout] | [INFO] [stdout] 480 | CpuError::Memory(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cpu/mod.rs:481:41 [INFO] [stdout] | [INFO] [stdout] 481 | CpuError::Stack(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `signal` [INFO] [stdout] --> src/debugger/frontend.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | if ctrl_type == signal::CTRL_C_EVENT { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `signal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `signal`, use `cargo add signal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `signal` [INFO] [stdout] --> src/debugger/frontend.rs:210:16 [INFO] [stdout] | [INFO] [stdout] 210 | return signal::TRUE [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `signal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `signal`, use `cargo add signal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `signal` [INFO] [stdout] --> src/debugger/frontend.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | signal::FALSE [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `signal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `signal`, use `cargo add signal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `signal` [INFO] [stdout] --> src/debugger/frontend.rs:232:14 [INFO] [stdout] | [INFO] [stdout] 232 | unsafe { signal::SetConsoleCtrlHandler(Some(ctrl_c_handler), signal::TRUE) }; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `signal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `signal`, use `cargo add signal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `signal` [INFO] [stdout] --> src/debugger/frontend.rs:232:66 [INFO] [stdout] | [INFO] [stdout] 232 | unsafe { signal::SetConsoleCtrlHandler(Some(ctrl_c_handler), signal::TRUE) }; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `signal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `signal`, use `cargo add signal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `signal` [INFO] [stdout] --> src/debugger/frontend.rs:225:22 [INFO] [stdout] | [INFO] [stdout] 225 | unsafe { signal::SetConsoleCtrlHandler(Some(ctrl_c_handler), signal::FALSE); }; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `signal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `signal`, use `cargo add signal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `signal` [INFO] [stdout] --> src/debugger/frontend.rs:225:74 [INFO] [stdout] | [INFO] [stdout] 225 | unsafe { signal::SetConsoleCtrlHandler(Some(ctrl_c_handler), signal::FALSE); }; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `signal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `signal`, use `cargo add signal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `signal` [INFO] [stdout] --> src/debugger/frontend.rs:269:18 [INFO] [stdout] | [INFO] [stdout] 269 | unsafe { signal::SetConsoleCtrlHandler(None, signal::TRUE) }; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `signal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `signal`, use `cargo add signal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `signal` [INFO] [stdout] --> src/debugger/frontend.rs:269:54 [INFO] [stdout] | [INFO] [stdout] 269 | unsafe { signal::SetConsoleCtrlHandler(None, signal::TRUE) }; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `signal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `signal`, use `cargo add signal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `signal` [INFO] [stdout] --> src/debugger/frontend.rs:278:18 [INFO] [stdout] | [INFO] [stdout] 278 | unsafe { signal::SetConsoleCtrlHandler(None, signal::FALSE) }; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `signal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `signal`, use `cargo add signal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `signal` [INFO] [stdout] --> src/debugger/frontend.rs:278:54 [INFO] [stdout] | [INFO] [stdout] 278 | unsafe { signal::SetConsoleCtrlHandler(None, signal::FALSE) }; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `signal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `signal`, use `cargo add signal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `signal` [INFO] [stdout] --> src/debugger/frontend.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | if ctrl_type == signal::CTRL_C_EVENT { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `signal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `signal`, use `cargo add signal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `signal` [INFO] [stdout] --> src/debugger/frontend.rs:210:16 [INFO] [stdout] | [INFO] [stdout] 210 | return signal::TRUE [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `signal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `signal`, use `cargo add signal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `signal` [INFO] [stdout] --> src/debugger/frontend.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | signal::FALSE [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `signal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `signal`, use `cargo add signal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `signal` [INFO] [stdout] --> src/debugger/frontend.rs:232:14 [INFO] [stdout] | [INFO] [stdout] 232 | unsafe { signal::SetConsoleCtrlHandler(Some(ctrl_c_handler), signal::TRUE) }; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `signal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `signal`, use `cargo add signal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `signal` [INFO] [stdout] --> src/debugger/frontend.rs:232:66 [INFO] [stdout] | [INFO] [stdout] 232 | unsafe { signal::SetConsoleCtrlHandler(Some(ctrl_c_handler), signal::TRUE) }; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `signal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `signal`, use `cargo add signal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `signal` [INFO] [stdout] --> src/debugger/frontend.rs:225:22 [INFO] [stdout] | [INFO] [stdout] 225 | unsafe { signal::SetConsoleCtrlHandler(Some(ctrl_c_handler), signal::FALSE); }; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `signal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `signal`, use `cargo add signal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `signal` [INFO] [stdout] --> src/debugger/frontend.rs:225:74 [INFO] [stdout] | [INFO] [stdout] 225 | unsafe { signal::SetConsoleCtrlHandler(Some(ctrl_c_handler), signal::FALSE); }; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `signal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `signal`, use `cargo add signal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `signal` [INFO] [stdout] --> src/debugger/frontend.rs:269:18 [INFO] [stdout] | [INFO] [stdout] 269 | unsafe { signal::SetConsoleCtrlHandler(None, signal::TRUE) }; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `signal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `signal`, use `cargo add signal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `signal` [INFO] [stdout] --> src/debugger/frontend.rs:269:54 [INFO] [stdout] | [INFO] [stdout] 269 | unsafe { signal::SetConsoleCtrlHandler(None, signal::TRUE) }; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `signal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `signal`, use `cargo add signal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `signal` [INFO] [stdout] --> src/debugger/frontend.rs:278:18 [INFO] [stdout] | [INFO] [stdout] 278 | unsafe { signal::SetConsoleCtrlHandler(None, signal::FALSE) }; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `signal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `signal`, use `cargo add signal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `signal` [INFO] [stdout] --> src/debugger/frontend.rs:278:54 [INFO] [stdout] | [INFO] [stdout] 278 | unsafe { signal::SetConsoleCtrlHandler(None, signal::FALSE) }; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `signal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `signal`, use `cargo add signal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/emulator/mod.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | fn keydown(&mut self, key: u32) { } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/emulator/mod.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | fn keyup(&mut self, key: u32) { } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/emulator/mod.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | fn keydown(&mut self, key: u32) { } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/emulator/mod.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | fn keyup(&mut self, key: u32) { } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/video/mod.rs:237:21 [INFO] [stdout] | [INFO] [stdout] 237 | _ => { break; } [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/video/mod.rs:237:21 [INFO] [stdout] | [INFO] [stdout] 151 | VideoState::NotInitialized => { [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 169 | VideoState::NewFrame(start_addr) => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 172 | VideoState::DisplayingLine(line_addr, l, c, sl) => { [INFO] [stdout] | ----------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 223 | VideoState::EndOfLine(next_line_addr, lines_displayed) => { [INFO] [stdout] | ------------------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 237 | _ => { break; } [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/video/mod.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | Some((addr, val)) if addr == 0xfe21 => log_video!("ULA: Palette register set to {:02x} ({:08b})", val, val), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/video/mod.rs:91:46 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn step(&mut self, cycles: usize, mut mem: M, fb: &mut FrameBuffer) [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: unused variable: `read` [INFO] [stdout] --> src/via/system.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | ... read: Option, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_eval` [INFO] [stdout] --> src/via/system.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | ... key_eval: K) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_eval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keynum` [INFO] [stdout] --> src/via/system.rs:166:29 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn keyup(&mut self, keynum: u32) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_keynum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/via/registers.rs:117:40 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn write_port_a1_io(&mut self, val: u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `signal` [INFO] [stdout] --> src/debugger/frontend.rs:205:53 [INFO] [stdout] | [INFO] [stdout] 205 | unsafe extern "system" fn ctrl_c_handler(ctrl_type: signal::DWORD) -> signal::BOOL { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `signal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `signal`, use `cargo add signal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `signal` [INFO] [stdout] --> src/debugger/frontend.rs:205:71 [INFO] [stdout] | [INFO] [stdout] 205 | unsafe extern "system" fn ctrl_c_handler(ctrl_type: signal::DWORD) -> signal::BOOL { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `signal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `signal`, use `cargo add signal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bbc_em` (lib) due to 13 previous errors; 29 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/video/mod.rs:237:21 [INFO] [stdout] | [INFO] [stdout] 237 | _ => { break; } [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/video/mod.rs:237:21 [INFO] [stdout] | [INFO] [stdout] 151 | VideoState::NotInitialized => { [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 169 | VideoState::NewFrame(start_addr) => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 172 | VideoState::DisplayingLine(line_addr, l, c, sl) => { [INFO] [stdout] | ----------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 223 | VideoState::EndOfLine(next_line_addr, lines_displayed) => { [INFO] [stdout] | ------------------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 237 | _ => { break; } [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/video/mod.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | Some((addr, val)) if addr == 0xfe21 => log_video!("ULA: Palette register set to {:02x} ({:08b})", val, val), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/video/mod.rs:91:46 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn step(&mut self, cycles: usize, mut mem: M, fb: &mut FrameBuffer) [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: unused variable: `read` [INFO] [stdout] --> src/via/system.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | ... read: Option, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_eval` [INFO] [stdout] --> src/via/system.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | ... key_eval: K) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_eval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keynum` [INFO] [stdout] --> src/via/system.rs:166:29 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn keyup(&mut self, keynum: u32) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_keynum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/via/registers.rs:117:40 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn write_port_a1_io(&mut self, val: u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `signal` [INFO] [stdout] --> src/debugger/frontend.rs:205:53 [INFO] [stdout] | [INFO] [stdout] 205 | unsafe extern "system" fn ctrl_c_handler(ctrl_type: signal::DWORD) -> signal::BOOL { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `signal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `signal`, use `cargo add signal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `signal` [INFO] [stdout] --> src/debugger/frontend.rs:205:71 [INFO] [stdout] | [INFO] [stdout] 205 | unsafe extern "system" fn ctrl_c_handler(ctrl_type: signal::DWORD) -> signal::BOOL { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `signal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `signal`, use `cargo add signal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bbc_em` (lib test) due to 13 previous errors; 29 warnings emitted [INFO] running `Command { std: "docker" "inspect" "04f82507bdc551b12bae3b70d670fcc0b7a1f89706d38942bd25a20235e105d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04f82507bdc551b12bae3b70d670fcc0b7a1f89706d38942bd25a20235e105d6", kill_on_drop: false }` [INFO] [stdout] 04f82507bdc551b12bae3b70d670fcc0b7a1f89706d38942bd25a20235e105d6