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.85.0-nightly (426d17342 2024-12-21)# docs.rs version docsrs 0.6.0 (a9496dd3 2024-12-22)# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/flash-algorithm-0.6.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/flash-algorithm-0.6.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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241221-1.85.0-nightly-426d17342\", \"--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] [stdout] b915c54bba7e6baa35bd36eecda84fc6625edb09040ab3da7c72dce47bda798f [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" "b915c54bba7e6baa35bd36eecda84fc6625edb09040ab3da7c72dce47bda798f", kill_on_drop: false }` [INFO] [stderr] Checking flash-algorithm v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: failed to check lib in package `flash-algorithm` as a prerequisite for scraping examples from: example "basic" [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: `flash-algorithm` (lib) generated 1 warning [INFO] [stderr] Scraping flash-algorithm v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: failed to scan example "basic" in package `flash-algorithm` 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: `flash-algorithm` (example "basic") generated 1 warning [INFO] [stderr] Documenting flash-algorithm v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] error: Panic handler can only be compiled for arm and riscv32 [INFO] [stderr] --> src/lib.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | compile_error!("Panic handler can only be compiled for arm and riscv32"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: could not document `flash-algorithm` [INFO] running `Command { std: "docker" "inspect" "b915c54bba7e6baa35bd36eecda84fc6625edb09040ab3da7c72dce47bda798f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b915c54bba7e6baa35bd36eecda84fc6625edb09040ab3da7c72dce47bda798f", kill_on_drop: false }` [INFO] [stdout] b915c54bba7e6baa35bd36eecda84fc6625edb09040ab3da7c72dce47bda798f