unix_socket 0.5.0

Unix domain socket bindings
Documentation
Build #1492430 2024-11-04T08:10:16.647938+00:00
# rustc version
rustc 1.84.0-nightly (b8c8287a2 2024-11-03)# docs.rs version
docsrs 0.6.0 (fd0fad95 2024-11-04)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/unix_socket-0.5.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/unix_socket-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241103-1.84.0-nightly-b8c8287a2\", \"--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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] ddc70bfebc2d94cf8533af0081ed2a303560eb72816f8c04910b66e1291b84d5
[INFO] running `Command { std: "docker" "start" "-a" "ddc70bfebc2d94cf8533af0081ed2a303560eb72816f8c04910b66e1291b84d5", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting unix_socket v0.5.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: could not find `unix` in `os`
[INFO] [stderr]   --> src/lib.rs:19:14
[INFO] [stderr]    |
[INFO] [stderr] 19 | use std::os::unix::ffi::OsStrExt;
[INFO] [stderr]    |              ^^^^ could not find `unix` in `os`
[INFO] [stderr]    |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> /rustc/b8c8287a229cd79604aa84c25e1235fc78cd5f2e\library\std\src\os\mod.rs:27:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]   --> /rustc/b8c8287a229cd79604aa84c25e1235fc78cd5f2e\library\std\src\os\mod.rs:19:1
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> /rustc/b8c8287a229cd79604aa84c25e1235fc78cd5f2e\library\std\src\os\mod.rs:65:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]   --> /rustc/b8c8287a229cd79604aa84c25e1235fc78cd5f2e\library\std\src\os\mod.rs:64:1
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `unix` in `os`
[INFO] [stderr]   --> src/lib.rs:20:14
[INFO] [stderr]    |
[INFO] [stderr] 20 | use std::os::unix::io::{RawFd, AsRawFd, FromRawFd, IntoRawFd};
[INFO] [stderr]    |              ^^^^ could not find `unix` in `os`
[INFO] [stderr]    |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> /rustc/b8c8287a229cd79604aa84c25e1235fc78cd5f2e\library\std\src\os\mod.rs:27:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]   --> /rustc/b8c8287a229cd79604aa84c25e1235fc78cd5f2e\library\std\src\os\mod.rs:19:1
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> /rustc/b8c8287a229cd79604aa84c25e1235fc78cd5f2e\library\std\src\os\mod.rs:65:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]   --> /rustc/b8c8287a229cd79604aa84c25e1235fc78cd5f2e\library\std\src\os\mod.rs:64:1
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `sockaddr_un` in crate `libc`
[INFO] [stderr]    --> src/lib.rs:171:69
[INFO] [stderr]     |
[INFO] [stderr] 171 |   unsafe fn sockaddr_un<P: AsRef<Path>>(path: P) -> io::Result<(libc::sockaddr_un, libc::socklen_t)> {
[INFO] [stderr]     |                                                                       ^^^^^^^^^^^ help: a struct with a similar name exists: `sockaddr`
[INFO] [stderr]     |
[INFO] [stderr]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.161/src/windows/mod.rs:55:1
[INFO] [stderr]     |
[INFO] [stderr] 55  | / s! {
[INFO] [stderr] 56  | |     // note this is the struct called stat64 in Windows. Not stat, nor stati64.
[INFO] [stderr] 57  | |     pub struct stat {
[INFO] [stderr] 58  | |         pub st_dev: dev_t,
[INFO] [stderr] ...   |
[INFO] [stderr] 102 | |     }
[INFO] [stderr] 103 | | }
[INFO] [stderr]     | |_- similarly named struct `sockaddr` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `socklen_t` in crate `libc`
[INFO] [stderr]    --> src/lib.rs:171:88
[INFO] [stderr]     |
[INFO] [stderr] 171 | unsafe fn sockaddr_un<P: AsRef<Path>>(path: P) -> io::Result<(libc::sockaddr_un, libc::socklen_t)> {
[INFO] [stderr]     |                                                                                        ^^^^^^^^^ not found in `libc`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `sockaddr_un` in crate `libc`
[INFO] [stderr]    --> src/lib.rs:212:17
[INFO] [stderr]     |
[INFO] [stderr] 212 |       addr: libc::sockaddr_un,
[INFO] [stderr]     |                   ^^^^^^^^^^^ help: a struct with a similar name exists: `sockaddr`
[INFO] [stderr]     |
[INFO] [stderr]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.161/src/windows/mod.rs:55:1
[INFO] [stderr]     |
[INFO] [stderr] 55  | / s! {
[INFO] [stderr] 56  | |     // note this is the struct called stat64 in Windows. Not stat, nor stati64.
[INFO] [stderr] 57  | |     pub struct stat {
[INFO] [stderr] 58  | |         pub st_dev: dev_t,
[INFO] [stderr] ...   |
[INFO] [stderr] 102 | |     }
[INFO] [stderr] 103 | | }
[INFO] [stderr]     | |_- similarly named struct `sockaddr` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `socklen_t` in crate `libc`
[INFO] [stderr]    --> src/lib.rs:213:16
[INFO] [stderr]     |
[INFO] [stderr] 213 |     len: libc::socklen_t,
[INFO] [stderr]     |                ^^^^^^^^^ not found in `libc`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `socklen_t` in crate `libc`
[INFO] [stderr]    --> src/lib.rs:218:57
[INFO] [stderr]     |
[INFO] [stderr] 218 |         where F: FnOnce(*mut libc::sockaddr, *mut libc::socklen_t) -> libc::c_int
[INFO] [stderr]     |                                                         ^^^^^^^^^ not found in `libc`
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not document `unix_socket`
[INFO] running `Command { std: "docker" "inspect" "ddc70bfebc2d94cf8533af0081ed2a303560eb72816f8c04910b66e1291b84d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ddc70bfebc2d94cf8533af0081ed2a303560eb72816f8c04910b66e1291b84d5", kill_on_drop: false }`
[INFO] [stdout] ddc70bfebc2d94cf8533af0081ed2a303560eb72816f8c04910b66e1291b84d5