[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] checking Demindiro/norost-a/fbaeaa8200d66864c7754073f64529d32746e71d against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDemindiro%2Fnorost-a" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Demindiro/norost-a on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/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-7-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/thirdparty/rust/zero/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/Cargo.toml: the cargo feature `strip` has been stabilized in the 1.58 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/profiles.html#strip-option for more information about using this feature. [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/services/driver/virtio_block/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `driver` dependency) [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/services/driver/virtio_gpu/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `driver` dependency) [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/services/driver/virtio_input/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `driver` dependency) [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/services/driver/pci/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `driver` dependency) [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/services/driver/plic/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `driver` dependency) [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/thirdparty/rust/xmas-elf/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/thirdparty/rust/vcell/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68cd389f882d900094fd894fbd5d429bef1f8b60b57f949cd9b7a55c6932481e [INFO] running `Command { std: "docker" "start" "-a" "68cd389f882d900094fd894fbd5d429bef1f8b60b57f949cd9b7a55c6932481e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68cd389f882d900094fd894fbd5d429bef1f8b60b57f949cd9b7a55c6932481e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68cd389f882d900094fd894fbd5d429bef1f8b60b57f949cd9b7a55c6932481e", kill_on_drop: false }` [INFO] [stdout] 68cd389f882d900094fd894fbd5d429bef1f8b60b57f949cd9b7a55c6932481e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f66e67b4bcd70b7af9f543492faebaa0a94a44479b67a1e883bb357c2d3b9d7a [INFO] running `Command { std: "docker" "start" "-a" "f66e67b4bcd70b7af9f543492faebaa0a94a44479b67a1e883bb357c2d3b9d7a", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/services/driver/virtio_gpu/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `driver` dependency) [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: the cargo feature `strip` has been stabilized in the 1.58 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/profiles.html#strip-option for more information about using this feature. [INFO] [stderr] warning: /opt/rustwide/workdir/services/driver/virtio_input/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `driver` dependency) [INFO] [stderr] warning: /opt/rustwide/workdir/services/driver/virtio_block/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `driver` dependency) [INFO] [stderr] warning: /opt/rustwide/workdir/thirdparty/rust/zero/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/services/driver/plic/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `driver` dependency) [INFO] [stderr] warning: /opt/rustwide/workdir/thirdparty/rust/xmas-elf/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/services/driver/pci/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `driver` dependency) [INFO] [stderr] warning: /opt/rustwide/workdir/thirdparty/rust/vcell/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking syscalls v0.1.0 (/opt/rustwide/workdir/lib/rust/kernel) [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking simple_endian v0.2.0 (/opt/rustwide/workdir/thirdparty/rust/simple-endian) [INFO] [stderr] Checking zero v0.1.2 (/opt/rustwide/workdir/thirdparty/rust/zero) [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[E0412]: cannot find type `Page` in this scope [INFO] [stdout] --> lib/rust/kernel/src/lib.rs:112:28 [INFO] [stdout] | [INFO] [stdout] 112 | pub data: Option>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 110 | pub struct Packet { [INFO] [stdout] | ++++++ [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] 113 | pub name: Option>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 110 | pub struct Packet { [INFO] [stdout] | ++++++ [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] 166 | pub address: Option>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 165 | pub struct FreePage { [INFO] [stdout] | ++++++ [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] 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] warning: the feature `asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> lib/rust/kernel/src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(asm)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [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] 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: aborting due to 25 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `syscalls` (lib) due to 26 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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[E0412]: cannot find type `Page` in this scope [INFO] [stdout] --> lib/rust/kernel/src/lib.rs:112:28 [INFO] [stdout] | [INFO] [stdout] 112 | pub data: Option>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 110 | pub struct Packet { [INFO] [stdout] | ++++++ [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] 113 | pub name: Option>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 110 | pub struct Packet { [INFO] [stdout] | ++++++ [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] 166 | pub address: Option>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 165 | pub struct FreePage { [INFO] [stdout] | ++++++ [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] 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] warning: the feature `asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> lib/rust/kernel/src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(asm)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [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] 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: aborting due to 25 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `syscalls` (lib) due to 26 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f66e67b4bcd70b7af9f543492faebaa0a94a44479b67a1e883bb357c2d3b9d7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f66e67b4bcd70b7af9f543492faebaa0a94a44479b67a1e883bb357c2d3b9d7a", kill_on_drop: false }` [INFO] [stdout] f66e67b4bcd70b7af9f543492faebaa0a94a44479b67a1e883bb357c2d3b9d7a