[INFO] cloning repository https://github.com/Demindiro/norost-a [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Demindiro/norost-a" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDemindiro%2Fnorost-a", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDemindiro%2Fnorost-a'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fbaeaa8200d66864c7754073f64529d32746e71d [INFO] testing Demindiro/norost-a against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDemindiro%2Fnorost-a" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Demindiro/norost-a 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] removed /workspace/builds/worker-14/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/Demindiro/norost-a [INFO] finished tweaking git repo https://github.com/Demindiro/norost-a [INFO] tweaked toml for git repo https://github.com/Demindiro/norost-a written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/Demindiro/norost-a 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] Downloading crates ... [INFO] [stderr] Downloaded fscommon v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] [stdout] 2d6c150905bb1a9864af02aec6fd3d9372c1f7316e1ca1cba23f26c364b8d24d [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" "2d6c150905bb1a9864af02aec6fd3d9372c1f7316e1ca1cba23f26c364b8d24d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d6c150905bb1a9864af02aec6fd3d9372c1f7316e1ca1cba23f26c364b8d24d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d6c150905bb1a9864af02aec6fd3d9372c1f7316e1ca1cba23f26c364b8d24d", kill_on_drop: false }` [INFO] [stdout] 2d6c150905bb1a9864af02aec6fd3d9372c1f7316e1ca1cba23f26c364b8d24d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] 3899969e527a2fa462208d14cb6b8b93f4d633a9f4f42f6e71a712c63d7286c1 [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" "3899969e527a2fa462208d14cb6b8b93f4d633a9f4f42f6e71a712c63d7286c1", kill_on_drop: false }` [INFO] [stderr] Compiling syscalls v0.1.0 (/opt/rustwide/workdir/lib/rust/kernel) [INFO] [stderr] Compiling zero v0.1.2 (/opt/rustwide/workdir/thirdparty/rust/zero) [INFO] [stderr] Compiling simple_endian v0.2.0 (/opt/rustwide/workdir/thirdparty/rust/simple-endian) [INFO] [stderr] Compiling vcell v0.1.3 (/opt/rustwide/workdir/thirdparty/rust/vcell) [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling driver v0.1.0 (/opt/rustwide/workdir/lib/rust/driver) [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling b0 v0.1.0 (/opt/rustwide/workdir/services/init/b0) [INFO] [stderr] Compiling pci_manager v0.1.0 (/opt/rustwide/workdir/services/driver/pci) [INFO] [stderr] Compiling kernel v0.1.0 (/opt/rustwide/workdir/kernel) [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stdout] error: cannot find macro `syscall` in this scope [INFO] [stdout] --> lib/rust/kernel/src/lib.rs:205:1 [INFO] [stdout] | [INFO] [stdout] 205 | syscall!(saveall io_wait, 0, time: u64); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `syscall` in this scope [INFO] [stdout] --> lib/rust/kernel/src/lib.rs:206:1 [INFO] [stdout] | [INFO] [stdout] 206 | syscall!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `syscall` in this scope [INFO] [stdout] --> lib/rust/kernel/src/lib.rs:214:1 [INFO] [stdout] | [INFO] [stdout] 214 | syscall!(io_set_notify_handler, 2, function: notification::Handler); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `syscall` in this scope [INFO] [stdout] --> lib/rust/kernel/src/lib.rs:216:1 [INFO] [stdout] | [INFO] [stdout] 216 | syscall!(mem_alloc, 3, address: *mut Page, size: usize, flags: u8); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `syscall` in this scope [INFO] [stdout] --> lib/rust/kernel/src/lib.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | syscall!(mem_dealloc, 4, address: *mut Page, size: usize); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `syscall` in this scope [INFO] [stdout] --> lib/rust/kernel/src/lib.rs:218:1 [INFO] [stdout] | [INFO] [stdout] 218 | syscall!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `syscall` in this scope [INFO] [stdout] --> lib/rust/kernel/src/lib.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | syscall!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `syscall` in this scope [INFO] [stdout] --> lib/rust/kernel/src/lib.rs:234:1 [INFO] [stdout] | [INFO] [stdout] 234 | syscall!(io_notify_return, 9); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `syscall` in this scope [INFO] [stdout] --> lib/rust/kernel/src/lib.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | syscall!(sys_reserve_interrupt, 10, interrupt: usize); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `syscall` in this scope [INFO] [stdout] --> lib/rust/kernel/src/lib.rs:238:1 [INFO] [stdout] | [INFO] [stdout] 238 | syscall!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `syscall` in this scope [INFO] [stdout] --> lib/rust/kernel/src/lib.rs:247:1 [INFO] [stdout] | [INFO] [stdout] 247 | syscall!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `syscall` in this scope [INFO] [stdout] --> lib/rust/kernel/src/lib.rs:255:1 [INFO] [stdout] | [INFO] [stdout] 255 | syscall!(sys_platform_info, 13, address: *mut Page, max_count: usize); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `syscall` in this scope [INFO] [stdout] --> lib/rust/kernel/src/lib.rs:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | syscall!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `syscall` in this scope [INFO] [stdout] --> lib/rust/kernel/src/lib.rs:264:1 [INFO] [stdout] | [INFO] [stdout] 264 | syscall!(sys_log, 15, string: *const u8, length: usize); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `syscall` in this scope [INFO] [stdout] --> lib/rust/kernel/src/lib.rs:266:1 [INFO] [stdout] | [INFO] [stdout] 266 | syscall!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `syscall` in this scope [INFO] [stdout] --> lib/rust/kernel/src/lib.rs:273:1 [INFO] [stdout] | [INFO] [stdout] 273 | syscall!(sys_registry_get, 17, name: *const u8, name_length: usize); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Page` [INFO] [stdout] --> lib/rust/kernel/src/lib.rs:344:17 [INFO] [stdout] | [INFO] [stdout] 344 | .checked_shl(Page::OFFSET_BITS.into()) [INFO] [stdout] | ^^^^ use of undeclared type `Page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Page` [INFO] [stdout] --> lib/rust/kernel/src/lib.rs:354:11 [INFO] [stdout] | [INFO] [stdout] 354 | (pa.0 & Page::MASK == 0) [INFO] [stdout] | ^^^^ use of undeclared type `Page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Page` [INFO] [stdout] --> lib/rust/kernel/src/lib.rs:355:26 [INFO] [stdout] | [INFO] [stdout] 355 | .then(|| Self(pa.0 >> Page::OFFSET_BITS)) [INFO] [stdout] | ^^^^ use of undeclared type `Page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Page` in this scope [INFO] [stdout] --> lib/rust/kernel/src/lib.rs:112:28 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct Packet { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 111 | pub uuid: UUID, [INFO] [stdout] 112 | pub data: Option>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Page` in this scope [INFO] [stdout] --> lib/rust/kernel/src/lib.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct Packet { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 113 | pub name: Option>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Page` in this scope [INFO] [stdout] --> lib/rust/kernel/src/lib.rs:166:31 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct FreePage { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 166 | pub address: Option>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Page` in this scope [INFO] [stdout] --> lib/rust/kernel/src/lib.rs:193:25 [INFO] [stdout] | [INFO] [stdout] 193 | pub task_address: *mut Page, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Page` in this scope [INFO] [stdout] --> lib/rust/kernel/src/lib.rs:196:25 [INFO] [stdout] | [INFO] [stdout] 196 | pub self_address: *mut Page, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `sys_log` [INFO] [stdout] --> lib/rust/kernel/src/lib.rs:281:14 [INFO] [stdout] | [INFO] [stdout] 281 | let ret = sys_log(s as *const _ as *const _, s.len()); [INFO] [stdout] | ^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 281 | let ret = sys_log!(s as *const _ as *const _, s.len()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ffi` [INFO] [stdout] --> lib/rust/kernel/src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use core::ffi; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling xmas-elf v0.8.0 (/opt/rustwide/workdir/thirdparty/rust/xmas-elf) [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> lib/rust/kernel/src/lib.rs:112:3 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(Clone, Debug, Default)] [INFO] [stdout] | ------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 112 | pub data: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: No arch init function defined [INFO] [stdout] --> kernel/src/arch/mod.rs:50:2 [INFO] [stdout] | [INFO] [stdout] 50 | compile_error!("No arch init function defined"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0412, E0423, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `syscalls` due to 27 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> lib/rust/driver/src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(optimize_attribute)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::reserved::PMM_STACK` [INFO] [stdout] --> kernel/src/memory/allocator.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use super::reserved::PMM_STACK; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `PMM_STACK` in `memory::reserved` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `riscv` in `super` [INFO] [stdout] --> kernel/src/arch/interrupts.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | pub use super::riscv::plic::*; [INFO] [stdout] | ^^^^^ could not find `riscv` in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::reserved::SHARED_ALLOC`, `super::reserved::SHARED_COUNTERS` [INFO] [stdout] --> kernel/src/memory/shared.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use super::reserved::{SHARED_ALLOC, SHARED_COUNTERS}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ no `SHARED_COUNTERS` in `memory::reserved` [INFO] [stdout] | | [INFO] [stdout] | no `SHARED_ALLOC` in `memory::reserved` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::memory::reserved::PLIC` [INFO] [stdout] --> kernel/src/syscall.rs:524:8 [INFO] [stdout] | [INFO] [stdout] 524 | use crate::memory::reserved::PLIC; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `PLIC` in `memory::reserved` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arch::interrupts::ReserveError` [INFO] [stdout] --> kernel/src/syscall.rs:465:33 [INFO] [stdout] | [INFO] [stdout] 465 | use arch::interrupts::{self, ReserveError}; [INFO] [stdout] | ^^^^^^^^^^^^ no `ReserveError` in `arch::interrupts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> kernel/src/arch/mod.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | unsafe { asm!("csrs sstatus, {0}", in(reg) imm) }; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] core::arch::asm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> kernel/src/arch/mod.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | unsafe { asm!("csrc sstatus, {0}", in(reg) imm) }; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] core::arch::asm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> kernel/src/arch/mod.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { asm!("csrs sie, {0}", in(reg) imm) }; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] core::arch::asm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> kernel/src/arch/mod.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | unsafe { asm!("csrc sie, {0}", in(reg) imm) }; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] core::arch::asm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> kernel/src/arch/mod.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | unsafe { asm!("csrsi sstatus, 1 << 1") }; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] core::arch::asm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> kernel/src/arch/mod.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | unsafe { asm!("csrci sstatus, 1 << 1") }; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] core::arch::asm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> kernel/src/task/executor.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | unsafe { asm!("csrr {0}, sscratch", out(reg) task) }; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] core::arch::asm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> kernel/src/task/executor.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | unsafe { asm!("csrw sscratch, {0}", in(reg) IDLE_TASK_STUB.0.get()) }; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] core::arch::asm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> kernel/src/main.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | ... asm!(" [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] core::arch::asm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> kernel/src/task/executor.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | asm!("csrw sscratch, {0}", in(reg) IDLE_TASK_STUB.0.get()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] core::arch::asm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> kernel/src/powerstate.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | asm!("wfi"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] core::arch::asm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> kernel/src/arch/mod.rs:156:3 [INFO] [stdout] | [INFO] [stdout] 156 | asm!("csrr {0}, time", out(reg) now); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] core::arch::asm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> kernel/src/arch/mod.rs:88:3 [INFO] [stdout] | [INFO] [stdout] 88 | asm!("mv t0, sp", out("t0") sp); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] core::arch::asm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> kernel/src/arch/mod.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 78 | asm!(" [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] core::arch::asm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `riscv` in `arch` [INFO] [stdout] --> kernel/src/log.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | crate::arch::riscv::sbi::console_putchar(b); [INFO] [stdout] | ^^^^^ could not find `riscv` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VMS` [INFO] [stdout] --> kernel/src/allocator/arena.rs:120:6 [INFO] [stdout] | [INFO] [stdout] 120 | VMS::add( [INFO] [stdout] | ^^^ use of undeclared type `VMS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `riscv` [INFO] [stdout] --> kernel/src/arch/mod.rs:140:2 [INFO] [stdout] | [INFO] [stdout] 140 | riscv::sbi::set_timer(time); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `riscv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `riscv` [INFO] [stdout] --> kernel/src/arch/mod.rs:147:2 [INFO] [stdout] | [INFO] [stdout] 147 | riscv::sbi::set_timer(current_time().checked_add(delay).unwrap_or(u64::MAX)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `riscv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VMS` in `arch` [INFO] [stdout] --> kernel/src/memory/allocator.rs:156:10 [INFO] [stdout] | [INFO] [stdout] 156 | arch::VMS::allocate_pages( [INFO] [stdout] | ^^^ could not find `VMS` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VMS` in `arch` [INFO] [stdout] --> kernel/src/syscall.rs:335:20 [INFO] [stdout] | [INFO] [stdout] 335 | let ret = arch::VMS::physical_addresses(address, store); [INFO] [stdout] | ^^^ could not find `VMS` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VMS` in `arch` [INFO] [stdout] --> kernel/src/syscall.rs:346:20 [INFO] [stdout] | [INFO] [stdout] 346 | let vms = arch::VMS::new().unwrap(); [INFO] [stdout] | ^^^ could not find `VMS` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VMS` in `arch` [INFO] [stdout] --> kernel/src/syscall.rs:395:13 [INFO] [stdout] | [INFO] [stdout] 395 | arch::VMS::add(a, p, vms::RWX::RW, vms::Accessibility::UserLocal) [INFO] [stdout] | ^^^ could not find `VMS` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VMS` in `arch` [INFO] [stdout] --> kernel/src/syscall.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 418 | arch::VMS::add_range(a, p, vms::RWX::R, vms::Accessibility::UserLocal).unwrap(); [INFO] [stdout] | ^^^ could not find `VMS` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VMS` in `arch` [INFO] [stdout] --> kernel/src/syscall.rs:440:20 [INFO] [stdout] | [INFO] [stdout] 440 | ... match arch::VMS::add_range(addr, map, RWX::RW, vms::Accessibility::UserLocal) { [INFO] [stdout] | ^^^ could not find `VMS` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VMS` in `arch` [INFO] [stdout] --> kernel/src/task/executor.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | arch::VMS::add( [INFO] [stdout] | ^^^ could not find `VMS` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VMS` in `arch` [INFO] [stdout] --> kernel/src/task/mod.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | arch::VMS::allocate(address, count, rwx, vms::Accessibility::UserLocal) [INFO] [stdout] | ^^^ could not find `VMS` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VMS` in `arch` [INFO] [stdout] --> kernel/src/task/mod.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | arch::VMS::deallocate(address, count) [INFO] [stdout] | ^^^ could not find `VMS` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VMS` in `arch` [INFO] [stdout] --> kernel/src/main.rs:356:10 [INFO] [stdout] | [INFO] [stdout] 356 | arch::VMS::add( [INFO] [stdout] | ^^^ could not find `VMS` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VMS` in `arch` [INFO] [stdout] --> kernel/src/main.rs:382:8 [INFO] [stdout] | [INFO] [stdout] 382 | arch::VMS::clear_identity_maps(); [INFO] [stdout] | ^^^ could not find `VMS` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VMS` in `arch` [INFO] [stdout] --> kernel/src/main.rs:385:35 [INFO] [stdout] | [INFO] [stdout] 385 | let init = task::Task::new(arch::VMS::current()).expect("Failed to create task"); [INFO] [stdout] | ^^^ could not find `VMS` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VMS` in `arch` [INFO] [stdout] --> kernel/src/main.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | arch::VMS::add( [INFO] [stdout] | ^^^ could not find `VMS` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ELF_MACHINE` in module `arch` [INFO] [stdout] --> kernel/src/elf.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | arch::ELF_MACHINE, [INFO] [stdout] | ^^^^^^^^^^^ not found in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ELF_FLAGS` in module `arch` [INFO] [stdout] --> kernel/src/elf.rs:186:35 [INFO] [stdout] | [INFO] [stdout] 186 | assert_eq!(header.flags & !arch::ELF_FLAGS, 0, "Unsupported flags"); [INFO] [stdout] | ^^^^^^^^^ not found in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `reserve` in module `interrupts` [INFO] [stdout] --> kernel/src/syscall.rs:466:22 [INFO] [stdout] | [INFO] [stdout] 466 | match interrupts::reserve(interrupt as u16, address) { [INFO] [stdout] | ^^^^^^^ not found in `interrupts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_controller` in module `arch::interrupts` [INFO] [stdout] --> kernel/src/syscall.rs:529:31 [INFO] [stdout] | [INFO] [stdout] 529 | unsafe { arch::interrupts::set_controller(MapRange::Direct(ppn_range), max_devices) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `arch::interrupts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HART_STACKS` in module `crate::memory::reserved` [INFO] [stdout] --> kernel/src/task/executor.rs:117:56 [INFO] [stdout] | [INFO] [stdout] 117 | const STACK_ADDRESS: Page = crate::memory::reserved::HART_STACKS.start; [INFO] [stdout] | ^^^^^^^^^^^ not found in `crate::memory::reserved` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HART_STACKS` in module `crate::memory::reserved` [INFO] [stdout] --> kernel/src/task/executor.rs:122:30 [INFO] [stdout] | [INFO] [stdout] 122 | crate::memory::reserved::HART_STACKS.start.skip(1).unwrap() [INFO] [stdout] | ^^^^^^^^^^^ not found in `crate::memory::reserved` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TASK_GROUPS` in module `reserved` [INFO] [stdout] --> kernel/src/task/group.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | reserved::TASK_GROUPS.start.as_non_null_ptr().cast(), [INFO] [stdout] | ^^^^^^^^^^^ not found in `reserved` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TASK_GROUPS` in module `reserved` [INFO] [stdout] --> kernel/src/task/group.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | reserved::TASK_GROUPS.byte_count(), [INFO] [stdout] | ^^^^^^^^^^^ not found in `reserved` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VMS` in module `arch` [INFO] [stdout] --> kernel/src/task/mod.rs:76:24 [INFO] [stdout] | [INFO] [stdout] 76 | virtual_memory: arch::VMS, [INFO] [stdout] | ^^^ not found in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RegisterState` in module `arch` [INFO] [stdout] --> kernel/src/task/mod.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | register_state: arch::RegisterState, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HART_STACKS` in module `memory::reserved` [INFO] [stdout] --> kernel/src/task/mod.rs:111:47 [INFO] [stdout] | [INFO] [stdout] 111 | const STACK_ADDRESS: Page = memory::reserved::HART_STACKS.start; [INFO] [stdout] | ^^^^^^^^^^^ not found in `memory::reserved` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TASK_DATA` in module `memory::reserved` [INFO] [stdout] --> kernel/src/task/mod.rs:112:56 [INFO] [stdout] | [INFO] [stdout] 112 | static mut TASK_DATA_ADDRESS: Page = memory::reserved::TASK_DATA.start; [INFO] [stdout] | ^^^^^^^^^ not found in `memory::reserved` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VMS` in module `arch` [INFO] [stdout] --> kernel/src/task/mod.rs:116:24 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn new(vms: arch::VMS) -> Result { [INFO] [stdout] | ^^^ not found in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `dump_vms_map` in module `memory::reserved` [INFO] [stdout] --> kernel/src/main.rs:317:20 [INFO] [stdout] | [INFO] [stdout] 317 | memory::reserved::dump_vms_map(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `memory::reserved` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEVICE_TREE` in module `memory::reserved` [INFO] [stdout] --> kernel/src/main.rs:352:35 [INFO] [stdout] | [INFO] [stdout] 352 | let mut addr = memory::reserved::DEVICE_TREE.start; [INFO] [stdout] | ^^^^^^^^^^^ not found in `memory::reserved` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> kernel/src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(allocator_api)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> kernel/src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #![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] --> kernel/src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(arbitrary_enum_discriminant)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> kernel/src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(asm)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> kernel/src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(const_mut_refs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> kernel/src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(const_option)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> kernel/src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(const_panic)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the attribute [INFO] [stdout] | [INFO] [stdout] = help: the feature `const_panic` has been stable since 1.57.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] --> kernel/src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(const_ptr_is_null)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> kernel/src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(const_ptr_offset)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> kernel/src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #![feature(const_raw_ptr_deref)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the attribute [INFO] [stdout] | [INFO] [stdout] = help: the feature `const_raw_ptr_deref` has been stable since 1.58.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] --> kernel/src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(destructuring_assignment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the attribute [INFO] [stdout] | [INFO] [stdout] = help: the feature `destructuring_assignment` has been stable since 1.59.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] --> kernel/src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #![feature(dropck_eyepatch)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> kernel/src/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #![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] --> kernel/src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #![feature(lang_items)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> kernel/src/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #![feature(linkage)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> kernel/src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #![feature(maybe_uninit_array_assume_init)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> kernel/src/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #![feature(maybe_uninit_extra)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> kernel/src/main.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | #![feature(maybe_uninit_uninit_array)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> kernel/src/main.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #![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] --> kernel/src/main.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #![feature(never_type)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> kernel/src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | #![feature(nonnull_slice_from_raw_parts)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> kernel/src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #![feature(option_result_unwrap_unchecked)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> kernel/src/main.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #![feature(optimize_attribute)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> kernel/src/main.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #![feature(once_cell)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> kernel/src/main.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | #![feature(panic_info_message)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> kernel/src/main.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | #![feature(ptr_metadata)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> kernel/src/main.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #![feature(ptr_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> kernel/src/main.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | #![feature(slice_ptr_len)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> kernel/src/main.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | #![feature(stmt_expr_attributes)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> kernel/src/main.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #![feature(trivial_bounds)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> kernel/src/main.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #![feature(untagged_unions)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> kernel/src/main.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #![feature(link_llvm_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::mem` [INFO] [stdout] --> kernel/src/memory/reserved.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use core::mem; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `page` [INFO] [stdout] --> kernel/src/memory/reserved.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | macro_rules! page { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> thirdparty/rust/simple-endian/src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(test)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::arch::vms::VirtualMemorySystem` [INFO] [stdout] --> kernel/src/allocator/arena.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::arch::vms::VirtualMemorySystem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::arch::vms::VirtualMemorySystem` [INFO] [stdout] --> kernel/src/memory/allocator.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::arch::vms::VirtualMemorySystem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VirtualMemorySystem` [INFO] [stdout] --> kernel/src/syscall.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::arch::vms::{self, VirtualMemorySystem, RWX}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::arch::vms::VirtualMemorySystem` [INFO] [stdout] --> kernel/src/task/ipc.rs:126:7 [INFO] [stdout] | [INFO] [stdout] 126 | use crate::arch::vms::VirtualMemorySystem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VirtualMemorySystem` [INFO] [stdout] --> kernel/src/task/mod.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::arch::vms::{self, VirtualMemorySystem, RWX}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arch::vms::VirtualMemorySystem` [INFO] [stdout] --> kernel/src/main.rs:379:6 [INFO] [stdout] | [INFO] [stdout] 379 | use arch::vms::VirtualMemorySystem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 84 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3899969e527a2fa462208d14cb6b8b93f4d633a9f4f42f6e71a712c63d7286c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3899969e527a2fa462208d14cb6b8b93f4d633a9f4f42f6e71a712c63d7286c1", kill_on_drop: false }` [INFO] [stdout] 3899969e527a2fa462208d14cb6b8b93f4d633a9f4f42f6e71a712c63d7286c1