Build #1790370 2025-02-21T21:48:58.971122+00:00
# rustc version
rustc 1.87.0-nightly (f04bbc60f 2025-02-20)# docs.rs version
docsrs 0.6.0 (35977596 2025-02-09)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/sc-0.2.7/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/sc-0.2.7/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250220-1.87.0-nightly-f04bbc60f\", \"--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-pc-windows-msvc\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-pc-windows-msvc", kill_on_drop: false }`
[INFO] [stdout] c52d65b90cf41f01719914240038821f5229ed3cb706b313089ea698200a7e14
[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" "c52d65b90cf41f01719914240038821f5229ed3cb706b313089ea698200a7e14", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] Checking sc v0.2.7 (/opt/rustwide/workdir)
[INFO] [stderr] warning: failed to check lib in package `sc` as a prerequisite for scraping examples from: example "hello"
[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: `sc` (lib) generated 1 warning
[INFO] [stderr] Scraping sc v0.2.7 (/opt/rustwide/workdir)
[INFO] [stderr] warning: failed to scan example "hello" in package `sc` 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: `sc` (example "hello") generated 1 warning
[INFO] [stderr] Documenting sc v0.2.7 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved import `platform`
[INFO] [stderr] --> src/lib.rs:40:9
[INFO] [stderr] |
[INFO] [stderr] 40 | pub use platform::*;
[INFO] [stderr] | ^^^^^^^^ use of unresolved module or unlinked crate `platform`
[INFO] [stderr] |
[INFO] [stderr] help: if you wanted to use a crate named `platform`, use `cargo add platform` to add it to your `Cargo.toml` and import it in your code
[INFO] [stderr] |
[INFO] [stderr] 37 + extern crate platform;
[INFO] [stderr] |
[INFO] [stderr]
[INFO] [stderr] For more information about this error, try `rustc --explain E0432`.
[INFO] [stderr] error: could not document `sc`
[INFO] running `Command { std: "docker" "inspect" "c52d65b90cf41f01719914240038821f5229ed3cb706b313089ea698200a7e14", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c52d65b90cf41f01719914240038821f5229ed3cb706b313089ea698200a7e14", kill_on_drop: false }`
[INFO] [stdout] c52d65b90cf41f01719914240038821f5229ed3cb706b313089ea698200a7e14