[INFO] cloning repository https://github.com/lowenware/leos-kernel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lowenware/leos-kernel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flowenware%2Fleos-kernel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flowenware%2Fleos-kernel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bd1aa4587ca58217159a7921771da0146ad43ca8 [INFO] checking lowenware/leos-kernel against master#0f353363965ebf05e0757f7679c800b39c51a07e for pr-144896 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flowenware%2Fleos-kernel" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lowenware/leos-kernel [INFO] finished tweaking git repo https://github.com/lowenware/leos-kernel [INFO] tweaked toml for git repo https://github.com/lowenware/leos-kernel written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lowenware/leos-kernel on toolchain 0f353363965ebf05e0757f7679c800b39c51a07e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0f353363965ebf05e0757f7679c800b39c51a07e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lowenware/leos-kernel already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0f353363965ebf05e0757f7679c800b39c51a07e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+0f353363965ebf05e0757f7679c800b39c51a07e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b73df1db0b66c9abaf945af92827f6177f993befdc055d99e2f58ec3c485d954 [INFO] running `Command { std: "docker" "start" "-a" "b73df1db0b66c9abaf945af92827f6177f993befdc055d99e2f58ec3c485d954", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b73df1db0b66c9abaf945af92827f6177f993befdc055d99e2f58ec3c485d954", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b73df1db0b66c9abaf945af92827f6177f993befdc055d99e2f58ec3c485d954", kill_on_drop: false }` [INFO] [stdout] b73df1db0b66c9abaf945af92827f6177f993befdc055d99e2f58ec3c485d954 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+0f353363965ebf05e0757f7679c800b39c51a07e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f27073857ce827b70ecf6bca526e8177d5086339657959a35e169bbac25421b [INFO] running `Command { std: "docker" "start" "-a" "5f27073857ce827b70ecf6bca526e8177d5086339657959a35e169bbac25421b", kill_on_drop: false }` [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking leos-kernel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(const_fn)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.54.0; see for more information [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(const_raw_ptr_to_usize_cast)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.55.0; see for more information [INFO] [stdout] = note: at compile-time, pointers do not have an integer value, so these casts cannot be properly supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(const_fn)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.54.0; see for more information [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(const_raw_ptr_to_usize_cast)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.55.0; see for more information [INFO] [stdout] = note: at compile-time, pointers do not have an integer value, so these casts cannot be properly supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/aarch64/boot.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 22 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/aarch64/boot.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 22 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/aarch64/boot.rs:52:3 [INFO] [stdout] | [INFO] [stdout] 52 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 52 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/aarch64/boot.rs:52:3 [INFO] [stdout] | [INFO] [stdout] 52 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 52 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/aarch64/drivers/mmu.rs:290:3 [INFO] [stdout] | [INFO] [stdout] 290 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 290 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/aarch64/drivers/mmu.rs:290:3 [INFO] [stdout] | [INFO] [stdout] 290 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 290 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::platform::UART0`, `crate::platform::TIMER0` [INFO] [stdout] --> src/log.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::platform::{UART0, TIMER0}; [INFO] [stdout] | ^^^^^ ^^^^^^ no `TIMER0` in `platform` [INFO] [stdout] | | [INFO] [stdout] | no `UART0` in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/boot.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | llvm_asm!("adr $0, __bss_base" : "=r"(bss_base) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/boot.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | llvm_asm!("adr $0, __bss_end" : "=r"(bss_end) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/cpu.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | llvm_asm!("wfe" :::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/cpu.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | llvm_asm!("wfi" :::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/cpu.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | llvm_asm!("isb" :::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::platform::UART0`, `crate::platform::TIMER0` [INFO] [stdout] --> src/log.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::platform::{UART0, TIMER0}; [INFO] [stdout] | ^^^^^ ^^^^^^ no `TIMER0` in `platform` [INFO] [stdout] | | [INFO] [stdout] | no `UART0` in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/boot.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | llvm_asm!("adr $0, __bss_base" : "=r"(bss_base) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/cpu.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | llvm_asm!("nop" :::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/boot.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | llvm_asm!("adr $0, __bss_end" : "=r"(bss_end) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/cpu.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | llvm_asm!("eret" :::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/cpu.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | llvm_asm!("adr $0, ." : "=r"(result) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/cpu.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | llvm_asm!("mov sp, $0" :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/cpu.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | llvm_asm!("wfe" :::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/cpu.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | llvm_asm!("mov $0, lr" : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/cpu.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | llvm_asm!("wfi" :::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/cpu.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | llvm_asm!("mov lr, $0" :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/cpu.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | llvm_asm!("isb" :::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `global_asm` in this scope [INFO] [stdout] --> src/aarch64/exceptions.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | global_asm!(include_str!("exceptions.s")); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::global_asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/cpu.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | llvm_asm!("nop" :::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/exceptions.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | llvm_asm!("msr daifclr, #2"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/cpu.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | llvm_asm!("eret" :::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/exceptions.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | llvm_asm!("msr daifset, #2"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/currentel.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | aarch64_sysreg_read!(u64, "CurrentEL"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/spsel.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | aarch64_sysreg_read!(u64, "SPSel"); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/cpu.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | llvm_asm!("adr $0, ." : "=r"(result) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | llvm_asm!(concat!("msr ", $sysreg_name, ", $0") :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/spsel.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | aarch64_sysreg_write!(u64, "SPSel"); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/cpu.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | llvm_asm!("mov sp, $0" :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/cnthctl_el2.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | aarch64_sysreg_read!(u64, "CNTHCTL_EL2"); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/cpu.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | llvm_asm!("mov $0, lr" : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | llvm_asm!(concat!("msr ", $sysreg_name, ", $0") :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/cnthctl_el2.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | aarch64_sysreg_write!(u64, "CNTHCTL_EL2"); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/cpu.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | llvm_asm!("mov lr, $0" :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/cntvoff_el2.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | aarch64_sysreg_read!(u64, "CNTVOFF_EL2"); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | llvm_asm!(concat!("msr ", $sysreg_name, ", $0") :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/cntvoff_el2.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | aarch64_sysreg_write!(u64, "CNTVOFF_EL2"); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/elr_el2.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | aarch64_sysreg_read!(u64, "ELR_EL2"); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `global_asm` in this scope [INFO] [stdout] --> src/aarch64/exceptions.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | global_asm!(include_str!("exceptions.s")); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::global_asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/exceptions.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | llvm_asm!("msr daifclr, #2"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/exceptions.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | llvm_asm!("msr daifset, #2"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/currentel.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | aarch64_sysreg_read!(u64, "CurrentEL"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/spsel.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | aarch64_sysreg_read!(u64, "SPSel"); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | llvm_asm!(concat!("msr ", $sysreg_name, ", $0") :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/elr_el2.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | aarch64_sysreg_write!(u64, "ELR_EL2"); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | llvm_asm!(concat!("msr ", $sysreg_name, ", $0") :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/spsel.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | aarch64_sysreg_write!(u64, "SPSel"); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/hcr_el2.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | aarch64_sysreg_read!(u64, "HCR_EL2"); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/cnthctl_el2.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | aarch64_sysreg_read!(u64, "CNTHCTL_EL2"); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | llvm_asm!(concat!("msr ", $sysreg_name, ", $0") :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/hcr_el2.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | aarch64_sysreg_write!(u64, "HCR_EL2"); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/spsr_el2.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | aarch64_sysreg_read!(u64, "SPSR_EL2"); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | llvm_asm!(concat!("msr ", $sysreg_name, ", $0") :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/cnthctl_el2.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | aarch64_sysreg_write!(u64, "CNTHCTL_EL2"); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/cntvoff_el2.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | aarch64_sysreg_read!(u64, "CNTVOFF_EL2"); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | llvm_asm!(concat!("msr ", $sysreg_name, ", $0") :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/cntvoff_el2.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | aarch64_sysreg_write!(u64, "CNTVOFF_EL2"); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | llvm_asm!(concat!("msr ", $sysreg_name, ", $0") :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/spsr_el2.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | aarch64_sysreg_write!(u64, "SPSR_EL2"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/mair_el1.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | aarch64_sysreg_read!(u64, "MAIR_EL1"); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/elr_el2.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | aarch64_sysreg_read!(u64, "ELR_EL2"); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | llvm_asm!(concat!("msr ", $sysreg_name, ", $0") :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/elr_el2.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | aarch64_sysreg_write!(u64, "ELR_EL2"); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/hcr_el2.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | aarch64_sysreg_read!(u64, "HCR_EL2"); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | llvm_asm!(concat!("msr ", $sysreg_name, ", $0") :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/mair_el1.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | aarch64_sysreg_write!(u64, "MAIR_EL1"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/mpidr_el1.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | aarch64_sysreg_read!(u64, "MPIDR_EL1"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/sctlr_el1.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | aarch64_sysreg_read!(u64, "SCTLR_EL1"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | llvm_asm!(concat!("msr ", $sysreg_name, ", $0") :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/hcr_el2.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | aarch64_sysreg_write!(u64, "HCR_EL2"); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/spsr_el2.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | aarch64_sysreg_read!(u64, "SPSR_EL2"); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | llvm_asm!(concat!("msr ", $sysreg_name, ", $0") :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/spsr_el2.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | aarch64_sysreg_write!(u64, "SPSR_EL2"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | llvm_asm!(concat!("msr ", $sysreg_name, ", $0") :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/sctlr_el1.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | aarch64_sysreg_write!(u64, "SCTLR_EL1"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/sp_el1.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | aarch64_sysreg_read!(u64, "SP_EL1"); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/mair_el1.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | aarch64_sysreg_read!(u64, "MAIR_EL1"); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | llvm_asm!(concat!("msr ", $sysreg_name, ", $0") :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/sp_el1.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | aarch64_sysreg_write!(u64, "SP_EL1"); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/tcr_el1.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | aarch64_sysreg_read!(u64, "TCR_EL1"); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | llvm_asm!(concat!("msr ", $sysreg_name, ", $0") :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/mair_el1.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | aarch64_sysreg_write!(u64, "MAIR_EL1"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | llvm_asm!(concat!("msr ", $sysreg_name, ", $0") :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/tcr_el1.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | aarch64_sysreg_write!(u64, "TCR_EL1"); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/ttbr0_el1.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | aarch64_sysreg_read!(u64, "TTBR0_EL1"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/mpidr_el1.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | aarch64_sysreg_read!(u64, "MPIDR_EL1"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | llvm_asm!(concat!("msr ", $sysreg_name, ", $0") :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/ttbr0_el1.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | aarch64_sysreg_write!(u64, "TTBR0_EL1"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/sctlr_el1.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | aarch64_sysreg_read!(u64, "SCTLR_EL1"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/ttbr1_el1.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | aarch64_sysreg_read!(u64, "TTBR1_EL1"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | llvm_asm!(concat!("msr ", $sysreg_name, ", $0") :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/ttbr1_el1.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | aarch64_sysreg_write!(u64, "TTBR1_EL1"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | llvm_asm!(concat!("msr ", $sysreg_name, ", $0") :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/sctlr_el1.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | aarch64_sysreg_write!(u64, "SCTLR_EL1"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/vbar_el1.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | aarch64_sysreg_read!(u64, "VBAR_EL1"); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/sp_el1.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | aarch64_sysreg_read!(u64, "SP_EL1"); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | llvm_asm!(concat!("msr ", $sysreg_name, ", $0") :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/sp_el1.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | aarch64_sysreg_write!(u64, "SP_EL1"); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/tcr_el1.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | aarch64_sysreg_read!(u64, "TCR_EL1"); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | llvm_asm!(concat!("msr ", $sysreg_name, ", $0") :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/vbar_el1.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | aarch64_sysreg_write!(u64, "VBAR_EL1"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/cntfrq_el0.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | aarch64_sysreg_read!(u64, "CNTFRQ_EL0"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | llvm_asm!(concat!("msr ", $sysreg_name, ", $0") :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/tcr_el1.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | aarch64_sysreg_write!(u64, "TCR_EL1"); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/ttbr0_el1.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | aarch64_sysreg_read!(u64, "TTBR0_EL1"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/cntp_ctl_el0.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | aarch64_sysreg_read!(u64, "CNTP_CTL_EL0"); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | llvm_asm!(concat!("msr ", $sysreg_name, ", $0") :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/ttbr0_el1.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | aarch64_sysreg_write!(u64, "TTBR0_EL1"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | llvm_asm!(concat!("msr ", $sysreg_name, ", $0") :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/cntp_ctl_el0.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | aarch64_sysreg_write!(u64, "CNTP_CTL_EL0"); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/ttbr1_el1.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | aarch64_sysreg_read!(u64, "TTBR1_EL1"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | llvm_asm!(concat!("msr ", $sysreg_name, ", $0") :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/ttbr1_el1.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | aarch64_sysreg_write!(u64, "TTBR1_EL1"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/cntp_tval_el0.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | aarch64_sysreg_read!(u64, "CNTP_TVAL_EL0"); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | llvm_asm!(concat!("msr ", $sysreg_name, ", $0") :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/cntp_tval_el0.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | aarch64_sysreg_write!(u64, "CNTP_TVAL_EL0"); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/cntpct_el0.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | aarch64_sysreg_read!(u64, "CNTPCT_EL0"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/ttbr0_el0.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | aarch64_sysreg_read!(u64, "TTBR0_EL0"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | llvm_asm!(concat!("msr ", $sysreg_name, ", $0") :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/ttbr0_el0.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | aarch64_sysreg_write!(u64, "TTBR0_EL0"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `global_asm` in this scope [INFO] [stdout] --> src/aarch64/context.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | global_asm!(include_str!("context.s")); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 11 + use core::arch::global_asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/drivers/mmu.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | llvm_asm!("adr $0, __kernel_base" : "=r"(kernel_base) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/drivers/mmu.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 328 | llvm_asm!("adr $0, __rodata_base" : "=r"(rodata_base) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/drivers/mmu.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | llvm_asm!("adr $0, __data_base" : "=r"(data_base) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/drivers/mmu.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | llvm_asm!("adr $0, __kernel_end" : "=r"(kernel_end) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/main.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | llvm_asm!("wfi"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/main.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | llvm_asm!("wfi"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/vbar_el1.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | aarch64_sysreg_read!(u64, "VBAR_EL1"); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | llvm_asm!(concat!("msr ", $sysreg_name, ", $0") :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/vbar_el1.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | aarch64_sysreg_write!(u64, "VBAR_EL1"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/cntfrq_el0.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | aarch64_sysreg_read!(u64, "CNTFRQ_EL0"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/cntp_ctl_el0.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | aarch64_sysreg_read!(u64, "CNTP_CTL_EL0"); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | llvm_asm!(concat!("msr ", $sysreg_name, ", $0") :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/cntp_ctl_el0.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | aarch64_sysreg_write!(u64, "CNTP_CTL_EL0"); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/cntp_tval_el0.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | aarch64_sysreg_read!(u64, "CNTP_TVAL_EL0"); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | llvm_asm!(concat!("msr ", $sysreg_name, ", $0") :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/cntp_tval_el0.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | aarch64_sysreg_write!(u64, "CNTP_TVAL_EL0"); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/cntpct_el0.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | aarch64_sysreg_read!(u64, "CNTPCT_EL0"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | llvm_asm!(concat!("mrs $0, ", $sysreg_name) : "=r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/ttbr0_el0.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | aarch64_sysreg_read!(u64, "TTBR0_EL0"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/registers/accessors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | llvm_asm!(concat!("msr ", $sysreg_name, ", $0") :: "r"(value) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/registers/ttbr0_el0.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | aarch64_sysreg_write!(u64, "TTBR0_EL0"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarch64_sysreg_write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `global_asm` in this scope [INFO] [stdout] --> src/aarch64/context.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | global_asm!(include_str!("context.s")); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 11 + use core::arch::global_asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/drivers/mmu.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | llvm_asm!("adr $0, __kernel_base" : "=r"(kernel_base) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/drivers/mmu.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 328 | llvm_asm!("adr $0, __rodata_base" : "=r"(rodata_base) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEMORY_BASE` in module `platform` [INFO] [stdout] --> src/aarch64/drivers/mmu.rs:298:33 [INFO] [stdout] | [INFO] [stdout] 298 | let mut address = platform::MEMORY_BASE; [INFO] [stdout] | ^^^^^^^^^^^ not found in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEMORY_BASE` in module `platform` [INFO] [stdout] --> src/aarch64/drivers/mmu.rs:300:38 [INFO] [stdout] | [INFO] [stdout] 300 | let mut end = index_L1(platform::MEMORY_BASE + platform::MEMORY_SIZE); [INFO] [stdout] | ^^^^^^^^^^^ not found in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEMORY_SIZE` in module `platform` [INFO] [stdout] --> src/aarch64/drivers/mmu.rs:300:62 [INFO] [stdout] | [INFO] [stdout] 300 | let mut end = index_L1(platform::MEMORY_BASE + platform::MEMORY_SIZE); [INFO] [stdout] | ^^^^^^^^^^^ not found in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_interrupt_controller` in module `platform` [INFO] [stdout] --> src/irq.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | let ic0 = platform::get_interrupt_controller(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_interrupt_controller` in module `platform` [INFO] [stdout] --> src/irq.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | let ic0 = platform::get_interrupt_controller(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEMORY_BASE` in module `platform` [INFO] [stdout] --> src/memory.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | memory_map.add(platform::MEMORY_BASE, platform::MEMORY_SIZE); [INFO] [stdout] | ^^^^^^^^^^^ not found in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEMORY_SIZE` in module `platform` [INFO] [stdout] --> src/memory.rs:55:53 [INFO] [stdout] | [INFO] [stdout] 55 | memory_map.add(platform::MEMORY_BASE, platform::MEMORY_SIZE); [INFO] [stdout] | ^^^^^^^^^^^ not found in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init` in module `platform` [INFO] [stdout] --> src/main.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | platform::init(); [INFO] [stdout] | ^^^^ not found in `platform` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 22 + use crate::aarch64::drivers::mmu::init; [INFO] [stdout] | [INFO] [stdout] 22 + use crate::memory::init; [INFO] [stdout] | [INFO] [stdout] 22 + use crate::scheduler::init; [INFO] [stdout] | [INFO] [stdout] help: if you import `init`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 72 - platform::init(); [INFO] [stdout] 72 + init(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/drivers/mmu.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | llvm_asm!("adr $0, __data_base" : "=r"(data_base) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/aarch64/drivers/mmu.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | llvm_asm!("adr $0, __kernel_end" : "=r"(kernel_end) ::: "volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::sp_el1::SP_EL1` [INFO] [stdout] --> src/aarch64/registers.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub use self::sp_el1::SP_EL1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::ttbr0_el0::TTBR0_EL0` [INFO] [stdout] --> src/aarch64/registers.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub use self::ttbr0_el0::TTBR0_EL0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/platform.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(board = "qemu")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("qemu"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"qemu\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/main.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | llvm_asm!("wfi"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/platform.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(board = "qemu")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("qemu"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"qemu\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/platform.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(board = "raspi4")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("raspi4"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"raspi4\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/platform.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(board = "raspi4")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("raspi4"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"raspi4\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/platform.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(board = "pinebookpro")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("pinebookpro"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"pinebookpro\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/platform.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(board = "pinebookpro")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("pinebookpro"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"pinebookpro\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `soc` [INFO] [stdout] --> src/drivers/soc.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(soc = "bcm2711")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(soc, values("bcm2711"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(soc, values(\"bcm2711\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and no value [INFO] [stdout] | [INFO] [stdout] 9 - #[cfg(soc = "bcm2711")] [INFO] [stdout] 9 + #[cfg(doc)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `soc` [INFO] [stdout] --> src/drivers/soc.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(soc = "bcm2711")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(soc, values("bcm2711"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(soc, values(\"bcm2711\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and no value [INFO] [stdout] | [INFO] [stdout] 12 - #[cfg(soc = "bcm2711")] [INFO] [stdout] 12 + #[cfg(doc)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `soc` [INFO] [stdout] --> src/drivers/soc.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(soc = "rk3399")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(soc, values("rk3399"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(soc, values(\"rk3399\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and no value [INFO] [stdout] | [INFO] [stdout] 17 - #[cfg(soc = "rk3399")] [INFO] [stdout] 17 + #[cfg(doc)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `soc` [INFO] [stdout] --> src/drivers/soc.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(soc = "rk3399")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(soc, values("rk3399"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(soc, values(\"rk3399\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and no value [INFO] [stdout] | [INFO] [stdout] 20 - #[cfg(soc = "rk3399")] [INFO] [stdout] 20 + #[cfg(doc)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `llvm_asm` in this scope [INFO] [stdout] --> src/main.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | llvm_asm!("wfi"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `soc` [INFO] [stdout] --> src/drivers/soc.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(soc = "virt")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(soc, values("virt"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(soc, values(\"virt\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and no value [INFO] [stdout] | [INFO] [stdout] 25 - #[cfg(soc = "virt")] [INFO] [stdout] 25 + #[cfg(doc)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `soc` [INFO] [stdout] --> src/drivers/soc.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(soc = "virt")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(soc, values("virt"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(soc, values(\"virt\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and no value [INFO] [stdout] | [INFO] [stdout] 28 - #[cfg(soc = "virt")] [INFO] [stdout] 28 + #[cfg(doc)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/irq.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | handler: &'static mut (dyn IRQHandler), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - handler: &'static mut (dyn IRQHandler), [INFO] [stdout] 17 + handler: &'static mut dyn IRQHandler, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/irq.rs:22:60 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn register_handler(intnum: u32, handler: &'static mut (dyn IRQHandler)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 - pub fn register_handler(intnum: u32, handler: &'static mut (dyn IRQHandler)) { [INFO] [stdout] 22 + pub fn register_handler(intnum: u32, handler: &'static mut dyn IRQHandler) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/irq.rs:63:57 [INFO] [stdout] | [INFO] [stdout] 63 | pub const fn new(intnum: u32, handler: &'static mut (dyn IRQHandler)) -> Self { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 63 - pub const fn new(intnum: u32, handler: &'static mut (dyn IRQHandler)) -> Self { [INFO] [stdout] 63 + pub const fn new(intnum: u32, handler: &'static mut dyn IRQHandler) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arch::memory::*` [INFO] [stdout] --> src/memory.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use arch::memory::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/scheduler.rs:45:53 [INFO] [stdout] | [INFO] [stdout] 45 | extern "C" fn start_task(argument: usize, callback: extern fn(usize)) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/scheduler.rs:101:39 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn add(argument: usize, callback: extern fn(usize), stack: usize, ttbr0_base: usize) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/aarch64/drivers/mmu.rs:291:3 [INFO] [stdout] | [INFO] [stdout] 290 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 291 | #[inline(never)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `naked_functions` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(naked_functions)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `or_patterns` has been stable since 1.53.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | #![feature(or_patterns)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `global_asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(global_asm)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `panic_info_message` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(panic_info_message)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `llvm_asm` [INFO] [stdout] --> src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(llvm_asm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/aarch64/boot.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | unsafe fn boot() -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #138997 for more information [INFO] [stdout] = help: add `#![feature(naked_functions_rustic_abi)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-05; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/aarch64/context.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | / extern "C" { [INFO] [stdout] 15 | | pub fn aarch64_switch_context(current_addr: usize, next_addr: usize); [INFO] [stdout] 16 | | pub fn aarch64_start_task(); [INFO] [stdout] 17 | | } [INFO] [stdout] | |_____- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/aarch64/drivers/mmu.rs:292:1 [INFO] [stdout] | [INFO] [stdout] 292 | pub unsafe fn init() -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #138997 for more information [INFO] [stdout] = help: add `#![feature(naked_functions_rustic_abi)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-05; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEMORY_BASE` in module `platform` [INFO] [stdout] --> src/aarch64/drivers/mmu.rs:298:33 [INFO] [stdout] | [INFO] [stdout] 298 | let mut address = platform::MEMORY_BASE; [INFO] [stdout] | ^^^^^^^^^^^ not found in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEMORY_BASE` in module `platform` [INFO] [stdout] --> src/aarch64/drivers/mmu.rs:300:38 [INFO] [stdout] | [INFO] [stdout] 300 | let mut end = index_L1(platform::MEMORY_BASE + platform::MEMORY_SIZE); [INFO] [stdout] | ^^^^^^^^^^^ not found in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEMORY_SIZE` in module `platform` [INFO] [stdout] --> src/aarch64/drivers/mmu.rs:300:62 [INFO] [stdout] | [INFO] [stdout] 300 | let mut end = index_L1(platform::MEMORY_BASE + platform::MEMORY_SIZE); [INFO] [stdout] | ^^^^^^^^^^^ not found in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_interrupt_controller` in module `platform` [INFO] [stdout] --> src/irq.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | let ic0 = platform::get_interrupt_controller(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_interrupt_controller` in module `platform` [INFO] [stdout] --> src/irq.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | let ic0 = platform::get_interrupt_controller(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEMORY_BASE` in module `platform` [INFO] [stdout] --> src/memory.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | memory_map.add(platform::MEMORY_BASE, platform::MEMORY_SIZE); [INFO] [stdout] | ^^^^^^^^^^^ not found in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEMORY_SIZE` in module `platform` [INFO] [stdout] --> src/memory.rs:55:53 [INFO] [stdout] | [INFO] [stdout] 55 | memory_map.add(platform::MEMORY_BASE, platform::MEMORY_SIZE); [INFO] [stdout] | ^^^^^^^^^^^ not found in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init` in module `platform` [INFO] [stdout] --> src/main.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | platform::init(); [INFO] [stdout] | ^^^^ not found in `platform` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 22 + use crate::aarch64::drivers::mmu::init; [INFO] [stdout] | [INFO] [stdout] 22 + use crate::memory::init; [INFO] [stdout] | [INFO] [stdout] 22 + use crate::scheduler::init; [INFO] [stdout] | [INFO] [stdout] help: if you import `init`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 72 - platform::init(); [INFO] [stdout] 72 + init(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `#[alloc_error_handler]` in this crate conflicts with allocation error handler in: std [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::sp_el1::SP_EL1` [INFO] [stdout] --> src/aarch64/registers.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub use self::sp_el1::SP_EL1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::ttbr0_el0::TTBR0_EL0` [INFO] [stdout] --> src/aarch64/registers.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub use self::ttbr0_el0::TTBR0_EL0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/platform.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(board = "qemu")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("qemu"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"qemu\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/platform.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(board = "qemu")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("qemu"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"qemu\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/platform.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(board = "raspi4")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("raspi4"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"raspi4\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/platform.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(board = "raspi4")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("raspi4"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"raspi4\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/platform.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(board = "pinebookpro")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("pinebookpro"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"pinebookpro\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `board` [INFO] [stdout] --> src/platform.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(board = "pinebookpro")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("pinebookpro"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"pinebookpro\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `soc` [INFO] [stdout] --> src/drivers/soc.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(soc = "bcm2711")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(soc, values("bcm2711"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(soc, values(\"bcm2711\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and no value [INFO] [stdout] | [INFO] [stdout] 9 - #[cfg(soc = "bcm2711")] [INFO] [stdout] 9 + #[cfg(doc)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `soc` [INFO] [stdout] --> src/drivers/soc.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(soc = "bcm2711")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(soc, values("bcm2711"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(soc, values(\"bcm2711\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and no value [INFO] [stdout] | [INFO] [stdout] 12 - #[cfg(soc = "bcm2711")] [INFO] [stdout] 12 + #[cfg(doc)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `soc` [INFO] [stdout] --> src/drivers/soc.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(soc = "rk3399")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(soc, values("rk3399"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(soc, values(\"rk3399\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and no value [INFO] [stdout] | [INFO] [stdout] 17 - #[cfg(soc = "rk3399")] [INFO] [stdout] 17 + #[cfg(doc)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `soc` [INFO] [stdout] --> src/drivers/soc.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(soc = "rk3399")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(soc, values("rk3399"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(soc, values(\"rk3399\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and no value [INFO] [stdout] | [INFO] [stdout] 20 - #[cfg(soc = "rk3399")] [INFO] [stdout] 20 + #[cfg(doc)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `soc` [INFO] [stdout] --> src/drivers/soc.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(soc = "virt")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(soc, values("virt"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(soc, values(\"virt\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and no value [INFO] [stdout] | [INFO] [stdout] 25 - #[cfg(soc = "virt")] [INFO] [stdout] 25 + #[cfg(doc)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `soc` [INFO] [stdout] --> src/drivers/soc.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(soc = "virt")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(soc, values("virt"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(soc, values(\"virt\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and no value [INFO] [stdout] | [INFO] [stdout] 28 - #[cfg(soc = "virt")] [INFO] [stdout] 28 + #[cfg(doc)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/irq.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | handler: &'static mut (dyn IRQHandler), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - handler: &'static mut (dyn IRQHandler), [INFO] [stdout] 17 + handler: &'static mut dyn IRQHandler, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: naked functions must contain a single `naked_asm!` invocation [INFO] [stdout] --> src/aarch64/boot.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub unsafe extern "C" fn _start() -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | [INFO] [stdout] 26 | / if cpu::core_id() == 0 { [INFO] [stdout] 27 | | let current_el = CurrentEL.read() & CurrentEL::EL_MASK; [INFO] [stdout] 28 | | if current_el == CurrentEL::EL2_VALUE { [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | |_____- not allowed in naked functions [INFO] [stdout] 48 | [INFO] [stdout] 49 | cpu::hang() [INFO] [stdout] | ----------- not allowed in naked functions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: naked functions must contain a single `naked_asm!` invocation [INFO] [stdout] --> src/aarch64/boot.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | unsafe fn boot() -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | SPSel.write(SPSel::SP_ELx); [INFO] [stdout] | --------------------------- not allowed in naked functions [INFO] [stdout] ... [INFO] [stdout] 60 | let bss_base: *mut usize; [INFO] [stdout] | ------------------------- not allowed in naked functions [INFO] [stdout] 61 | let bss_end: *mut usize; [INFO] [stdout] | ------------------------ not allowed in naked functions [INFO] [stdout] ... [INFO] [stdout] 64 | zero_volatile(bss_base, bss_end); [INFO] [stdout] | --------------------------------- not allowed in naked functions [INFO] [stdout] ... [INFO] [stdout] 67 | let (kernel_base, kernel_size) = mmu::init(); [INFO] [stdout] | --------------------------------------------- not allowed in naked functions [INFO] [stdout] ... [INFO] [stdout] 73 | VBAR_EL1.write(exception_vector_table as usize as u64); [INFO] [stdout] | ------------------------------------------------------- not allowed in naked functions [INFO] [stdout] ... [INFO] [stdout] 76 | kernel_main(kernel_base, kernel_size); [INFO] [stdout] | -------------------------------------- not allowed in naked functions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/irq.rs:22:60 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn register_handler(intnum: u32, handler: &'static mut (dyn IRQHandler)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 - pub fn register_handler(intnum: u32, handler: &'static mut (dyn IRQHandler)) { [INFO] [stdout] 22 + pub fn register_handler(intnum: u32, handler: &'static mut dyn IRQHandler) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/irq.rs:63:57 [INFO] [stdout] | [INFO] [stdout] 63 | pub const fn new(intnum: u32, handler: &'static mut (dyn IRQHandler)) -> Self { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 63 - pub const fn new(intnum: u32, handler: &'static mut (dyn IRQHandler)) -> Self { [INFO] [stdout] 63 + pub const fn new(intnum: u32, handler: &'static mut dyn IRQHandler) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arch::memory::*` [INFO] [stdout] --> src/memory.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use arch::memory::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/scheduler.rs:45:53 [INFO] [stdout] | [INFO] [stdout] 45 | extern "C" fn start_task(argument: usize, callback: extern fn(usize)) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/scheduler.rs:101:39 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn add(argument: usize, callback: extern fn(usize), stack: usize, ttbr0_base: usize) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/panic.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / fn on_panic(info: &PanicInfo) -> ! { [INFO] [stdout] 6 | | log_write!( [INFO] [stdout] 7 | | "\n\n--------------------------------- \ [INFO] [stdout] 8 | | Kernel Panic \ [INFO] [stdout] ... | [INFO] [stdout] 14 | | loop {} [INFO] [stdout] 15 | | } [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/0f353363965ebf05e0757f7679c800b39c51a07e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9fbdd90241d2d923.rlib [INFO] [stdout] = note: second definition in the local crate (`leos_kernel`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0425, E0432, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `leos-kernel` (bin "leos-kernel" test) due to 73 previous errors; 21 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0787]: naked functions must contain a single `naked_asm!` invocation [INFO] [stdout] --> src/aarch64/drivers/mmu.rs:292:1 [INFO] [stdout] | [INFO] [stdout] 292 | pub unsafe fn init() -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 293 | // set up MMU: [INFO] [stdout] 294 | let kernel_base: usize; [INFO] [stdout] | ----------------------- not allowed in naked functions [INFO] [stdout] 295 | let data_base: usize; [INFO] [stdout] | --------------------- not allowed in naked functions [INFO] [stdout] 296 | let rodata_base: usize; [INFO] [stdout] | ----------------------- not allowed in naked functions [INFO] [stdout] 297 | let kernel_end: usize; [INFO] [stdout] | ---------------------- not allowed in naked functions [INFO] [stdout] 298 | let mut address = platform::MEMORY_BASE; [INFO] [stdout] | ---------------------------------------- not allowed in naked functions [INFO] [stdout] 299 | let mut start = index_L1(address); [INFO] [stdout] | ---------------------------------- not allowed in naked functions [INFO] [stdout] 300 | let mut end = index_L1(platform::MEMORY_BASE + platform::MEMORY_SIZE); [INFO] [stdout] | ---------------------------------------------------------------------- not allowed in naked functions [INFO] [stdout] ... [INFO] [stdout] 303 | / TCR_EL1.write( [INFO] [stdout] 304 | | TCR_EL1::IPS_36BIT [INFO] [stdout] 305 | | | TCR_EL1::TG1_4KB [INFO] [stdout] 306 | | | TCR_EL1::SH1_INNER_SHAREABLE [INFO] [stdout] ... | [INFO] [stdout] 314 | | | TCR_EL1::T0SZ(64 - ADDRESS_BITS as u64) [INFO] [stdout] 315 | | ); [INFO] [stdout] | |______- not allowed in naked functions [INFO] [stdout] ... [INFO] [stdout] 318 | / MAIR_EL1.write( [INFO] [stdout] 319 | | MAIR_EL1::attr(DEVICE_ATTR, MAIR_EL1::device::nGnRE) [INFO] [stdout] 320 | | | MAIR_EL1::attr(MEMORY_ATTR, MAIR_EL1::normal::inner::WriteBackNonTransient [INFO] [stdout] 321 | | | MAIR_EL1::normal::inner::ReadAllocate | MAIR_EL1::normal::inner::WriteAllocate [INFO] [stdout] ... | [INFO] [stdout] 324 | | ), [INFO] [stdout] 325 | | ); [INFO] [stdout] | |______- not allowed in naked functions [INFO] [stdout] ... [INFO] [stdout] 333 | TTBR0_IDENTITY = kernel_end as u64; [INFO] [stdout] | ----------------------------------- not allowed in naked functions [INFO] [stdout] ... [INFO] [stdout] 336 | TTBR0_EL1.write(kernel_end as u64 | TTBR0_EL1::CNP); [INFO] [stdout] | ---------------------------------------------------- not allowed in naked functions [INFO] [stdout] ... [INFO] [stdout] 339 | let mut table = &mut *(kernel_end as *mut TranslationTable); [INFO] [stdout] | ------------------------------------------------------------ not allowed in naked functions [INFO] [stdout] 340 | / for i in start..end { [INFO] [stdout] 341 | | table.set(i, address, IDENTITY_FLAGS); [INFO] [stdout] 342 | | address += BLOCK_L1_SIZE; [INFO] [stdout] 343 | | } [INFO] [stdout] | |_____- not allowed in naked functions [INFO] [stdout] ... [INFO] [stdout] 346 | address = kernel_end + PAGE_SIZE; [INFO] [stdout] | --------------------------------- not allowed in naked functions [INFO] [stdout] 347 | [INFO] [stdout] 348 | TTBR1_EL1.write(address as u64 | TTBR0_EL1::CNP); [INFO] [stdout] | ------------------------------------------------- not allowed in naked functions [INFO] [stdout] 349 | [INFO] [stdout] 350 | table = &mut *(address as *mut TranslationTable); [INFO] [stdout] | ------------------------------------------------- not allowed in naked functions [INFO] [stdout] 351 | address += PAGE_SIZE; [INFO] [stdout] | --------------------- not allowed in naked functions [INFO] [stdout] 352 | table.set(0, address, KERNEL_DATA | TABLE); [INFO] [stdout] | ------------------------------------------- not allowed in naked functions [INFO] [stdout] ... [INFO] [stdout] 355 | table = &mut *(address as *mut TranslationTable); [INFO] [stdout] | ------------------------------------------------- not allowed in naked functions [INFO] [stdout] 356 | address += PAGE_SIZE; [INFO] [stdout] | --------------------- not allowed in naked functions [INFO] [stdout] 357 | table.set(0, address, KERNEL_DATA | TABLE); [INFO] [stdout] | ------------------------------------------- not allowed in naked functions [INFO] [stdout] ... [INFO] [stdout] 360 | table = &mut *(address as *mut TranslationTable); [INFO] [stdout] | ------------------------------------------------- not allowed in naked functions [INFO] [stdout] 361 | end = (kernel_end - kernel_base) >> PAGE_BITS; [INFO] [stdout] | ---------------------------------------------- not allowed in naked functions [INFO] [stdout] 362 | / if end > 512 { [INFO] [stdout] 363 | | cpu::hang(); [INFO] [stdout] 364 | | } [INFO] [stdout] | |_____- not allowed in naked functions [INFO] [stdout] 365 | address = kernel_base; [INFO] [stdout] | ---------------------- not allowed in naked functions [INFO] [stdout] 366 | [INFO] [stdout] 367 | let mut flags = KERNEL_CODE; [INFO] [stdout] | ---------------------------- not allowed in naked functions [INFO] [stdout] 368 | [INFO] [stdout] 369 | / for i in 0..end { [INFO] [stdout] 370 | | if address >= data_base { [INFO] [stdout] 371 | | flags = KERNEL_DATA; [INFO] [stdout] 372 | | } else if address >= rodata_base { [INFO] [stdout] ... | [INFO] [stdout] 376 | | address += PAGE_SIZE; [INFO] [stdout] 377 | | } [INFO] [stdout] | |_____- not allowed in naked functions [INFO] [stdout] ... [INFO] [stdout] 381 | address += 4 * PAGE_SIZE; [INFO] [stdout] | ------------------------- not allowed in naked functions [INFO] [stdout] ... [INFO] [stdout] 386 | table.set(end, 0xBADC0FFEE, flags); [INFO] [stdout] | ----------------------------------- not allowed in naked functions [INFO] [stdout] 387 | start = end + 1; [INFO] [stdout] | ---------------- not allowed in naked functions [INFO] [stdout] 388 | end = start + STACK_PAGES; [INFO] [stdout] | -------------------------- not allowed in naked functions [INFO] [stdout] 389 | / for i in start..end { [INFO] [stdout] 390 | | table.set(i, address, flags | TABLE); [INFO] [stdout] 391 | | address += PAGE_SIZE; [INFO] [stdout] 392 | | } [INFO] [stdout] | |_____- not allowed in naked functions [INFO] [stdout] ... [INFO] [stdout] 395 | cpu::sp::write(KERNEL_BASE | (end << PAGE_BITS)); [INFO] [stdout] | ------------------------------------------------- not allowed in naked functions [INFO] [stdout] ... [INFO] [stdout] 398 | cpu::lr::write(cpu::lr::read() - kernel_base + KERNEL_BASE); [INFO] [stdout] | ------------------------------------------------------------ not allowed in naked functions [INFO] [stdout] ... [INFO] [stdout] 401 | SCTLR_EL1.set(SCTLR_EL1::M); [INFO] [stdout] | ---------------------------- not allowed in naked functions [INFO] [stdout] 402 | [INFO] [stdout] 403 | cpu::isb(); [INFO] [stdout] | ----------- not allowed in naked functions [INFO] [stdout] 404 | [INFO] [stdout] 405 | (kernel_base, address - kernel_base) [INFO] [stdout] | ------------------------------------ not allowed in naked functions [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `leos-kernel` (bin "leos-kernel") due to 78 previous errors; 26 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5f27073857ce827b70ecf6bca526e8177d5086339657959a35e169bbac25421b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f27073857ce827b70ecf6bca526e8177d5086339657959a35e169bbac25421b", kill_on_drop: false }` [INFO] [stdout] 5f27073857ce827b70ecf6bca526e8177d5086339657959a35e169bbac25421b