[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] testing lowenware/leos-kernel against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flowenware%2Fleos-kernel" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lowenware/leos-kernel on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-12/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: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fc378d7dc4b565190f7c3a5a0a453415863207942aef744a40ec05043589e832 [INFO] running `Command { std: "docker" "start" "-a" "fc378d7dc4b565190f7c3a5a0a453415863207942aef744a40ec05043589e832", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc378d7dc4b565190f7c3a5a0a453415863207942aef744a40ec05043589e832", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc378d7dc4b565190f7c3a5a0a453415863207942aef744a40ec05043589e832", kill_on_drop: false }` [INFO] [stdout] fc378d7dc4b565190f7c3a5a0a453415863207942aef744a40ec05043589e832 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e25899c689261ab21b080411351e49547cd6ffa824be7c76d370eb7072e0acb1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e25899c689261ab21b080411351e49547cd6ffa824be7c76d370eb7072e0acb1", kill_on_drop: false }` [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling 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] = note: consider importing this macro: [INFO] [stdout] core::arch::global_asm [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] = note: consider importing this macro: [INFO] [stdout] core::arch::global_asm [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] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(alloc_layout_extra)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(alloc_error_handler)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(const_fn)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(const_raw_ptr_to_usize_cast)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(format_args_nl)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(global_asm)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(llvm_asm)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(naked_functions)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #![feature(or_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the attribute [INFO] [stdout] | [INFO] [stdout] = help: the feature `or_patterns` has been stable since 1.53.0 and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(panic_info_message)] [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] 25 | | [INFO] [stdout] 26 | | if cpu::core_id() == 0 { [INFO] [stdout] | |_____- [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] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Rust ABI is unsupported in naked functions [INFO] [stdout] --> src/aarch64/boot.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | unsafe fn boot() -> ! { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(undefined_naked_function_abi)]` on by default [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] 55 | | [INFO] [stdout] 56 | | // Each EL has own stack [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] 77 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/aarch64/context.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | / extern "C" { [INFO] [stdout] 15 | | pub fn aarch64_switch_context(current_addr: usize, next_addr: usize); [INFO] [stdout] 16 | | pub fn aarch64_start_task(); [INFO] [stdout] 17 | | } [INFO] [stdout] | |_____- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Rust ABI is unsupported in naked functions [INFO] [stdout] --> src/aarch64/drivers/mmu.rs:292:15 [INFO] [stdout] | [INFO] [stdout] 292 | pub unsafe fn init() -> (usize, usize) { [INFO] [stdout] | ^^^^ [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] 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] 406 | | } [INFO] [stdout] | |_^ [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] warning: unused import: `SystemTimer` [INFO] [stdout] --> src/log.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::drivers::{SystemTimer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::drivers::SerialDevice` [INFO] [stdout] --> src/log.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::drivers::SerialDevice; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InterruptController` [INFO] [stdout] --> src/irq.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::drivers::{InterruptController}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 83 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0554, E0557, 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` due to 84 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e25899c689261ab21b080411351e49547cd6ffa824be7c76d370eb7072e0acb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e25899c689261ab21b080411351e49547cd6ffa824be7c76d370eb7072e0acb1", kill_on_drop: false }` [INFO] [stdout] e25899c689261ab21b080411351e49547cd6ffa824be7c76d370eb7072e0acb1