gethostname 0.5.0

gethostname for all platforms
Documentation
Build #1283270 2024-07-06T08:22:40.379087+00:00
# rustc version
rustc 1.81.0-nightly (524d806c6 2024-07-05)# docs.rs version
docsrs 0.6.0 (bb8cd489 2024-06-24)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/gethostname-0.5.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/gethostname-0.5.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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240705-1.81.0-nightly-524d806c6\", \"--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] b4972d4c7f88ddf25d90b820ea39eab207b95aa919bb22a473c713ba935a5bb9
[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" "b4972d4c7f88ddf25d90b820ea39eab207b95aa919bb22a473c713ba935a5bb9", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting gethostname v0.5.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `rustix::system::uname`
[INFO] [stderr]   --> src/lib.rs:31:20
[INFO] [stderr]    |
[INFO] [stderr] 31 | /// On Unix call [`rustix::system::uname`] to obtain the node name, see
[INFO] [stderr]    |                    ^^^^^^^^^^^^^^^^^^^^^ no item named `rustix` in scope
[INFO] [stderr]    |
[INFO] [stderr] note: the lint level is defined here
[INFO] [stderr]   --> src/lib.rs:25:9
[INFO] [stderr]    |
[INFO] [stderr] 25 | #![deny(warnings, missing_docs, clippy::all)]
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr]    = note: `#[warn(rustdoc::broken_intra_doc_links)]` implied by `#[warn(warnings)]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `rustix::system::Uname::nodename`
[INFO] [stderr]   --> src/lib.rs:32:7
[INFO] [stderr]    |
[INFO] [stderr] 32 | /// [`rustix::system::Uname::nodename`].
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `rustix` in scope
[INFO] [stderr] 
[INFO] [stderr] warning: `gethostname` (lib doc) generated 2 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.25s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-pc-windows-msvc/doc/gethostname/index.html
[INFO] running `Command { std: "docker" "inspect" "b4972d4c7f88ddf25d90b820ea39eab207b95aa919bb22a473c713ba935a5bb9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b4972d4c7f88ddf25d90b820ea39eab207b95aa919bb22a473c713ba935a5bb9", kill_on_drop: false }`
[INFO] [stdout] b4972d4c7f88ddf25d90b820ea39eab207b95aa919bb22a473c713ba935a5bb9