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.87.0-nightly (8c392966a 2025-03-01)# docs.rs version
docsrs 0.6.0 (d925d3c8 2025-02-27)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/git-testtools-0.10.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/git-testtools-0.10.0/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\", \"-20250301-1.87.0-nightly-8c392966a\", \"--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] 40f6390d50b23b1cd6cb6a7867bcdd3ac4105f88be36373d71fe961a5e5785bc
[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" "40f6390d50b23b1cd6cb6a7867bcdd3ac4105f88be36373d71fe961a5e5785bc", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr] Compiling thiserror-impl v1.0.69
[INFO] [stderr] Compiling lzma-sys v0.1.20
[INFO] [stderr] Checking git-glob v0.5.4
[INFO] [stderr] Checking git-sec v0.6.3
[INFO] [stderr] Checking io-close v0.3.7
[INFO] [stderr] Checking crc-catalog v2.4.0
[INFO] [stderr] Checking crc v3.2.1
[INFO] [stderr] Checking tar v0.4.44
[INFO] [stderr] Checking parking_lot v0.12.3
[INFO] [stderr] error[E0282]: type annotations needed
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/git-glob-0.5.4/src/wildmatch.rs:248:62
[INFO] [stderr] |
[INFO] [stderr] 248 | ... let class = &pattern.as_ref()[p_idx + 2..closing_bracket_idx - 1];
[INFO] [stderr] | ^^^^^^
[INFO] [stderr] |
[INFO] [stderr] help: try using a fully qualified path to specify the expected types
[INFO] [stderr] |
[INFO] [stderr] 248 - let class = &pattern.as_ref()[p_idx + 2..closing_bracket_idx - 1];
[INFO] [stderr] 248 + let class = &<BStr as AsRef<T>>::as_ref(pattern)[p_idx + 2..closing_bracket_idx - 1];
[INFO] [stderr] |
[INFO] [stderr]
[INFO] [stderr] For more information about this error, try `rustc --explain E0282`.
[INFO] [stderr] error: could not compile `git-glob` (lib) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "40f6390d50b23b1cd6cb6a7867bcdd3ac4105f88be36373d71fe961a5e5785bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "40f6390d50b23b1cd6cb6a7867bcdd3ac4105f88be36373d71fe961a5e5785bc", kill_on_drop: false }`
[INFO] [stdout] 40f6390d50b23b1cd6cb6a7867bcdd3ac4105f88be36373d71fe961a5e5785bc