[INFO] cloning repository https://github.com/leoduu/cuteos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leoduu/cuteos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleoduu%2Fcuteos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleoduu%2Fcuteos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 248487263e060d19e6e8c361e37fb48901b688e8 [INFO] checking leoduu/cuteos against master#40daf23eeb711dadf140b2536e67e3ff4c999196 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleoduu%2Fcuteos" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/leoduu/cuteos on toolchain 40daf23eeb711dadf140b2536e67e3ff4c999196 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/leoduu/cuteos [INFO] finished tweaking git repo https://github.com/leoduu/cuteos [INFO] tweaked toml for git repo https://github.com/leoduu/cuteos written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/leoduu/cuteos 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" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f99b813ab63250ee8908eded3a66a751b1f32ee5ca2ad9eda1326cfcb13ba5fa [INFO] running `Command { std: "docker" "start" "-a" "f99b813ab63250ee8908eded3a66a751b1f32ee5ca2ad9eda1326cfcb13ba5fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f99b813ab63250ee8908eded3a66a751b1f32ee5ca2ad9eda1326cfcb13ba5fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f99b813ab63250ee8908eded3a66a751b1f32ee5ca2ad9eda1326cfcb13ba5fa", kill_on_drop: false }` [INFO] [stdout] f99b813ab63250ee8908eded3a66a751b1f32ee5ca2ad9eda1326cfcb13ba5fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f269ce0f1e4cf857a28b9509cbfe5f9af0673e0e37209e8060e92a9a0ac56070 [INFO] running `Command { std: "docker" "start" "-a" "f269ce0f1e4cf857a28b9509cbfe5f9af0673e0e37209e8060e92a9a0ac56070", kill_on_drop: false }` [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking tock-registers v0.7.0 [INFO] [stderr] Checking volatile v0.4.4 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Checking gemini-os v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `bsp` in the crate root [INFO] [stdout] --> src/drivers/console/mod.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::bsp::board::console; [INFO] [stdout] | ^^^ could not find `bsp` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub mod bsp; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `aarch64` feature [INFO] [stdout] --> src/main.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(target_arch = "aarch64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::bsp` [INFO] [stdout] --> src/drivers/timer/mod.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::bsp::board; [INFO] [stdout] | ^^^ could not find `bsp` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub mod bsp; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `aarch64` feature [INFO] [stdout] --> src/main.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(target_arch = "aarch64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::bsp` [INFO] [stdout] --> src/drivers/mod.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | use crate::bsp::board; [INFO] [stdout] | ^^^ could not find `bsp` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub mod bsp; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `aarch64` feature [INFO] [stdout] --> src/main.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(target_arch = "aarch64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> src/kernel/mod.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::arch::boot::*; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `core::arch` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub mod arch; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `aarch64` feature [INFO] [stdout] --> src/main.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(target_arch = "aarch64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub mod arch; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `riscv` feature [INFO] [stdout] --> src/main.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(target_arch = "riscv")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::bsp` [INFO] [stdout] --> src/drivers/mod.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | use crate::bsp::board; [INFO] [stdout] | ^^^ could not find `bsp` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub mod bsp; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `aarch64` feature [INFO] [stdout] --> src/main.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(target_arch = "aarch64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::arch` [INFO] [stdout] --> src/kernel/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::arch; [INFO] [stdout] | ^^^^^^^^^^^ no `arch` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub mod arch; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `aarch64` feature [INFO] [stdout] --> src/main.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(target_arch = "aarch64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub mod arch; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `riscv` feature [INFO] [stdout] --> src/main.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(target_arch = "riscv")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this module instead [INFO] [stdout] | [INFO] [stdout] 8 - use crate::arch; [INFO] [stdout] 8 + use core::arch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::bsp` [INFO] [stdout] --> src/log.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::bsp::board; [INFO] [stdout] | ^^^ could not find `bsp` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub mod bsp; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `aarch64` feature [INFO] [stdout] --> src/main.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(target_arch = "aarch64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/kernel/mod.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | asm!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bsp` in the crate root [INFO] [stdout] --> src/drivers/console/mod.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::bsp::board::console; [INFO] [stdout] | ^^^ could not find `bsp` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub mod bsp; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `aarch64` feature [INFO] [stdout] --> src/main.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(target_arch = "aarch64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cortex_a` [INFO] [stdout] --> src/log.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | cortex_a::asm::wfe(); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `cortex_a` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cortex_a`, use `cargo add cortex_a` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::bsp` [INFO] [stdout] --> src/drivers/timer/mod.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::bsp::board; [INFO] [stdout] | ^^^ could not find `bsp` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub mod bsp; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `aarch64` feature [INFO] [stdout] --> src/main.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(target_arch = "aarch64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `riscv` [INFO] [stdout] --> src/main.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(target_arch = "riscv")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `ptr_internals` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(ptr_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nulllock::*` [INFO] [stdout] --> src/sync/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use nulllock::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/log.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / fn panic(info: &PanicInfo) -> ! { [INFO] [stdout] 117 | | [INFO] [stdout] 118 | | use console::{console, Interface}; [INFO] [stdout] ... | [INFO] [stdout] 133 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/40daf23eeb711dadf140b2536e67e3ff4c999196/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-46e6f64400db96b9.rlib [INFO] [stdout] = note: second definition in the local crate (`kernel`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::bsp` [INFO] [stdout] --> src/drivers/mod.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | use crate::bsp::board; [INFO] [stdout] | ^^^ could not find `bsp` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub mod bsp; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `aarch64` feature [INFO] [stdout] --> src/main.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(target_arch = "aarch64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_aarch` in this scope [INFO] [stdout] --> src/kernel/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | get_aarch(), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `current_privilege_level_str` in this scope [INFO] [stdout] --> src/kernel/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | current_privilege_level_str(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> src/kernel/mod.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::arch::boot::*; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `core::arch` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub mod arch; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `aarch64` feature [INFO] [stdout] --> src/main.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(target_arch = "aarch64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub mod arch; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `riscv` feature [INFO] [stdout] --> src/main.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(target_arch = "riscv")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::bsp` [INFO] [stdout] --> src/drivers/mod.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | use crate::bsp::board; [INFO] [stdout] | ^^^ could not find `bsp` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub mod bsp; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `aarch64` feature [INFO] [stdout] --> src/main.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(target_arch = "aarch64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::arch` [INFO] [stdout] --> src/kernel/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::arch; [INFO] [stdout] | ^^^^^^^^^^^ no `arch` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub mod arch; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `aarch64` feature [INFO] [stdout] --> src/main.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(target_arch = "aarch64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub mod arch; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `riscv` feature [INFO] [stdout] --> src/main.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(target_arch = "riscv")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this module instead [INFO] [stdout] | [INFO] [stdout] 8 - use crate::arch; [INFO] [stdout] 8 + use core::arch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::bsp` [INFO] [stdout] --> src/log.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::bsp::board; [INFO] [stdout] | ^^^ could not find `bsp` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub mod bsp; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `aarch64` feature [INFO] [stdout] --> src/main.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(target_arch = "aarch64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/kernel/mod.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | asm!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gemini-os` (bin "kernel" test) due to 12 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cortex_a` [INFO] [stdout] --> src/log.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | cortex_a::asm::wfe(); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `cortex_a` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cortex_a`, use `cargo add cortex_a` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `riscv` [INFO] [stdout] --> src/main.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(target_arch = "riscv")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `ptr_internals` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(ptr_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nulllock::*` [INFO] [stdout] --> src/sync/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use nulllock::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_fn_fn_ptr_basics` has been stable since 1.61.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(const_fn_fn_ptr_basics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `default_alloc_error_handler` has been stable since 1.68.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(default_alloc_error_handler)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `exclusive_range_pattern` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | #![feature(exclusive_range_pattern)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_impl_trait` has been stable since 1.61.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | #![feature(const_impl_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(asm)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `global_asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(global_asm)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `panic_info_message` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(panic_info_message)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_aarch` in this scope [INFO] [stdout] --> src/kernel/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | get_aarch(), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `current_privilege_level_str` in this scope [INFO] [stdout] --> src/kernel/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | current_privilege_level_str(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/log.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | if let Some(args) = info.message() { [INFO] [stdout] | ^^^^^^^^^^ -------------- this expression has type `PanicMessage<'_>` [INFO] [stdout] | | [INFO] [stdout] | expected `PanicMessage<'_>`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `PanicMessage<'_>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gemini-os` (bin "kernel") due to 13 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f269ce0f1e4cf857a28b9509cbfe5f9af0673e0e37209e8060e92a9a0ac56070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f269ce0f1e4cf857a28b9509cbfe5f9af0673e0e37209e8060e92a9a0ac56070", kill_on_drop: false }` [INFO] [stdout] f269ce0f1e4cf857a28b9509cbfe5f9af0673e0e37209e8060e92a9a0ac56070