hidden 0.0.1-alpha

A library to create and interact with "hidden variables".
Documentation

Build #1966244 2025-04-07 13:16:03

# rustc version rustc 1.88.0-nightly (2fa8b11f0 2025-04-06)

# docs.rs version docsrs 0.6.0 (ee9a3fe6 2025-03-28)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/hidden-0.0.1-alpha/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/hidden-0.0.1-alpha/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250406-1.88.0-nightly-2fa8b11f0\", \"--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] 551da8e43fc056e85de610de89872842e0e8e8bb924ba813d1f836106995bbd3 [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" "551da8e43fc056e85de610de89872842e0e8e8bb924ba813d1f836106995bbd3", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting hidden v0.0.1-alpha (/opt/rustwide/workdir) [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/dispenser.rs:3:73 [INFO] [stderr] | [INFO] [stderr] 3 | //! The recommended way of using this module is with it's [`Dispenser`](Dispenser) struct: [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] 3 - //! The recommended way of using this module is with it's [`Dispenser`](Dispenser) struct: [INFO] [stderr] 3 + //! The recommended way of using this module is with it's [`Dispenser`] struct: [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/dispenser.rs:41:37 [INFO] [stderr] | [INFO] [stderr] 41 | /// Creates a new [`Dispenser`](Dispenser), initializing it with choices for a slice of a given [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] 41 - /// Creates a new [`Dispenser`](Dispenser), initializing it with choices for a slice of a given [INFO] [stderr] 41 + /// Creates a new [`Dispenser`], initializing it with choices for a slice of a given [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/dispenser.rs:57:28 [INFO] [stderr] | [INFO] [stderr] 57 | /// Creates a [`Hand`](Hand) from `deck` and an internal variable, this shuffles the variable afterwards. [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] 57 - /// Creates a [`Hand`](Hand) from `deck` and an internal variable, this shuffles the variable afterwards. [INFO] [stderr] 57 + /// Creates a [`Hand`] from `deck` and an internal variable, this shuffles the variable afterwards. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/dispenser.rs:61:23 [INFO] [stderr] | [INFO] [stderr] 61 | /// [`Dispenser`](Dispenser) [was created](Dispenser::new). [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] 61 - /// [`Dispenser`](Dispenser) [was created](Dispenser::new). [INFO] [stderr] 61 + /// [`Dispenser`] [was created](Dispenser::new). [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/dispenser.rs:63:40 [INFO] [stderr] | [INFO] [stderr] 63 | /// This function returns [`None`](None) when it's possible that elements in `deck` cannot be chosen, or [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] 63 - /// This function returns [`None`](None) when it's possible that elements in `deck` cannot be chosen, or [INFO] [stderr] 63 + /// This function returns [`None`] when it's possible that elements in `deck` cannot be chosen, or [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/dispenser.rs:66:40 [INFO] [stderr] | [INFO] [stderr] 66 | /// This function returns [`Some`](Some) when checks pass, and all choices has a corresponding element [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] 66 - /// This function returns [`Some`](Some) when checks pass, and all choices has a corresponding element [INFO] [stderr] 66 + /// This function returns [`Some`] when checks pass, and all choices has a corresponding element [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/dispenser.rs:81:28 [INFO] [stderr] | [INFO] [stderr] 81 | /// Creates a [`Hand`](Hand), similar to [`make_hand`](Dispenser::make_hand), but without 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] 81 - /// Creates a [`Hand`](Hand), similar to [`make_hand`](Dispenser::make_hand), but without the [INFO] [stderr] 81 + /// Creates a [`Hand`], similar to [`make_hand`](Dispenser::make_hand), but without the [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/dispenser.rs:129:26 [INFO] [stderr] | [INFO] [stderr] 129 | /// Returns [`None`](None) if `idx` exceeds amount of choices, or if choice can't correspond 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] 129 - /// Returns [`None`](None) if `idx` exceeds amount of choices, or if choice can't correspond to [INFO] [stderr] 129 + /// Returns [`None`] if `idx` exceeds amount of choices, or if choice can't correspond to [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/dispenser.rs:132:26 [INFO] [stderr] | [INFO] [stderr] 132 | /// Returns [`Some`](Some) with a reference to an element if the choosing succeeds. [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] 132 - /// Returns [`Some`](Some) with a reference to an element if the choosing succeeds. [INFO] [stderr] 132 + /// Returns [`Some`] with a reference to an element if the choosing succeeds. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `hidden` (lib doc) generated 9 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/hidden/index.html [INFO] running `Command { std: "docker" "inspect" "551da8e43fc056e85de610de89872842e0e8e8bb924ba813d1f836106995bbd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "551da8e43fc056e85de610de89872842e0e8e8bb924ba813d1f836106995bbd3", kill_on_drop: false }` [INFO] [stdout] 551da8e43fc056e85de610de89872842e0e8e8bb924ba813d1f836106995bbd3