hashmap_core2 0.0.1

Implementation of HashMap and HashSet for no_std environments.
Build #1503585 2024-11-07 03:38:58

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.84.0-nightly (854980293 2024-11-06)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/hashmap_core2-0.0.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/hashmap_core2-0.0.1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241106-1.84.0-nightly-854980293\", \"--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] 95c1d9e5a3a3e483d7801c7413d775bcb473484f71a6a335ee668511ba3a36d9
[INFO] running `Command { std: "docker" "start" "-a" "95c1d9e5a3a3e483d7801c7413d775bcb473484f71a6a335ee668511ba3a36d9", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting hashmap_core2 v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved import `alloc_crate::alloc::oom`
[INFO] [stderr]   --> src/lib.rs:19:34
[INFO] [stderr]    |
[INFO] [stderr] 19 |     pub use alloc_crate::alloc::{oom, Global};
[INFO] [stderr]    |                                  ^^^ no `oom` in `alloc`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `alloc::CollectionAllocErr`
[INFO] [stderr]   --> src/map.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use alloc::CollectionAllocErr;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^ no `CollectionAllocErr` in `alloc`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `alloc::Alloc`, `alloc::CollectionAllocErr`
[INFO] [stderr]   --> src/table.rs:11:13
[INFO] [stderr]    |
[INFO] [stderr] 11 | use alloc::{Alloc, CollectionAllocErr, Global, Layout};
[INFO] [stderr]    |             ^^^^^  ^^^^^^^^^^^^^^^^^^ no `CollectionAllocErr` in `alloc`
[INFO] [stderr]    |             |
[INFO] [stderr]    |             no `Alloc` in `alloc`
[INFO] [stderr] 
[INFO] [stderr] warning: the feature `ptr_internals` is internal to the compiler or standard library
[INFO] [stderr]   --> src/lib.rs:14:58
[INFO] [stderr]    |
[INFO] [stderr] 14 | #![feature(alloc, dropck_eyepatch, allocator_api, fused, ptr_internals, try_reserve, nonnull_cast)]
[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: unnecessary parentheses around type
[INFO] [stderr]     --> src/map.rs:1878:34
[INFO] [stderr]      |
[INFO] [stderr] 1878 |     fn next(&mut self) -> Option<(&'a K)> {
[INFO] [stderr]      |                                  ^     ^
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]      |
[INFO] [stderr] 1878 -     fn next(&mut self) -> Option<(&'a K)> {
[INFO] [stderr] 1878 +     fn next(&mut self) -> Option<&'a K> {
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]     --> src/map.rs:1898:34
[INFO] [stderr]      |
[INFO] [stderr] 1898 |     fn next(&mut self) -> Option<(&'a V)> {
[INFO] [stderr]      |                                  ^     ^
[INFO] [stderr]      |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]      |
[INFO] [stderr] 1898 -     fn next(&mut self) -> Option<(&'a V)> {
[INFO] [stderr] 1898 +     fn next(&mut self) -> Option<&'a V> {
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]     --> src/map.rs:1918:34
[INFO] [stderr]      |
[INFO] [stderr] 1918 |     fn next(&mut self) -> Option<(&'a mut V)> {
[INFO] [stderr]      |                                  ^         ^
[INFO] [stderr]      |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]      |
[INFO] [stderr] 1918 -     fn next(&mut self) -> Option<(&'a mut V)> {
[INFO] [stderr] 1918 +     fn next(&mut self) -> Option<&'a mut V> {
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0432`.
[INFO] [stderr] warning: `hashmap_core2` (lib doc) generated 4 warnings
[INFO] [stderr] error: could not document `hashmap_core2`
[INFO] running `Command { std: "docker" "inspect" "95c1d9e5a3a3e483d7801c7413d775bcb473484f71a6a335ee668511ba3a36d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "95c1d9e5a3a3e483d7801c7413d775bcb473484f71a6a335ee668511ba3a36d9", kill_on_drop: false }`
[INFO] [stdout] 95c1d9e5a3a3e483d7801c7413d775bcb473484f71a6a335ee668511ba3a36d9