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 (31a9463c6 2026-05-25)
# 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" "222e727cef3dc392acab4bbdb5f9180e327ba3dbf1882926455993772e8f3305" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "std serde" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260525-1.98.0-nightly-31a9463c6\", \"--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: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting staticvec v0.11.9 (/opt/rustwide/workdir) [INFO] [stderr] error: cannot find attribute `const_trait` in this scope [INFO] [stderr] --> src/trait_impls.rs:188:3 [INFO] [stderr] | [INFO] [stderr] 188 | #[const_trait] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stderr] --> src/lib.rs:53:3 [INFO] [stderr] | [INFO] [stderr] 53 | core_intrinsics, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: using it is strongly discouraged [INFO] [stderr] = note: `#[warn(internal_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `rustdoc` [INFO] [stderr] --> src/lib.rs:88:28 [INFO] [stderr] | [INFO] [stderr] 88 | #[cfg(any(feature = "std", rustdoc))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 32 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustdoc)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustdoc)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `rustdoc` [INFO] [stderr] --> src/lib.rs:91:28 [INFO] [stderr] | [INFO] [stderr] 91 | #[cfg(any(feature = "std", rustdoc))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustdoc)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustdoc)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `rustdoc` [INFO] [stderr] --> src/string/mod.rs:16:28 [INFO] [stderr] | [INFO] [stderr] 16 | #[cfg(all(feature = "std", rustdoc))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustdoc)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustdoc)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] error: const `impl` for trait `ExtendEx` which is not `const` [INFO] [stderr] --> src/trait_impls.rs:256:64 [INFO] [stderr] | [INFO] [stderr] 256 | impl<'a, T: 'a + Copy, const N1: usize, const N2: usize> const ExtendEx<&'a T, &StaticVec<T, N2>> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stderr] | [INFO] [stderr] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change [INFO] [stderr] help: mark `ExtendEx` as `const` to allow it to have `const` implementations [INFO] [stderr] | [INFO] [stderr] 189 | pub(crate) const trait ExtendEx<T, I> { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] error: const `impl` for trait `ExtendEx` which is not `const` [INFO] [stderr] --> src/trait_impls.rs:270:46 [INFO] [stderr] | [INFO] [stderr] 270 | impl<'a, T: 'a + Copy, const N: usize> const ExtendEx<&'a T, &StaticVec<T, N>> for StaticVec<T, N> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stderr] | [INFO] [stderr] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change [INFO] [stderr] help: mark `ExtendEx` as `const` to allow it to have `const` implementations [INFO] [stderr] | [INFO] [stderr] 189 | pub(crate) const trait ExtendEx<T, I> { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] error: const `impl` for trait `ExtendEx` which is not `const` [INFO] [stderr] --> src/trait_impls.rs:283:3 [INFO] [stderr] | [INFO] [stderr] 283 | ExtendEx<&'a T, StaticVecIterConst<'a, T, N2>> for StaticVec<T, N1> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stderr] | [INFO] [stderr] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change [INFO] [stderr] help: mark `ExtendEx` as `const` to allow it to have `const` implementations [INFO] [stderr] | [INFO] [stderr] 189 | pub(crate) const trait ExtendEx<T, I> { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] error: const `impl` for trait `ExtendEx` which is not `const` [INFO] [stderr] --> src/trait_impls.rs:296:46 [INFO] [stderr] | [INFO] [stderr] 296 | impl<'a, T: 'a + Copy, const N: usize> const ExtendEx<&'a T, StaticVecIterConst<'a, T, N>> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stderr] | [INFO] [stderr] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change [INFO] [stderr] help: mark `ExtendEx` as `const` to allow it to have `const` implementations [INFO] [stderr] | [INFO] [stderr] 189 | pub(crate) const trait ExtendEx<T, I> { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] error: const `impl` for trait `ExtendEx` which is not `const` [INFO] [stderr] --> src/trait_impls.rs:336:46 [INFO] [stderr] | [INFO] [stderr] 336 | impl<'a, T: 'a + Copy, const N: usize> const ExtendEx<&'a T, &'a [T]> for StaticVec<T, N> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stderr] | [INFO] [stderr] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change [INFO] [stderr] help: mark `ExtendEx` as `const` to allow it to have `const` implementations [INFO] [stderr] | [INFO] [stderr] 189 | pub(crate) const trait ExtendEx<T, I> { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] error[E0107]: trait takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stderr] --> src/string/mod.rs:840:40 [INFO] [stderr] | [INFO] [stderr] 840 | pub fn remove_matches<'a, P: for<'x> Pattern<'x>>(&'a mut self, pat: P) { [INFO] [stderr] | ^^^^^^^---- help: remove the unnecessary generics [INFO] [stderr] | | [INFO] [stderr] | expected 0 lifetime arguments [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0107`. [INFO] [stderr] warning: `staticvec` (lib doc) generated 4 warnings [INFO] [stderr] error: could not document `staticvec` [INFO] running `Command { std: "docker" "inspect" "222e727cef3dc392acab4bbdb5f9180e327ba3dbf1882926455993772e8f3305", kill_on_drop: false }`