git-protocol 0.26.4

Please use `gix-<thiscrate>` instead ('git' -> 'gix')
Documentation
Build #1840879 2025-03-08 08:31:03

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 (f5a1ef712 2025-03-07)# docs.rs version
docsrs 0.6.0 (004a02c4 2025-03-05)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/git-protocol-0.26.4/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/git-protocol-0.26.4/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/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\", \"-20250307-1.87.0-nightly-f5a1ef712\", \"--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] 7052e50c20f0e070299807e9d69ebb896690d4ce48a24979d980dc92983df066
[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" "7052e50c20f0e070299807e9d69ebb896690d4ce48a24979d980dc92983df066", 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:24
[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]     = 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" "7052e50c20f0e070299807e9d69ebb896690d4ce48a24979d980dc92983df066", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7052e50c20f0e070299807e9d69ebb896690d4ce48a24979d980dc92983df066", kill_on_drop: false }`
[INFO] [stdout] 7052e50c20f0e070299807e9d69ebb896690d4ce48a24979d980dc92983df066