rio 0.9.4

GPL-3.0 nice bindings for io_uring. MIT/Apache-2.0 license is available for spacejam's github sponsors.
Documentation
Build #1525493 2024-11-12T11:19:57.227928+00:00
# rustc version
rustc 1.84.0-nightly (81eef2d36 2024-11-11)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/rio-0.9.4/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/rio-0.9.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: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\", \"-20241111-1.84.0-nightly-81eef2d36\", \"--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] 7b80449897da6ca929d4c756735051af8366ae22e999c112074f755df43a1b99
[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" "7b80449897da6ca929d4c756735051af8366ae22e999c112074f755df43a1b99", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: async_echo, http_bench, nop, o_direct
[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 rio v0.9.4 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved imports `super::io_uring`, `super::Uring`
[INFO] [stderr]    --> src/completion.rs:11:5
[INFO] [stderr]     |
[INFO] [stderr] 11  |     io_uring::io_uring_cqe, FromCqe, Measure, Uring, M,
[INFO] [stderr]     |     ^^^^^^^^                                  ^^^^^ no `Uring` in the root
[INFO] [stderr]     |     |
[INFO] [stderr]     |     could not find `io_uring` in the crate root
[INFO] [stderr]     |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]    --> src/lib.rs:203:5
[INFO] [stderr]     |
[INFO] [stderr] 203 | mod io_uring;
[INFO] [stderr]     |     ^^^^^^^^
[INFO] [stderr] note: the item is gated behind the `linux` feature
[INFO] [stderr]    --> src/lib.rs:202:7
[INFO] [stderr]     |
[INFO] [stderr] 202 | #[cfg(target_os = "linux")]
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]    --> src/lib.rs:206:43
[INFO] [stderr]     |
[INFO] [stderr] 206 | pub use io_uring::{Config, Ordering, Rio, Uring};
[INFO] [stderr]     |                                           ^^^^^
[INFO] [stderr] note: the item is gated behind the `linux` feature
[INFO] [stderr]    --> src/lib.rs:205:7
[INFO] [stderr]     |
[INFO] [stderr] 205 | #[cfg(target_os = "linux")]
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Rio` in this scope
[INFO] [stderr]    --> src/lib.rs:218:28
[INFO] [stderr]     |
[INFO] [stderr] 218 | pub fn new() -> io::Result<Rio> {
[INFO] [stderr]     |                            ^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]     |
[INFO] [stderr] 218 | pub fn new<Rio>() -> io::Result<Rio> {
[INFO] [stderr]     |           +++++
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `iovec` in crate `libc`
[INFO] [stderr]    --> src/lib.rs:226:39
[INFO] [stderr]     |
[INFO] [stderr] 226 |     fn into_new_iovec(&self) -> libc::iovec;
[INFO] [stderr]     |                                       ^^^^^ not found in `libc`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `iovec` in crate `libc`
[INFO] [stderr]    --> src/lib.rs:230:39
[INFO] [stderr]     |
[INFO] [stderr] 230 |     fn into_new_iovec(&self) -> libc::iovec {
[INFO] [stderr]     |                                       ^^^^^ not found in `libc`
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `measure_allocs`
[INFO] [stderr]  --> src/metrics.rs:4:7
[INFO] [stderr]   |
[INFO] [stderr] 4 | #[cfg(feature = "measure_allocs")]
[INFO] [stderr]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: expected values for `feature` are: `no_metrics`
[INFO] [stderr]   = help: consider adding `measure_allocs` as a feature in `Cargo.toml`
[INFO] [stderr]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `measure_allocs`
[INFO] [stderr]    --> src/metrics.rs:101:11
[INFO] [stderr]     |
[INFO] [stderr] 101 |     #[cfg(feature = "measure_allocs")]
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected values for `feature` are: `no_metrics`
[INFO] [stderr]     = help: consider adding `measure_allocs` as a feature in `Cargo.toml`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `measure_allocs`
[INFO] [stderr]    --> src/metrics.rs:103:11
[INFO] [stderr]     |
[INFO] [stderr] 103 |     #[cfg(feature = "measure_allocs")]
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected values for `feature` are: `no_metrics`
[INFO] [stderr]     = help: consider adding `measure_allocs` as a feature in `Cargo.toml`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `measure_allocs`
[INFO] [stderr]    --> src/metrics.rs:218:15
[INFO] [stderr]     |
[INFO] [stderr] 218 |         #[cfg(feature = "measure_allocs")]
[INFO] [stderr]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected values for `feature` are: `no_metrics`
[INFO] [stderr]     = help: consider adding `measure_allocs` as a feature in `Cargo.toml`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `io_uring`
[INFO] [stderr]    --> src/lib.rs:298:22
[INFO] [stderr]     |
[INFO] [stderr] 298 |     fn from_cqe(cqe: io_uring::io_uring_cqe) -> Self;
[INFO] [stderr]     |                      ^^^^^^^^ use of undeclared crate or module `io_uring`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `io_uring`
[INFO] [stderr]    --> src/lib.rs:302:22
[INFO] [stderr]     |
[INFO] [stderr] 302 |     fn from_cqe(cqe: io_uring::io_uring_cqe) -> usize {
[INFO] [stderr]     |                      ^^^^^^^^ use of undeclared crate or module `io_uring`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `io_uring`
[INFO] [stderr]    --> src/lib.rs:309:20
[INFO] [stderr]     |
[INFO] [stderr] 309 |     fn from_cqe(_: io_uring::io_uring_cqe) {}
[INFO] [stderr]     |                    ^^^^^^^^ use of undeclared crate or module `io_uring`
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] warning: `rio` (lib doc) generated 4 warnings
[INFO] [stderr] error: could not document `rio`
[INFO] running `Command { std: "docker" "inspect" "7b80449897da6ca929d4c756735051af8366ae22e999c112074f755df43a1b99", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b80449897da6ca929d4c756735051af8366ae22e999c112074f755df43a1b99", kill_on_drop: false }`
[INFO] [stdout] 7b80449897da6ca929d4c756735051af8366ae22e999c112074f755df43a1b99