[INFO] cloning repository https://github.com/zrthxn/pios [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zrthxn/pios" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzrthxn%2Fpios", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzrthxn%2Fpios'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a02c218dee6534ea2646d8d1f3b3145b54e8f2e3 [INFO] checking zrthxn/pios against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzrthxn%2Fpios" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zrthxn/pios on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/zrthxn/pios [INFO] finished tweaking git repo https://github.com/zrthxn/pios [INFO] tweaked toml for git repo https://github.com/zrthxn/pios written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/zrthxn/pios 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aligned v0.4.0 [INFO] [stderr] Downloaded cortex-a v7.0.1 [INFO] [stderr] Downloaded tock-registers v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45923e2e22371db219973083f22edd76297d9bafb6d71a96843f6d86a8a7ce2f [INFO] running `Command { std: "docker" "start" "-a" "45923e2e22371db219973083f22edd76297d9bafb6d71a96843f6d86a8a7ce2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45923e2e22371db219973083f22edd76297d9bafb6d71a96843f6d86a8a7ce2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45923e2e22371db219973083f22edd76297d9bafb6d71a96843f6d86a8a7ce2f", kill_on_drop: false }` [INFO] [stdout] 45923e2e22371db219973083f22edd76297d9bafb6d71a96843f6d86a8a7ce2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 967ac51f9fab5140f78c793c650f57454020f7a2ba8b2d3c998eeb18fb410628 [INFO] running `Command { std: "docker" "start" "-a" "967ac51f9fab5140f78c793c650f57454020f7a2ba8b2d3c998eeb18fb410628", kill_on_drop: false }` [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking as-slice v0.2.1 [INFO] [stderr] Checking aligned v0.4.0 [INFO] [stderr] Checking pios v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_a` [INFO] [stdout] --> src/arch/boot.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cortex_a::{asm, registers::*}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_a` [INFO] [stdout] --> src/arch/exception.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cortex_a::registers::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_a` [INFO] [stdout] --> src/arch/time.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_a::{asm::barrier, registers::*}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `raspi` [INFO] [stdout] --> src/bsp/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use raspi::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `raspi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_a` [INFO] [stdout] --> src/arch/exception.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | use cortex_a::registers::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tock_registers` [INFO] [stdout] --> src/bsp/devices/uart.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tock_registers::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `tock_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cortex_a` [INFO] [stdout] --> src/arch/cpu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cortex_a::asm; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_a` [INFO] [stdout] --> src/arch/boot.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cortex_a::{asm, registers::*}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tock_registers` [INFO] [stdout] --> src/bsp/devices/mailbox.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tock_registers::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `tock_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tock_registers` [INFO] [stdout] --> src/bsp/devices/uart.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tock_registers::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `tock_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_a` [INFO] [stdout] --> src/arch/exception.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cortex_a::registers::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_a` [INFO] [stdout] --> src/arch/time.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_a::{asm::barrier, registers::*}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `raspi` [INFO] [stdout] --> src/bsp/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use raspi::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `raspi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_a` [INFO] [stdout] --> src/arch/exception.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | use cortex_a::registers::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tock_registers` [INFO] [stdout] --> src/bsp/devices/uart.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tock_registers::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `tock_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cortex_a` [INFO] [stdout] --> src/arch/cpu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cortex_a::asm; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tock_registers` [INFO] [stdout] --> src/bsp/devices/mailbox.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tock_registers::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `tock_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tock_registers` [INFO] [stdout] --> src/bsp/devices/uart.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tock_registers::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `tock_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `raspi` in `bsp` [INFO] [stdout] --> src/bsp/devices/gpu.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | use bsp::raspi::video::{VIDEO, VIDEO::RESOLUTION}; [INFO] [stdout] | ^^^^^ could not find `raspi` in `bsp` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/bsp/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod raspi; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `raspi` in `bsp` [INFO] [stdout] --> src/bsp/devices/gpu.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | use bsp::raspi::video::{VIDEO, VIDEO::RESOLUTION}; [INFO] [stdout] | ^^^^^ could not find `raspi` in `bsp` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/bsp/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod raspi; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tock_registers` [INFO] [stdout] --> src/bsp/devices/mailbox.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tock_registers::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `tock_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tock_registers` [INFO] [stdout] --> src/arch/boot.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tock_registers::interfaces::Writeable; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `tock_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tock_registers` [INFO] [stdout] --> src/bsp/devices/mailbox.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tock_registers::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `tock_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tock_registers` [INFO] [stdout] --> src/arch/exception.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tock_registers::interfaces::Readable; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `tock_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tock_registers` [INFO] [stdout] --> src/arch/boot.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tock_registers::interfaces::Writeable; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `tock_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tock_registers` [INFO] [stdout] --> src/arch/exception.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | use tock_registers::interfaces::Readable; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `tock_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tock_registers` [INFO] [stdout] --> src/arch/exception.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tock_registers::interfaces::Readable; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `tock_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tock_registers` [INFO] [stdout] --> src/arch/time.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tock_registers::interfaces::{ReadWriteable, Readable, Writeable}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `tock_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tock_registers` [INFO] [stdout] --> src/arch/exception.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | use tock_registers::interfaces::Readable; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `tock_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tock_registers` [INFO] [stdout] --> src/arch/time.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tock_registers::interfaces::{ReadWriteable, Readable, Writeable}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `tock_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cortex_a` [INFO] [stdout] --> src/arch/boot.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cortex_a::{asm, registers::*}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cortex_a` [INFO] [stdout] --> src/arch/boot.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cortex_a::{asm, registers::*}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::bsp::GPU` [INFO] [stdout] --> src/console/text.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::bsp::GPU; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `GPU` in `bsp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 3 | use crate::bsp::devices::gpu::GPU; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::bsp::GPU` [INFO] [stdout] --> src/console/text.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::bsp::GPU; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `GPU` in `bsp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 3 | use crate::bsp::devices::gpu::GPU; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::bsp::drivers` [INFO] [stdout] --> src/main.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | use crate::bsp::drivers::manager; [INFO] [stdout] | ^^^^^^^ could not find `drivers` in `bsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::bsp::drivers` [INFO] [stdout] --> src/main.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | use crate::bsp::drivers::manager; [INFO] [stdout] | ^^^^^^^ could not find `drivers` in `bsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ICR` [INFO] [stdout] --> src/bsp/devices/uart.rs:228:30 [INFO] [stdout] | [INFO] [stdout] 228 | self.registers.ICR.write(ICR::ALL::CLEAR); [INFO] [stdout] | ^^^ use of undeclared type `ICR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ICR` [INFO] [stdout] --> src/bsp/devices/uart.rs:228:30 [INFO] [stdout] | [INFO] [stdout] 228 | self.registers.ICR.write(ICR::ALL::CLEAR); [INFO] [stdout] | ^^^ use of undeclared type `ICR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LCR_H` [INFO] [stdout] --> src/bsp/devices/uart.rs:241:14 [INFO] [stdout] | [INFO] [stdout] 241 | .write(LCR_H::WLEN::EightBit + LCR_H::FEN::FifosEnabled); [INFO] [stdout] | ^^^^^ use of undeclared type `LCR_H` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LCR_H` [INFO] [stdout] --> src/bsp/devices/uart.rs:241:14 [INFO] [stdout] | [INFO] [stdout] 241 | .write(LCR_H::WLEN::EightBit + LCR_H::FEN::FifosEnabled); [INFO] [stdout] | ^^^^^ use of undeclared type `LCR_H` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LCR_H` [INFO] [stdout] --> src/bsp/devices/uart.rs:241:38 [INFO] [stdout] | [INFO] [stdout] 241 | .write(LCR_H::WLEN::EightBit + LCR_H::FEN::FifosEnabled); [INFO] [stdout] | ^^^^^ use of undeclared type `LCR_H` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LCR_H` [INFO] [stdout] --> src/bsp/devices/uart.rs:241:38 [INFO] [stdout] | [INFO] [stdout] 241 | .write(LCR_H::WLEN::EightBit + LCR_H::FEN::FifosEnabled); [INFO] [stdout] | ^^^^^ use of undeclared type `LCR_H` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CR` [INFO] [stdout] --> src/bsp/devices/uart.rs:246:14 [INFO] [stdout] | [INFO] [stdout] 246 | .write(CR::UARTEN::Enabled + CR::TXE::Enabled + CR::RXE::Enabled); [INFO] [stdout] | ^^ use of undeclared type `CR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CR` [INFO] [stdout] --> src/bsp/devices/uart.rs:246:14 [INFO] [stdout] | [INFO] [stdout] 246 | .write(CR::UARTEN::Enabled + CR::TXE::Enabled + CR::RXE::Enabled); [INFO] [stdout] | ^^ use of undeclared type `CR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CR` [INFO] [stdout] --> src/bsp/devices/uart.rs:246:36 [INFO] [stdout] | [INFO] [stdout] 246 | .write(CR::UARTEN::Enabled + CR::TXE::Enabled + CR::RXE::Enabled); [INFO] [stdout] | ^^ use of undeclared type `CR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CR` [INFO] [stdout] --> src/bsp/devices/uart.rs:246:36 [INFO] [stdout] | [INFO] [stdout] 246 | .write(CR::UARTEN::Enabled + CR::TXE::Enabled + CR::RXE::Enabled); [INFO] [stdout] | ^^ use of undeclared type `CR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CR` [INFO] [stdout] --> src/bsp/devices/uart.rs:246:55 [INFO] [stdout] | [INFO] [stdout] 246 | .write(CR::UARTEN::Enabled + CR::TXE::Enabled + CR::RXE::Enabled); [INFO] [stdout] | ^^ use of undeclared type `CR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CR` [INFO] [stdout] --> src/bsp/devices/uart.rs:246:55 [INFO] [stdout] | [INFO] [stdout] 246 | .write(CR::UARTEN::Enabled + CR::TXE::Enabled + CR::RXE::Enabled); [INFO] [stdout] | ^^ use of undeclared type `CR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FR` [INFO] [stdout] --> src/bsp/devices/uart.rs:252:41 [INFO] [stdout] | [INFO] [stdout] 252 | while self.registers.FR.matches_all(FR::TXFF::SET) { [INFO] [stdout] | ^^ use of undeclared type `FR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FR` [INFO] [stdout] --> src/bsp/devices/uart.rs:252:41 [INFO] [stdout] | [INFO] [stdout] 252 | while self.registers.FR.matches_all(FR::TXFF::SET) { [INFO] [stdout] | ^^ use of undeclared type `FR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FR` [INFO] [stdout] --> src/bsp/devices/uart.rs:265:41 [INFO] [stdout] | [INFO] [stdout] 265 | while self.registers.FR.matches_all(FR::BUSY::SET) { [INFO] [stdout] | ^^ use of undeclared type `FR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FR` [INFO] [stdout] --> src/bsp/devices/uart.rs:265:41 [INFO] [stdout] | [INFO] [stdout] 265 | while self.registers.FR.matches_all(FR::BUSY::SET) { [INFO] [stdout] | ^^ use of undeclared type `FR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FR` [INFO] [stdout] --> src/bsp/devices/uart.rs:273:38 [INFO] [stdout] | [INFO] [stdout] 273 | if self.registers.FR.matches_all(FR::RXFE::SET) { [INFO] [stdout] | ^^ use of undeclared type `FR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FR` [INFO] [stdout] --> src/bsp/devices/uart.rs:273:38 [INFO] [stdout] | [INFO] [stdout] 273 | if self.registers.FR.matches_all(FR::RXFE::SET) { [INFO] [stdout] | ^^ use of undeclared type `FR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FR` [INFO] [stdout] --> src/bsp/devices/uart.rs:280:43 [INFO] [stdout] | [INFO] [stdout] 280 | while self.registers.FR.matches_all(FR::RXFE::SET) { [INFO] [stdout] | ^^ use of undeclared type `FR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FR` [INFO] [stdout] --> src/bsp/devices/uart.rs:280:43 [INFO] [stdout] | [INFO] [stdout] 280 | while self.registers.FR.matches_all(FR::RXFE::SET) { [INFO] [stdout] | ^^ use of undeclared type `FR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `READ_STATUS` [INFO] [stdout] --> src/bsp/devices/mailbox.rs:86:47 [INFO] [stdout] | [INFO] [stdout] 86 | if self.registers.READ_STATUS.matches_all(READ_STATUS::READ_EMPTY::SET) { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `READ_STATUS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `READ_STATUS` [INFO] [stdout] --> src/bsp/devices/mailbox.rs:86:47 [INFO] [stdout] | [INFO] [stdout] 86 | if self.registers.READ_STATUS.matches_all(READ_STATUS::READ_EMPTY::SET) { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `READ_STATUS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WRITE_STATUS` [INFO] [stdout] --> src/bsp/devices/mailbox.rs:107:51 [INFO] [stdout] | [INFO] [stdout] 107 | while self.registers.WRITE_STATUS.matches_all(WRITE_STATUS::WRITE_FULL::SET) { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `WRITE_STATUS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WRITE_STATUS` [INFO] [stdout] --> src/bsp/devices/mailbox.rs:107:51 [INFO] [stdout] | [INFO] [stdout] 107 | while self.registers.WRITE_STATUS.matches_all(WRITE_STATUS::WRITE_FULL::SET) { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `WRITE_STATUS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CNTHCTL_EL2` [INFO] [stdout] --> src/arch/boot.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | CNTHCTL_EL2.write(CNTHCTL_EL2::EL1PCEN::SET + CNTHCTL_EL2::EL1PCTEN::SET); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CNTHCTL_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CNTHCTL_EL2` [INFO] [stdout] --> src/arch/boot.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | CNTHCTL_EL2.write(CNTHCTL_EL2::EL1PCEN::SET + CNTHCTL_EL2::EL1PCTEN::SET); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CNTHCTL_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CNTHCTL_EL2` [INFO] [stdout] --> src/arch/boot.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | CNTHCTL_EL2.write(CNTHCTL_EL2::EL1PCEN::SET + CNTHCTL_EL2::EL1PCTEN::SET); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CNTHCTL_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CNTHCTL_EL2` [INFO] [stdout] --> src/arch/boot.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | CNTHCTL_EL2.write(CNTHCTL_EL2::EL1PCEN::SET + CNTHCTL_EL2::EL1PCTEN::SET); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CNTHCTL_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HCR_EL2` [INFO] [stdout] --> src/arch/boot.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | HCR_EL2.write(HCR_EL2::RW::EL1IsAarch64); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HCR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HCR_EL2` [INFO] [stdout] --> src/arch/boot.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | HCR_EL2.write(HCR_EL2::RW::EL1IsAarch64); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HCR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SPSR_EL2` [INFO] [stdout] --> src/arch/boot.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | SPSR_EL2::D::Masked [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SPSR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SPSR_EL2` [INFO] [stdout] --> src/arch/boot.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | SPSR_EL2::D::Masked [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SPSR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SPSR_EL2` [INFO] [stdout] --> src/arch/boot.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | + SPSR_EL2::A::Masked [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SPSR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SPSR_EL2` [INFO] [stdout] --> src/arch/boot.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | + SPSR_EL2::A::Masked [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SPSR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SPSR_EL2` [INFO] [stdout] --> src/arch/boot.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | + SPSR_EL2::I::Masked [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SPSR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SPSR_EL2` [INFO] [stdout] --> src/arch/boot.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | + SPSR_EL2::I::Masked [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SPSR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SPSR_EL2` [INFO] [stdout] --> src/arch/boot.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | + SPSR_EL2::F::Masked [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SPSR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SPSR_EL2` [INFO] [stdout] --> src/arch/boot.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | + SPSR_EL2::F::Masked [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SPSR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SPSR_EL2` [INFO] [stdout] --> src/arch/boot.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | + SPSR_EL2::M::EL1h, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SPSR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SPSR_EL2` [INFO] [stdout] --> src/arch/boot.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | + SPSR_EL2::M::EL1h, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SPSR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CurrentEL` [INFO] [stdout] --> src/arch/exception.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | Some(CurrentEL::EL::Value::EL2) => (PrivilegeLevel::Hypervisor, "EL2"), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CurrentEL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CurrentEL` [INFO] [stdout] --> src/arch/exception.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | Some(CurrentEL::EL::Value::EL2) => (PrivilegeLevel::Hypervisor, "EL2"), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CurrentEL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CurrentEL` [INFO] [stdout] --> src/arch/exception.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | Some(CurrentEL::EL::Value::EL1) => (PrivilegeLevel::Kernel, "EL1"), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CurrentEL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CurrentEL` [INFO] [stdout] --> src/arch/exception.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | Some(CurrentEL::EL::Value::EL1) => (PrivilegeLevel::Kernel, "EL1"), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CurrentEL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CurrentEL` [INFO] [stdout] --> src/arch/exception.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | Some(CurrentEL::EL::Value::EL0) => (PrivilegeLevel::User, "EL0"), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CurrentEL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CurrentEL` [INFO] [stdout] --> src/arch/exception.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | Some(CurrentEL::EL::Value::EL0) => (PrivilegeLevel::User, "EL0"), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CurrentEL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tock_registers` [INFO] [stdout] --> src/arch/exception.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | fn daif_field() -> tock_registers::fields::Field; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `tock_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tock_registers` [INFO] [stdout] --> src/arch/exception.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | fn daif_field() -> tock_registers::fields::Field; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `tock_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tock_registers` [INFO] [stdout] --> src/arch/exception.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | fn daif_field() -> tock_registers::fields::Field { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `tock_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tock_registers` [INFO] [stdout] --> src/arch/exception.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | fn daif_field() -> tock_registers::fields::Field { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `tock_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tock_registers` [INFO] [stdout] --> src/arch/exception.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | fn daif_field() -> tock_registers::fields::Field { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `tock_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tock_registers` [INFO] [stdout] --> src/arch/exception.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | fn daif_field() -> tock_registers::fields::Field { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `tock_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tock_registers` [INFO] [stdout] --> src/arch/exception.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | fn daif_field() -> tock_registers::fields::Field { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `tock_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tock_registers` [INFO] [stdout] --> src/arch/exception.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | fn daif_field() -> tock_registers::fields::Field { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `tock_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tock_registers` [INFO] [stdout] --> src/arch/exception.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | fn daif_field() -> tock_registers::fields::Field { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `tock_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tock_registers` [INFO] [stdout] --> src/arch/exception.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | fn daif_field() -> tock_registers::fields::Field { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `tock_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CNTP_CTL_EL0` [INFO] [stdout] --> src/arch/time.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | CNTP_CTL_EL0.modify(CNTP_CTL_EL0::ENABLE::SET + CNTP_CTL_EL0::IMASK::SET); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CNTP_CTL_EL0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CNTP_CTL_EL0` [INFO] [stdout] --> src/arch/time.rs:78:53 [INFO] [stdout] | [INFO] [stdout] 78 | CNTP_CTL_EL0.modify(CNTP_CTL_EL0::ENABLE::SET + CNTP_CTL_EL0::IMASK::SET); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CNTP_CTL_EL0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CNTP_CTL_EL0` [INFO] [stdout] --> src/arch/time.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | CNTP_CTL_EL0.modify(CNTP_CTL_EL0::ENABLE::SET + CNTP_CTL_EL0::IMASK::SET); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CNTP_CTL_EL0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CNTP_CTL_EL0` [INFO] [stdout] --> src/arch/time.rs:78:53 [INFO] [stdout] | [INFO] [stdout] 78 | CNTP_CTL_EL0.modify(CNTP_CTL_EL0::ENABLE::SET + CNTP_CTL_EL0::IMASK::SET); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CNTP_CTL_EL0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CNTP_CTL_EL0` [INFO] [stdout] --> src/arch/time.rs:81:37 [INFO] [stdout] | [INFO] [stdout] 81 | while !CNTP_CTL_EL0.matches_all(CNTP_CTL_EL0::ISTATUS::SET) {} [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CNTP_CTL_EL0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CNTP_CTL_EL0` [INFO] [stdout] --> src/arch/time.rs:81:37 [INFO] [stdout] | [INFO] [stdout] 81 | while !CNTP_CTL_EL0.matches_all(CNTP_CTL_EL0::ISTATUS::SET) {} [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CNTP_CTL_EL0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CNTP_CTL_EL0` [INFO] [stdout] --> src/arch/time.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | CNTP_CTL_EL0.modify(CNTP_CTL_EL0::ENABLE::CLEAR); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CNTP_CTL_EL0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `serial` in `bsp` [INFO] [stdout] --> src/panicinf.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe { bsp::serial::panic_serial().write_fmt(args).unwrap() }; [INFO] [stdout] | ^^^^^^ could not find `serial` in `bsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CNTP_CTL_EL0` [INFO] [stdout] --> src/arch/time.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | CNTP_CTL_EL0.modify(CNTP_CTL_EL0::ENABLE::CLEAR); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CNTP_CTL_EL0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `serial` in `bsp` [INFO] [stdout] --> src/panicinf.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe { bsp::serial::panic_serial().write_fmt(args).unwrap() }; [INFO] [stdout] | ^^^^^^ could not find `serial` in `bsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `serial` in `bsp` [INFO] [stdout] --> src/print.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | bsp::serial::serial().write_fmt(args).unwrap(); [INFO] [stdout] | ^^^^^^ could not find `serial` in `bsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `serial` in `bsp` [INFO] [stdout] --> src/print.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | bsp::serial::serial().write_fmt(args).unwrap(); [INFO] [stdout] | ^^^^^^ could not find `serial` in `bsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RegisterBlock` in this scope [INFO] [stdout] --> src/bsp/devices/uart.rs:160:35 [INFO] [stdout] | [INFO] [stdout] 160 | type Registers = MMIODerefWrapper; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 160 | type Registers = MMIODerefWrapper; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RegisterBlock` in this scope [INFO] [stdout] --> src/bsp/devices/mailbox.rs:66:35 [INFO] [stdout] | [INFO] [stdout] 66 | type Registers = MMIODerefWrapper; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 66 | type Registers = MMIODerefWrapper; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAILBOX` in module `bsp` [INFO] [stdout] --> src/bsp/devices/gpu.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | bsp::MAILBOX.set_screensize_msg([ [INFO] [stdout] | ^^^^^^^ not found in `bsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAILBOX` in module `bsp` [INFO] [stdout] --> src/bsp/devices/gpu.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | let (_buf, size) = bsp::MAILBOX.get_framebuffer_msg(); [INFO] [stdout] | ^^^^^^^ not found in `bsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CNTHCTL_EL2` in this scope [INFO] [stdout] --> src/arch/boot.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | CNTHCTL_EL2.write(CNTHCTL_EL2::EL1PCEN::SET + CNTHCTL_EL2::EL1PCTEN::SET); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CNTVOFF_EL2` in this scope [INFO] [stdout] --> src/arch/boot.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | CNTVOFF_EL2.set(0); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HCR_EL2` in this scope [INFO] [stdout] --> src/arch/boot.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | HCR_EL2.write(HCR_EL2::RW::EL1IsAarch64); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SPSR_EL2` in this scope [INFO] [stdout] --> src/arch/boot.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | SPSR_EL2.write( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ELR_EL2` in this scope [INFO] [stdout] --> src/arch/boot.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | ELR_EL2.set(crate::__init__ as *const () as u64); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RegisterBlock` in this scope [INFO] [stdout] --> src/bsp/devices/uart.rs:160:35 [INFO] [stdout] | [INFO] [stdout] 160 | type Registers = MMIODerefWrapper; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 160 | type Registers = MMIODerefWrapper; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SP_EL1` in this scope [INFO] [stdout] --> src/arch/boot.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | SP_EL1.set(__boot_core_stack_end_exclusive); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CurrentEL` in this scope [INFO] [stdout] --> src/arch/exception.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | let el = CurrentEL.read_as_enum(CurrentEL::EL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DAIF` in this scope [INFO] [stdout] --> src/arch/exception.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | DAIF.is_set(T::daif_field()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RegisterBlock` in this scope [INFO] [stdout] --> src/bsp/devices/mailbox.rs:66:35 [INFO] [stdout] | [INFO] [stdout] 66 | type Registers = MMIODerefWrapper; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 66 | type Registers = MMIODerefWrapper; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CNTPCT_EL0` in this scope [INFO] [stdout] --> src/arch/time.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | CNTPCT_EL0.get() [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAILBOX` in module `bsp` [INFO] [stdout] --> src/bsp/devices/gpu.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | bsp::MAILBOX.set_screensize_msg([ [INFO] [stdout] | ^^^^^^^ not found in `bsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CNTFRQ_EL0` in this scope [INFO] [stdout] --> src/arch/time.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | Duration::from_nanos(NS_PER_S / (CNTFRQ_EL0.get() as u64)) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAILBOX` in module `bsp` [INFO] [stdout] --> src/bsp/devices/gpu.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | let (_buf, size) = bsp::MAILBOX.get_framebuffer_msg(); [INFO] [stdout] | ^^^^^^^ not found in `bsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CNTFRQ_EL0` in this scope [INFO] [stdout] --> src/arch/time.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | let frq: u64 = CNTFRQ_EL0.get() as u64; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CNTHCTL_EL2` in this scope [INFO] [stdout] --> src/arch/boot.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | CNTHCTL_EL2.write(CNTHCTL_EL2::EL1PCEN::SET + CNTHCTL_EL2::EL1PCTEN::SET); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CNTVOFF_EL2` in this scope [INFO] [stdout] --> src/arch/boot.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | CNTVOFF_EL2.set(0); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CNTFRQ_EL0` in this scope [INFO] [stdout] --> src/arch/time.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | let frq = CNTFRQ_EL0.get(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HCR_EL2` in this scope [INFO] [stdout] --> src/arch/boot.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | HCR_EL2.write(HCR_EL2::RW::EL1IsAarch64); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CNTP_TVAL_EL0` in this scope [INFO] [stdout] --> src/arch/time.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | CNTP_TVAL_EL0.set(tval); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SPSR_EL2` in this scope [INFO] [stdout] --> src/arch/boot.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | SPSR_EL2.write( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CNTP_CTL_EL0` in this scope [INFO] [stdout] --> src/arch/time.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | CNTP_CTL_EL0.modify(CNTP_CTL_EL0::ENABLE::SET + CNTP_CTL_EL0::IMASK::SET); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ELR_EL2` in this scope [INFO] [stdout] --> src/arch/boot.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | ELR_EL2.set(crate::__init__ as *const () as u64); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CNTP_CTL_EL0` in this scope [INFO] [stdout] --> src/arch/time.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | while !CNTP_CTL_EL0.matches_all(CNTP_CTL_EL0::ISTATUS::SET) {} [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SP_EL1` in this scope [INFO] [stdout] --> src/arch/boot.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | SP_EL1.set(__boot_core_stack_end_exclusive); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CNTP_CTL_EL0` in this scope [INFO] [stdout] --> src/arch/time.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | CNTP_CTL_EL0.modify(CNTP_CTL_EL0::ENABLE::CLEAR); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CurrentEL` in this scope [INFO] [stdout] --> src/arch/exception.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | let el = CurrentEL.read_as_enum(CurrentEL::EL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `board_name` in module `bsp` [INFO] [stdout] --> src/main.rs:34:40 [INFO] [stdout] | [INFO] [stdout] 34 | println!("[-] Booting on [{}]", bsp::board_name()); [INFO] [stdout] | ^^^^^^^^^^ not found in `bsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DAIF` in this scope [INFO] [stdout] --> src/arch/exception.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | DAIF.is_set(T::daif_field()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CNTPCT_EL0` in this scope [INFO] [stdout] --> src/arch/time.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | CNTPCT_EL0.get() [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CNTFRQ_EL0` in this scope [INFO] [stdout] --> src/arch/time.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | Duration::from_nanos(NS_PER_S / (CNTFRQ_EL0.get() as u64)) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CNTFRQ_EL0` in this scope [INFO] [stdout] --> src/arch/time.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | let frq: u64 = CNTFRQ_EL0.get() as u64; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CNTFRQ_EL0` in this scope [INFO] [stdout] --> src/arch/time.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | let frq = CNTFRQ_EL0.get(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CNTP_TVAL_EL0` in this scope [INFO] [stdout] --> src/arch/time.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | CNTP_TVAL_EL0.set(tval); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CNTP_CTL_EL0` in this scope [INFO] [stdout] --> src/arch/time.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | CNTP_CTL_EL0.modify(CNTP_CTL_EL0::ENABLE::SET + CNTP_CTL_EL0::IMASK::SET); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CNTP_CTL_EL0` in this scope [INFO] [stdout] --> src/arch/time.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | while !CNTP_CTL_EL0.matches_all(CNTP_CTL_EL0::ISTATUS::SET) {} [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CNTP_CTL_EL0` in this scope [INFO] [stdout] --> src/arch/time.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | CNTP_CTL_EL0.modify(CNTP_CTL_EL0::ENABLE::CLEAR); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `board_name` in module `bsp` [INFO] [stdout] --> src/main.rs:34:40 [INFO] [stdout] | [INFO] [stdout] 34 | println!("[-] Booting on [{}]", bsp::board_name()); [INFO] [stdout] | ^^^^^^^^^^ not found in `bsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/panicinf.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / fn panic(_info: &PanicInfo) -> ! { [INFO] [stdout] 22 | | if let Some(args) = _info.message() { [INFO] [stdout] 23 | | panic_println!("\n[kernel panic!] Spooked by {}", args); [INFO] [stdout] 24 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 28 | | cpu::halt() [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/506512391b1a75ae450d36c9420978402a91abcc/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-6701759d8343e913.rlib [INFO] [stdout] = note: second definition in the local crate (`pios`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IBRD` [INFO] [stdout] --> src/bsp/devices/uart.rs:237:31 [INFO] [stdout] | [INFO] [stdout] 237 | self.registers.IBRD.write(IBRD::BAUD_DIVINT.val(3)); [INFO] [stdout] | ^^^^ use of undeclared type `IBRD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FBRD` [INFO] [stdout] --> src/bsp/devices/uart.rs:238:31 [INFO] [stdout] | [INFO] [stdout] 238 | self.registers.FBRD.write(FBRD::BAUD_DIVFRAC.val(16)); [INFO] [stdout] | ^^^^ use of undeclared type `FBRD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `READ` [INFO] [stdout] --> src/bsp/devices/mailbox.rs:91:36 [INFO] [stdout] | [INFO] [stdout] 91 | while self.registers.READ.read(READ::CHANNEL) as u8 != channel { [INFO] [stdout] | ^^^^ use of undeclared type `READ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CurrentEL` [INFO] [stdout] --> src/arch/exception.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | let el = CurrentEL.read_as_enum(CurrentEL::EL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CurrentEL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DAIF` [INFO] [stdout] --> src/arch/exception.rs:22:59 [INFO] [stdout] | [INFO] [stdout] 22 | fn daif_field() -> tock_registers::fields::Field; [INFO] [stdout] | ^^^^ use of undeclared type `DAIF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DAIF` [INFO] [stdout] --> src/arch/exception.rs:31:59 [INFO] [stdout] | [INFO] [stdout] 31 | fn daif_field() -> tock_registers::fields::Field { [INFO] [stdout] | ^^^^ use of undeclared type `DAIF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DAIF` [INFO] [stdout] --> src/arch/exception.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | DAIF::D [INFO] [stdout] | ^^^^ use of undeclared type `DAIF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DAIF` [INFO] [stdout] --> src/arch/exception.rs:37:59 [INFO] [stdout] | [INFO] [stdout] 37 | fn daif_field() -> tock_registers::fields::Field { [INFO] [stdout] | ^^^^ use of undeclared type `DAIF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DAIF` [INFO] [stdout] --> src/arch/exception.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | DAIF::A [INFO] [stdout] | ^^^^ use of undeclared type `DAIF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DAIF` [INFO] [stdout] --> src/arch/exception.rs:43:59 [INFO] [stdout] | [INFO] [stdout] 43 | fn daif_field() -> tock_registers::fields::Field { [INFO] [stdout] | ^^^^ use of undeclared type `DAIF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DAIF` [INFO] [stdout] --> src/arch/exception.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | DAIF::I [INFO] [stdout] | ^^^^ use of undeclared type `DAIF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DAIF` [INFO] [stdout] --> src/arch/exception.rs:49:59 [INFO] [stdout] | [INFO] [stdout] 49 | fn daif_field() -> tock_registers::fields::Field { [INFO] [stdout] | ^^^^ use of undeclared type `DAIF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DAIF` [INFO] [stdout] --> src/arch/exception.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 50 | DAIF::F [INFO] [stdout] | ^^^^ use of undeclared type `DAIF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 87 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pios` (bin "pios" test) due to 88 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IBRD` [INFO] [stdout] --> src/bsp/devices/uart.rs:237:31 [INFO] [stdout] | [INFO] [stdout] 237 | self.registers.IBRD.write(IBRD::BAUD_DIVINT.val(3)); [INFO] [stdout] | ^^^^ use of undeclared type `IBRD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FBRD` [INFO] [stdout] --> src/bsp/devices/uart.rs:238:31 [INFO] [stdout] | [INFO] [stdout] 238 | self.registers.FBRD.write(FBRD::BAUD_DIVFRAC.val(16)); [INFO] [stdout] | ^^^^ use of undeclared type `FBRD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `READ` [INFO] [stdout] --> src/bsp/devices/mailbox.rs:91:36 [INFO] [stdout] | [INFO] [stdout] 91 | while self.registers.READ.read(READ::CHANNEL) as u8 != channel { [INFO] [stdout] | ^^^^ use of undeclared type `READ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `lock` exists for struct `NullLock`, but its trait bounds were not satisfied [INFO] [stdout] --> src/bsp/devices/mailbox.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct MailboxInner { [INFO] [stdout] | ----------------------- doesn't satisfy `MailboxInner: Sized` [INFO] [stdout] ... [INFO] [stdout] 134 | self.inner.lock(|inner| inner.read_channel(channel)) [INFO] [stdout] | ^^^^ method cannot be called on `NullLock` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/sync/nulllock.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct NullLock where T: ?Sized, { [INFO] [stdout] | ---------------------- method `lock` not found for this struct because it doesn't satisfy `nulllock::NullLock: Mutex` [INFO] [stdout] | [INFO] [stdout] note: trait bound `MailboxInner: Sized` was not satisfied [INFO] [stdout] --> src/sync/nulllock.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | impl interface::Mutex for NullLock { [INFO] [stdout] | ^ ---------------- ----------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `Sized` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/marker.rs:145:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Mutex` defines an item `lock`, perhaps you need to implement it [INFO] [stdout] --> src/sync/mod.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Mutex { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider relaxing the type parameter's implicit `Sized` bound [INFO] [stdout] --> src/sync/nulllock.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | impl interface::Mutex for NullLock { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `lock` exists for struct `NullLock`, but its trait bounds were not satisfied [INFO] [stdout] --> src/bsp/devices/mailbox.rs:138:16 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct MailboxInner { [INFO] [stdout] | ----------------------- doesn't satisfy `MailboxInner: Sized` [INFO] [stdout] ... [INFO] [stdout] 138 | self.inner.lock(|inner| inner.write_channel(channel, data)) [INFO] [stdout] | ^^^^ method cannot be called on `NullLock` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/sync/nulllock.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct NullLock where T: ?Sized, { [INFO] [stdout] | ---------------------- method `lock` not found for this struct because it doesn't satisfy `nulllock::NullLock: Mutex` [INFO] [stdout] | [INFO] [stdout] note: trait bound `MailboxInner: Sized` was not satisfied [INFO] [stdout] --> src/sync/nulllock.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | impl interface::Mutex for NullLock { [INFO] [stdout] | ^ ---------------- ----------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `Sized` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/marker.rs:145:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Mutex` defines an item `lock`, perhaps you need to implement it [INFO] [stdout] --> src/sync/mod.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Mutex { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider relaxing the type parameter's implicit `Sized` bound [INFO] [stdout] --> src/sync/nulllock.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | impl interface::Mutex for NullLock { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CurrentEL` [INFO] [stdout] --> src/arch/exception.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | let el = CurrentEL.read_as_enum(CurrentEL::EL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CurrentEL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DAIF` [INFO] [stdout] --> src/arch/exception.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | DAIF::D [INFO] [stdout] | ^^^^ use of undeclared type `DAIF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DAIF` [INFO] [stdout] --> src/arch/exception.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | DAIF::A [INFO] [stdout] | ^^^^ use of undeclared type `DAIF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DAIF` [INFO] [stdout] --> src/arch/exception.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | DAIF::I [INFO] [stdout] | ^^^^ use of undeclared type `DAIF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DAIF` [INFO] [stdout] --> src/arch/exception.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 50 | DAIF::F [INFO] [stdout] | ^^^^ use of undeclared type `DAIF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DAIF` [INFO] [stdout] --> src/arch/exception.rs:31:59 [INFO] [stdout] | [INFO] [stdout] 31 | fn daif_field() -> tock_registers::fields::Field { [INFO] [stdout] | ^^^^ use of undeclared type `DAIF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DAIF` [INFO] [stdout] --> src/arch/exception.rs:49:59 [INFO] [stdout] | [INFO] [stdout] 49 | fn daif_field() -> tock_registers::fields::Field { [INFO] [stdout] | ^^^^ use of undeclared type `DAIF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DAIF` [INFO] [stdout] --> src/arch/exception.rs:37:59 [INFO] [stdout] | [INFO] [stdout] 37 | fn daif_field() -> tock_registers::fields::Field { [INFO] [stdout] | ^^^^ use of undeclared type `DAIF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DAIF` [INFO] [stdout] --> src/arch/exception.rs:43:59 [INFO] [stdout] | [INFO] [stdout] 43 | fn daif_field() -> tock_registers::fields::Field { [INFO] [stdout] | ^^^^ use of undeclared type `DAIF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DAIF` [INFO] [stdout] --> src/arch/exception.rs:22:59 [INFO] [stdout] | [INFO] [stdout] 22 | fn daif_field() -> tock_registers::fields::Field; [INFO] [stdout] | ^^^^ use of undeclared type `DAIF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 89 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pios` (bin "pios") due to 90 previous errors [INFO] running `Command { std: "docker" "inspect" "967ac51f9fab5140f78c793c650f57454020f7a2ba8b2d3c998eeb18fb410628", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "967ac51f9fab5140f78c793c650f57454020f7a2ba8b2d3c998eeb18fb410628", kill_on_drop: false }` [INFO] [stdout] 967ac51f9fab5140f78c793c650f57454020f7a2ba8b2d3c998eeb18fb410628