Build #1494374 2024-11-05T00:23:55.283811+00:00
# rustc version
rustc 1.84.0-nightly (b8c8287a2 2024-11-03)# docs.rs version
docsrs 0.6.0 (fd0fad95 2024-11-04)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/uname-0.1.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/uname-0.1.1/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241103-1.84.0-nightly-b8c8287a2\", \"--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}/i686-pc-windows-msvc\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-pc-windows-msvc", kill_on_drop: false }`
[INFO] [stdout] 21429e0cd054db07d44e77958f0e5b594812998cd613b5d1c79214a4edffe4a6
[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" "21429e0cd054db07d44e77958f0e5b594812998cd613b5d1c79214a4edffe4a6", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stderr] Checking uname v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: failed to check lib in package `uname` as a prerequisite for scraping examples from: example "uname"
[INFO] [stderr] Try running with `--verbose` to see the error message.
[INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `uname` (lib) generated 1 warning
[INFO] [stderr] Scraping uname v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: failed to scan example "uname" in package `uname` for example code usage
[INFO] [stderr] Try running with `--verbose` to see the error message.
[INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `uname` (example "uname") generated 1 warning
[INFO] [stderr] Documenting uname v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved import `libc::utsname`
[INFO] [stderr] --> src/lib.rs:6:12
[INFO] [stderr] |
[INFO] [stderr] 6 | use libc::{utsname, c_char};
[INFO] [stderr] | ^^^^^^^ no `utsname` in the root
[INFO] [stderr]
[INFO] [stderr] For more information about this error, try `rustc --explain E0432`.
[INFO] [stderr] error: could not document `uname`
[INFO] running `Command { std: "docker" "inspect" "21429e0cd054db07d44e77958f0e5b594812998cd613b5d1c79214a4edffe4a6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "21429e0cd054db07d44e77958f0e5b594812998cd613b5d1c79214a4edffe4a6", kill_on_drop: false }`
[INFO] [stdout] 21429e0cd054db07d44e77958f0e5b594812998cd613b5d1c79214a4edffe4a6