array-utils 0.1.1

A no-std heapless set of array utils making use of const generics
Documentation

Build #1535996 2024-11-14 13:31:35

# rustc version rustc 1.84.0-nightly (8adb4b30f 2024-11-13)

# 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/array-utils-0.1.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/array-utils-0.1.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\", \"-20241113-1.84.0-nightly-8adb4b30f\", \"--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] [stdout] a7a219e60f0564b63da8bf92cf00885b763c5a40ef8b4be52166cd8b501f82d2 [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" "a7a219e60f0564b63da8bf92cf00885b763c5a40ef8b4be52166cd8b501f82d2", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting array-utils v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:19:25 [INFO] [stderr] | [INFO] [stderr] 19 | //! [`initialize_from`](crate::initialize_from), [`initialize_till`](crate::initialize_till), [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] 19 | //! [`initialize_from`], [`initialize_till`](crate::initialize_till), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:19:70 [INFO] [stderr] | [INFO] [stderr] 19 | //! [`initialize_from`](crate::initialize_from), [`initialize_till`](crate::initialize_till), [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] 19 | //! [`initialize_from`](crate::initialize_from), [`initialize_till`], [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:20:32 [INFO] [stderr] | [INFO] [stderr] 20 | //! [`initialize_from_option`](crate::initialize_from_option) and [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] 20 | //! [`initialize_from_option`] and [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:21:32 [INFO] [stderr] | [INFO] [stderr] 21 | //! [`initialize_from_result`](crate::initialize_from_result). All these functions provide an [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] 21 | //! [`initialize_from_result`]. All these functions provide an [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:26:60 [INFO] [stderr] | [INFO] [stderr] 26 | //! The 2 drifting functions, which are [`drift_to_begin`](crate::drift_to_begin) and [`drift_to_end`](crate::drift_to_end), provide a wa... [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] 26 | //! The 2 drifting functions, which are [`drift_to_begin`] and [`drift_to_end`](crate::drift_to_end), provide a way to [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:26:104 [INFO] [stderr] | [INFO] [stderr] 26 | ...(crate::drift_to_begin) and [`drift_to_end`](crate::drift_to_end), provide a way 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] 26 | //! The 2 drifting functions, which are [`drift_to_begin`](crate::drift_to_begin) and [`drift_to_end`], provide a way to [INFO] [stderr] | ~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:30:21 [INFO] [stderr] | [INFO] [stderr] 30 | //! [`sized_slice`](crate::sized_slice) and [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] 30 | //! [`sized_slice`] and [INFO] [stderr] | ~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:31:21 [INFO] [stderr] | [INFO] [stderr] 31 | //! [`superimpose`](crate::superimpose). There is also the more general form of [`superimpose`](crate::superimpose), which allows for one [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] 31 | //! [`superimpose`]. There is also the more general form of [`superimpose`](crate::superimpose), which allows for one [INFO] [stderr] | ~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:31:97 [INFO] [stderr] | [INFO] [stderr] 31 | //! [`superimpose`](crate::superimpose). There is also the more general form of [`superimpose`](crate::superimpose), which allows for one [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] 31 | //! [`superimpose`](crate::superimpose). There is also the more general form of [`superimpose`], which allows for one [INFO] [stderr] | ~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:37:77 [INFO] [stderr] | [INFO] [stderr] 37 | //! a `.try_into().unwrap()` appended, which can panic. The [`sized_slice`](crate::sized_slice) utility function [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] 37 | //! a `.try_into().unwrap()` appended, which can panic. The [`sized_slice`] utility function [INFO] [stderr] | ~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:39:75 [INFO] [stderr] | [INFO] [stderr] 39 | //! slicing dealing scaling arrays is rather cumbersome. [`array_resize`](crate::array_resize) provide a simple way 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] 39 | //! slicing dealing scaling arrays is rather cumbersome. [`array_resize`] provide a simple way to [INFO] [stderr] | ~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:45:20 [INFO] [stderr] | [INFO] [stderr] 45 | //! The [`splice`](crate::splice) and [`join`](crate::join) utilities are basically more optimized combinations of [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] 45 | //! The [`splice`] and [`join`](crate::join) utilities are basically more optimized combinations of [INFO] [stderr] | ~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:45:48 [INFO] [stderr] | [INFO] [stderr] 45 | //! The [`splice`](crate::splice) and [`join`](crate::join) utilities are basically more optimized combinations of [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] 45 | //! The [`splice`](crate::splice) and [`join`] utilities are basically more optimized combinations of [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:46:21 [INFO] [stderr] | [INFO] [stderr] 46 | //! [`sized_slice`](crate::sized_slice) and [`superimpose`](crate::superimpose). Making splicing and joining arrays at specific indices can [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] 46 | //! [`sized_slice`] and [`superimpose`](crate::superimpose). Making splicing and joining arrays at specific indices can [INFO] [stderr] | ~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:46:61 [INFO] [stderr] | [INFO] [stderr] 46 | //! [`sized_slice`](crate::sized_slice) and [`superimpose`](crate::superimpose). Making splicing and joining arrays at specific indices can [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] 46 | //! [`sized_slice`](crate::sized_slice) and [`superimpose`]. Making splicing and joining arrays at specific indices can [INFO] [stderr] | ~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:52:64 [INFO] [stderr] | [INFO] [stderr] 52 | //! functions are only implemented for types with the [`Copy`](::core::marker::Copy) trait. Some [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] 52 | //! functions are only implemented for types with the [`Copy`] trait. Some [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:54:17 [INFO] [stderr] | [INFO] [stderr] 54 | //! [`Default`](::core::default::Default) trait. [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] 54 | //! [`Default`] trait. [INFO] [stderr] | ~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:189:16 [INFO] [stderr] | [INFO] [stderr] 189 | /// [`Option`](::core::option::Option) of a element, stopping when the first [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] 189 | /// [`Option`] of a element, stopping when the first [INFO] [stderr] | ~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:232:16 [INFO] [stderr] | [INFO] [stderr] 232 | /// [`Result`](::core::result::Result) of a element, stopping when the first [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] 232 | /// [`Result`] of a element, stopping when the first [INFO] [stderr] | ~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: `array-utils` (lib doc) generated 19 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/array_utils/index.html [INFO] running `Command { std: "docker" "inspect" "a7a219e60f0564b63da8bf92cf00885b763c5a40ef8b4be52166cd8b501f82d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7a219e60f0564b63da8bf92cf00885b763c5a40ef8b4be52166cd8b501f82d2", kill_on_drop: false }` [INFO] [stdout] a7a219e60f0564b63da8bf92cf00885b763c5a40ef8b4be52166cd8b501f82d2