[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#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flowenware%2Fleos-kernel" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lowenware/leos-kernel on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] 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-0-tc1/source/Cargo.toml [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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91f4645ca77c81591e3d265df8319ebf66a1c52a9c32355cc96eac14a84ad922 [INFO] running `Command { std: "docker" "start" "-a" "91f4645ca77c81591e3d265df8319ebf66a1c52a9c32355cc96eac14a84ad922", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91f4645ca77c81591e3d265df8319ebf66a1c52a9c32355cc96eac14a84ad922", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91f4645ca77c81591e3d265df8319ebf66a1c52a9c32355cc96eac14a84ad922", kill_on_drop: false }` [INFO] [stdout] 91f4645ca77c81591e3d265df8319ebf66a1c52a9c32355cc96eac14a84ad922 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb526f5376c00d7b10f09caf5d16abe915a4186d79584157e35d72fdc585eb08 [INFO] running `Command { std: "docker" "start" "-a" "cb526f5376c00d7b10f09caf5d16abe915a4186d79584157e35d72fdc585eb08", 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: 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: at compile-time, pointers do not have an integer value, so these casts cannot be properly supported [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: 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/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: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: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 `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/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/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/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: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/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: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/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/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: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/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: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/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/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: 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[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 items [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] 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/506512391b1a75ae450d36c9420978402a91abcc/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-6701759d8343e913.rlib [INFO] [stdout] = note: second definition in the local crate (`leos_kernel`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 70 previous errors [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] [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: 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: at compile-time, pointers do not have an integer value, so these casts cannot be properly supported [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `leos-kernel` (bin "leos-kernel" test) due to 71 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: 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/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: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: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 `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/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/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/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: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/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: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/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/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: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/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: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/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/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: 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[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 items [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[E0787]: naked functions must contain a single asm block [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] 29 | | // Do not trap access to EL1 physical timer registers to EL2 [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] 47 | | } [INFO] [stdout] | |_____- non-asm is unsupported in naked functions [INFO] [stdout] 48 | [INFO] [stdout] 49 | cpu::hang() [INFO] [stdout] | ----------- non-asm is unsupported in naked functions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: naked functions must contain a single asm block [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] | --------------------------- non-asm is unsupported in naked functions [INFO] [stdout] ... [INFO] [stdout] 60 | let bss_base: *mut usize; [INFO] [stdout] | ------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 61 | let bss_end: *mut usize; [INFO] [stdout] | ------------------------ non-asm is unsupported in naked functions [INFO] [stdout] ... [INFO] [stdout] 64 | zero_volatile(bss_base, bss_end); [INFO] [stdout] | --------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] ... [INFO] [stdout] 67 | let (kernel_base, kernel_size) = mmu::init(); [INFO] [stdout] | --------------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] ... [INFO] [stdout] 73 | VBAR_EL1.write(exception_vector_table as usize as u64); [INFO] [stdout] | ------------------------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] ... [INFO] [stdout] 76 | kernel_main(kernel_base, kernel_size); [INFO] [stdout] | -------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: naked functions must contain a single asm block [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] | ----------------------- non-asm is unsupported in naked functions [INFO] [stdout] 295 | let data_base: usize; [INFO] [stdout] | --------------------- non-asm is unsupported in naked functions [INFO] [stdout] 296 | let rodata_base: usize; [INFO] [stdout] | ----------------------- non-asm is unsupported in naked functions [INFO] [stdout] 297 | let kernel_end: usize; [INFO] [stdout] | ---------------------- non-asm is unsupported in naked functions [INFO] [stdout] 298 | let mut address = platform::MEMORY_BASE; [INFO] [stdout] | ---------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 299 | let mut start = index_L1(address); [INFO] [stdout] | ---------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 300 | let mut end = index_L1(platform::MEMORY_BASE + platform::MEMORY_SIZE); [INFO] [stdout] | ---------------------------------------------------------------------- non-asm is unsupported 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] | |______- non-asm is unsupported 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] | |______- non-asm is unsupported in naked functions [INFO] [stdout] ... [INFO] [stdout] 333 | TTBR0_IDENTITY = kernel_end as u64; [INFO] [stdout] | ----------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] ... [INFO] [stdout] 336 | TTBR0_EL1.write(kernel_end as u64 | TTBR0_EL1::CNP); [INFO] [stdout] | ---------------------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] ... [INFO] [stdout] 339 | let mut table = &mut *(kernel_end as *mut TranslationTable); [INFO] [stdout] | ------------------------------------------------------------ non-asm is unsupported 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] | |_____- non-asm is unsupported in naked functions [INFO] [stdout] ... [INFO] [stdout] 346 | address = kernel_end + PAGE_SIZE; [INFO] [stdout] | --------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 347 | [INFO] [stdout] 348 | TTBR1_EL1.write(address as u64 | TTBR0_EL1::CNP); [INFO] [stdout] | ------------------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 349 | [INFO] [stdout] 350 | table = &mut *(address as *mut TranslationTable); [INFO] [stdout] | ------------------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 351 | address += PAGE_SIZE; [INFO] [stdout] | --------------------- non-asm is unsupported in naked functions [INFO] [stdout] 352 | table.set(0, address, KERNEL_DATA | TABLE); [INFO] [stdout] | ------------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] ... [INFO] [stdout] 355 | table = &mut *(address as *mut TranslationTable); [INFO] [stdout] | ------------------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 356 | address += PAGE_SIZE; [INFO] [stdout] | --------------------- non-asm is unsupported in naked functions [INFO] [stdout] 357 | table.set(0, address, KERNEL_DATA | TABLE); [INFO] [stdout] | ------------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] ... [INFO] [stdout] 360 | table = &mut *(address as *mut TranslationTable); [INFO] [stdout] | ------------------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 361 | end = (kernel_end - kernel_base) >> PAGE_BITS; [INFO] [stdout] | ---------------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 362 | / if end > 512 { [INFO] [stdout] 363 | | cpu::hang(); [INFO] [stdout] 364 | | } [INFO] [stdout] | |_____- non-asm is unsupported in naked functions [INFO] [stdout] 365 | address = kernel_base; [INFO] [stdout] | ---------------------- non-asm is unsupported in naked functions [INFO] [stdout] 366 | [INFO] [stdout] 367 | let mut flags = KERNEL_CODE; [INFO] [stdout] | ---------------------------- non-asm is unsupported 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] | |_____- non-asm is unsupported in naked functions [INFO] [stdout] ... [INFO] [stdout] 381 | address += 4 * PAGE_SIZE; [INFO] [stdout] | ------------------------- non-asm is unsupported in naked functions [INFO] [stdout] ... [INFO] [stdout] 386 | table.set(end, 0xBADC0FFEE, flags); [INFO] [stdout] | ----------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 387 | start = end + 1; [INFO] [stdout] | ---------------- non-asm is unsupported in naked functions [INFO] [stdout] 388 | end = start + STACK_PAGES; [INFO] [stdout] | -------------------------- non-asm is unsupported 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] | |_____- non-asm is unsupported in naked functions [INFO] [stdout] ... [INFO] [stdout] 395 | cpu::sp::write(KERNEL_BASE | (end << PAGE_BITS)); [INFO] [stdout] | ------------------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] ... [INFO] [stdout] 398 | cpu::lr::write(cpu::lr::read() - kernel_base + KERNEL_BASE); [INFO] [stdout] | ------------------------------------------------------------ non-asm is unsupported in naked functions [INFO] [stdout] ... [INFO] [stdout] 401 | SCTLR_EL1.set(SCTLR_EL1::M); [INFO] [stdout] | ---------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 402 | [INFO] [stdout] 403 | cpu::isb(); [INFO] [stdout] | ----------- non-asm is unsupported in naked functions [INFO] [stdout] 404 | [INFO] [stdout] 405 | (kernel_base, address - kernel_base) [INFO] [stdout] | ------------------------------------ non-asm is unsupported in naked functions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: naked functions cannot be inlined [INFO] [stdout] --> src/aarch64/drivers/mmu.rs:291:1 [INFO] [stdout] | [INFO] [stdout] 291 | #[inline(never)] [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]: mutable references are not allowed in constant functions [INFO] [stdout] --> src/memory/heap.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | HeapNode { next: None, size: 0 } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: pointers cannot be cast to integers during const eval [INFO] [stdout] --> src/aarch64/context.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | lr: (asm::aarch64_start_task as *const()) as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: at compile-time, pointers do not have an integer value [INFO] [stdout] = note: avoiding this restriction via `transmute`, `union`, or raw pointers leads to compile-time undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> src/irq.rs:63:35 [INFO] [stdout] | [INFO] [stdout] 63 | pub const fn new(intnum: u32, handler: &'static mut (dyn IRQHandler)) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 76 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0557, E0635, E0658, E0787. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `leos-kernel` (bin "leos-kernel") due to 77 previous errors [INFO] running `Command { std: "docker" "inspect" "cb526f5376c00d7b10f09caf5d16abe915a4186d79584157e35d72fdc585eb08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb526f5376c00d7b10f09caf5d16abe915a4186d79584157e35d72fdc585eb08", kill_on_drop: false }` [INFO] [stdout] cb526f5376c00d7b10f09caf5d16abe915a4186d79584157e35d72fdc585eb08 [INFO] checking lowenware/leos-kernel against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flowenware%2Fleos-kernel" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lowenware/leos-kernel on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc2/source/Cargo.toml [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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 952981d49c2bcdd278493e3cd590737d5fe9a62d8d364dde409998e955f63f76 [INFO] running `Command { std: "docker" "start" "-a" "952981d49c2bcdd278493e3cd590737d5fe9a62d8d364dde409998e955f63f76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "952981d49c2bcdd278493e3cd590737d5fe9a62d8d364dde409998e955f63f76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "952981d49c2bcdd278493e3cd590737d5fe9a62d8d364dde409998e955f63f76", kill_on_drop: false }` [INFO] [stdout] 952981d49c2bcdd278493e3cd590737d5fe9a62d8d364dde409998e955f63f76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b8030840e5032455f57f107ff471638d80a7e3251eff98bdc43134296c4719f [INFO] running `Command { std: "docker" "start" "-a" "5b8030840e5032455f57f107ff471638d80a7e3251eff98bdc43134296c4719f", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "5b8030840e5032455f57f107ff471638d80a7e3251eff98bdc43134296c4719f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b8030840e5032455f57f107ff471638d80a7e3251eff98bdc43134296c4719f", kill_on_drop: false }` [INFO] [stdout] 5b8030840e5032455f57f107ff471638d80a7e3251eff98bdc43134296c4719f