swc_allocator 2.0.0

A thin wrapper for bumpalo
Documentation
Build #1570749 2024-12-02T01:42:51.367628+00:00
# rustc version
rustc 1.84.0-nightly (3fee0f12e 2024-11-20)# docs.rs version
docsrs 0.6.0 (3767aed0 2024-11-29)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/swc_allocator-2.0.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/swc_allocator-2.0.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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-11-21" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241120-1.84.0-nightly-3fee0f12e\", \"--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}/i686-pc-windows-msvc\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-pc-windows-msvc", kill_on_drop: false }`
[INFO] [stdout] bbe731cf857cb5909f6540fe6cebc0aa6cec3804d453e8f6b78e175ab9635a1e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "bbe731cf857cb5909f6540fe6cebc0aa6cec3804d453e8f6b78e175ab9635a1e", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting swc_allocator v2.0.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `Allocator::scope`
[INFO] [stderr]   --> src/lib.rs:26:16
[INFO] [stderr]    |
[INFO] [stderr] 26 | //! a call to [Allocator::scope].
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^ the struct `Allocator` has no field or associated item named `scope`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Box::pin`
[INFO] [stderr]    --> src/boxed/mod.rs:195:32
[INFO] [stderr]     |
[INFO] [stderr] 195 |     /// concisely using <code>[Box::pin]\(x)</code>. This `into_pin` method
[INFO] [stderr]     |                                ^^^^^^^^ the struct `Box` has no field or associated item named `pin`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Vec::capacity`
[INFO] [stderr]   --> src/vec/mod.rs:66:23
[INFO] [stderr]    |
[INFO] [stderr] 66 |     /// [`capacity`]: Vec::capacity
[INFO] [stderr]    |                       ^^^^^^^^^^^^^ the struct `Vec` has no field or associated item named `capacity`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Vec::capacity`
[INFO] [stderr]    --> src/vec/mod.rs:125:23
[INFO] [stderr]     |
[INFO] [stderr] 125 |     /// [`capacity`]: Vec::capacity
[INFO] [stderr]     |                       ^^^^^^^^^^^^^ the struct `Vec` has no field or associated item named `capacity`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Vec::shrink_to_fit`
[INFO] [stderr]    --> src/vec/mod.rs:143:28
[INFO] [stderr]     |
[INFO] [stderr] 143 |     /// [`shrink_to_fit`]: Vec::shrink_to_fit
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^ the struct `Vec` has no field or associated item named `shrink_to_fit`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `crate::alloc::alloc`
[INFO] [stderr]    --> src/vec/mod.rs:245:27
[INFO] [stderr]     |
[INFO] [stderr] 245 |     /// [`alloc::alloc`]: crate::alloc::alloc
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^^^^^^ no item named `alloc` in module `alloc`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `crate::alloc::GlobalAlloc::dealloc`
[INFO] [stderr]    --> src/vec/mod.rs:246:22
[INFO] [stderr]     |
[INFO] [stderr] 246 |     /// [`dealloc`]: crate::alloc::GlobalAlloc::dealloc
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `GlobalAlloc` in module `alloc`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `std::pointer::offset`
[INFO] [stderr]    --> src/vec/mod.rs:219:41
[INFO] [stderr]     |
[INFO] [stderr] 219 |     ///   the safety documentation of [`std::pointer::offset`].
[INFO] [stderr]     |                                         ^^^^^^^^^^^^^^^^^^^^ no item named `pointer` in module `std`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `slice::from_raw_parts`
[INFO] [stderr]    --> src/vec/mod.rs:235:54
[INFO] [stderr]     |
[INFO] [stderr] 235 |     /// preferable to do casting/transmuting using [`slice::from_raw_parts`]
[INFO] [stderr]     |                                                      ^^^^^^^^^^^^^^^^^^^^^ the primitive type `slice` has no associated item named `from_raw_parts`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Allocator::scope`
[INFO] [stderr]   --> src/lib.rs:84:47
[INFO] [stderr]    |
[INFO] [stderr] 84 |     /// [crate::Allocator] instance used for [Allocator::scope].
[INFO] [stderr]    |                                               ^^^^^^^^^^^^^^^^ the struct `Allocator` has no field or associated item named `scope`
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `T`
[INFO] [stderr]   --> src/lib.rs:46:8
[INFO] [stderr]    |
[INFO] [stderr] 46 | /// Box<T> and Vec<T> depeding on the feature.
[INFO] [stderr]    |        ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(rustdoc::invalid_html_tags)]` on by default
[INFO] [stderr] help: try marking as source code
[INFO] [stderr]    |
[INFO] [stderr] 46 | /// `Box<T>` and Vec<T> depeding on the feature.
[INFO] [stderr]    |     +      +
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `T`
[INFO] [stderr]   --> src/lib.rs:46:19
[INFO] [stderr]    |
[INFO] [stderr] 46 | /// Box<T> and Vec<T> depeding on the feature.
[INFO] [stderr]    |                   ^^^
[INFO] [stderr]    |
[INFO] [stderr] help: try marking as source code
[INFO] [stderr]    |
[INFO] [stderr] 46 | /// Box<T> and `Vec<T>` depeding on the feature.
[INFO] [stderr]    |                +      +
[INFO] [stderr] 
[INFO] [stderr] warning: `swc_allocator` (lib doc) generated 12 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.65s
[INFO] [stderr]    Generated /opt/rustwide/target/i686-pc-windows-msvc/doc/swc_allocator/index.html
[INFO] running `Command { std: "docker" "inspect" "bbe731cf857cb5909f6540fe6cebc0aa6cec3804d453e8f6b78e175ab9635a1e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bbe731cf857cb5909f6540fe6cebc0aa6cec3804d453e8f6b78e175ab9635a1e", kill_on_drop: false }`
[INFO] [stdout] bbe731cf857cb5909f6540fe6cebc0aa6cec3804d453e8f6b78e175ab9635a1e