[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 try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [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 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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" "+722e1797249a965b6335aebd65d777f917e498f1" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bdf540138b66e8a7c8b2d4a0262a4d72cb53761641446c867970c47098109174 [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" "bdf540138b66e8a7c8b2d4a0262a4d72cb53761641446c867970c47098109174", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bdf540138b66e8a7c8b2d4a0262a4d72cb53761641446c867970c47098109174", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdf540138b66e8a7c8b2d4a0262a4d72cb53761641446c867970c47098109174", kill_on_drop: false }` [INFO] [stdout] bdf540138b66e8a7c8b2d4a0262a4d72cb53761641446c867970c47098109174 [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=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0739643ce9d7d715ae94e97cde4756efd1393b7a9eb49a716b19aff0f0a6fb9e [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" "0739643ce9d7d715ae94e97cde4756efd1393b7a9eb49a716b19aff0f0a6fb9e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 autocfg v1.0.1 [INFO] [stderr] Compiling driver v0.1.0 (/opt/rustwide/workdir/lib/rust/driver) [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling bitflags v1.2.1 [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 libc v0.2.98 [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] [stderr] Compiling xmas-elf v0.8.0 (/opt/rustwide/workdir/thirdparty/rust/xmas-elf) [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] [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[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[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: invalid register `t0`: unknown register [INFO] [stdout] --> kernel/src/arch/mod.rs:82:6 [INFO] [stdout] | [INFO] [stdout] 82 | ", out("t0") stack_base, out("t1") text_start, out("t2") text_end); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `t1`: unknown register [INFO] [stdout] --> kernel/src/arch/mod.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | ", out("t0") stack_base, out("t1") text_start, out("t2") text_end); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `t2`: unknown register [INFO] [stdout] --> kernel/src/arch/mod.rs:82:50 [INFO] [stdout] | [INFO] [stdout] 82 | ", out("t0") stack_base, out("t1") text_start, out("t2") text_end); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `t0`: unknown register [INFO] [stdout] --> kernel/src/arch/mod.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | asm!("mv t0, sp", out("t0") sp); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `t0`: unknown register [INFO] [stdout] --> kernel/src/main.rs:275:12 [INFO] [stdout] | [INFO] [stdout] 275 | ... ", out("t0") kernel_start, out("t1") kernel_end [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `t1`: unknown register [INFO] [stdout] --> kernel/src/main.rs:275:36 [INFO] [stdout] | [INFO] [stdout] 275 | ... ", out("t0") kernel_start, out("t1") kernel_end [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[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: required by `core::default::Default::default` [INFO] [stdout] = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] 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 44 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [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" "0739643ce9d7d715ae94e97cde4756efd1393b7a9eb49a716b19aff0f0a6fb9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0739643ce9d7d715ae94e97cde4756efd1393b7a9eb49a716b19aff0f0a6fb9e", kill_on_drop: false }` [INFO] [stdout] 0739643ce9d7d715ae94e97cde4756efd1393b7a9eb49a716b19aff0f0a6fb9e