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.64.0-nightly (62b272d25 2022-07-21)
# docs.rs version docsrs 0.6.0 (19b354a 2022-07-16)
# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/git-features-0.22.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/git-features-0.22.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" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "document-features" "--all-features" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20220721-1.64.0-nightly-62b272d25\", \"--static-root-path\", \"/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--extern-html-root-takes-precedence\"]" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-j3" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stdout] 91e46e1d5e7e6a721a26a6729eb2998ca2473fa4dc6d2069a86c7f0ceb4dbe90 [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" "91e46e1d5e7e6a721a26a6729eb2998ca2473fa4dc6d2069a86c7f0ceb4dbe90", kill_on_drop: false }` [INFO] [stderr] Documenting git-features v0.22.0 (/opt/rustwide/workdir) [INFO] [stderr] error: Dependency libc is not an optional dependency [INFO] [stderr] --> src/lib.rs:14:25 [INFO] [stderr] | [INFO] [stderr] 14 | cfg_attr(doc, doc = ::document_features::document_features!()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `::document_features::document_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: Compilation failed, aborting rustdoc [INFO] [stderr] [INFO] [stderr] error: could not document `git-features` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name git_features src/lib.rs --target x86_64-unknown-linux-gnu -o /opt/rustwide/target/x86_64-unknown-linux-gnu/doc --cfg 'feature="bytes"' --cfg 'feature="cache-efficiency-debug"' --cfg 'feature="crc32"' --cfg 'feature="crc32fast"' --cfg 'feature="crossbeam-channel"' --cfg 'feature="crossbeam-utils"' --cfg 'feature="default"' --cfg 'feature="document-features"' --cfg 'feature="fast-sha1"' --cfg 'feature="flate2"' --cfg 'feature="io-pipe"' --cfg 'feature="jwalk"' --cfg 'feature="num_cpus"' --cfg 'feature="once_cell"' --cfg 'feature="parallel"' --cfg 'feature="parking_lot"' --cfg 'feature="prodash"' --cfg 'feature="progress"' --cfg 'feature="quick-error"' --cfg 'feature="rustsha1"' --cfg 'feature="sha-1"' --cfg 'feature="sha1_smol"' --cfg 'feature="walkdir"' --cfg 'feature="zlib"' --cfg 'feature="zlib-ng-compat"' --cfg 'feature="zlib-rust-backend"' --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat -C metadata=f0281b223b432c3c -L dependency=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bytes=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libbytes-00a8c44a13b1f810.rmeta --extern crc32fast=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libcrc32fast-1b57e70eb3e7ae45.rmeta --extern crossbeam_channel=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libcrossbeam_channel-2aa00232d9134184.rmeta --extern crossbeam_utils=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libcrossbeam_utils-581f9536445e7297.rmeta --extern document_features=/opt/rustwide/target/debug/deps/libdocument_features-f7884cde0a8ca23c.so --extern flate2=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libflate2-942918eeb3aed6f4.rmeta --extern git_hash=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libgit_hash-2fdca412aa17e8db.rmeta --extern jwalk=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libjwalk-3d409d3d2f158bd4.rmeta --extern libc=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/liblibc-50425bdc2cfd55a9.rmeta --extern num_cpus=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libnum_cpus-783f93059d705d3e.rmeta --extern once_cell=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libonce_cell-dcad29469b01092d.rmeta --extern parking_lot=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libparking_lot-02951f0e89dceab6.rmeta --extern prodash=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libprodash-b613340cd8070bcb.rmeta --extern quick_error=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libquick_error-64da50150f109a31.rmeta --extern sha1=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libsha1-3ede8e7b998c03f0.rmeta --extern sha1_smol=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libsha1_smol-36403591716359d0.rmeta --extern walkdir=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libwalkdir-2790cb20cbce36df.rmeta --extern-html-root-url 'bytes=https://docs.rs/bytes/1.2.0/x86_64-unknown-linux-gnu' --extern-html-root-url 'crc32fast=https://docs.rs/crc32fast/1.3.2/x86_64-unknown-linux-gnu' --extern-html-root-url 'crossbeam_channel=https://docs.rs/crossbeam-channel/0.5.5/x86_64-unknown-linux-gnu' --extern-html-root-url 'crossbeam_utils=https://docs.rs/crossbeam-utils/0.8.10/x86_64-unknown-linux-gnu' --extern-html-root-url 'document_features=https://docs.rs/document-features/0.2.1/x86_64-unknown-linux-gnu' --extern-html-root-url 'flate2=https://docs.rs/flate2/1.0.24/x86_64-unknown-linux-gnu' --extern-html-root-url 'git_hash=https://docs.rs/git-hash/0.9.6/x86_64-unknown-linux-gnu' --extern-html-root-url 'jwalk=https://docs.rs/jwalk/0.6.0/x86_64-unknown-linux-gnu' --extern-html-root-url 'libc=https://docs.rs/libc/0.2.126/x86_64-unknown-linux-gnu' --extern-html-root-url 'num_cpus=https://docs.rs/num_cpus/1.13.1/x86_64-unknown-linux-gnu' --extern-html-root-url 'once_cell=https://docs.rs/once_cell/1.13.0/x86_64-unknown-linux-gnu' --extern-html-root-url 'parking_lot=https://docs.rs/parking_lot/0.12.1/x86_64-unknown-linux-gnu' --extern-html-root-url 'prodash=https://docs.rs/prodash/19.0.1/x86_64-unknown-linux-gnu' --extern-html-root-url 'quick_error=https://docs.rs/quick-error/2.0.1/x86_64-unknown-linux-gnu' --extern-html-root-url 'sha1=https://docs.rs/sha-1/0.10.0/x86_64-unknown-linux-gnu' --extern-html-root-url 'sha1_smol=https://docs.rs/sha1_smol/1.0.0/x86_64-unknown-linux-gnu' --extern-html-root-url 'walkdir=https://docs.rs/walkdir/2.3.2/x86_64-unknown-linux-gnu' -Zunstable-options -Z unstable-options --emit=invocation-specific --resource-suffix -20220721-1.64.0-nightly-62b272d25 --static-root-path / --cap-lints warn --disable-per-crate-search --extern-html-root-takes-precedence --crate-version 0.22.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "91e46e1d5e7e6a721a26a6729eb2998ca2473fa4dc6d2069a86c7f0ceb4dbe90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91e46e1d5e7e6a721a26a6729eb2998ca2473fa4dc6d2069a86c7f0ceb4dbe90", kill_on_drop: false }` [INFO] [stdout] 91e46e1d5e7e6a721a26a6729eb2998ca2473fa4dc6d2069a86c7f0ceb4dbe90