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.
# error kind ExecutionFailed
# pre-build errors command failed: exit status: 101
# rustc version rustc 1.98.0-nightly (cced03bfd 2026-05-28)
# docs.rs version docsrs 0.0.0 (f16e33f3e6ac9fc9e4413728c5dd1b2ba1c6b799 2026-05-23 )
# build log [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-w" "/opt/rustwide/workdir" "--user" "1001:1001" "f03e170af91feef996a506471ff7a17eb8a76d359d581d4a9bf8b9fcd8924888" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "document-features" "--all-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260528-1.98.0-nightly-cced03bfd\", \"--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: Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `nom` dependency) [INFO] [stderr] warning: `git-config` (manifest) generated 1 warning [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Checking git-glob v0.5.4 [INFO] [stderr] Checking git-ref v0.24.1 [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] [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: `BStr` implements trait `AsRef<T>` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bstr-1.12.1/src/impls.rs:679:5 [INFO] [stderr] | [INFO] [stderr] 679 | impl AsRef<[u8]> for BStr { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ `AsRef<[u8]>` [INFO] [stderr] ... [INFO] [stderr] 686 | impl AsRef<BStr> for BStr { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ `AsRef<BStr>` [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: `BStr` implements trait `AsRef<T>` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bstr-1.12.1/src/impls.rs:679:5 [INFO] [stderr] | [INFO] [stderr] 679 | impl AsRef<[u8]> for BStr { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ `AsRef<[u8]>` [INFO] [stderr] ... [INFO] [stderr] 686 | impl AsRef<BStr> for BStr { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ `AsRef<BStr>` [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: the type must implement `SlicePattern` [INFO] [stderr] help: the following types implement trait `SlicePattern` [INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/slice/mod.rs:5663:1 [INFO] [stderr] | [INFO] [stderr] 5663 | impl<T> SlicePattern for [T] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `[T]` [INFO] [stderr] ... [INFO] [stderr] 5673 | impl<T, const N: usize> SlicePattern for [T; N] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `[T; N]` [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:2683:28 [INFO] [stderr] | [INFO] [stderr] 2683 | 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 a concrete type for the type parameter `P` [INFO] [stderr] | [INFO] [stderr] 109 | if let Some(shortened) = name.strip_prefix::</* Type */>(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 a concrete type for the type parameter `P` [INFO] [stderr] | [INFO] [stderr] 109 | if let Some(shortened) = name.strip_prefix::</* Type */>(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 a concrete type for the type parameter `P` [INFO] [stderr] | [INFO] [stderr] 132 | } else if let Some(shortened) = name.strip_prefix::</* Type */>(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 a concrete type for the type parameter `P` [INFO] [stderr] | [INFO] [stderr] 139 | name.strip_prefix::</* Type */>(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: the type must implement `SlicePattern` [INFO] [stderr] help: the following types implement trait `SlicePattern` [INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/slice/mod.rs:5663:1 [INFO] [stderr] | [INFO] [stderr] 5663 | impl<T> SlicePattern for [T] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `[T]` [INFO] [stderr] ... [INFO] [stderr] 5673 | impl<T, const N: usize> SlicePattern for [T; N] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `[T; N]` [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:2683:28 [INFO] [stderr] | [INFO] [stderr] 2683 | 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 a concrete type for the type parameter `P` [INFO] [stderr] | [INFO] [stderr] 76 | .strip_prefix::</* Type */>(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 a concrete type for the type parameter `P` [INFO] [stderr] | [INFO] [stderr] 76 | .strip_prefix::</* Type */>(namespace.0.as_bstr().as_ref()) [INFO] [stderr] | ++++++++++++++ [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0283. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `git-ref` (lib) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "f03e170af91feef996a506471ff7a17eb8a76d359d581d4a9bf8b9fcd8924888", kill_on_drop: false }`