[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] testing gmbeard/bbc-em against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmbeard%2Fbbc-em" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gmbeard/bbc-em on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1/source/Cargo.toml [INFO] crate git repo https://github.com/gmbeard/bbc-em already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded kernel32-sys v0.1.4 [INFO] [stderr] Downloaded libc v0.2.31 [INFO] [stderr] Downloaded minifb v0.10.3 [INFO] [stderr] Downloaded orbclient v0.3.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2e46f9295ec45fe35c9b1d72fb9b085cdaeb97ae7e6126ad9c57d8bb97291455 [INFO] running `Command { std: "docker" "start" "-a" "2e46f9295ec45fe35c9b1d72fb9b085cdaeb97ae7e6126ad9c57d8bb97291455", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e46f9295ec45fe35c9b1d72fb9b085cdaeb97ae7e6126ad9c57d8bb97291455", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e46f9295ec45fe35c9b1d72fb9b085cdaeb97ae7e6126ad9c57d8bb97291455", kill_on_drop: false }` [INFO] [stdout] 2e46f9295ec45fe35c9b1d72fb9b085cdaeb97ae7e6126ad9c57d8bb97291455 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8e1299855df52f90f64a0ffea43f72cd877fc7869a5007ffddcb408bb85cee8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f8e1299855df52f90f64a0ffea43f72cd877fc7869a5007ffddcb408bb85cee8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.31 [INFO] [stderr] Compiling glyphs v0.1.0 (/opt/rustwide/workdir/glyphs) [INFO] [stderr] Compiling x11-dl v2.14.0 [INFO] [stderr] Compiling minifb v0.10.3 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling time v0.1.38 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling regex v0.2.2 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling bbc_em v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `signal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `signal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `signal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `signal` [INFO] [stdout] --> src/debugger/frontend.rs:210:16 [INFO] [stdout] | [INFO] [stdout] 210 | return signal::TRUE [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `signal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `signal` [INFO] [stdout] --> src/debugger/frontend.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | signal::FALSE [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `signal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `signal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `signal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `signal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `signal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `signal` [INFO] [stdout] --> src/debugger/frontend.rs:269:18 [INFO] [stdout] | [INFO] [stdout] 269 | unsafe { signal::SetConsoleCtrlHandler(None, signal::TRUE) }; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `signal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `signal` [INFO] [stdout] --> src/debugger/frontend.rs:269:54 [INFO] [stdout] | [INFO] [stdout] 269 | unsafe { signal::SetConsoleCtrlHandler(None, signal::TRUE) }; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `signal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `signal` [INFO] [stdout] --> src/debugger/frontend.rs:278:18 [INFO] [stdout] | [INFO] [stdout] 278 | unsafe { signal::SetConsoleCtrlHandler(None, signal::FALSE) }; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `signal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `signal` [INFO] [stdout] --> src/debugger/frontend.rs:278:54 [INFO] [stdout] | [INFO] [stdout] 278 | unsafe { signal::SetConsoleCtrlHandler(None, signal::FALSE) }; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `signal` [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: `...` 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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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: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] = note: `#[warn(unused_parens)]` on by default [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 associated function `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 associated function `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 associated function `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] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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: aborting due to 13 previous errors; 19 warnings emitted [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` due to 14 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f8e1299855df52f90f64a0ffea43f72cd877fc7869a5007ffddcb408bb85cee8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8e1299855df52f90f64a0ffea43f72cd877fc7869a5007ffddcb408bb85cee8", kill_on_drop: false }` [INFO] [stdout] f8e1299855df52f90f64a0ffea43f72cd877fc7869a5007ffddcb408bb85cee8