[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] 825c70f0d34f6238c9c3e2ee990309305537ff8d [INFO] testing luke-biel/dotos against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluke-biel%2Fdotos" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/luke-biel/dotos on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-7/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9e15e785faac1adbb7d60da6d591d57c5b8c530db0f5b271ade54b8575c277b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a9e15e785faac1adbb7d60da6d591d57c5b8c530db0f5b271ade54b8575c277b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9e15e785faac1adbb7d60da6d591d57c5b8c530db0f5b271ade54b8575c277b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9e15e785faac1adbb7d60da6d591d57c5b8c530db0f5b271ade54b8575c277b", kill_on_drop: false }` [INFO] [stdout] a9e15e785faac1adbb7d60da6d591d57c5b8c530db0f5b271ade54b8575c277b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ee4c6d003ef5272694adac9d793f578e9eab2b483d8339385941b269737405c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5ee4c6d003ef5272694adac9d793f578e9eab2b483d8339385941b269737405c", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling dotos v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling tock-registers v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heapless v0.7.7 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling bitaccess_macros v0.4.0 (https://github.com/luke-biel/bitaccess#1f33bc89) [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling bitaccess v0.4.0 (https://github.com/luke-biel/bitaccess#1f33bc89) [INFO] [stdout] error[E0433]: failed to resolve: could not find `arch_impl` in `arch` [INFO] [stdout] --> src/main.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | use arch::arch_impl::cpu::exception::current_privilege_level; [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/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | aarch64::syscall::_write, [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:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | arch_impl::cpu::{ [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:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | 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:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | 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:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | arch::arch_impl::cpu::{ [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::{cpu_switch_to, CpuContext}; [INFO] [stdout] | ^^^^^^^^^ could not find `arch_impl` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::arch::arch_impl` [INFO] [stdout] --> src/panic.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{arch::arch_impl::cpu, common::statics::panic_console}; [INFO] [stdout] | ^^^^^^^^^ could not find `arch_impl` 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::LOG_LEVEL`, `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:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | statics::{CONSOLE, LOG_LEVEL}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/panic.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{arch::arch_impl::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 `Granule64KB` [INFO] [stdout] --> src/common/scheduler.rs:211:33 [INFO] [stdout] | [INFO] [stdout] 211 | child_regs.sp = stack + 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 `Granule64KB` [INFO] [stdout] --> src/common/scheduler.rs:242:31 [INFO] [stdout] | [INFO] [stdout] 242 | regs.sp = (stack.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:98:22 [INFO] [stdout] | [INFO] [stdout] 98 | if Daif.read(Daif::IRQ).value() == 0 { [INFO] [stdout] | ^^^^ use of undeclared type `Daif` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExceptionStatus` [INFO] [stdout] --> src/main.rs:103:35 [INFO] [stdout] | [INFO] [stdout] 103 | info!("exception status: {}", ExceptionStatus::read()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ExceptionStatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCK_TIMER` in module `$crate::common::statics` [INFO] [stdout] --> src/log.rs:40:43 [INFO] [stdout] | [INFO] [stdout] 40 | 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:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | 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:40:43 [INFO] [stdout] | [INFO] [stdout] 40 | 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:40:43 [INFO] [stdout] | [INFO] [stdout] 40 | 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:40:43 [INFO] [stdout] | [INFO] [stdout] 40 | 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:40:43 [INFO] [stdout] | [INFO] [stdout] 40 | 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:40:43 [INFO] [stdout] | [INFO] [stdout] 40 | 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:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | 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:40:43 [INFO] [stdout] | [INFO] [stdout] 40 | 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:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | 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:40:43 [INFO] [stdout] | [INFO] [stdout] 40 | 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:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | 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:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | 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:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | 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[E0422]: cannot find struct, variant or union type `CpuContext` in this scope [INFO] [stdout] --> src/common/scheduler.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | context: CpuContext { [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:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/common/scheduler.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | crate::trace!("Switching to task id {}", next); [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 `unmask_irq` in this scope [INFO] [stdout] --> src/common/scheduler.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | unmask_irq(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mask_irq` in this scope [INFO] [stdout] --> src/common/scheduler.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | mask_irq(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PtRegs` in this scope [INFO] [stdout] --> src/common/scheduler.rs:201:32 [INFO] [stdout] | [INFO] [stdout] 201 | (child_regs.addr() as *mut PtRegs).write_bytes(0, 1); [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/scheduler.rs:202:26 [INFO] [stdout] | [INFO] [stdout] 202 | (task.addr() as *mut CpuContext).write_bytes(0, 1); // This works on behalf of CpuContext being first field [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PtRegs` in this scope [INFO] [stdout] --> src/common/scheduler.rs:209:36 [INFO] [stdout] | [INFO] [stdout] 209 | (child_regs.addr() as *mut PtRegs).write_volatile(cur_regs.clone()); [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:222:23 [INFO] [stdout] | [INFO] [stdout] 222 | task.context.pc = return_from_fork.get() as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PtRegs` in this scope [INFO] [stdout] --> src/common/scheduler.rs:236:35 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { (regs.addr() as *mut PtRegs).write_bytes(0, 1) }; [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:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/common/scheduler.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | crate::info!("stack {} {:x?} {:x?}, {:x}", stack, regs, current, f); [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[E0412]: cannot find type `PtRegs` in this scope [INFO] [stdout] --> src/common/scheduler.rs:250:66 [INFO] [stdout] | [INFO] [stdout] 250 | unsafe fn pt_regs(task: &WrappedPointer) -> WrappedPointer { [INFO] [stdout] | - ^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PtRegs` in this scope [INFO] [stdout] --> src/common/scheduler.rs:251:56 [INFO] [stdout] | [INFO] [stdout] 250 | unsafe fn pt_regs(task: &WrappedPointer) -> WrappedPointer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 251 | WrappedPointer::new(task.addr() + 4096 - size_of::()) [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:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | 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:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | local_irq_restore(state); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Daif` in this scope [INFO] [stdout] --> src/common/sync.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | if Daif.read(Daif::IRQ).value() == 0 { [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:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | pub context: CpuContext, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cpu_switch_to` in this scope [INFO] [stdout] --> src/common/task.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | cpu_switch_to(prev as *const _, next as *const _) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::common::scheduler::cpu_switch_to` exists but is inaccessible [INFO] [stdout] --> src/common/scheduler.rs:191:1 [INFO] [stdout] | [INFO] [stdout] 191 | fn cpu_switch_to(last: &Task, new: &Task) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init_exception_handling` in this scope [INFO] [stdout] --> src/main.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | 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:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | statics::MMU [INFO] [stdout] | ^^^ not found in `statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `unmask_irq` in this scope [INFO] [stdout] --> src/main.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | unmask_irq(); [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:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | / info!( [INFO] [stdout] 91 | | "{} - v{}", [INFO] [stdout] 92 | | env!("CARGO_PKG_NAME"), [INFO] [stdout] 93 | | env!("CARGO_PKG_VERSION") [INFO] [stdout] 94 | | ); [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:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | 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:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | 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:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | 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:102:42 [INFO] [stdout] | [INFO] [stdout] 102 | 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:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | info!("exception status: {}", ExceptionStatus::read()); [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:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | crate::info!("Kernel process started {}", unsafe { current_el() }); [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_el` in this scope [INFO] [stdout] --> src/main.rs:114:56 [INFO] [stdout] | [INFO] [stdout] 114 | crate::info!("Kernel process started {}", unsafe { current_el() }); [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:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | let ts = $crate::common::statics::CLOCK_TIMER.uptime(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `$crate::common::statics` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | crate::error!("Failed to move to user mode, {}", e); [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 `_write` in this scope [INFO] [stdout] --> src/main.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | unsafe { _write(b"abc".as_ptr(), 3) } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `park` in this scope [INFO] [stdout] --> src/main.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 122 | unsafe { park() } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitaccess::ReadBits` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use bitaccess::ReadBits; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RW_EL0` should have an upper camel case name [INFO] [stdout] --> src/common/memory/mmu/descriptors.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | RW_EL0, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `RwEl0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [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:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Default, Debug)] [INFO] [stdout] | ------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 8 | 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:38:42 [INFO] [stdout] | [INFO] [stdout] 38 | memory::mmu::{map_kernel_binary, MemoryManagementUnit}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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: `bitaccess::ReadBits` [INFO] [stdout] --> src/common/sync.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bitaccess::ReadBits; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::clock::ClockManager` [INFO] [stdout] --> src/log.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | 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:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | 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:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | 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:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | 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:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | 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:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | 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:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | 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:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | 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:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | 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:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | 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:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | 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:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | 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:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | 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:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | 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:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/common/scheduler.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | crate::trace!("Switching to task id {}", next); [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:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/common/scheduler.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | crate::info!("stack {} {:x?} {:x?}, {:x}", stack, regs, current, f); [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:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | / info!( [INFO] [stdout] 91 | | "{} - v{}", [INFO] [stdout] 92 | | env!("CARGO_PKG_NAME"), [INFO] [stdout] 93 | | env!("CARGO_PKG_VERSION") [INFO] [stdout] 94 | | ); [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:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | 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:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | 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:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | 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:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | info!("exception status: {}", ExceptionStatus::read()); [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:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | crate::info!("Kernel process started {}", unsafe { current_el() }); [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:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | use crate::common::time::clock::ClockManager as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | crate::error!("Failed to move to user mode, {}", e); [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 72 previous errors; 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0412, E0422, 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 73 previous errors; 30 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5ee4c6d003ef5272694adac9d793f578e9eab2b483d8339385941b269737405c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ee4c6d003ef5272694adac9d793f578e9eab2b483d8339385941b269737405c", kill_on_drop: false }` [INFO] [stdout] 5ee4c6d003ef5272694adac9d793f578e9eab2b483d8339385941b269737405c