git-protocol 0.26.4

Please use `gix-<thiscrate>` instead ('git' -> 'gix')
Documentation
Build #2557384 2025-10-04 11:20:49

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.92.0-nightly (595b9a498 2025-10-03)# docs.rs version
docsrs 0.6.0 (f42173de 2025-09-12)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/git-protocol-0.26.4/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/git-protocol-0.26.4/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "blocking-client document-features serde1" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20251003-1.92.0-nightly-595b9a498\", \"--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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] d60bc1b3bdbdd8fdc68863f847f2a747e167176b4d491f696030a2d2c2a9f6ee
[INFO] running `Command { std: "docker" "start" "-a" "d60bc1b3bdbdd8fdc68863f847f2a747e167176b4d491f696030a2d2c2a9f6ee", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]     Checking git-url v0.13.3
[INFO] [stderr] error[E0283]: type annotations needed
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/git-url-0.13.3/src/lib.rs:122:54
[INFO] [stderr]     |
[INFO] [stderr] 122 |             let path = git_path::from_bstr(self.path.as_ref());
[INFO] [stderr]     |                                                      ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: multiple `impl`s satisfying `BString: AsRef<_>` found in the `bstr` crate:
[INFO] [stderr]             - impl AsRef<BStr> for BString;
[INFO] [stderr]             - impl AsRef<[u8]> for BString;
[INFO] [stderr] help: try using a fully qualified path to specify the expected types
[INFO] [stderr]     |
[INFO] [stderr] 122 -             let path = git_path::from_bstr(self.path.as_ref());
[INFO] [stderr] 122 +             let path = git_path::from_bstr(<BString as AsRef<T>>::as_ref(&self.path));
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0283]: type annotations needed
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/git-url-0.13.3/src/lib.rs:122:44
[INFO] [stderr]     |
[INFO] [stderr] 122 |             let path = git_path::from_bstr(self.path.as_ref());
[INFO] [stderr]     |                        ------------------- ^^^^^^^^^^^^^^^^^^ cannot infer type for reference `&_`
[INFO] [stderr]     |                        |
[INFO] [stderr]     |                        required by a bound introduced by this call
[INFO] [stderr]     |
[INFO] [stderr]     = note: multiple `impl`s satisfying `Cow<'_, BStr>: From<&_>` found in the `bstr` crate:
[INFO] [stderr]             - impl<'a> From<&'a BStr> for Cow<'a, BStr>;
[INFO] [stderr]             - impl<'a> From<&'a BString> for Cow<'a, BStr>;
[INFO] [stderr]     = note: required for `&_` to implement `Into<Cow<'_, BStr>>`
[INFO] [stderr] note: required by a bound in `from_bstr`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/git-path-0.7.2/src/convert.rs:116:34
[INFO] [stderr]     |
[INFO] [stderr] 116 | pub fn from_bstr<'a>(input: impl Into<Cow<'a, BStr>>) -> Cow<'a, Path> {
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_bstr`
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0283`.
[INFO] [stderr] error: could not compile `git-url` (lib) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "d60bc1b3bdbdd8fdc68863f847f2a747e167176b4d491f696030a2d2c2a9f6ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d60bc1b3bdbdd8fdc68863f847f2a747e167176b4d491f696030a2d2c2a9f6ee", kill_on_drop: false }`
[INFO] [stdout] d60bc1b3bdbdd8fdc68863f847f2a747e167176b4d491f696030a2d2c2a9f6ee