[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] checking Hattomo/riscv-emu against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHattomo%2Friscv-emu" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Hattomo/riscv-emu on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", 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-9/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: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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] 600a6d6c255bdb3b099c3a953fbc417d93cc5d56fa07779de99c9ec9f4db35af [INFO] running `Command { std: "docker" "start" "-a" "600a6d6c255bdb3b099c3a953fbc417d93cc5d56fa07779de99c9ec9f4db35af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "600a6d6c255bdb3b099c3a953fbc417d93cc5d56fa07779de99c9ec9f4db35af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "600a6d6c255bdb3b099c3a953fbc417d93cc5d56fa07779de99c9ec9f4db35af", kill_on_drop: false }` [INFO] [stdout] 600a6d6c255bdb3b099c3a953fbc417d93cc5d56fa07779de99c9ec9f4db35af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e4e42cae9a63a3fbcf86b68589ad139bc3be09a9bdb4de35be99cc9b4d971d9 [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" "8e4e42cae9a63a3fbcf86b68589ad139bc3be09a9bdb4de35be99cc9b4d971d9", kill_on_drop: false }` [INFO] [stderr] Checking 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] | ^^^^^^ maybe a missing crate `virtio`? [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] | ^^^^^^ maybe a missing crate `virtio`? [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^^ maybe a missing crate `virtio`? [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] | ^^^^^^ maybe a missing crate `virtio`? [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 `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[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] 100 | impl Cpu{ [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn check_pending_interrupt(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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[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[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[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[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[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[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 `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 `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] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::io::sys::ext::net::sys_common::wtf8::Arc; [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] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::io::sys::ext::net::sys_common::backtrace::Mutex; [INFO] [stdout] | [INFO] [stdout] 5 | use crate::io::sys::ext::net::sys_common::util::thread::panic::Mutex; [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] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::io::sys::condvar::Condvar; [INFO] [stdout] | [INFO] [stdout] 5 | use crate::io::sys::ext::net::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::sync::Condvar; [INFO] [stdout] | [INFO] [stdout] 5 | use crate::io::sys::ext::net::sys_common::condvar::Condvar; [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] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::io::sys::ext::net::sys_common::wtf8::Arc; [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] | ^^^^^^^^^^ not found in this scope [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 crate::io::sys::rand::mem::intrinsics::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[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[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] 100 | impl Cpu{ [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn check_pending_interrupt(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::io::sys::ext::net::sys_common::wtf8::Arc; [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] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::io::sys::ext::net::sys_common::backtrace::Mutex; [INFO] [stdout] | [INFO] [stdout] 5 | use crate::io::sys::ext::net::sys_common::util::thread::panic::Mutex; [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] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::io::sys::condvar::Condvar; [INFO] [stdout] | [INFO] [stdout] 5 | use crate::io::sys::ext::net::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::sync::Condvar; [INFO] [stdout] | [INFO] [stdout] 5 | use crate::io::sys::ext::net::sys_common::condvar::Condvar; [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] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::io::sys::ext::net::sys_common::wtf8::Arc; [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] | ^^^^^^^^^^ not found in this scope [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 crate::io::sys::rand::mem::intrinsics::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 here [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[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 here [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[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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stderr] error: build failed [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] running `Command { std: "docker" "inspect" "8e4e42cae9a63a3fbcf86b68589ad139bc3be09a9bdb4de35be99cc9b4d971d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e4e42cae9a63a3fbcf86b68589ad139bc3be09a9bdb4de35be99cc9b4d971d9", kill_on_drop: false }` [INFO] [stdout] 8e4e42cae9a63a3fbcf86b68589ad139bc3be09a9bdb4de35be99cc9b4d971d9