tinyvec 1.7.0

`tinyvec` provides 100% safe vec-like data structures.
Documentation
Build #1282455 2024-07-05 19:05:36

# rustc version rustc 1.81.0-nightly (cc8da78a0 2024-07-04)

# docs.rs version docsrs 0.6.0 (bb8cd489 2024-06-24)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/tinyvec-1.7.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/tinyvec-1.7.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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "alloc std grab_spare_slice rustc_1_55 serde" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \"docs_rs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240704-1.81.0-nightly-cc8da78a0\", \"--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] e0658ead0afc541d0b7eb5dc0c7777c23cfe39c468cc5c474cd87fa09f4cebe8 [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" "e0658ead0afc541d0b7eb5dc0c7777c23cfe39c468cc5c474cd87fa09f4cebe8", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting tinyvec v1.7.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stderr] --> src/lib.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | #![cfg_attr(docs_rs, feature(doc_cfg))] [INFO] [stderr] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stderr] --> src/arrayvec.rs:190:12 [INFO] [stderr] | [INFO] [stderr] 190 | #[cfg_attr(docs_rs, doc(cfg(feature = "serde")))] [INFO] [stderr] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stderr] --> src/arrayvec.rs:209:12 [INFO] [stderr] | [INFO] [stderr] 209 | #[cfg_attr(docs_rs, doc(cfg(feature = "serde")))] [INFO] [stderr] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stderr] --> src/tinyvec.rs:38:12 [INFO] [stderr] | [INFO] [stderr] 38 | #[cfg_attr(docs_rs, doc(cfg(feature = "alloc")))] [INFO] [stderr] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stderr] --> src/tinyvec.rs:97:12 [INFO] [stderr] | [INFO] [stderr] 97 | #[cfg_attr(docs_rs, doc(cfg(feature = "alloc")))] [INFO] [stderr] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stderr] --> src/tinyvec.rs:179:12 [INFO] [stderr] | [INFO] [stderr] 179 | #[cfg_attr(docs_rs, doc(cfg(feature = "std")))] [INFO] [stderr] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stderr] --> src/tinyvec.rs:194:12 [INFO] [stderr] | [INFO] [stderr] 194 | #[cfg_attr(docs_rs, doc(cfg(feature = "serde")))] [INFO] [stderr] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stderr] --> src/tinyvec.rs:213:12 [INFO] [stderr] | [INFO] [stderr] 213 | #[cfg_attr(docs_rs, doc(cfg(feature = "serde")))] [INFO] [stderr] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stderr] --> src/tinyvec.rs:1064:12 [INFO] [stderr] | [INFO] [stderr] 1064 | #[cfg_attr(docs_rs, doc(cfg(feature = "alloc")))] [INFO] [stderr] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stderr] --> src/tinyvec.rs:1113:12 [INFO] [stderr] | [INFO] [stderr] 1113 | #[cfg_attr(docs_rs, doc(cfg(feature = "alloc")))] [INFO] [stderr] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stderr] --> src/tinyvec.rs:1333:12 [INFO] [stderr] | [INFO] [stderr] 1333 | #[cfg_attr(docs_rs, doc(cfg(feature = "alloc")))] [INFO] [stderr] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stderr] --> src/tinyvec.rs:1717:12 [INFO] [stderr] | [INFO] [stderr] 1717 | #[cfg_attr(docs_rs, doc(cfg(feature = "alloc")))] [INFO] [stderr] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `TinyVecDrain::drain` [INFO] [stderr] --> src/tinyvec.rs:1063:33 [INFO] [stderr] | [INFO] [stderr] 1063 | /// See [`TinyVecDrain::drain`](TinyVecDrain::<A>::drain) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ the enum `TinyVecDrain` has no variant or associated item named `drain` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `tinyvec` (lib doc) generated 13 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.43s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/tinyvec/index.html [INFO] running `Command { std: "docker" "inspect" "e0658ead0afc541d0b7eb5dc0c7777c23cfe39c468cc5c474cd87fa09f4cebe8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0658ead0afc541d0b7eb5dc0c7777c23cfe39c468cc5c474cd87fa09f4cebe8", kill_on_drop: false }` [INFO] [stdout] e0658ead0afc541d0b7eb5dc0c7777c23cfe39c468cc5c474cd87fa09f4cebe8