hermit-kernel 0.11.0

A Rust-based library operating system
Documentation
Build #2357441 2025-07-28 03:58:15

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# rustc version rustc 1.90.0-nightly (f8e355c23 2025-07-27)

# docs.rs version docsrs 0.6.0 (4b4a3779 2025-07-22)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/hermit-kernel-0.11.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/hermit-kernel-0.11.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250727-1.90.0-nightly-f8e355c23\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3b98a6f277baba4aca7176dca5dfd8596efb1b9c7cfe94efbe8aca86291de239 [INFO] running `Command { std: "docker" "start" "-a" "3b98a6f277baba4aca7176dca5dfd8596efb1b9c7cfe94efbe8aca86291de239", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting hermit-kernel v0.11.0 (/opt/rustwide/workdir) [INFO] [stderr] error: invalid signature for `extern "x86-interrupt"` function [INFO] [stderr] --> src/arch/x86_64/kernel/interrupts.rs:92:2 [INFO] [stderr] | [INFO] [stderr] 92 | set_general_handler!(&mut *idt, abort, 0..32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: functions with the "custom" ABI cannot have a return type [INFO] [stderr] help: remove the return type [INFO] [stderr] --> src/arch/x86_64/kernel/interrupts.rs:92:2 [INFO] [stderr] | [INFO] [stderr] 92 | set_general_handler!(&mut *idt, abort, 0..32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: this error originates in the macro `$crate::set_general_handler_entry` which comes from the expansion of the macro `set_general_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: invalid signature for `extern "x86-interrupt"` function [INFO] [stderr] --> src/arch/x86_64/kernel/interrupts.rs:93:2 [INFO] [stderr] | [INFO] [stderr] 93 | set_general_handler!(&mut *idt, handle_interrupt, 32..); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: functions with the "custom" ABI cannot have a return type [INFO] [stderr] help: remove the return type [INFO] [stderr] --> src/arch/x86_64/kernel/interrupts.rs:93:2 [INFO] [stderr] | [INFO] [stderr] 93 | set_general_handler!(&mut *idt, handle_interrupt, 32..); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: this error originates in the macro `$crate::set_general_handler_entry` which comes from the expansion of the macro `set_general_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: invalid signature for `extern "x86-interrupt"` function [INFO] [stderr] --> src/arch/x86_64/kernel/interrupts.rs:299:6 [INFO] [stderr] | [INFO] [stderr] 299 | ) -> ! { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: functions with the "custom" ABI cannot have a return type [INFO] [stderr] help: remove the return type [INFO] [stderr] --> src/arch/x86_64/kernel/interrupts.rs:299:6 [INFO] [stderr] | [INFO] [stderr] 299 | ) -> ! { [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: invalid signature for `extern "x86-interrupt"` function [INFO] [stderr] --> src/arch/x86_64/kernel/interrupts.rs:317:88 [INFO] [stderr] | [INFO] [stderr] 317 | extern "x86-interrupt" fn machine_check_exception(stack_frame: ExceptionStackFrame) -> ! { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: functions with the "custom" ABI cannot have a return type [INFO] [stderr] help: remove the return type [INFO] [stderr] --> src/arch/x86_64/kernel/interrupts.rs:317:88 [INFO] [stderr] | [INFO] [stderr] 317 | extern "x86-interrupt" fn machine_check_exception(stack_frame: ExceptionStackFrame) -> ! { [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: unsafe attribute used without unsafe [INFO] [stderr] --> src/arch/x86_64/kernel/switch.rs:170:3 [INFO] [stderr] | [INFO] [stderr] 170 | #[naked] [INFO] [stderr] | ^^^^^ usage of unsafe attribute [INFO] [stderr] | [INFO] [stderr] help: wrap the attribute in `unsafe(...)` [INFO] [stderr] | [INFO] [stderr] 170 | #[unsafe(naked)] [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] error: unsafe attribute used without unsafe [INFO] [stderr] --> src/arch/x86_64/kernel/switch.rs:196:3 [INFO] [stderr] | [INFO] [stderr] 196 | #[naked] [INFO] [stderr] | ^^^^^ usage of unsafe attribute [INFO] [stderr] | [INFO] [stderr] help: wrap the attribute in `unsafe(...)` [INFO] [stderr] | [INFO] [stderr] 196 | #[unsafe(naked)] [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] error: could not document `hermit-kernel` [INFO] running `Command { std: "docker" "inspect" "3b98a6f277baba4aca7176dca5dfd8596efb1b9c7cfe94efbe8aca86291de239", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b98a6f277baba4aca7176dca5dfd8596efb1b9c7cfe94efbe8aca86291de239", kill_on_drop: false }` [INFO] [stdout] 3b98a6f277baba4aca7176dca5dfd8596efb1b9c7cfe94efbe8aca86291de239