bytemuck 1.14.0

A crate for mucking around with piles of bytes.
Documentation

Build #904838 2023-09-05 21:34:23

# rustc version rustc 1.74.0-nightly (ec08a0337 2023-09-04)

# docs.rs version docsrs 0.6.0 (d381c37c 2023-09-01)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/bytemuck-1.14.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/bytemuck-1.14.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/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:f5e78b491441a5b9644e276a59809eedfadf4ee1de96655588122b3a64cb522c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "nightly_docs derive extern_crate_alloc extern_crate_std zeroable_maybe_uninit zeroable_atomics min_const_generics wasm_simd must_cast" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20230904-1.74.0-nightly-ec08a0337\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--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] 24324bbe5bba98b13f31090708df13f30fc76645e8bcaec0758e8788cc2f1dad [INFO] running `Command { std: "docker" "start" "-a" "24324bbe5bba98b13f31090708df13f30fc76645e8bcaec0758e8788cc2f1dad", kill_on_drop: false }` [INFO] [stderr] warning: Target filter specified, but no targets matched. This is a no-op [INFO] [stderr] Documenting bytemuck v1.14.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/allocation.rs:23:25 [INFO] [stderr] | [INFO] [stderr] 23 | /// As [`try_cast_box`](try_cast_box), but unwraps for you. [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] 23 | /// As [`try_cast_box`], but unwraps for you. [INFO] [stderr] | ~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/allocation.rs:29:52 [INFO] [stderr] | [INFO] [stderr] 29 | /// Attempts to cast the content type of a [`Box`](alloc::boxed::Box). [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] 29 | /// Attempts to cast the content type of a [`Box`]. [INFO] [stderr] | ~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/allocation.rs:140:33 [INFO] [stderr] | [INFO] [stderr] 140 | /// As [`try_zeroed_slice_box`](try_zeroed_slice_box), but unwraps for you. [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] 140 | /// As [`try_zeroed_slice_box`], but unwraps for you. [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/allocation.rs:145:31 [INFO] [stderr] | [INFO] [stderr] 145 | /// As [`try_cast_slice_box`](try_cast_slice_box), but unwraps for you. [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] 145 | /// As [`try_cast_slice_box`], but unwraps for you. [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/allocation.rs:196:25 [INFO] [stderr] | [INFO] [stderr] 196 | /// As [`try_cast_vec`](try_cast_vec), but unwraps for you. [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] 196 | /// As [`try_cast_vec`], but unwraps for you. [INFO] [stderr] | ~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/allocation.rs:202:52 [INFO] [stderr] | [INFO] [stderr] 202 | /// Attempts to cast the content type of a [`Vec`](alloc::vec::Vec). [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] 202 | /// Attempts to cast the content type of a [`Vec`]. [INFO] [stderr] | ~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/allocation.rs:301:24 [INFO] [stderr] | [INFO] [stderr] 301 | /// As [`try_cast_rc`](try_cast_rc), but unwraps for you. [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] 301 | /// As [`try_cast_rc`], but unwraps for you. [INFO] [stderr] | ~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/allocation.rs:309:51 [INFO] [stderr] | [INFO] [stderr] 309 | /// Attempts to cast the content type of a [`Rc`](alloc::rc::Rc). [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] 309 | /// Attempts to cast the content type of a [`Rc`]. [INFO] [stderr] | ~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/allocation.rs:337:25 [INFO] [stderr] | [INFO] [stderr] 337 | /// As [`try_cast_arc`](try_cast_arc), but unwraps for you. [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] 337 | /// As [`try_cast_arc`], but unwraps for you. [INFO] [stderr] | ~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/allocation.rs:346:52 [INFO] [stderr] | [INFO] [stderr] 346 | /// Attempts to cast the content type of a [`Arc`](alloc::sync::Arc). [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] 346 | /// Attempts to cast the content type of a [`Arc`]. [INFO] [stderr] | ~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/allocation.rs:378:30 [INFO] [stderr] | [INFO] [stderr] 378 | /// As [`try_cast_slice_rc`](try_cast_slice_rc), but unwraps for you. [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] 378 | /// As [`try_cast_slice_rc`], but unwraps for you. [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/allocation.rs:440:31 [INFO] [stderr] | [INFO] [stderr] 440 | /// As [`try_cast_slice_arc`](try_cast_slice_arc), but unwraps for you. [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] 440 | /// As [`try_cast_slice_arc`], but unwraps for you. [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/allocation.rs:553:25 [INFO] [stderr] | [INFO] [stderr] 553 | /// Convert an [`Rc`](alloc::rc::Rc) to the inner type into an `Rc` to 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] 553 | /// Convert an [`Rc`] to the inner type into an `Rc` to the [INFO] [stderr] | ~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/allocation.rs:575:26 [INFO] [stderr] | [INFO] [stderr] 575 | /// Convert an [`Arc`](alloc::sync::Arc) to the inner type into an `Arc` to [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] 575 | /// Convert an [`Arc`] to the inner type into an `Arc` to [INFO] [stderr] | ~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/allocation.rs:643:25 [INFO] [stderr] | [INFO] [stderr] 643 | /// Convert an [`Rc`](alloc::rc::Rc) to the wrapper type into an `Rc` to 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] 643 | /// Convert an [`Rc`] to the wrapper type into an `Rc` to the [INFO] [stderr] | ~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/allocation.rs:665:26 [INFO] [stderr] | [INFO] [stderr] 665 | /// Convert an [`Arc`](alloc::sync::Arc) to the wrapper type into an `Arc` to [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] 665 | /// Convert an [`Arc`] to the wrapper type into an `Arc` to [INFO] [stderr] | ~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/checked.rs:453:33 [INFO] [stderr] | [INFO] [stderr] 453 | /// * This is like [`try_cast`](try_cast), but will panic on a size mismatch. [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] 453 | /// * This is like [`try_cast`], but will panic on a size mismatch. [INFO] [stderr] | ~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:264:33 [INFO] [stderr] | [INFO] [stderr] 264 | /// * This is like [`try_cast`](try_cast), but will panic on a size mismatch. [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] 264 | /// * This is like [`try_cast`], but will panic on a size mismatch. [INFO] [stderr] | ~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: `bytemuck` (lib doc) generated 18 warnings [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "24324bbe5bba98b13f31090708df13f30fc76645e8bcaec0758e8788cc2f1dad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24324bbe5bba98b13f31090708df13f30fc76645e8bcaec0758e8788cc2f1dad", kill_on_drop: false }` [INFO] [stdout] 24324bbe5bba98b13f31090708df13f30fc76645e8bcaec0758e8788cc2f1dad