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.90.0-nightly (0fa4ec6cd 2025-06-25)# docs.rs version
docsrs 0.6.0 (ff5ebf09 2025-06-25)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/git-repository-0.35.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/git-repository-0.35.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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "document-features max-performance blocking-network-client serde1" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250625-1.90.0-nightly-0fa4ec6cd\", \"--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] d3582455d5118002d572d4afbffa179e6070eef38a9546e8631ca708ac29fdc5
[INFO] running `Command { std: "docker" "start" "-a" "d3582455d5118002d572d4afbffa179e6070eef38a9546e8631ca708ac29fdc5", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr] Checking git-traverse v0.22.2
[INFO] [stderr] Checking git-glob v0.5.4
[INFO] [stderr] Checking git-url v0.13.3
[INFO] [stderr] Checking git-diff v0.26.2
[INFO] [stderr] Checking git-ref v0.24.1
[INFO] [stderr] Checking git-revision v0.10.4
[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] [stderr] warning: build failed, waiting for other jobs to finish...
[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] error[E0282]: type annotations needed
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/git-revision-0.10.4/src/spec/parse/function.rs:325:17
[INFO] [stderr] |
[INFO] [stderr] 325 | match input.as_ref() {
[INFO] [stderr] | ^^^^^^
[INFO] [stderr] 326 | [b':'] => return Err(Error::MissingColonSuffix),
[INFO] [stderr] | ------ type must be known at this point
[INFO] [stderr] |
[INFO] [stderr] help: try using a fully qualified path to specify the expected types
[INFO] [stderr] |
[INFO] [stderr] 325 - match input.as_ref() {
[INFO] [stderr] 325 + match <BStr as AsRef<T>>::as_ref(input) {
[INFO] [stderr] |
[INFO] [stderr]
[INFO] [stderr] For more information about this error, try `rustc --explain E0282`.
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/git-revision-0.10.4/src/spec/parse/function.rs:537:25
[INFO] [stderr] |
[INFO] [stderr] 535 | let target = match kind.as_ref().as_ref() {
[INFO] [stderr] | ---------------------- this expression has type `&[u8; 6]`
[INFO] [stderr] 536 | b"commit" => delegate::PeelTo::ObjectKind(git_object::Kind::Commit),
[INFO] [stderr] 537 | b"tag" => delegate::PeelTo::ObjectKind(git_object::Kind::Tag),
[INFO] [stderr] | ^^^^^^ expected an array with a size of 6, found one with a size of 3
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/git-revision-0.10.4/src/spec/parse/function.rs:538:25
[INFO] [stderr] |
[INFO] [stderr] 535 | let target = match kind.as_ref().as_ref() {
[INFO] [stderr] | ---------------------- this expression has type `&[u8; 6]`
[INFO] [stderr] ...
[INFO] [stderr] 538 | b"tree" => delegate::PeelTo::ObjectKind(git_object::Kind::Tree),
[INFO] [stderr] | ^^^^^^^ expected an array with a size of 6, found one with a size of 4
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/git-revision-0.10.4/src/spec/parse/function.rs:539:25
[INFO] [stderr] |
[INFO] [stderr] 535 | let target = match kind.as_ref().as_ref() {
[INFO] [stderr] | ---------------------- this expression has type `&[u8; 6]`
[INFO] [stderr] ...
[INFO] [stderr] 539 | b"blob" => delegate::PeelTo::ObjectKind(git_object::Kind::Blob),
[INFO] [stderr] | ^^^^^^^ expected an array with a size of 6, found one with a size of 4
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/git-revision-0.10.4/src/spec/parse/function.rs:541:25
[INFO] [stderr] |
[INFO] [stderr] 535 | let target = match kind.as_ref().as_ref() {
[INFO] [stderr] | ---------------------- this expression has type `&[u8; 6]`
[INFO] [stderr] ...
[INFO] [stderr] 541 | b"" => delegate::PeelTo::RecursiveTagObject,
[INFO] [stderr] | ^^^ expected an array with a size of 6, found one with a size of 0
[INFO] [stderr]
[INFO] [stderr] error: could not compile `git-glob` (lib) due to 1 previous error
[INFO] [stderr] error[E0277]: the trait bound `BStr: AsRef<[u8; 6]>` is not satisfied
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/git-revision-0.10.4/src/spec/parse/function.rs:535:54
[INFO] [stderr] |
[INFO] [stderr] 535 | let target = match kind.as_ref().as_ref() {
[INFO] [stderr] | ^^^^^^ the trait `AsRef<[u8; 6]>` is not implemented for `BStr`
[INFO] [stderr] |
[INFO] [stderr] = help: the following other types implement trait `AsRef<T>`:
[INFO] [stderr] `BStr` implements `AsRef<BStr>`
[INFO] [stderr] `BStr` implements `AsRef<[u8]>`
[INFO] [stderr]
[INFO] [stderr] Some errors have detailed explanations: E0277, E0282, E0308.
[INFO] [stderr] For more information about an error, try `rustc --explain E0277`.
[INFO] [stderr] error: could not compile `git-revision` (lib) due to 6 previous errors
[INFO] [stderr] error[E0277]: the trait bound `BStr: AsRef<[_; 0]>` is not satisfied
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/git-ref-0.24.1/src/store/packed/find.rs:95:52
[INFO] [stderr] |
[INFO] [stderr] 95 | .map(|(_rest, r)| r.name.as_bstr().as_ref())
[INFO] [stderr] | ^^^^^^ the trait `AsRef<[_; 0]>` is not implemented for `BStr`
[INFO] [stderr] |
[INFO] [stderr] = help: the following other types implement trait `AsRef<T>`:
[INFO] [stderr] `BStr` implements `AsRef<BStr>`
[INFO] [stderr] `BStr` implements `AsRef<[u8]>`
[INFO] [stderr]
[INFO] [stderr] error[E0277]: the trait bound `BStr: AsRef<[_; 0]>` is not satisfied
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/git-ref-0.24.1/src/store/packed/find.rs:91:43
[INFO] [stderr] |
[INFO] [stderr] 91 | a.binary_search_by_key(&full_name.as_ref(), |b: &u8| {
[INFO] [stderr] | ^^^^^^ the trait `AsRef<[_; 0]>` is not implemented for `BStr`
[INFO] [stderr] |
[INFO] [stderr] = help: the following other types implement trait `AsRef<T>`:
[INFO] [stderr] `BStr` implements `AsRef<BStr>`
[INFO] [stderr] `BStr` implements `AsRef<[u8]>`
[INFO] [stderr]
[INFO] [stderr] error[E0283]: type annotations needed
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/git-ref-0.24.1/src/fullname.rs:109:43
[INFO] [stderr] |
[INFO] [stderr] 109 | if let Some(shortened) = name.strip_prefix(category.prefix().as_ref()) {
[INFO] [stderr] | ^^^^^^^^^^^^ -------------------------- type must be known at this point
[INFO] [stderr] | |
[INFO] [stderr] | cannot infer type of the type parameter `P` declared on the method `strip_prefix`
[INFO] [stderr] |
[INFO] [stderr] = note: cannot satisfy `_: SlicePattern`
[INFO] [stderr] = help: the following types implement trait `SlicePattern`:
[INFO] [stderr] [T; N]
[INFO] [stderr] [T]
[INFO] [stderr] note: required by a bound in `core::slice::<impl [T]>::strip_prefix`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/slice/mod.rs:2715:28
[INFO] [stderr] |
[INFO] [stderr] 2715 | pub fn strip_prefix<P: SlicePattern<Item = T> + ?Sized>(&self, prefix: &P) -> Option<&[T]>
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `core::slice::<impl [T]>::strip_prefix`
[INFO] [stderr] help: consider specifying the generic argument
[INFO] [stderr] |
[INFO] [stderr] 109 | if let Some(shortened) = name.strip_prefix::<P>(category.prefix().as_ref()) {
[INFO] [stderr] | +++++
[INFO] [stderr]
[INFO] [stderr] error[E0283]: type annotations needed
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/git-ref-0.24.1/src/fullname.rs:109:43
[INFO] [stderr] |
[INFO] [stderr] 109 | if let Some(shortened) = name.strip_prefix(category.prefix().as_ref()) {
[INFO] [stderr] | ^^^^^^^^^^^^ ------ type must be known at this point
[INFO] [stderr] | |
[INFO] [stderr] | cannot infer type of the type parameter `P` declared on the method `strip_prefix`
[INFO] [stderr] |
[INFO] [stderr] = note: multiple `impl`s satisfying `BStr: AsRef<_>` found in the `bstr` crate:
[INFO] [stderr] - impl AsRef<BStr> for BStr;
[INFO] [stderr] - impl AsRef<[u8]> for BStr;
[INFO] [stderr] help: consider specifying the generic argument
[INFO] [stderr] |
[INFO] [stderr] 109 | if let Some(shortened) = name.strip_prefix::<P>(category.prefix().as_ref()) {
[INFO] [stderr] | +++++
[INFO] [stderr]
[INFO] [stderr] error[E0283]: type annotations needed
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/git-ref-0.24.1/src/fullname.rs:132:46
[INFO] [stderr] |
[INFO] [stderr] 132 | } else if let Some(shortened) = name.strip_prefix(Category::MainPseudoRef.prefix().as_ref()) {
[INFO] [stderr] | ^^^^^^^^^^^^ ------ type must be known at this point
[INFO] [stderr] | |
[INFO] [stderr] | cannot infer type of the type parameter `P` declared on the method `strip_prefix`
[INFO] [stderr] |
[INFO] [stderr] = note: multiple `impl`s satisfying `BStr: AsRef<_>` found in the `bstr` crate:
[INFO] [stderr] - impl AsRef<BStr> for BStr;
[INFO] [stderr] - impl AsRef<[u8]> for BStr;
[INFO] [stderr] help: consider specifying the generic argument
[INFO] [stderr] |
[INFO] [stderr] 132 | } else if let Some(shortened) = name.strip_prefix::<P>(Category::MainPseudoRef.prefix().as_ref()) {
[INFO] [stderr] | +++++
[INFO] [stderr]
[INFO] [stderr] error[E0283]: type annotations needed
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/git-ref-0.24.1/src/fullname.rs:139:18
[INFO] [stderr] |
[INFO] [stderr] 139 | name.strip_prefix(Category::LinkedPseudoRef { name: "".into() }.prefix().as_ref())
[INFO] [stderr] | ^^^^^^^^^^^^ ------ type must be known at this point
[INFO] [stderr] | |
[INFO] [stderr] | cannot infer type of the type parameter `P` declared on the method `strip_prefix`
[INFO] [stderr] |
[INFO] [stderr] = note: multiple `impl`s satisfying `BStr: AsRef<_>` found in the `bstr` crate:
[INFO] [stderr] - impl AsRef<BStr> for BStr;
[INFO] [stderr] - impl AsRef<[u8]> for BStr;
[INFO] [stderr] help: consider specifying the generic argument
[INFO] [stderr] |
[INFO] [stderr] 139 | name.strip_prefix::<P>(Category::LinkedPseudoRef { name: "".into() }.prefix().as_ref())
[INFO] [stderr] | +++++
[INFO] [stderr]
[INFO] [stderr] error[E0283]: type annotations needed
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/git-ref-0.24.1/src/raw.rs:76:18
[INFO] [stderr] |
[INFO] [stderr] 76 | .strip_prefix(namespace.0.as_bstr().as_ref())
[INFO] [stderr] | ^^^^^^^^^^^^ ------------------------------ type must be known at this point
[INFO] [stderr] | |
[INFO] [stderr] | cannot infer type of the type parameter `P` declared on the method `strip_prefix`
[INFO] [stderr] |
[INFO] [stderr] = note: cannot satisfy `_: SlicePattern`
[INFO] [stderr] = help: the following types implement trait `SlicePattern`:
[INFO] [stderr] [T; N]
[INFO] [stderr] [T]
[INFO] [stderr] note: required by a bound in `core::slice::<impl [T]>::strip_prefix`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/slice/mod.rs:2715:28
[INFO] [stderr] |
[INFO] [stderr] 2715 | pub fn strip_prefix<P: SlicePattern<Item = T> + ?Sized>(&self, prefix: &P) -> Option<&[T]>
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `core::slice::<impl [T]>::strip_prefix`
[INFO] [stderr] help: consider specifying the generic argument
[INFO] [stderr] |
[INFO] [stderr] 76 | .strip_prefix::<P>(namespace.0.as_bstr().as_ref())
[INFO] [stderr] | +++++
[INFO] [stderr]
[INFO] [stderr] error[E0283]: type annotations needed
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/git-ref-0.24.1/src/raw.rs:76:18
[INFO] [stderr] |
[INFO] [stderr] 76 | .strip_prefix(namespace.0.as_bstr().as_ref())
[INFO] [stderr] | ^^^^^^^^^^^^ ------ type must be known at this point
[INFO] [stderr] | |
[INFO] [stderr] | cannot infer type of the type parameter `P` declared on the method `strip_prefix`
[INFO] [stderr] |
[INFO] [stderr] = note: multiple `impl`s satisfying `BStr: AsRef<_>` found in the `bstr` crate:
[INFO] [stderr] - impl AsRef<BStr> for BStr;
[INFO] [stderr] - impl AsRef<[u8]> for BStr;
[INFO] [stderr] help: consider specifying the generic argument
[INFO] [stderr] |
[INFO] [stderr] 76 | .strip_prefix::<P>(namespace.0.as_bstr().as_ref())
[INFO] [stderr] | +++++
[INFO] [stderr]
[INFO] [stderr] Some errors have detailed explanations: E0277, E0283.
[INFO] [stderr] error: could not compile `git-ref` (lib) due to 8 previous errors
[INFO] running `Command { std: "docker" "inspect" "d3582455d5118002d572d4afbffa179e6070eef38a9546e8631ca708ac29fdc5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d3582455d5118002d572d4afbffa179e6070eef38a9546e8631ca708ac29fdc5", kill_on_drop: false }`
[INFO] [stdout] d3582455d5118002d572d4afbffa179e6070eef38a9546e8631ca708ac29fdc5