realloc 0.1.0

A re-implementation of various ::alloc features
Documentation

Build #1998989 2025-04-15 01:16:31

# rustc version rustc 1.88.0-nightly (092a284ba 2025-04-13)

# docs.rs version docsrs 0.6.0 (ee9a3fe6 2025-03-28)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/realloc-0.1.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/realloc-0.1.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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250413-1.88.0-nightly-092a284ba\", \"--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] d436291db18bd423d5e9e50d21549ceae88b855e2138b0b54fcf639bad56fc74 [INFO] running `Command { std: "docker" "start" "-a" "d436291db18bd423d5e9e50d21549ceae88b855e2138b0b54fcf639bad56fc74", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting realloc v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unresolved link to `Allocator::dealloc` [INFO] [stderr] --> src/alloc.rs:136:24 [INFO] [stderr] | [INFO] [stderr] 136 | /// Shortcut for [`Allocator::dealloc`]. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ the trait `Allocator` has no associated item named `dealloc` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `strategy` [INFO] [stderr] --> src/strategy.rs:8:53 [INFO] [stderr] | [INFO] [stderr] 8 | /// While you can create your own (likely through [`strategy!`]), it's [INFO] [stderr] | ^^^^^^^^^ no item named `strategy` in scope [INFO] [stderr] | [INFO] [stderr] = note: `macro_rules` named `strategy` exists in this crate, but it is not in scope at this link's location [INFO] [stderr] [INFO] [stderr] warning: public documentation for `Strategy` links to private item `Abort` [INFO] [stderr] --> src/strategy.rs:9:33 [INFO] [stderr] | [INFO] [stderr] 9 | /// recommended to use one of [`Abort`], [`Panic`], [`Optional`], or [INFO] [stderr] | ^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] = note: `#[warn(rustdoc::private_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: public documentation for `Panic` links to private item `Abort` [INFO] [stderr] --> src/strategy.rs:215:5 [INFO] [stderr] | [INFO] [stderr] 215 | / /// A [`Strategy`] prescribing that the program panic on failure. [INFO] [stderr] 216 | | /// [INFO] [stderr] 217 | | /// See also [`Abort`] and [`Fallible`]. [INFO] [stderr] | |____________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] See also [`Abort`] and [`Fallible`]. [INFO] [stderr] ^^^^^^^ [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] = note: this warning originates in the macro `strategy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `Allocator::dealloc` [INFO] [stderr] --> src/lib.rs:75:21 [INFO] [stderr] | [INFO] [stderr] 75 | /// [`dealloc`](Allocator::dealloc) was called on an [`Alloc`] from a [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ the trait `Allocator` has no associated item named `dealloc` [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `T` [INFO] [stderr] --> src/static.rs:9:29 [INFO] [stderr] | [INFO] [stderr] 9 | /// Implements <code>[Deref]<T></code>, which delegates to [`get`](Static::get). [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::invalid_html_tags)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `realloc` (lib doc) generated 6 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/realloc/index.html [INFO] running `Command { std: "docker" "inspect" "d436291db18bd423d5e9e50d21549ceae88b855e2138b0b54fcf639bad56fc74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d436291db18bd423d5e9e50d21549ceae88b855e2138b0b54fcf639bad56fc74", kill_on_drop: false }` [INFO] [stdout] d436291db18bd423d5e9e50d21549ceae88b855e2138b0b54fcf639bad56fc74