io-uring 0.6.4

The low-level `io_uring` userspace interface for Rust
Documentation
Build #1196898 2024-04-21T14:46:40.860548+00:00
# rustc version
rustc 1.79.0-nightly (dbce3b43b 2024-04-20)# docs.rs version
docsrs 0.6.0 (bc86a4d3 2024-04-17)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/io-uring-0.6.4/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/io-uring-0.6.4/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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240420-1.79.0-nightly-dbce3b43b\", \"--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] 0ef9fc68d47aeea23f31c031d7d505afb4bc003d331b1c62f6a5c43a5e611136
[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" "0ef9fc68d47aeea23f31c031d7d505afb4bc003d331b1c62f6a5c43a5e611136", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: tcp_echo, readme
[INFO] [stderr]     If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true`
[INFO] [stderr]     to the [[example]] target configuration of at least one example.
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting io-uring v0.6.4 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: could not find `unix` in `os`
[INFO] [stderr]  --> src/util.rs:2:14
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::os::unix::io::AsRawFd;
[INFO] [stderr]   |              ^^^^ could not find `unix` in `os`
[INFO] [stderr]   |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]  --> /rustc/dbce3b43b6cb34dd3ba12c3ec6f708fe68e9c3df\library\std\src\os\mod.rs:26:9
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]  --> /rustc/dbce3b43b6cb34dd3ba12c3ec6f708fe68e9c3df\library\std\src\os\mod.rs:64:9
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `unix` in `os`
[INFO] [stderr]   --> src/util.rs:79:18
[INFO] [stderr]    |
[INFO] [stderr] 79 |     use std::os::unix::io::{AsRawFd, FromRawFd, IntoRawFd, RawFd};
[INFO] [stderr]    |                  ^^^^ could not find `unix` in `os`
[INFO] [stderr]    |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> /rustc/dbce3b43b6cb34dd3ba12c3ec6f708fe68e9c3df\library\std\src\os\mod.rs:26:9
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> /rustc/dbce3b43b6cb34dd3ba12c3ec6f708fe68e9c3df\library\std\src\os\mod.rs:64:9
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `unix` in `os`
[INFO] [stderr]  --> src/opcode.rs:7:14
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::os::unix::io::RawFd;
[INFO] [stderr]   |              ^^^^ could not find `unix` in `os`
[INFO] [stderr]   |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]  --> /rustc/dbce3b43b6cb34dd3ba12c3ec6f708fe68e9c3df\library\std\src\os\mod.rs:26:9
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]  --> /rustc/dbce3b43b6cb34dd3ba12c3ec6f708fe68e9c3df\library\std\src\os\mod.rs:64:9
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `unix` in `os`
[INFO] [stderr]  --> src/register.rs:3:14
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::os::unix::io::RawFd;
[INFO] [stderr]   |              ^^^^ could not find `unix` in `os`
[INFO] [stderr]   |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]  --> /rustc/dbce3b43b6cb34dd3ba12c3ec6f708fe68e9c3df\library\std\src\os\mod.rs:26:9
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]  --> /rustc/dbce3b43b6cb34dd3ba12c3ec6f708fe68e9c3df\library\std\src\os\mod.rs:64:9
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `unix` in `os`
[INFO] [stderr]  --> src/submit.rs:1:14
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::os::unix::io::{AsRawFd, RawFd};
[INFO] [stderr]   |              ^^^^ could not find `unix` in `os`
[INFO] [stderr]   |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]  --> /rustc/dbce3b43b6cb34dd3ba12c3ec6f708fe68e9c3df\library\std\src\os\mod.rs:26:9
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]  --> /rustc/dbce3b43b6cb34dd3ba12c3ec6f708fe68e9c3df\library\std\src\os\mod.rs:64:9
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `unix` in `os`
[INFO] [stderr]  --> src/types.rs:5:18
[INFO] [stderr]   |
[INFO] [stderr] 5 |     use std::os::unix::io::RawFd;
[INFO] [stderr]   |                  ^^^^ could not find `unix` in `os`
[INFO] [stderr]   |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]  --> /rustc/dbce3b43b6cb34dd3ba12c3ec6f708fe68e9c3df\library\std\src\os\mod.rs:26:9
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]  --> /rustc/dbce3b43b6cb34dd3ba12c3ec6f708fe68e9c3df\library\std\src\os\mod.rs:64:9
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `unix` in `os`
[INFO] [stderr]   --> src/types.rs:49:14
[INFO] [stderr]    |
[INFO] [stderr] 49 | use std::os::unix::io::RawFd;
[INFO] [stderr]    |              ^^^^ could not find `unix` in `os`
[INFO] [stderr]    |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> /rustc/dbce3b43b6cb34dd3ba12c3ec6f708fe68e9c3df\library\std\src\os\mod.rs:26:9
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> /rustc/dbce3b43b6cb34dd3ba12c3ec6f708fe68e9c3df\library\std\src\os\mod.rs:64:9
[INFO] [stderr] 
[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::io::{AsRawFd, FromRawFd, RawFd};
[INFO] [stderr]    |              ^^^^ could not find `unix` in `os`
[INFO] [stderr]    |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> /rustc/dbce3b43b6cb34dd3ba12c3ec6f708fe68e9c3df\library\std\src\os\mod.rs:26:9
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> /rustc/dbce3b43b6cb34dd3ba12c3ec6f708fe68e9c3df\library\std\src\os\mod.rs:64:9
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `iovec` in crate `libc`
[INFO] [stderr]    --> src/opcode.rs:127:31
[INFO] [stderr]     |
[INFO] [stderr] 127 |         iovec: { *const libc::iovec },
[INFO] [stderr]     |                               ^^^^^ not found in `libc`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `iovec` in crate `libc`
[INFO] [stderr]    --> src/opcode.rs:166:31
[INFO] [stderr]     |
[INFO] [stderr] 166 |         iovec: { *const libc::iovec },
[INFO] [stderr]     |                               ^^^^^ not found in `libc`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `msghdr` in crate `libc`
[INFO] [stderr]    --> src/opcode.rs:430:29
[INFO] [stderr]     |
[INFO] [stderr] 430 |         msg: { *const libc::msghdr },
[INFO] [stderr]     |                             ^^^^^^ not found in `libc`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `msghdr` in crate `libc`
[INFO] [stderr]    --> src/opcode.rs:459:27
[INFO] [stderr]     |
[INFO] [stderr] 459 |         msg: { *mut libc::msghdr },
[INFO] [stderr]     |                           ^^^^^^ not found in `libc`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `msghdr` in crate `libc`
[INFO] [stderr]    --> src/opcode.rs:509:29
[INFO] [stderr]     |
[INFO] [stderr] 509 |         msg: { *const libc::msghdr },
[INFO] [stderr]     |                             ^^^^^^ not found in `libc`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `socklen_t` in crate `libc`
[INFO] [stderr]    --> src/opcode.rs:622:31
[INFO] [stderr]     |
[INFO] [stderr] 622 |         addrlen: { *mut 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/opcode.rs:698:26
[INFO] [stderr]     |
[INFO] [stderr] 698 |         addrlen: { libc::socklen_t }
[INFO] [stderr]     |                          ^^^^^^^^^ not found in `libc`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `mode_t` in crate `libc`
[INFO] [stderr]    --> src/opcode.rs:751:21
[INFO] [stderr]     |
[INFO] [stderr] 751 |         mode: libc::mode_t = 0
[INFO] [stderr]     |                     ^^^^^^ not found in `libc`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `mode_t` in crate `libc`
[INFO] [stderr]     --> src/opcode.rs:1364:21
[INFO] [stderr]      |
[INFO] [stderr] 1364 |         mode: libc::mode_t = 0
[INFO] [stderr]      |                     ^^^^^^ not found in `libc`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `socklen_t` in crate `libc`
[INFO] [stderr]     --> src/opcode.rs:1680:30
[INFO] [stderr]      |
[INFO] [stderr] 1680 |         dest_addr_len: libc::socklen_t = 0,
[INFO] [stderr]      |                              ^^^^^^^^^ not found in `libc`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `msghdr` in crate `libc`
[INFO] [stderr]     --> src/opcode.rs:1717:29
[INFO] [stderr]      |
[INFO] [stderr] 1717 |         msg: { *const libc::msghdr },
[INFO] [stderr]      |                             ^^^^^^ not found in `libc`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `iovec` in crate `libc`
[INFO] [stderr]    --> src/submit.rs:179:57
[INFO] [stderr]     |
[INFO] [stderr] 179 |     pub unsafe fn register_buffers(&self, bufs: &[libc::iovec]) -> io::Result<()> {
[INFO] [stderr]     |                                                         ^^^^^ not found in `libc`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `cpu_set_t` in crate `libc`
[INFO] [stderr]    --> src/submit.rs:402:53
[INFO] [stderr]     |
[INFO] [stderr] 402 |     pub fn register_iowq_aff(&self, cpu_set: &libc::cpu_set_t) -> io::Result<()> {
[INFO] [stderr]     |                                                     ^^^^^^^^^ not found in `libc`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SYS_io_uring_register` in crate `libc`
[INFO] [stderr]   --> src/sys/mod.rs:49:40
[INFO] [stderr]    |
[INFO] [stderr] 49 | const SYSCALL_REGISTER: c_long = libc::SYS_io_uring_register;
[INFO] [stderr]    |                                        ^^^^^^^^^^^^^^^^^^^^^ not found in `libc`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SYS_io_uring_setup` in crate `libc`
[INFO] [stderr]   --> src/sys/mod.rs:55:37
[INFO] [stderr]    |
[INFO] [stderr] 55 | const SYSCALL_SETUP: c_long = libc::SYS_io_uring_setup;
[INFO] [stderr]    |                                     ^^^^^^^^^^^^^^^^^^ not found in `libc`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SYS_io_uring_enter` in crate `libc`
[INFO] [stderr]   --> src/sys/mod.rs:61:37
[INFO] [stderr]    |
[INFO] [stderr] 61 | const SYSCALL_ENTER: c_long = libc::SYS_io_uring_enter;
[INFO] [stderr]    |                                     ^^^^^^^^^^^^^^^^^^ not found in `libc`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `sigset_t` in crate `libc`
[INFO] [stderr]    --> src/types.rs:251:57
[INFO] [stderr]     |
[INFO] [stderr] 251 |     pub fn sigmask<'new>(mut self, sigmask: &'new libc::sigset_t) -> SubmitArgs<'now, 'new> {
[INFO] [stderr]     |                                                         ^^^^^^^^ not found in `libc`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `msghdr` in crate `libc`
[INFO] [stderr]    --> src/types.rs:396:53
[INFO] [stderr]     |
[INFO] [stderr] 396 |     pub fn parse(buffer: &'buf [u8], msghdr: &libc::msghdr) -> Result<Self, ()> {
[INFO] [stderr]     |                                                     ^^^^^^ not found in `libc`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not resolve path `libc::SYS_io_uring_register`
[INFO] [stderr]   --> src/sys/mod.rs:49:34
[INFO] [stderr]    |
[INFO] [stderr] 49 | const SYSCALL_REGISTER: c_long = libc::SYS_io_uring_register;
[INFO] [stderr]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not resolve path `libc::SYS_io_uring_register`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error was originally ignored because you are running `rustdoc`
[INFO] [stderr]    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not resolve path `libc::SYS_io_uring_setup`
[INFO] [stderr]   --> src/sys/mod.rs:55:31
[INFO] [stderr]    |
[INFO] [stderr] 55 | const SYSCALL_SETUP: c_long = libc::SYS_io_uring_setup;
[INFO] [stderr]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^ could not resolve path `libc::SYS_io_uring_setup`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error was originally ignored because you are running `rustdoc`
[INFO] [stderr]    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not resolve path `libc::SYS_io_uring_enter`
[INFO] [stderr]   --> src/sys/mod.rs:61:31
[INFO] [stderr]    |
[INFO] [stderr] 61 | const SYSCALL_ENTER: c_long = libc::SYS_io_uring_enter;
[INFO] [stderr]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^ could not resolve path `libc::SYS_io_uring_enter`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error was originally ignored because you are running `rustdoc`
[INFO] [stderr]    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not document `io-uring`
[INFO] running `Command { std: "docker" "inspect" "0ef9fc68d47aeea23f31c031d7d505afb4bc003d331b1c62f6a5c43a5e611136", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0ef9fc68d47aeea23f31c031d7d505afb4bc003d331b1c62f6a5c43a5e611136", kill_on_drop: false }`
[INFO] [stdout] 0ef9fc68d47aeea23f31c031d7d505afb4bc003d331b1c62f6a5c43a5e611136