vec1 1.12.1

a std Vec wrapper assuring that it has at least 1 element
Documentation
Build #1231022 2024-05-25T18:03:39.840865+00:00
# rustc version
rustc 1.80.0-nightly (36153f1a4 2024-05-24)# docs.rs version
docsrs 0.6.0 (2d4f32bd 2024-05-19)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/vec1-1.12.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/vec1-1.12.1/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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \"docs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240524-1.80.0-nightly-36153f1a4\", \"--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] 92fb175f368a15fc5936bf6328f6b48da1629ad175b347c857edf5041d63429c
[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" "92fb175f368a15fc5936bf6328f6b48da1629ad175b347c857edf5041d63429c", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting vec1 v1.12.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unexpected `cfg` condition name: `docs`
[INFO] [stderr]    --> src/lib.rs:103:13
[INFO] [stderr]     |
[INFO] [stderr] 103 | #![cfg_attr(docs, feature(doc_auto_cfg))]
[INFO] [stderr]     |             ^^^^ help: there is a config with a similar name: `doc`
[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)'] }
[INFO] [stderr]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs)");` 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: `vec1` (lib doc) generated 1 warning
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.38s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-pc-windows-msvc/doc/vec1/index.html
[INFO] running `Command { std: "docker" "inspect" "92fb175f368a15fc5936bf6328f6b48da1629ad175b347c857edf5041d63429c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "92fb175f368a15fc5936bf6328f6b48da1629ad175b347c857edf5041d63429c", kill_on_drop: false }`
[INFO] [stdout] 92fb175f368a15fc5936bf6328f6b48da1629ad175b347c857edf5041d63429c