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 (f6092f224 2025-09-22)# 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/staticvec-0.11.9/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/staticvec-0.11.9/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" "std serde" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250922-1.92.0-nightly-f6092f224\", \"--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] 139ac317e3b4b44b9df45449797ad248cc0cc349595f0bd848a32a5ee929d2c1
[INFO] running `Command { std: "docker" "start" "-a" "139ac317e3b4b44b9df45449797ad248cc0cc349595f0bd848a32a5ee929d2c1", 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] 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 31 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 `IntoIterator` which is not `const`
[INFO] [stderr] --> src/trait_impls.rs:708:39
[INFO] [stderr] |
[INFO] [stderr] 708 | impl<'a, T: 'a, const N: usize> const IntoIterator for &'a 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]
[INFO] [stderr] error: const `impl` for trait `IntoIterator` which is not `const`
[INFO] [stderr] --> src/trait_impls.rs:719:39
[INFO] [stderr] |
[INFO] [stderr] 719 | impl<'a, T: 'a, const N: usize> const IntoIterator for &'a mut 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]
[INFO] [stderr] error: const `impl` for trait `IntoIterator` which is not `const`
[INFO] [stderr] --> src/trait_impls.rs:730:31
[INFO] [stderr] |
[INFO] [stderr] 730 | impl<T, const N: usize> const IntoIterator 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]
[INFO] [stderr] error: const `impl` for trait `IntoIterator` which is not `const`
[INFO] [stderr] --> src/heap/heap_trait_impls.rs:199:31
[INFO] [stderr] |
[INFO] [stderr] 199 | impl<T, const N: usize> const IntoIterator for StaticHeap<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]
[INFO] [stderr] error: const `impl` for trait `IntoIterator` which is not `const`
[INFO] [stderr] --> src/heap/heap_trait_impls.rs:225:35
[INFO] [stderr] |
[INFO] [stderr] 225 | impl<'a, T, const N: usize> const IntoIterator for &'a StaticHeap<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]
[INFO] [stderr] error: const `impl` for trait `IntoIterator` which is not `const`
[INFO] [stderr] --> src/heap/heap_trait_impls.rs:235:35
[INFO] [stderr] |
[INFO] [stderr] 235 | impl<'a, T, const N: usize> const IntoIterator for &'a mut StaticHeap<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]
[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" "139ac317e3b4b44b9df45449797ad248cc0cc349595f0bd848a32a5ee929d2c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "139ac317e3b4b44b9df45449797ad248cc0cc349595f0bd848a32a5ee929d2c1", kill_on_drop: false }`
[INFO] [stdout] 139ac317e3b4b44b9df45449797ad248cc0cc349595f0bd848a32a5ee929d2c1