[INFO] cloning repository https://github.com/luke-biel/dotos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luke-biel/dotos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluke-biel%2Fdotos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluke-biel%2Fdotos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0644ee569093b1f276c9da26f3adebb8e1d41e22 [INFO] checking luke-biel/dotos against master#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluke-biel%2Fdotos" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/luke-biel/dotos on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/luke-biel/dotos [INFO] finished tweaking git repo https://github.com/luke-biel/dotos [INFO] tweaked toml for git repo https://github.com/luke-biel/dotos written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/luke-biel/dotos already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 791d3c2edc9d57625626361fbc5230c85d2d842ea5ab44e3e2bb4e1833bf72de [INFO] running `Command { std: "docker" "start" "-a" "791d3c2edc9d57625626361fbc5230c85d2d842ea5ab44e3e2bb4e1833bf72de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "791d3c2edc9d57625626361fbc5230c85d2d842ea5ab44e3e2bb4e1833bf72de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "791d3c2edc9d57625626361fbc5230c85d2d842ea5ab44e3e2bb4e1833bf72de", kill_on_drop: false }` [INFO] [stdout] 791d3c2edc9d57625626361fbc5230c85d2d842ea5ab44e3e2bb4e1833bf72de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4db9fcc2c3f3ae5982c4cbf220fb26b666fc53433ff7965758fd973a83f412bc [INFO] running `Command { std: "docker" "start" "-a" "4db9fcc2c3f3ae5982c4cbf220fb26b666fc53433ff7965758fd973a83f412bc", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling heapless v0.7.5 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling dotos v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tock-registers v0.7.0 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stdout] error[E0433]: failed to resolve: could not find `aarch64` in `arch` [INFO] [stdout] --> src/main.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | use arch::aarch64::cpu::exception::current_privilege_level; [INFO] [stdout] | ^^^^^^^ could not find `aarch64` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `aarch64` in `arch` [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | aarch64::cpu::exception::asynchronous::local_irq_set_mask, [INFO] [stdout] | ^^^^^^^ could not find `aarch64` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `arch_impl` in `arch` [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | arch_impl::cpu::exception::{asynchronous::get_mask_state, init_exception_handling}, [INFO] [stdout] | ^^^^^^^^^ could not find `arch_impl` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `arch_impl` in `arch` [INFO] [stdout] --> src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | arch::arch_impl::cpu::instructions::nop, [INFO] [stdout] | ^^^^^^^^^ could not find `arch_impl` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `arch_impl` in `arch` [INFO] [stdout] --> src/bsp/rpi3/memory/map.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | arch::arch_impl::memory::mmu::Granule64KB, [INFO] [stdout] | ^^^^^^^^^ could not find `arch_impl` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `arch_impl` in `arch` [INFO] [stdout] --> src/bsp/rpi3/statics.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | arch::arch_impl::cpu::park, [INFO] [stdout] | ^^^^^^^^^ could not find `arch_impl` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `aarch64` in `arch` [INFO] [stdout] --> src/common/scheduler.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | aarch64::memory::mmu::Granule64KB, [INFO] [stdout] | ^^^^^^^ could not find `aarch64` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `arch_impl` in `arch` [INFO] [stdout] --> src/common/scheduler.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | arch_impl::{ [INFO] [stdout] | ^^^^^^^^^ could not find `arch_impl` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `arch_impl` in `arch` [INFO] [stdout] --> src/common/statics.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | pub use crate::{arch::arch_impl::statics::*, bsp::device::statics::*}; [INFO] [stdout] | ^^^^^^^^^ could not find `arch_impl` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `arch_impl` in `arch` [INFO] [stdout] --> src/common/sync.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | arch::arch_impl::cpu::exception::asynchronous::{local_irq_restore, local_irq_save, Daif}, [INFO] [stdout] | ^^^^^^^^^ could not find `arch_impl` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `arch_impl` in `arch` [INFO] [stdout] --> src/common/task.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::arch::arch_impl::task::CpuContext; [INFO] [stdout] | ^^^^^^^^^ could not find `arch_impl` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::arch::aarch64` [INFO] [stdout] --> src/panic.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{arch::aarch64::cpu, common::statics::panic_console}; [INFO] [stdout] | ^^^^^^^ could not find `aarch64` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::common::statics::CLOCK_TIMER` [INFO] [stdout] --> src/bsp/device_driver/bcm/bcm2xxx_gpio.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | statics::CLOCK_TIMER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `CLOCK_TIMER` in `common::statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::common::statics::KERNEL_TABLES`, `crate::common::statics::CONSOLE`, `crate::common::statics::panic_console` [INFO] [stdout] --> src/common/memory/mmu/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | statics::KERNEL_TABLES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `KERNEL_TABLES` in `common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/log.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::common::{serial_console::Write, statics::CONSOLE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/panic.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{arch::aarch64::cpu, common::statics::panic_console}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `aarch64` in `arch` [INFO] [stdout] --> src/main.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | use arch::aarch64::cpu::exception::current_privilege_level; [INFO] [stdout] | ^^^^^^^ could not find `aarch64` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `aarch64` in `arch` [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | aarch64::cpu::exception::asynchronous::local_irq_set_mask, [INFO] [stdout] | ^^^^^^^ could not find `aarch64` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `arch_impl` in `arch` [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | arch_impl::cpu::exception::{asynchronous::get_mask_state, init_exception_handling}, [INFO] [stdout] | ^^^^^^^^^ could not find `arch_impl` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `arch_impl` in `arch` [INFO] [stdout] --> src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | arch::arch_impl::cpu::instructions::nop, [INFO] [stdout] | ^^^^^^^^^ could not find `arch_impl` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `arch_impl` in `arch` [INFO] [stdout] --> src/bsp/rpi3/memory/map.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | arch::arch_impl::memory::mmu::Granule64KB, [INFO] [stdout] | ^^^^^^^^^ could not find `arch_impl` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `arch_impl` in `arch` [INFO] [stdout] --> src/bsp/rpi3/statics.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | arch::arch_impl::cpu::park, [INFO] [stdout] | ^^^^^^^^^ could not find `arch_impl` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `aarch64` in `arch` [INFO] [stdout] --> src/common/scheduler.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | aarch64::memory::mmu::Granule64KB, [INFO] [stdout] | ^^^^^^^ could not find `aarch64` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `arch_impl` in `arch` [INFO] [stdout] --> src/common/scheduler.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | arch_impl::{ [INFO] [stdout] | ^^^^^^^^^ could not find `arch_impl` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `arch_impl` in `arch` [INFO] [stdout] --> src/common/statics.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | pub use crate::{arch::arch_impl::statics::*, bsp::device::statics::*}; [INFO] [stdout] | ^^^^^^^^^ could not find `arch_impl` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `arch_impl` in `arch` [INFO] [stdout] --> src/common/sync.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | arch::arch_impl::cpu::exception::asynchronous::{local_irq_restore, local_irq_save, Daif}, [INFO] [stdout] | ^^^^^^^^^ could not find `arch_impl` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `arch_impl` in `arch` [INFO] [stdout] --> src/common/task.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::arch::arch_impl::task::CpuContext; [INFO] [stdout] | ^^^^^^^^^ could not find `arch_impl` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::arch::aarch64` [INFO] [stdout] --> src/panic.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{arch::aarch64::cpu, common::statics::panic_console}; [INFO] [stdout] | ^^^^^^^ could not find `aarch64` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::common::statics::CLOCK_TIMER` [INFO] [stdout] --> src/bsp/device_driver/bcm/bcm2xxx_gpio.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | statics::CLOCK_TIMER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `CLOCK_TIMER` in `common::statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::common::statics::KERNEL_TABLES`, `crate::common::statics::CONSOLE`, `crate::common::statics::panic_console` [INFO] [stdout] --> src/common/memory/mmu/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | statics::KERNEL_TABLES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `KERNEL_TABLES` in `common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/log.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::common::{serial_console::Write, statics::CONSOLE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/panic.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{arch::aarch64::cpu, common::statics::panic_console}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Granule64KB` [INFO] [stdout] --> src/bsp/rpi3/memory/map.rs:37:56 [INFO] [stdout] | [INFO] [stdout] 37 | pub const PAGE_COUNT: usize = PAGING_MEMORY_SIZE / Granule64KB::SIZE; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Granule64KB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpuContext` [INFO] [stdout] --> src/common/scheduler.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | context: CpuContext::zero(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CpuContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Granule64KB` [INFO] [stdout] --> src/common/scheduler.rs:165:38 [INFO] [stdout] | [INFO] [stdout] 165 | task.context.sp = (page.addr() + Granule64KB::SIZE) as u64; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Granule64KB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Daif` [INFO] [stdout] --> src/common/sync.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | if !Daif::state().contains(Daif::IRQ) { [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/common/sync.rs:93:36 [INFO] [stdout] | [INFO] [stdout] 93 | if !Daif::state().contains(Daif::IRQ) { [INFO] [stdout] | ^^^^ use of undeclared type `Daif` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller/peripheral_ic.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | info!(" peripheral IC:"); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller/peripheral_ic.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | / info!( [INFO] [stdout] 74 | | " {}[{}] -> \"{}\"", [INFO] [stdout] 75 | | irq, [INFO] [stdout] 76 | | irq.to_u64().expect("irq to_u64"), [INFO] [stdout] 77 | | descriptor.name [INFO] [stdout] 78 | | ); [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller/peripheral_ic.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | info!(" no handlers registered"); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller/mod.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | info!("interrupt controller:"); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller/mod.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | info!(" local IC:"); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller/mod.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | info!(" WIP"); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nop` in this scope [INFO] [stdout] --> src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs:178:22 [INFO] [stdout] | [INFO] [stdout] 178 | unsafe { nop() } [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nop` in this scope [INFO] [stdout] --> src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 184 | unsafe { nop() } [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nop` in this scope [INFO] [stdout] --> src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs:190:22 [INFO] [stdout] | [INFO] [stdout] 190 | unsafe { nop() } [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/rpi3/driver.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | info!("drivers loaded:"); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/rpi3/driver.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | info!(" {}): `{}`", i, driver.compat()); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/rpi3/driver.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | info!("-- stage 2 drivers --"); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/rpi3/driver.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | info!(" {}): `{}`", i, driver.compat()); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `park` in this scope [INFO] [stdout] --> src/bsp/rpi3/statics.rs:47:45 [INFO] [stdout] | [INFO] [stdout] 47 | gpio.init(gpio_addr).unwrap_or_else(|_| park()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Granule64KB` [INFO] [stdout] --> src/bsp/rpi3/memory/map.rs:37:56 [INFO] [stdout] | [INFO] [stdout] 37 | pub const PAGE_COUNT: usize = PAGING_MEMORY_SIZE / Granule64KB::SIZE; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Granule64KB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/common/memory/mmu/mapping.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | info!("memory mapping:"); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/common/memory/mmu/mapping.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | / info!( [INFO] [stdout] 104 | | " - physical: {}..{}\n \ [INFO] [stdout] 105 | | virtual: {}..{}\n \ [INFO] [stdout] 106 | | attributes: {}\n \ [INFO] [stdout] ... | [INFO] [stdout] 112 | | entry.attributes [INFO] [stdout] 113 | | ); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/common/memory/mmu/mapping.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | crate::warn!("{}", err); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/common/memory/mmu/mod.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | crate::warn!("{}", err); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KERNEL_TABLES` in module `statics` [INFO] [stdout] --> src/common/memory/mmu/mod.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | let kernel_base_addr = statics::KERNEL_TABLES.map_locked(|tables| { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `local_irq_set_mask` in this scope [INFO] [stdout] --> src/common/scheduler.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | local_irq_set_mask(false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `local_irq_set_mask` in this scope [INFO] [stdout] --> src/common/scheduler.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | local_irq_set_mask(true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `return_from_fork` in this scope [INFO] [stdout] --> src/common/scheduler.rs:164:23 [INFO] [stdout] | [INFO] [stdout] 164 | task.context.pc = return_from_fork.get() as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `local_irq_save` in this scope [INFO] [stdout] --> src/common/sync.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | let state = local_irq_save(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `local_irq_restore` in this scope [INFO] [stdout] --> src/common/sync.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | local_irq_restore(state); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CpuContext` in this scope [INFO] [stdout] --> src/common/task.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | pub context: CpuContext, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init_exception_handling` in this scope [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | init_exception_handling(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MMU` in module `statics` [INFO] [stdout] --> src/main.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | statics::MMU [INFO] [stdout] | ^^^ not found in `statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `local_irq_set_mask` in this scope [INFO] [stdout] --> src/main.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | local_irq_set_mask(false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / info!( [INFO] [stdout] 81 | | "{} - v{}", [INFO] [stdout] 82 | | env!("CARGO_PKG_NAME"), [INFO] [stdout] 83 | | env!("CARGO_PKG_VERSION") [INFO] [stdout] 84 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpuContext` [INFO] [stdout] --> src/common/scheduler.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | context: CpuContext::zero(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CpuContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | info!("build time: {}", env!("BUILD_DATE")); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | info!("git head: {}", env!("GIT_HASH")); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | info!("current privilege level: {}", current_privilege_level()); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `current_privilege_level` in this scope [INFO] [stdout] --> src/main.rs:100:42 [INFO] [stdout] | [INFO] [stdout] 100 | info!("current privilege level: {}", current_privilege_level()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Granule64KB` [INFO] [stdout] --> src/common/scheduler.rs:165:38 [INFO] [stdout] | [INFO] [stdout] 165 | task.context.sp = (page.addr() + Granule64KB::SIZE) as u64; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Granule64KB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | info!("exception status: {}", get_mask_state()); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_mask_state` in this scope [INFO] [stdout] --> src/main.rs:101:35 [INFO] [stdout] | [INFO] [stdout] 101 | info!("exception status: {}", get_mask_state()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | crate::info!("process"); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Daif` [INFO] [stdout] --> src/common/sync.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | if !Daif::state().contains(Daif::IRQ) { [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/common/sync.rs:93:36 [INFO] [stdout] | [INFO] [stdout] 93 | if !Daif::state().contains(Daif::IRQ) { [INFO] [stdout] | ^^^^ use of undeclared type `Daif` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller/peripheral_ic.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | info!(" peripheral IC:"); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller/peripheral_ic.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | / info!( [INFO] [stdout] 74 | | " {}[{}] -> \"{}\"", [INFO] [stdout] 75 | | irq, [INFO] [stdout] 76 | | irq.to_u64().expect("irq to_u64"), [INFO] [stdout] 77 | | descriptor.name [INFO] [stdout] 78 | | ); [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller/peripheral_ic.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | info!(" no handlers registered"); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller/mod.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | info!("interrupt controller:"); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller/mod.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | info!(" local IC:"); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller/mod.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | info!(" WIP"); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nop` in this scope [INFO] [stdout] --> src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs:178:22 [INFO] [stdout] | [INFO] [stdout] 178 | unsafe { nop() } [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nop` in this scope [INFO] [stdout] --> src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 184 | unsafe { nop() } [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nop` in this scope [INFO] [stdout] --> src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs:190:22 [INFO] [stdout] | [INFO] [stdout] 190 | unsafe { nop() } [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/rpi3/driver.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | info!("drivers loaded:"); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/rpi3/driver.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | info!(" {}): `{}`", i, driver.compat()); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/rpi3/driver.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | info!("-- stage 2 drivers --"); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/rpi3/driver.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | info!(" {}): `{}`", i, driver.compat()); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `park` in this scope [INFO] [stdout] --> src/bsp/rpi3/statics.rs:47:45 [INFO] [stdout] | [INFO] [stdout] 47 | gpio.init(gpio_addr).unwrap_or_else(|_| park()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/common/memory/mmu/mapping.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | info!("memory mapping:"); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/common/memory/mmu/mapping.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | / info!( [INFO] [stdout] 104 | | " - physical: {}..{}\n \ [INFO] [stdout] 105 | | virtual: {}..{}\n \ [INFO] [stdout] 106 | | attributes: {}\n \ [INFO] [stdout] ... | [INFO] [stdout] 112 | | entry.attributes [INFO] [stdout] 113 | | ); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/common/memory/mmu/mapping.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | crate::warn!("{}", err); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/common/memory/mmu/mod.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | crate::warn!("{}", err); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KERNEL_TABLES` in module `statics` [INFO] [stdout] --> src/common/memory/mmu/mod.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | let kernel_base_addr = statics::KERNEL_TABLES.map_locked(|tables| { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `local_irq_set_mask` in this scope [INFO] [stdout] --> src/common/scheduler.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | local_irq_set_mask(false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `local_irq_set_mask` in this scope [INFO] [stdout] --> src/common/scheduler.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | local_irq_set_mask(true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `return_from_fork` in this scope [INFO] [stdout] --> src/common/scheduler.rs:164:23 [INFO] [stdout] | [INFO] [stdout] 164 | task.context.pc = return_from_fork.get() as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `local_irq_save` in this scope [INFO] [stdout] --> src/common/sync.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | let state = local_irq_save(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `local_irq_restore` in this scope [INFO] [stdout] --> src/common/sync.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | local_irq_restore(state); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CpuContext` in this scope [INFO] [stdout] --> src/common/task.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | pub context: CpuContext, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init_exception_handling` in this scope [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | init_exception_handling(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MMU` in module `statics` [INFO] [stdout] --> src/main.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | statics::MMU [INFO] [stdout] | ^^^ not found in `statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `local_irq_set_mask` in this scope [INFO] [stdout] --> src/main.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | local_irq_set_mask(false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / info!( [INFO] [stdout] 81 | | "{} - v{}", [INFO] [stdout] 82 | | env!("CARGO_PKG_NAME"), [INFO] [stdout] 83 | | env!("CARGO_PKG_VERSION") [INFO] [stdout] 84 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | info!("build time: {}", env!("BUILD_DATE")); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | info!("git head: {}", env!("GIT_HASH")); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | info!("current privilege level: {}", current_privilege_level()); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `current_privilege_level` in this scope [INFO] [stdout] --> src/main.rs:100:42 [INFO] [stdout] | [INFO] [stdout] 100 | info!("current privilege level: {}", current_privilege_level()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | info!("exception status: {}", get_mask_state()); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_mask_state` in this scope [INFO] [stdout] --> src/main.rs:101:35 [INFO] [stdout] | [INFO] [stdout] 101 | info!("exception status: {}", get_mask_state()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | crate::info!("process"); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/panic.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | unsafe fn panic(info: &PanicInfo) -> ! { [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/db1fb85cff63ad5fffe435e17128f99f9e1d970c/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-d6566390077dd5f5.rlib [INFO] [stdout] = note: second definition in the local crate (`dotos`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `arch_address_space_size_sanity_checks` found for struct `AddressSpace` in the current scope [INFO] [stdout] --> src/common/memory/mmu/mod.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct AddressSpace; [INFO] [stdout] | ------------------------------------------- function or associated item `arch_address_space_size_sanity_checks` not found for this [INFO] [stdout] ... [INFO] [stdout] 65 | Self::arch_address_space_size_sanity_checks(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `AddressSpace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/common/task.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Default, Debug)] [INFO] [stdout] | ------- in this derive macro expansion [INFO] [stdout] 6 | pub struct Task { [INFO] [stdout] 7 | pub context: CpuContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] note: required by `core::default::Default::default` [INFO] [stdout] = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MemoryManagementUnit` [INFO] [stdout] --> src/main.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | memory::mmu::{map_kernel_binary, MemoryManagementUnit}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::clock::ClockManager` [INFO] [stdout] --> src/bsp/device_driver/bcm/bcm2xxx_gpio.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | time::clock::ClockManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `translation_table::TranslationTable` [INFO] [stdout] --> src/common/memory/mmu/mod.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | translation_table::TranslationTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Mutex` [INFO] [stdout] --> src/common/memory/mmu/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | sync::Mutex, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller/peripheral_ic.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | info!(" peripheral IC:"); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller/peripheral_ic.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | / info!( [INFO] [stdout] 74 | | " {}[{}] -> \"{}\"", [INFO] [stdout] 75 | | irq, [INFO] [stdout] 76 | | irq.to_u64().expect("irq to_u64"), [INFO] [stdout] 77 | | descriptor.name [INFO] [stdout] 78 | | ); [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller/peripheral_ic.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | info!(" no handlers registered"); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller/mod.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | info!("interrupt controller:"); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller/mod.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | info!(" local IC:"); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller/mod.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | info!(" WIP"); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/rpi3/driver.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | info!("drivers loaded:"); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/rpi3/driver.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | info!(" {}): `{}`", i, driver.compat()); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/rpi3/driver.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | info!("-- stage 2 drivers --"); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/rpi3/driver.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | info!(" {}): `{}`", i, driver.compat()); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/common/memory/mmu/mapping.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | info!("memory mapping:"); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/common/memory/mmu/mapping.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | / info!( [INFO] [stdout] 104 | | " - physical: {}..{}\n \ [INFO] [stdout] 105 | | virtual: {}..{}\n \ [INFO] [stdout] 106 | | attributes: {}\n \ [INFO] [stdout] ... | [INFO] [stdout] 112 | | entry.attributes [INFO] [stdout] 113 | | ); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/common/memory/mmu/mapping.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | crate::warn!("{}", err); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/common/memory/mmu/mod.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | crate::warn!("{}", err); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / info!( [INFO] [stdout] 81 | | "{} - v{}", [INFO] [stdout] 82 | | env!("CARGO_PKG_NAME"), [INFO] [stdout] 83 | | env!("CARGO_PKG_VERSION") [INFO] [stdout] 84 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | info!("build time: {}", env!("BUILD_DATE")); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | info!("git head: {}", env!("GIT_HASH")); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | info!("current privilege level: {}", current_privilege_level()); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | info!("exception status: {}", get_mask_state()); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | crate::info!("process"); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 58 previous errors; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dotos` due to 59 previous errors; 24 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `arch_address_space_size_sanity_checks` found for struct `AddressSpace` in the current scope [INFO] [stdout] --> src/common/memory/mmu/mod.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct AddressSpace; [INFO] [stdout] | ------------------------------------------- function or associated item `arch_address_space_size_sanity_checks` not found for this [INFO] [stdout] ... [INFO] [stdout] 65 | Self::arch_address_space_size_sanity_checks(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `AddressSpace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/common/task.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Default, Debug)] [INFO] [stdout] | ------- in this derive macro expansion [INFO] [stdout] 6 | pub struct Task { [INFO] [stdout] 7 | pub context: CpuContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] note: required by `core::default::Default::default` [INFO] [stdout] = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MemoryManagementUnit` [INFO] [stdout] --> src/main.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | memory::mmu::{map_kernel_binary, MemoryManagementUnit}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::clock::ClockManager` [INFO] [stdout] --> src/bsp/device_driver/bcm/bcm2xxx_gpio.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | time::clock::ClockManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `translation_table::TranslationTable` [INFO] [stdout] --> src/common/memory/mmu/mod.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | translation_table::TranslationTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Mutex` [INFO] [stdout] --> src/common/memory/mmu/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | sync::Mutex, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller/peripheral_ic.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | info!(" peripheral IC:"); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller/peripheral_ic.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | / info!( [INFO] [stdout] 74 | | " {}[{}] -> \"{}\"", [INFO] [stdout] 75 | | irq, [INFO] [stdout] 76 | | irq.to_u64().expect("irq to_u64"), [INFO] [stdout] 77 | | descriptor.name [INFO] [stdout] 78 | | ); [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller/peripheral_ic.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | info!(" no handlers registered"); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller/mod.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | info!("interrupt controller:"); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller/mod.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | info!(" local IC:"); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller/mod.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | info!(" WIP"); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/rpi3/driver.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | info!("drivers loaded:"); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/rpi3/driver.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | info!(" {}): `{}`", i, driver.compat()); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/rpi3/driver.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | info!("-- stage 2 drivers --"); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bsp/rpi3/driver.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | info!(" {}): `{}`", i, driver.compat()); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/common/memory/mmu/mapping.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | info!("memory mapping:"); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/common/memory/mmu/mapping.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | / info!( [INFO] [stdout] 104 | | " - physical: {}..{}\n \ [INFO] [stdout] 105 | | virtual: {}..{}\n \ [INFO] [stdout] 106 | | attributes: {}\n \ [INFO] [stdout] ... | [INFO] [stdout] 112 | | entry.attributes [INFO] [stdout] 113 | | ); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/common/memory/mmu/mapping.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | crate::warn!("{}", err); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/common/memory/mmu/mod.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | crate::warn!("{}", err); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / info!( [INFO] [stdout] 81 | | "{} - v{}", [INFO] [stdout] 82 | | env!("CARGO_PKG_NAME"), [INFO] [stdout] 83 | | env!("CARGO_PKG_VERSION") [INFO] [stdout] 84 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | info!("build time: {}", env!("BUILD_DATE")); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | info!("git head: {}", env!("GIT_HASH")); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | info!("current privilege level: {}", current_privilege_level()); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | info!("exception status: {}", get_mask_state()); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | crate::info!("process"); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 58 previous errors; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0283, E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4db9fcc2c3f3ae5982c4cbf220fb26b666fc53433ff7965758fd973a83f412bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4db9fcc2c3f3ae5982c4cbf220fb26b666fc53433ff7965758fd973a83f412bc", kill_on_drop: false }` [INFO] [stdout] 4db9fcc2c3f3ae5982c4cbf220fb26b666fc53433ff7965758fd973a83f412bc