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.54.0-nightly (881c1ac40 2021-05-08)# docs.rs version
docsrs 0.6.0 (c2d325f 2021-05-02)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/critical-section-0.1.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/critical-section-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" "3221225472" "--cpus" "2" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs\"" "-j2" "--" "-Z" "unstable-options" "--emit=invocation-specific" "--resource-suffix" "-20210508-1.54.0-nightly-881c1ac40" "--static-root-path" "/" "--cap-lints" "warn" "--disable-per-crate-search", kill_on_drop: false }`
[INFO] [stdout] 3bf7077b1236d01e84a928f369eae2e0d9d2435855840ffb4f2e7c4b6328bdb2
[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" "3bf7077b1236d01e84a928f369eae2e0d9d2435855840ffb4f2e7c4b6328bdb2", kill_on_drop: false }`
[INFO] [stderr] Documenting critical-section v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error: Critical section is not implemented for this target. Make sure you've specified the correct --target. You may need to supply a custom critical section implementation with the `custom-impl` feature
[INFO] [stderr] --> src/lib.rs:96:9
[INFO] [stderr] |
[INFO] [stderr] 96 | ... compile_error!("Critical section is not implemented for this target. Make sure you've specified the correct --target. You may need to supply a custom critical section implementation with the `custom-impl` feature");
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: Compilation failed, aborting rustdoc
[INFO] [stderr]
[INFO] [stderr] error: aborting due to 2 previous errors
[INFO] [stderr]
[INFO] [stderr] error: could not document `critical-section`
[INFO] [stderr]
[INFO] [stderr] Caused by:
[INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name critical_section src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi -Z unstable-options --emit=invocation-specific --resource-suffix -20210508-1.54.0-nightly-881c1ac40 --static-root-path / --cap-lints warn --disable-per-crate-search -L dependency=/opt/rustwide/target/debug/deps --extern bare_metal=/opt/rustwide/target/debug/deps/libbare_metal-302630b823f0cf38.rmeta --extern cfg_if=/opt/rustwide/target/debug/deps/libcfg_if-4967f2c063bf2af6.rmeta --extern-html-root-url 'bare_metal=https://docs.rs/bare-metal/1.0.0/' --extern-html-root-url 'cfg_if=https://docs.rs/cfg-if/1.0.0/' -Zunstable-options --crate-version 0.1.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "3bf7077b1236d01e84a928f369eae2e0d9d2435855840ffb4f2e7c4b6328bdb2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3bf7077b1236d01e84a928f369eae2e0d9d2435855840ffb4f2e7c4b6328bdb2", kill_on_drop: false }`
[INFO] [stdout] 3bf7077b1236d01e84a928f369eae2e0d9d2435855840ffb4f2e7c4b6328bdb2