maligned 0.2.1

A memory alignment library
Documentation
Build #1521702 2024-11-11T20:25:44.023005+00:00
# rustc version
rustc 1.84.0-nightly (143ce0920 2024-11-10)# 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/maligned-0.2.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/maligned-0.2.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" "--features" "align-128k" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241110-1.84.0-nightly-143ce0920\", \"--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-pc-windows-msvc\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-pc-windows-msvc", kill_on_drop: false }`
[INFO] [stdout] 439d6c51d16787e37a78f4c18071fcf3937f6c0d2df58bdbb00c70f64e861460
[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" "439d6c51d16787e37a78f4c18071fcf3937f6c0d2df58bdbb00c70f64e861460", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting maligned v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]  --> src/lib.rs:4:37
[INFO] [stderr]   |
[INFO] [stderr] 4 | //! These implement the [Alignment](align::Alignment) trait that can be used for always aligned byte arrays for faster
[INFO] [stderr]   |                          ---------  ^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]   |                          |
[INFO] [stderr]   |                          because label contains path that resolves to same destination
[INFO] [stderr]   |
[INFO] [stderr]   = note: when a link's destination is not specified,
[INFO] [stderr]           the label is used to resolve intra-doc links
[INFO] [stderr]   = note: `#[warn(rustdoc::redundant_explicit_links)]` on by default
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]   |
[INFO] [stderr] 4 | //! These implement the [Alignment] trait that can be used for always aligned byte arrays for faster
[INFO] [stderr]   |                         ~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:15:48
[INFO] [stderr]    |
[INFO] [stderr] 15 | //! If you need more than a single [Alignment](align::Alignment) of bytes you can create a vector of them
[INFO] [stderr]    |                                     ---------  ^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]    |                                     |
[INFO] [stderr]    |                                     because label contains path that resolves to same destination
[INFO] [stderr]    |
[INFO] [stderr]    = note: when a link's destination is not specified,
[INFO] [stderr]            the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]    |
[INFO] [stderr] 15 | //! If you need more than a single [Alignment] of bytes you can create a vector of them
[INFO] [stderr]    |                                    ~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:28:39
[INFO] [stderr]    |
[INFO] [stderr] 28 | //! There is also a wrapper [Aligned](align::Aligned) that aligns any type to a specified alignment
[INFO] [stderr]    |                              -------  ^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]    |                              |
[INFO] [stderr]    |                              because label contains path that resolves to same destination
[INFO] [stderr]    |
[INFO] [stderr]    = note: when a link's destination is not specified,
[INFO] [stderr]            the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]    |
[INFO] [stderr] 28 | //! There is also a wrapper [Aligned] that aligns any type to a specified alignment
[INFO] [stderr]    |                             ~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:38:19
[INFO] [stderr]    |
[INFO] [stderr] 38 | //! [align_first](heap::align_first) returns an empty Vec with a capacity of at least `capacity` bytes.
[INFO] [stderr]    |      -----------  ^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]    |      |
[INFO] [stderr]    |      because label contains path that resolves to same destination
[INFO] [stderr]    |
[INFO] [stderr]    = note: when a link's destination is not specified,
[INFO] [stderr]            the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]    |
[INFO] [stderr] 38 | //! [align_first] returns an empty Vec with a capacity of at least `capacity` bytes.
[INFO] [stderr]    |     ~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:48:25
[INFO] [stderr]    |
[INFO] [stderr] 48 | //! [align_first_boxed](heap::align_first_boxed), [align_first_boxed_default](heap::align_first_boxed_default),
[INFO] [stderr]    |      -----------------  ^^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]    |      |
[INFO] [stderr]    |      because label contains path that resolves to same destination
[INFO] [stderr]    |
[INFO] [stderr]    = note: when a link's destination is not specified,
[INFO] [stderr]            the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]    |
[INFO] [stderr] 48 | //! [align_first_boxed], [align_first_boxed_default](heap::align_first_boxed_default),
[INFO] [stderr]    |     ~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:48:79
[INFO] [stderr]    |
[INFO] [stderr] 48 | //! [align_first_boxed](heap::align_first_boxed), [align_first_boxed_default](heap::align_first_boxed_default),
[INFO] [stderr]    |                                                    -------------------------  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]    |                                                    |
[INFO] [stderr]    |                                                    because label contains path that resolves to same destination
[INFO] [stderr]    |
[INFO] [stderr]    = note: when a link's destination is not specified,
[INFO] [stderr]            the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]    |
[INFO] [stderr] 48 | //! [align_first_boxed](heap::align_first_boxed), [align_first_boxed_default],
[INFO] [stderr]    |                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:49:36
[INFO] [stderr]    |
[INFO] [stderr] 49 | //! and [align_first_boxed_cloned](heap::align_first_boxed_cloned) all return a [Box<\[T\]>](alloc::boxed::Box) with the
[INFO] [stderr]    |          ------------------------  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]    |          |
[INFO] [stderr]    |          because label contains path that resolves to same destination
[INFO] [stderr]    |
[INFO] [stderr]    = note: when a link's destination is not specified,
[INFO] [stderr]            the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]    |
[INFO] [stderr] 49 | //! and [align_first_boxed_cloned] all return a [Box<\[T\]>](alloc::boxed::Box) with the
[INFO] [stderr]    |         ~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:50:51
[INFO] [stderr]    |
[INFO] [stderr] 50 | //! first element aligned to at least [Alignment](align::Alignment) bytes.
[INFO] [stderr]    |                                        ---------  ^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]    |                                        |
[INFO] [stderr]    |                                        because label contains path that resolves to same destination
[INFO] [stderr]    |
[INFO] [stderr]    = note: when a link's destination is not specified,
[INFO] [stderr]            the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]    |
[INFO] [stderr] 50 | //! first element aligned to at least [Alignment] bytes.
[INFO] [stderr]    |                                       ~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: `maligned` (lib doc) generated 8 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.38s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-pc-windows-msvc/doc/maligned/index.html
[INFO] running `Command { std: "docker" "inspect" "439d6c51d16787e37a78f4c18071fcf3937f6c0d2df58bdbb00c70f64e861460", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "439d6c51d16787e37a78f4c18071fcf3937f6c0d2df58bdbb00c70f64e861460", kill_on_drop: false }`
[INFO] [stdout] 439d6c51d16787e37a78f4c18071fcf3937f6c0d2df58bdbb00c70f64e861460