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.93.0-nightly (f37aa9955 2025-10-26)# docs.rs version
docsrs 0.6.0 (403e80ef 2025-10-16)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/elevate-code-0.1.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/elevate-code-0.1.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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20251026-1.93.0-nightly-f37aa9955\", \"--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] 1bebe8ab8bfc68ebc80725d8f0a96ec1dfe3ab0b860e8f8de30a2163a98bcd6d
[INFO] running `Command { std: "docker" "start" "-a" "1bebe8ab8bfc68ebc80725d8f0a96ec1dfe3ab0b860e8f8de30a2163a98bcd6d", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr] Documenting elevate-code v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0658]: link kind `raw-dylib` is unstable on ELF platforms
[INFO] [stderr] --> src/privilege.rs:35:35
[INFO] [stderr] |
[INFO] [stderr] 35 | #[link(name = "ntdll.dll", kind = "raw-dylib", modifiers = "+verbatim")]
[INFO] [stderr] | ^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: see issue #135694 <https://github.com/rust-lang/rust/issues/135694> for more information
[INFO] [stderr] = help: add `#![feature(raw_dylib_elf)]` to the crate attributes to enable
[INFO] [stderr] = note: this compiler was built on 2025-10-26; consider upgrading it if it is out of date
[INFO] [stderr]
[INFO] [stderr] For more information about this error, try `rustc --explain E0658`.
[INFO] [stderr] error: could not document `elevate-code`
[INFO] running `Command { std: "docker" "inspect" "1bebe8ab8bfc68ebc80725d8f0a96ec1dfe3ab0b860e8f8de30a2163a98bcd6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1bebe8ab8bfc68ebc80725d8f0a96ec1dfe3ab0b860e8f8de30a2163a98bcd6d", kill_on_drop: false }`
[INFO] [stdout] 1bebe8ab8bfc68ebc80725d8f0a96ec1dfe3ab0b860e8f8de30a2163a98bcd6d