getrandom 0.3.0

A small cross-platform library for retrieving random data from system source
Documentation
Build #1668811 2025-01-25T11:22:56.747073+00:00
# rustc version
rustc 1.86.0-nightly (1e9b0177d 2025-01-24)# docs.rs version
docsrs 0.6.0 (29a0e81b 2025-01-22)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/getrandom-0.3.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/getrandom-0.3.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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "std" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250124-1.86.0-nightly-1e9b0177d\", \"--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}/i686-pc-windows-msvc\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-pc-windows-msvc", 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] 254f1566d0857f1bea9e647edd7568c1774e15cd9b250a47da1c252a6bf54c8e
[INFO] running `Command { std: "docker" "start" "-a" "254f1566d0857f1bea9e647edd7568c1774e15cd9b250a47da1c252a6bf54c8e", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting getrandom v0.3.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]  --> src/backends/windows.rs:6:26
[INFO] [stderr]   |
[INFO] [stderr] 6 | //!   - BCryptGenRandom: https://learn.microsoft.com/en-us/windows/win32/api/bcrypt/nf-bcrypt-bcryptgenrandom
[INFO] [stderr]   |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr]   = note: `#[warn(rustdoc::bare_urls)]` on by default
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]   |
[INFO] [stderr] 6 | //!   - BCryptGenRandom: <https://learn.microsoft.com/en-us/windows/win32/api/bcrypt/nf-bcrypt-bcryptgenrandom>
[INFO] [stderr]   |                          +                                                                                    +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]  --> src/backends/windows.rs:9:11
[INFO] [stderr]   |
[INFO] [stderr] 9 | //!       https://github.com/rust-lang/rust/issues/99341
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]   |
[INFO] [stderr] 9 | //!       <https://github.com/rust-lang/rust/issues/99341>
[INFO] [stderr]   |           +                                              +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/backends/windows.rs:11:11
[INFO] [stderr]    |
[INFO] [stderr] 11 | //!       https://issues.chromium.org/issues/40277768
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]    |
[INFO] [stderr] 11 | //!       <https://issues.chromium.org/issues/40277768>
[INFO] [stderr]    |           +                                           +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/backends/windows.rs:12:25
[INFO] [stderr]    |
[INFO] [stderr] 12 | //!   - CryptGenRandom: https://learn.microsoft.com/en-us/windows/win32/api/wincrypt/nf-wincrypt-cryptgenrandom
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]    |
[INFO] [stderr] 12 | //!   - CryptGenRandom: <https://learn.microsoft.com/en-us/windows/win32/api/wincrypt/nf-wincrypt-cryptgenrandom>
[INFO] [stderr]    |                         +                                                                                       +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/backends/windows.rs:16:23
[INFO] [stderr]    |
[INFO] [stderr] 16 | //!   - RtlGenRandom: https://learn.microsoft.com/en-us/windows/win32/api/ntsecapi/nf-ntsecapi-rtlgenrandom
[INFO] [stderr]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]    |
[INFO] [stderr] 16 | //!   - RtlGenRandom: <https://learn.microsoft.com/en-us/windows/win32/api/ntsecapi/nf-ntsecapi-rtlgenrandom>
[INFO] [stderr]    |                       +                                                                                     +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/backends/windows.rs:22:58
[INFO] [stderr]    |
[INFO] [stderr] 22 | //! For more information see the Windows RNG Whitepaper: https://aka.ms/win10rng
[INFO] [stderr]    |                                                          ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]    |
[INFO] [stderr] 22 | //! For more information see the Windows RNG Whitepaper: <https://aka.ms/win10rng>
[INFO] [stderr]    |                                                          +                       +
[INFO] [stderr] 
[INFO] [stderr] warning: `getrandom` (lib doc) generated 6 warnings (run `cargo fix --lib -p getrandom` to apply 6 suggestions)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s
[INFO] [stderr]    Generated /opt/rustwide/target/i686-pc-windows-msvc/doc/getrandom/index.html
[INFO] running `Command { std: "docker" "inspect" "254f1566d0857f1bea9e647edd7568c1774e15cd9b250a47da1c252a6bf54c8e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "254f1566d0857f1bea9e647edd7568c1774e15cd9b250a47da1c252a6bf54c8e", kill_on_drop: false }`
[INFO] [stdout] 254f1566d0857f1bea9e647edd7568c1774e15cd9b250a47da1c252a6bf54c8e