[INFO] cloning repository https://github.com/Hattomo/riscv-emu
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hattomo/riscv-emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHattomo%2Friscv-emu", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHattomo%2Friscv-emu'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4f5cd12acdc8568ad723fe9575e2055dc2db6b83
[INFO] testing Hattomo/riscv-emu against beta-2023-04-20 for beta-1.70-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHattomo%2Friscv-emu" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Hattomo/riscv-emu on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Hattomo/riscv-emu
[INFO] finished tweaking git repo https://github.com/Hattomo/riscv-emu
[INFO] tweaked toml for git repo https://github.com/Hattomo/riscv-emu written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Hattomo/riscv-emu 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" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e0374774e6f9e4e17418365d37c84fb9b5c8adb8d6012963d0b8ee4af98a6d26
[INFO] running `Command { std: "docker" "start" "-a" "e0374774e6f9e4e17418365d37c84fb9b5c8adb8d6012963d0b8ee4af98a6d26", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e0374774e6f9e4e17418365d37c84fb9b5c8adb8d6012963d0b8ee4af98a6d26", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e0374774e6f9e4e17418365d37c84fb9b5c8adb8d6012963d0b8ee4af98a6d26", kill_on_drop: false }`
[INFO] [stdout] e0374774e6f9e4e17418365d37c84fb9b5c8adb8d6012963d0b8ee4af98a6d26
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c4209d77b598f03b6429bfe6616ef273db1634d57a20d47b51384db31989dc0b
[INFO] running `Command { std: "docker" "start" "-a" "c4209d77b598f03b6429bfe6616ef273db1634d57a20d47b51384db31989dc0b", kill_on_drop: false }`
[INFO] [stderr]    Compiling riscvemu v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `crate::virtio`
[INFO] [stdout]  --> src/cpu.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::virtio::*;
[INFO] [stdout]   |            ^^^^^^ could not find `virtio` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::virtio`
[INFO] [stdout]  --> src/bus.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::virtio::*;
[INFO] [stdout]   |            ^^^^^^ could not find `virtio` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interrupt`
[INFO] [stdout]    --> src/cpu.rs:211:25
[INFO] [stdout]     |
[INFO] [stdout] 211 |             return Some(Interrupt::MachineExternalInterrupt);
[INFO] [stdout]     |                         ^^^^^^^^^ use of undeclared type `Interrupt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interrupt`
[INFO] [stdout]    --> src/cpu.rs:215:25
[INFO] [stdout]     |
[INFO] [stdout] 215 |             return Some(Interrupt::MachineSoftwareInterrupt);
[INFO] [stdout]     |                         ^^^^^^^^^ use of undeclared type `Interrupt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interrupt`
[INFO] [stdout]    --> src/cpu.rs:219:25
[INFO] [stdout]     |
[INFO] [stdout] 219 |             return Some(Interrupt::MachineTimerInterrupt);
[INFO] [stdout]     |                         ^^^^^^^^^ use of undeclared type `Interrupt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interrupt`
[INFO] [stdout]    --> src/cpu.rs:223:25
[INFO] [stdout]     |
[INFO] [stdout] 223 |             return Some(Interrupt::SupervisorExternalInterrupt);
[INFO] [stdout]     |                         ^^^^^^^^^ use of undeclared type `Interrupt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interrupt`
[INFO] [stdout]    --> src/cpu.rs:227:25
[INFO] [stdout]     |
[INFO] [stdout] 227 |             return Some(Interrupt::SupervisorSoftwareInterrupt);
[INFO] [stdout]     |                         ^^^^^^^^^ use of undeclared type `Interrupt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interrupt`
[INFO] [stdout]    --> src/cpu.rs:231:25
[INFO] [stdout]     |
[INFO] [stdout] 231 |             return Some(Interrupt::SupervisorTimerInterrupt);
[INFO] [stdout]     |                         ^^^^^^^^^ use of undeclared type `Interrupt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ordering`
[INFO] [stdout]   --> src/uart.rs:81:53
[INFO] [stdout]    |
[INFO] [stdout] 81 |                     cloned_interrupting.store(true, Ordering::Release);
[INFO] [stdout]    |                                                     ^^^^^^^^ use of undeclared type `Ordering`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ordering`
[INFO] [stdout]   --> src/uart.rs:95:39
[INFO] [stdout]    |
[INFO] [stdout] 95 |         self.interrupting.swap(false, Ordering::Acquire);
[INFO] [stdout]    |                                       ^^^^^^^^ use of undeclared type `Ordering`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Interrupt` in this scope
[INFO] [stdout]    --> src/cpu.rs:164:57
[INFO] [stdout]     |
[INFO] [stdout] 164 |     pub fn check_pending_interrupt(&mut self) -> Option<Interrupt> {
[INFO] [stdout]     |                                                         ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl<Interrupt> Cpu{
[INFO] [stdout]     |     +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MIP` in this scope
[INFO] [stdout]    --> src/cpu.rs:196:23
[INFO] [stdout]     |
[INFO] [stdout] 25  | pub const MIE: usize = 0x304;
[INFO] [stdout]     | ----------------------------- similarly named constant `MIE` defined here
[INFO] [stdout] ...
[INFO] [stdout] 196 |             self.csrs[MIP] = self.csrs[MIP] | MIP_SEIP;
[INFO] [stdout]     |                       ^^^ help: a constant with a similar name exists: `MIE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MIP` in this scope
[INFO] [stdout]    --> src/cpu.rs:196:40
[INFO] [stdout]     |
[INFO] [stdout] 25  | pub const MIE: usize = 0x304;
[INFO] [stdout]     | ----------------------------- similarly named constant `MIE` defined here
[INFO] [stdout] ...
[INFO] [stdout] 196 |             self.csrs[MIP] = self.csrs[MIP] | MIP_SEIP;
[INFO] [stdout]     |                                        ^^^ help: a constant with a similar name exists: `MIE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MIP` in this scope
[INFO] [stdout]    --> src/cpu.rs:207:50
[INFO] [stdout]     |
[INFO] [stdout] 25  | pub const MIE: usize = 0x304;
[INFO] [stdout]     | ----------------------------- similarly named constant `MIE` defined here
[INFO] [stdout] ...
[INFO] [stdout] 207 |         let pending = self.csrs[MIE] & self.csrs[MIP];
[INFO] [stdout]     |                                                  ^^^ help: a constant with a similar name exists: `MIE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MIP` in this scope
[INFO] [stdout]    --> src/cpu.rs:210:23
[INFO] [stdout]     |
[INFO] [stdout] 25  | pub const MIE: usize = 0x304;
[INFO] [stdout]     | ----------------------------- similarly named constant `MIE` defined here
[INFO] [stdout] ...
[INFO] [stdout] 210 |             self.csrs[MIP] = self.csrs[MIP] & !MIP_MEIP;
[INFO] [stdout]     |                       ^^^ help: a constant with a similar name exists: `MIE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MIP` in this scope
[INFO] [stdout]    --> src/cpu.rs:210:40
[INFO] [stdout]     |
[INFO] [stdout] 25  | pub const MIE: usize = 0x304;
[INFO] [stdout]     | ----------------------------- similarly named constant `MIE` defined here
[INFO] [stdout] ...
[INFO] [stdout] 210 |             self.csrs[MIP] = self.csrs[MIP] & !MIP_MEIP;
[INFO] [stdout]     |                                        ^^^ help: a constant with a similar name exists: `MIE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MIP` in this scope
[INFO] [stdout]    --> src/cpu.rs:214:23
[INFO] [stdout]     |
[INFO] [stdout] 25  | pub const MIE: usize = 0x304;
[INFO] [stdout]     | ----------------------------- similarly named constant `MIE` defined here
[INFO] [stdout] ...
[INFO] [stdout] 214 |             self.csrs[MIP] = self.csrs[MIP] & !MIP_MSIP;
[INFO] [stdout]     |                       ^^^ help: a constant with a similar name exists: `MIE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MIP` in this scope
[INFO] [stdout]    --> src/cpu.rs:214:40
[INFO] [stdout]     |
[INFO] [stdout] 25  | pub const MIE: usize = 0x304;
[INFO] [stdout]     | ----------------------------- similarly named constant `MIE` defined here
[INFO] [stdout] ...
[INFO] [stdout] 214 |             self.csrs[MIP] = self.csrs[MIP] & !MIP_MSIP;
[INFO] [stdout]     |                                        ^^^ help: a constant with a similar name exists: `MIE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MIP` in this scope
[INFO] [stdout]    --> src/cpu.rs:218:23
[INFO] [stdout]     |
[INFO] [stdout] 25  | pub const MIE: usize = 0x304;
[INFO] [stdout]     | ----------------------------- similarly named constant `MIE` defined here
[INFO] [stdout] ...
[INFO] [stdout] 218 |             self.csrs[MIP] = self.csrs[MIP] & !MIP_MTIP;
[INFO] [stdout]     |                       ^^^ help: a constant with a similar name exists: `MIE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MIP` in this scope
[INFO] [stdout]    --> src/cpu.rs:218:40
[INFO] [stdout]     |
[INFO] [stdout] 25  | pub const MIE: usize = 0x304;
[INFO] [stdout]     | ----------------------------- similarly named constant `MIE` defined here
[INFO] [stdout] ...
[INFO] [stdout] 218 |             self.csrs[MIP] = self.csrs[MIP] & !MIP_MTIP;
[INFO] [stdout]     |                                        ^^^ help: a constant with a similar name exists: `MIE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MIP` in this scope
[INFO] [stdout]    --> src/cpu.rs:222:23
[INFO] [stdout]     |
[INFO] [stdout] 25  | pub const MIE: usize = 0x304;
[INFO] [stdout]     | ----------------------------- similarly named constant `MIE` defined here
[INFO] [stdout] ...
[INFO] [stdout] 222 |             self.csrs[MIP] = self.csrs[MIP] & !MIP_SEIP;
[INFO] [stdout]     |                       ^^^ help: a constant with a similar name exists: `MIE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MIP` in this scope
[INFO] [stdout]    --> src/cpu.rs:222:40
[INFO] [stdout]     |
[INFO] [stdout] 25  | pub const MIE: usize = 0x304;
[INFO] [stdout]     | ----------------------------- similarly named constant `MIE` defined here
[INFO] [stdout] ...
[INFO] [stdout] 222 |             self.csrs[MIP] = self.csrs[MIP] & !MIP_SEIP;
[INFO] [stdout]     |                                        ^^^ help: a constant with a similar name exists: `MIE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MIP` in this scope
[INFO] [stdout]    --> src/cpu.rs:226:23
[INFO] [stdout]     |
[INFO] [stdout] 25  | pub const MIE: usize = 0x304;
[INFO] [stdout]     | ----------------------------- similarly named constant `MIE` defined here
[INFO] [stdout] ...
[INFO] [stdout] 226 |             self.csrs[MIP] = self.csrs[MIP] & !MIP_SSIP;
[INFO] [stdout]     |                       ^^^ help: a constant with a similar name exists: `MIE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MIP` in this scope
[INFO] [stdout]    --> src/cpu.rs:226:40
[INFO] [stdout]     |
[INFO] [stdout] 25  | pub const MIE: usize = 0x304;
[INFO] [stdout]     | ----------------------------- similarly named constant `MIE` defined here
[INFO] [stdout] ...
[INFO] [stdout] 226 |             self.csrs[MIP] = self.csrs[MIP] & !MIP_SSIP;
[INFO] [stdout]     |                                        ^^^ help: a constant with a similar name exists: `MIE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MIP` in this scope
[INFO] [stdout]    --> src/cpu.rs:230:23
[INFO] [stdout]     |
[INFO] [stdout] 25  | pub const MIE: usize = 0x304;
[INFO] [stdout]     | ----------------------------- similarly named constant `MIE` defined here
[INFO] [stdout] ...
[INFO] [stdout] 230 |             self.csrs[MIP] = self.csrs[MIP] & !MIP_STIP;
[INFO] [stdout]     |                       ^^^ help: a constant with a similar name exists: `MIE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MIP` in this scope
[INFO] [stdout]    --> src/cpu.rs:230:40
[INFO] [stdout]     |
[INFO] [stdout] 25  | pub const MIE: usize = 0x304;
[INFO] [stdout]     | ----------------------------- similarly named constant `MIE` defined here
[INFO] [stdout] ...
[INFO] [stdout] 230 |             self.csrs[MIP] = self.csrs[MIP] & !MIP_STIP;
[INFO] [stdout]     |                                        ^^^ help: a constant with a similar name exists: `MIE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Virtio` in this scope
[INFO] [stdout]   --> src/bus.rs:45:17
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub virtio: Virtio,
[INFO] [stdout]    |                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `disk_image` in this scope
[INFO] [stdout]   --> src/bus.rs:56:33
[INFO] [stdout]    |
[INFO] [stdout] 56 |             virtio: Virtio::new(disk_image),
[INFO] [stdout]    |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc`
[INFO] [stdout]   --> src/uart.rs:59:20
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let uart = Arc::new((Mutex::new([0; UART_SIZE as usize]), Condvar::new()));
[INFO] [stdout]    |                    ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutex`
[INFO] [stdout]   --> src/uart.rs:59:30
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let uart = Arc::new((Mutex::new([0; UART_SIZE as usize]), Condvar::new()));
[INFO] [stdout]    |                              ^^^^^ use of undeclared type `Mutex`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  + use std::sync::Mutex;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Condvar`
[INFO] [stdout]   --> src/uart.rs:59:67
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let uart = Arc::new((Mutex::new([0; UART_SIZE as usize]), Condvar::new()));
[INFO] [stdout]    |                                                                   ^^^^^^^ use of undeclared type `Condvar`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  + use std::sync::Condvar;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc`
[INFO] [stdout]   --> src/uart.rs:60:28
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let interrupting = Arc::new(AtomicBool::new(false));
[INFO] [stdout]    |                            ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AtomicBool`
[INFO] [stdout]   --> src/uart.rs:60:37
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let interrupting = Arc::new(AtomicBool::new(false));
[INFO] [stdout]    |                                     ^^^^^^^^^^ use of undeclared type `AtomicBool`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 5  + use core::sync::atomic::AtomicBool;
[INFO] [stdout]    |
[INFO] [stdout] 5  + use std::sync::atomic::AtomicBool;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::memory::*`
[INFO] [stdout]  --> src/cpu.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::memory::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `Supervisor` found for enum `cpu::Mode` in the current scope
[INFO] [stdout]    --> src/cpu.rs:175:19
[INFO] [stdout]     |
[INFO] [stdout] 72  | pub enum Mode {
[INFO] [stdout]     | ------------- variant or associated item `Supervisor` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 175 |             Mode::Supervisor => {
[INFO] [stdout]     |                   ^^^^^^^^^^
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   variant or associated item not found in `cpu::Mode`
[INFO] [stdout]     |                   help: there is a variant with a similar name: `Surpervisor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Virtio`
[INFO] [stdout]   --> src/bus.rs:56:21
[INFO] [stdout]    |
[INFO] [stdout] 56 |             virtio: Virtio::new(disk_image),
[INFO] [stdout]    |                     ^^^^^^ use of undeclared type `Virtio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread`
[INFO] [stdout]   --> src/uart.rs:71:37
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let _uart_thread_for_read = thread::spawn(move || loop {
[INFO] [stdout]    |                                     ^^^^^^ use of undeclared crate or module `thread`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `uart::Uart` has no field named `uart`
[INFO] [stdout]   --> src/uart.rs:90:16
[INFO] [stdout]    |
[INFO] [stdout] 90 |         Self { uart, interrupting }
[INFO] [stdout]    |                ^^^^ `uart::Uart` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `buffer`, `lsr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `uart::Uart` has no field named `interrupting`
[INFO] [stdout]   --> src/uart.rs:90:22
[INFO] [stdout]    |
[INFO] [stdout] 90 |         Self { uart, interrupting }
[INFO] [stdout]    |                      ^^^^^^^^^^^^ `uart::Uart` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `buffer`, `lsr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `interrupting` on type `&uart::Uart`
[INFO] [stdout]   --> src/uart.rs:95:14
[INFO] [stdout]    |
[INFO] [stdout] 95 |         self.interrupting.swap(false, Ordering::Acquire);
[INFO] [stdout]    |              ^^^^^^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `buffer`, `lsr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/uart.rs:94:38
[INFO] [stdout]    |
[INFO] [stdout] 94 |     pub fn is_interrupting(&self) -> bool {
[INFO] [stdout]    |            ---------------           ^^^^ expected `bool`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `uart` on type `&mut uart::Uart`
[INFO] [stdout]    --> src/uart.rs:100:35
[INFO] [stdout]     |
[INFO] [stdout] 100 |         let (uart, cvar) = &*self.uart;
[INFO] [stdout]     |                                   ^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `buffer`, `lsr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `uart` on type `&mut uart::Uart`
[INFO] [stdout]    --> src/uart.rs:113:36
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let (uart, _cvar) = &*self.uart;
[INFO] [stdout]     |                                    ^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `buffer`, `lsr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 42 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0432, E0433, E0560, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `riscvemu` (bin "riscvemu") due to 43 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "c4209d77b598f03b6429bfe6616ef273db1634d57a20d47b51384db31989dc0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c4209d77b598f03b6429bfe6616ef273db1634d57a20d47b51384db31989dc0b", kill_on_drop: false }`
[INFO] [stdout] c4209d77b598f03b6429bfe6616ef273db1634d57a20d47b51384db31989dc0b
