[INFO] fetching crate kvarn-tokio-uring 0.4.0-alpha1... [INFO] testing kvarn-tokio-uring-0.4.0-alpha1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate kvarn-tokio-uring 0.4.0-alpha1 into /workspace/builds/worker-2-tc2/source [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate kvarn-tokio-uring 0.4.0-alpha1 [INFO] finished tweaking crates.io crate kvarn-tokio-uring 0.4.0-alpha1 [INFO] tweaked toml for crates.io crate kvarn-tokio-uring 0.4.0-alpha1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kvarn-tokio-uring 0.4.0-alpha1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate kvarn-tokio-uring 0.4.0-alpha1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab97b5dafb200458c124b16dedc8293d6731761d2bc506e733f1de236da38da8 [INFO] running `Command { std: "docker" "start" "-a" "ab97b5dafb200458c124b16dedc8293d6731761d2bc506e733f1de236da38da8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab97b5dafb200458c124b16dedc8293d6731761d2bc506e733f1de236da38da8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab97b5dafb200458c124b16dedc8293d6731761d2bc506e733f1de236da38da8", kill_on_drop: false }` [INFO] [stdout] ab97b5dafb200458c124b16dedc8293d6731761d2bc506e733f1de236da38da8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 285fe970c97858d60f48a9fd6cb6f355e7a91f2d4fe10053cc36ad0dbcd979cb [INFO] running `Command { std: "docker" "start" "-a" "285fe970c97858d60f48a9fd6cb6f355e7a91f2d4fe10053cc36ad0dbcd979cb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling io-uring v0.6.3 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling kvarn-tokio-uring v0.4.0-alpha1 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `iovec` is never read [INFO] [stdout] --> src/io/writev_all.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | iovec.iov_base = unsafe { (iovec.iov_base as *const u8).add(n) } as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `iovec` is never read [INFO] [stdout] --> src/io/writev_all.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | iovec.iov_len -= n; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/runtime/driver/op/mod.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | Ignored(Box), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 168 - Ignored(Box), [INFO] [stdout] 168 + Ignored(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/fs/create_dir_all.rs:127:64 [INFO] [stdout] | [INFO] [stdout] 127 | fn recurse_create_dir_all<'a>(&'a self, path: &'a Path) -> LocalBoxFuture> { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 127 | fn recurse_create_dir_all<'a>(&'a self, path: &'a Path) -> LocalBoxFuture<'a, io::Result<()>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.18s [INFO] running `Command { std: "docker" "inspect" "285fe970c97858d60f48a9fd6cb6f355e7a91f2d4fe10053cc36ad0dbcd979cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "285fe970c97858d60f48a9fd6cb6f355e7a91f2d4fe10053cc36ad0dbcd979cb", kill_on_drop: false }` [INFO] [stdout] 285fe970c97858d60f48a9fd6cb6f355e7a91f2d4fe10053cc36ad0dbcd979cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9629ae30cfbafd0f10e767e7221696e1af0739cb0171a4fe0051edf26bd9822 [INFO] running `Command { std: "docker" "start" "-a" "c9629ae30cfbafd0f10e767e7221696e1af0739cb0171a4fe0051edf26bd9822", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling half v2.3.1 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling plotters-backend v0.3.5 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling plotters-svg v0.3.5 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling iai v0.1.1 [INFO] [stdout] warning: value assigned to `iovec` is never read [INFO] [stdout] --> src/io/writev_all.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | iovec.iov_base = unsafe { (iovec.iov_base as *const u8).add(n) } as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `iovec` is never read [INFO] [stdout] --> src/io/writev_all.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | iovec.iov_len -= n; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/runtime/driver/op/mod.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | Ignored(Box), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 168 - Ignored(Box), [INFO] [stdout] 168 + Ignored(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/fs/create_dir_all.rs:127:64 [INFO] [stdout] | [INFO] [stdout] 127 | fn recurse_create_dir_all<'a>(&'a self, path: &'a Path) -> LocalBoxFuture> { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 127 | fn recurse_create_dir_all<'a>(&'a self, path: &'a Path) -> LocalBoxFuture<'a, io::Result<()>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling plotters v0.3.5 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling rayon v1.8.1 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling tempfile v3.9.0 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling tokio-test v0.4.3 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.4.0 [INFO] [stderr] Compiling kvarn-tokio-uring v0.4.0-alpha1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/fixed_buf.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio_uring::buf::fixed::{FixedBufPool, FixedBufRegistry}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 2 - use tokio_uring::buf::fixed::{FixedBufPool, FixedBufRegistry}; [INFO] [stdout] 2 + use io_uring::buf::fixed::{FixedBufPool, FixedBufRegistry}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/fixed_buf.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio_uring::buf::{BoundedBuf, BoundedBufMut}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 - use tokio_uring::buf::{BoundedBuf, BoundedBufMut}; [INFO] [stdout] 3 + use io_uring::buf::{BoundedBuf, BoundedBufMut}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/fixed_buf.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio_uring::fs::File; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 - use tokio_uring::fs::File; [INFO] [stdout] 4 + use io_uring::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> examples/tcp_listener_fixed_buffers.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio_uring::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - use tokio_uring::{ [INFO] [stdout] 6 + use io_uring::{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> examples/udp_socket.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio_uring::net::UdpSocket; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 2 - use tokio_uring::net::UdpSocket; [INFO] [stdout] 2 + use io_uring::net::UdpSocket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/buf.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio_uring::buf::{BoundedBuf, BoundedBufMut, Slice}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 - use tokio_uring::buf::{BoundedBuf, BoundedBufMut, Slice}; [INFO] [stdout] 1 + use io_uring::buf::{BoundedBuf, BoundedBufMut, Slice}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> examples/tcp_stream.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio_uring::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 - use tokio_uring::net::TcpStream; [INFO] [stdout] 3 + use io_uring::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> examples/unix_stream.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio_uring::net::UnixStream; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 - use tokio_uring::net::UnixStream; [INFO] [stdout] 3 + use io_uring::net::UnixStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/fs_file.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio_uring::buf::fixed::FixedBufRegistry; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 10 - use tokio_uring::buf::fixed::FixedBufRegistry; [INFO] [stdout] 10 + use io_uring::buf::fixed::FixedBufRegistry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/fs_file.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio_uring::buf::{BoundedBuf, BoundedBufMut}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 11 - use tokio_uring::buf::{BoundedBuf, BoundedBufMut}; [INFO] [stdout] 11 + use io_uring::buf::{BoundedBuf, BoundedBufMut}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/fs_file.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio_uring::fs::File; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 12 - use tokio_uring::fs::File; [INFO] [stdout] 12 + use io_uring::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> examples/mix.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio_uring::{fs::File, net::TcpListener}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 7 - use tokio_uring::{fs::File, net::TcpListener}; [INFO] [stdout] 7 + use io_uring::{fs::File, net::TcpListener}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> examples/cat.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio_uring::fs::File; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - use tokio_uring::fs::File; [INFO] [stdout] 6 + use io_uring::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> examples/tcp_listener.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio_uring::net::TcpListener; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 - use tokio_uring::net::TcpListener; [INFO] [stdout] 3 + use io_uring::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> examples/tcp_listener.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | use tokio_uring::buf::BoundedBuf; // for slice() [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 25 - use tokio_uring::buf::BoundedBuf; // for slice() [INFO] [stdout] 25 + use io_uring::buf::BoundedBuf; // for slice() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> examples/unix_listener.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio_uring::net::UnixListener; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 - use tokio_uring::net::UnixListener; [INFO] [stdout] 3 + use io_uring::net::UnixListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> examples/tcp_stream.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | tokio_uring::start(async { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 14 - tokio_uring::start(async { [INFO] [stdout] 14 + io_uring::start(async { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/buf.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | B: tokio_uring::buf::IoBuf, [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 147 - B: tokio_uring::buf::IoBuf, [INFO] [stdout] 147 + B: io_uring::buf::IoBuf, [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use kvarn_tokio_uring::buf; [INFO] [stdout] | [INFO] [stdout] help: if you import `buf`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 147 - B: tokio_uring::buf::IoBuf, [INFO] [stdout] 147 + B: buf::IoBuf, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> examples/wrk-bench.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | let listener = Rc::new(tokio_uring::net::TcpListener::bind( [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 13 - let listener = Rc::new(tokio_uring::net::TcpListener::bind( [INFO] [stdout] 13 + let listener = Rc::new(io_uring::net::TcpListener::bind( [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] 1 + use kvarn_tokio_uring::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] help: if you import `TcpListener`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 13 - let listener = Rc::new(tokio_uring::net::TcpListener::bind( [INFO] [stdout] 13 + let listener = Rc::new(TcpListener::bind( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/tcp_stream.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let stream = TcpStream::connect(socket_addr).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> examples/tcp_stream.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let (result, buf) = stream.write(buf).submit().await; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 19 | println!("written: {}", result.unwrap()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 18 | let (result, buf): (_, _) = stream.write(buf).submit().await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> examples/udp_socket.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | tokio_uring::start(async { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 13 - tokio_uring::start(async { [INFO] [stdout] 13 + io_uring::start(async { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> examples/tcp_stream.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let (result, buf) = stream.read(buf).await; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 22 | let read = result.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 21 | let (result, buf): (_, _) = stream.read(buf).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> examples/wrk-bench.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | tokio_uring::start(async { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 11 - tokio_uring::start(async { [INFO] [stdout] 11 + io_uring::start(async { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> examples/cat.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | tokio_uring::start(async { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 22 - tokio_uring::start(async { [INFO] [stdout] 22 + io_uring::start(async { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> examples/wrk-bench.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | tokio_uring::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 23 - tokio_uring::spawn(async move { [INFO] [stdout] 23 + io_uring::spawn(async move { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> examples/wrk-bench.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | let (stream, _) = listener.accept().await?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | let (result, _) = stream.write(RESPONSE).submit().await; [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 21 | let (stream, _): (_, _) = listener.accept().await?; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/cat.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | let file = File::open(path).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> examples/tcp_listener_fixed_buffers.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | tokio_uring::start(accept_loop(socket_addr)); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 24 - tokio_uring::start(accept_loop(socket_addr)); [INFO] [stdout] 24 + io_uring::start(accept_loop(socket_addr)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/driver.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio_uring::{buf::IoBuf, fs::File}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 - use tokio_uring::{buf::IoBuf, fs::File}; [INFO] [stdout] 3 + use io_uring::{buf::IoBuf, fs::File}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> examples/tcp_listener_fixed_buffers.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | tokio_uring::spawn(echo_handler(stream, peer, registry.clone())); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 46 - tokio_uring::spawn(echo_handler(stream, peer, registry.clone())); [INFO] [stdout] 46 + io_uring::spawn(echo_handler(stream, peer, registry.clone())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> examples/unix_stream.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | tokio_uring::start(async { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 14 - tokio_uring::start(async { [INFO] [stdout] 14 + io_uring::start(async { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `kvarn-tokio-uring` (test "buf") due to 2 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> examples/cat.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let (res, b) = file.read_at(buf, pos).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | let n = res.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 32 | let (res, b): (_, _) = file.read_at(buf, pos).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/unix_stream.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let stream = UnixStream::connect(socket_addr).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kvarn-tokio-uring` (example "wrk-bench") due to 4 previous errors [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> examples/unix_stream.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let (result, buf) = stream.write(buf).submit().await; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 19 | println!("written: {}", result.unwrap()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 18 | let (result, buf): (_, _) = stream.write(buf).submit().await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kvarn-tokio-uring` (example "tcp_listener_fixed_buffers") due to 3 previous errors [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> examples/unix_stream.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let (result, buf) = stream.read(buf).await; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 22 | let read = result.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 21 | let (result, buf): (_, _) = stream.read(buf).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/udp_socket.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | let socket = UdpSocket::bind(socket_addr).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> examples/udp_socket.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let (result, mut buf) = socket.recv_from(buf).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | let (read, socket_addr) = result.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 18 | let (result, mut buf): (_, _) = socket.recv_from(buf).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `({type error}, _)` [INFO] [stdout] --> examples/udp_socket.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let (result, mut buf) = socket.recv_from(buf).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | let (read, socket_addr) = result.unwrap(); [INFO] [stdout] 20 | buf.resize(read, 0); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 18 | let (result, mut buf): (_, _) = socket.recv_from(buf).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> examples/udp_socket.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let (result, _buf) = socket.send_to(buf, socket_addr).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 24 | println!("sent to {}: {}", socket_addr, result.unwrap()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 23 | let (result, _buf): (_, _) = socket.send_to(buf, socket_addr).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> examples/mix.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | tokio_uring::start(async { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 17 - tokio_uring::start(async { [INFO] [stdout] 17 + io_uring::start(async { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kvarn-tokio-uring` (example "unix_stream") due to 5 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/mix.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | let (socket, _) = listener.accept().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> examples/mix.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | tokio_uring::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 27 - tokio_uring::spawn(async move { [INFO] [stdout] 27 + io_uring::spawn(async move { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/mix.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | let file = File::open(path).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kvarn-tokio-uring` (example "tcp_stream") due to 5 previous errors [INFO] [stderr] error: could not compile `kvarn-tokio-uring` (example "udp_socket") due to 6 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/fixed_buf.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | tokio_uring::start(async { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 16 - tokio_uring::start(async { [INFO] [stdout] 16 + io_uring::start(async { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> examples/mix.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | let (res, b) = file.read_at(buf, pos).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 38 | let n = res.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 37 | let (res, b): (_, _) = file.read_at(buf, pos).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/mix.rs:44:36 [INFO] [stdout] | [INFO] [stdout] 44 | let (res, b) = socket.write(b).submit().await; [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> examples/mix.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | let (res, b) = socket.write(b).submit().await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 45 | pos += res.unwrap() as u64; [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 44 | let (res, b): (_, _) = socket.write(b).submit().await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/fixed_buf.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | let file = File::open(tempfile.path()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/runtime.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | tokio_uring::start(async { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - tokio_uring::start(async { [INFO] [stdout] 5 + io_uring::start(async { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> examples/tcp_listener.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | tokio_uring::start(async { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 15 - tokio_uring::start(async { [INFO] [stdout] 15 + io_uring::start(async { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/fixed_buf.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let (res, buf) = op.await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 46 | let n = res.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 45 | let (res, buf): (_, _) = op.await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/fixed_buf.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | tokio_uring::start(async { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 64 - tokio_uring::start(async { [INFO] [stdout] 64 + io_uring::start(async { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/fixed_buf.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | let file = File::open(tempfile.path()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/fixed_buf.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let (res, buf) = file.read_fixed_at(fixed_buf, 0).await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 89 | let n = res.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 88 | let (res, buf): (_, _) = file.read_fixed_at(fixed_buf, 0).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/fixed_buf.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | tokio_uring::start(async { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 97 - tokio_uring::start(async { [INFO] [stdout] 97 + io_uring::start(async { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/fixed_buf.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let (res, slice) = file.read_fixed_at(fixed_buf.slice(..8), 3).await; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 116 | let n = res.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 115 | let (res, slice): (_, _) = file.read_fixed_at(fixed_buf.slice(..8), 3).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/tcp_listener.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | let (stream, socket_addr) = listener.accept().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> examples/tcp_listener.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | tokio_uring::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 22 - tokio_uring::spawn(async move { [INFO] [stdout] 22 + io_uring::spawn(async move { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/fixed_buf.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let (res, slice) = file [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | let n = res.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 123 | let (res, slice): (_, _) = file [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/tcp_listener.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | let (result, nbuf) = stream.read(buf).await; [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/fixed_buf.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | let (res, slice) = file.read_fixed_at(fixed_buf.slice(3..), 0).await; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 135 | let n = res.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 134 | let (res, slice): (_, _) = file.read_fixed_at(fixed_buf.slice(3..), 0).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kvarn-tokio-uring` (example "cat") due to 4 previous errors [INFO] [stdout] error[E0282]: type annotations needed for `(_, Vec)` [INFO] [stdout] --> examples/tcp_listener.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | let (result, nbuf) = stream.read(buf).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 33 | buf = nbuf; [INFO] [stdout] 34 | let read = result.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 32 | let (result, nbuf): (_, _) = stream.read(buf).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kvarn-tokio-uring` (example "mix") due to 8 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/runtime.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | tokio_uring::start(async { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 26 - tokio_uring::start(async { [INFO] [stdout] 26 + io_uring::start(async { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/runtime.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | let handle = tokio_uring::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 29 - let handle = tokio_uring::spawn(async move { [INFO] [stdout] 29 + let handle = io_uring::spawn(async move { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/fixed_buf.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | tokio_uring::start(async move { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 144 - tokio_uring::start(async move { [INFO] [stdout] 144 + io_uring::start(async move { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/fixed_buf.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | let mut buf = buffers.next(BUF_SIZE).await; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | buf.buf_index() [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `buf` an explicit type [INFO] [stdout] | [INFO] [stdout] 158 | let mut buf: /* Type */ = buffers.next(BUF_SIZE).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> examples/unix_listener.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | tokio_uring::start(async { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 14 - tokio_uring::start(async { [INFO] [stdout] 14 + io_uring::start(async { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/fixed_buf.rs:166:26 [INFO] [stdout] | [INFO] [stdout] 166 | let handle = tokio_uring::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 166 - let handle = tokio_uring::spawn(async move { [INFO] [stdout] 166 + let handle = io_uring::spawn(async move { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/fixed_buf.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 170 | let (res, buf) = file.write_fixed_all_at(buf, BUF_SIZE as u64 * i).await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 171 | res.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 170 | let (res, buf): (_, _) = file.write_fixed_all_at(buf, BUF_SIZE as u64 * i).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `({type error}, _)` [INFO] [stdout] --> tests/fixed_buf.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 170 | let (res, buf) = file.write_fixed_all_at(buf, BUF_SIZE as u64 * i).await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 171 | res.unwrap(); [INFO] [stdout] 172 | println!("[worker {}]: dropping buffer {}", i, buf.buf_index()); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 170 | let (res, buf): (_, _) = file.write_fixed_all_at(buf, BUF_SIZE as u64 * i).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/runtime.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | handle.await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/unix_listener.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | let stream = listener.accept().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> examples/unix_listener.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | tokio_uring::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 20 - tokio_uring::spawn(async move { [INFO] [stdout] 20 + io_uring::spawn(async move { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> examples/unix_listener.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | let (result, buf) = stream.write(buf).submit().await; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 24 | println!("written to {}: {}", &socket_addr, result.unwrap()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 23 | let (result, buf): (_, _) = stream.write(buf).submit().await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> examples/unix_listener.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | let (result, buf) = stream.read(buf).await; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 27 | let read = result.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 26 | let (result, buf): (_, _) = stream.read(buf).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice` found for struct `Vec` in the current scope [INFO] [stdout] --> examples/tcp_listener.rs:40:61 [INFO] [stdout] | [INFO] [stdout] 40 | let (res, slice) = stream.write_all(buf.slice(..read)).await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/buf/bounded.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | fn slice(self, range: impl ops::RangeBounds) -> Slice; [INFO] [stdout] | ----- the method is available for `Vec` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `splice` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/vec/mod.rs:3871:4 [INFO] [stdout] help: trait `BoundedBuf` which provides `slice` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kvarn_tokio_uring::buf::BoundedBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> examples/tcp_listener.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | let (res, slice) = stream.write_all(buf.slice(..read)).await; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 41 | let _ = res.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 40 | let (res, slice): (_, _) = stream.write_all(buf.slice(..read)).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `({type error}, _)` [INFO] [stdout] --> examples/tcp_listener.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | let (res, slice) = stream.write_all(buf.slice(..read)).await; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 41 | let _ = res.unwrap(); [INFO] [stdout] 42 | buf = slice.into_inner(); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 40 | let (res, slice): (_, _) = stream.write_all(buf.slice(..read)).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kvarn-tokio-uring` (example "unix_listener") due to 6 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/driver.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | unsafe impl tokio_uring::buf::IoBufMut for MyBuf { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 32 - unsafe impl tokio_uring::buf::IoBufMut for MyBuf { [INFO] [stdout] 32 + unsafe impl io_uring::buf::IoBufMut for MyBuf { [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use kvarn_tokio_uring::buf; [INFO] [stdout] | [INFO] [stdout] help: if you import `buf`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 32 - unsafe impl tokio_uring::buf::IoBufMut for MyBuf { [INFO] [stdout] 32 + unsafe impl buf::IoBufMut for MyBuf { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/driver.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | let file = tokio_uring::start(async { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 51 - let file = tokio_uring::start(async { [INFO] [stdout] 51 + let file = io_uring::start(async { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/driver.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | tokio_uring::start(async { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 82 - tokio_uring::start(async { [INFO] [stdout] 82 + io_uring::start(async { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kvarn-tokio-uring` (example "tcp_listener") due to 10 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/driver.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | tokio_uring::builder() [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 113 - tokio_uring::builder() [INFO] [stdout] 113 + io_uring::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/driver.rs:115:24 [INFO] [stdout] | [INFO] [stdout] 115 | .uring_builder(tokio_uring::uring_builder().setup_cqsize(cqueue_entries)) [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 115 - .uring_builder(tokio_uring::uring_builder().setup_cqsize(cqueue_entries)) [INFO] [stdout] 115 + .uring_builder(io_uring::uring_builder().setup_cqsize(cqueue_entries)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/driver.rs:120:32 [INFO] [stdout] | [INFO] [stdout] 120 | js.spawn_local(tokio_uring::no_op()); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 120 - js.spawn_local(tokio_uring::no_op()); [INFO] [stdout] 120 + js.spawn_local(io_uring::no_op()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/fixed_buf.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | / handle [INFO] [stdout] 179 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kvarn-tokio-uring` (test "driver") due to 7 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kvarn-tokio-uring` (test "fixed_buf") due to 19 previous errors [INFO] [stderr] error: could not compile `kvarn-tokio-uring` (test "runtime") due to 4 previous errors [INFO] [stdout] error[E0432]: unresolved import `tokio_uring` [INFO] [stdout] --> examples/test_create_dir_all.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio_uring::fs; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 - use tokio_uring::fs; [INFO] [stdout] 3 + use io_uring::fs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/fs_file.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | tokio_uring::fs::rename(&old_path, &new_path).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 212 - tokio_uring::fs::rename(&old_path, &new_path).await.unwrap(); [INFO] [stdout] 212 + io_uring::fs::rename(&old_path, &new_path).await.unwrap(); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use std::fs; [INFO] [stdout] | [INFO] [stdout] 1 + use kvarn_tokio_uring::fs; [INFO] [stdout] | [INFO] [stdout] help: if you import `fs`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 212 - tokio_uring::fs::rename(&old_path, &new_path).await.unwrap(); [INFO] [stdout] 212 + fs::rename(&old_path, &new_path).await.unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/fs_file.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let (res, buf) = file.read_at(buf, 0).await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | let n = res.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 22 | let (res, buf): (_, _) = file.read_at(buf, 0).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/fs_file.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | tokio_uring::start(async { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 31 - tokio_uring::start(async { [INFO] [stdout] 31 + io_uring::start(async { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/fs_file.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | let file = File::open(tempfile.path()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/fs_file.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | tokio_uring::start(async { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 42 - tokio_uring::start(async { [INFO] [stdout] 42 + io_uring::start(async { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/fs_file.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | let file = File::open(tempfile.path()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/fs_file.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let (res, buf) = file.read_exact_at(buf, 0).await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 51 | res.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 50 | let (res, buf): (_, _) = file.read_exact_at(buf, 0).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/fs_file.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | tokio_uring::start(async { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 58 - tokio_uring::start(async { [INFO] [stdout] 58 + io_uring::start(async { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/fs_file.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | let file = File::create(tempfile.path()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/fs_file.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | tokio_uring::start(async { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 72 - tokio_uring::start(async { [INFO] [stdout] 72 + io_uring::start(async { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/fs_file.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | let file = File::open(tempfile.path()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/fs_file.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let (res, bufs) = file.readv_at(bufs, 0).await; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 79 | let n = res.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 78 | let (res, bufs): (_, _) = file.readv_at(bufs, 0).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/fs_file.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | tokio_uring::start(async { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 88 - tokio_uring::start(async { [INFO] [stdout] 88 + io_uring::start(async { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/fs_file.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | let file = File::create(tempfile.path()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/fs_file.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | tokio_uring::start(async { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 105 - tokio_uring::start(async { [INFO] [stdout] 105 + io_uring::start(async { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/fs_file.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | let file = File::create(tempfile.path()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/fs_file.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let (ret, data) = file.write_all_at(data, 0).await; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 112 | ret.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 111 | let (ret, data): (_, _) = file.write_all_at(data, 0).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/fs_file.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | tokio_uring::start(async { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 121 - tokio_uring::start(async { [INFO] [stdout] 121 + io_uring::start(async { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/fs_file.rs:125:20 [INFO] [stdout] | [INFO] [stdout] 125 | let file = File::open(tempfile.path()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/fs_file.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | tokio_uring::start(async { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 139 - tokio_uring::start(async { [INFO] [stdout] 139 + io_uring::start(async { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/fs_file.rs:140:20 [INFO] [stdout] | [INFO] [stdout] 140 | let file = File::open(tempfile.path()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/fs_file.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | file.close().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/fs_file.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | tokio_uring::start(async { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 151 - tokio_uring::start(async { [INFO] [stdout] 151 + io_uring::start(async { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/fs_file.rs:156:20 [INFO] [stdout] | [INFO] [stdout] 156 | let file = File::create(tempfile.path()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/fs_file.rs:167:16 [INFO] [stdout] | [INFO] [stdout] 167 | let file = tokio_uring::start(async { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 167 - let file = tokio_uring::start(async { [INFO] [stdout] 167 + let file = io_uring::start(async { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/fs_file.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | File::open(tempfile.path()).await.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/fs_file.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | tokio_uring::start(async { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 182 - tokio_uring::start(async { [INFO] [stdout] 182 + io_uring::start(async { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/fs_file.rs:183:20 [INFO] [stdout] | [INFO] [stdout] 183 | let file = File::create(tempfile.path()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/fs_file.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | file.sync_all().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/fs_file.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | file.sync_data().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/fs_file.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | file.sync_all().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/fs_file.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | file.sync_data().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/fs_file.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | tokio_uring::start(async { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 195 - tokio_uring::start(async { [INFO] [stdout] 195 + io_uring::start(async { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/fs_file.rs:200:24 [INFO] [stdout] | [INFO] [stdout] 200 | let old_file = File::open(old_path).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> examples/test_create_dir_all.rs:174:18 [INFO] [stdout] | [INFO] [stdout] 174 | let _statx = tokio_uring::fs::statx(path).await?; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 174 - let _statx = tokio_uring::fs::statx(path).await?; [INFO] [stdout] 174 + let _statx = io_uring::fs::statx(path).await?; [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use kvarn_tokio_uring::fs; [INFO] [stdout] | [INFO] [stdout] help: if you import `fs`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 174 - let _statx = tokio_uring::fs::statx(path).await?; [INFO] [stdout] 174 + let _statx = fs::statx(path).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/fs_file.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | old_file.close().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> examples/test_create_dir_all.rs:179:18 [INFO] [stdout] | [INFO] [stdout] 179 | let _statx = tokio_uring::fs::StatxBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 179 - let _statx = tokio_uring::fs::StatxBuilder::new() [INFO] [stdout] 179 + let _statx = io_uring::fs::StatxBuilder::new() [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use kvarn_tokio_uring::fs::StatxBuilder; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatxBuilder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 179 - let _statx = tokio_uring::fs::StatxBuilder::new() [INFO] [stdout] 179 + let _statx = StatxBuilder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> examples/test_create_dir_all.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | let f = tokio_uring::fs::File::open(dir_path).await?; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 190 - let f = tokio_uring::fs::File::open(dir_path).await?; [INFO] [stdout] 190 + let f = io_uring::fs::File::open(dir_path).await?; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] 1 + use kvarn_tokio_uring::fs::File; [INFO] [stdout] | [INFO] [stdout] help: if you import `File`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 190 - let f = tokio_uring::fs::File::open(dir_path).await?; [INFO] [stdout] 190 + let f = File::open(dir_path).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> examples/test_create_dir_all.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | let statx = tokio_uring::fs::StatxBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 202 - let statx = tokio_uring::fs::StatxBuilder::new() [INFO] [stdout] 202 + let statx = io_uring::fs::StatxBuilder::new() [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use kvarn_tokio_uring::fs::StatxBuilder; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatxBuilder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 202 - let statx = tokio_uring::fs::StatxBuilder::new() [INFO] [stdout] 202 + let statx = StatxBuilder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> examples/test_create_dir_all.rs:219:16 [INFO] [stdout] | [INFO] [stdout] 219 | let file = tokio_uring::fs::OpenOptions::new() [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 219 - let file = tokio_uring::fs::OpenOptions::new() [INFO] [stdout] 219 + let file = io_uring::fs::OpenOptions::new() [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::fs::OpenOptions; [INFO] [stdout] | [INFO] [stdout] 1 + use kvarn_tokio_uring::fs::OpenOptions; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::net::unix::pipe::OpenOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `OpenOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 219 - let file = tokio_uring::fs::OpenOptions::new() [INFO] [stdout] 219 + let file = OpenOptions::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> examples/test_create_dir_all.rs:229:33 [INFO] [stdout] | [INFO] [stdout] 229 | let (_is_dir, is_regfile) = tokio_uring::fs::is_dir_regfile(path).await; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 229 - let (_is_dir, is_regfile) = tokio_uring::fs::is_dir_regfile(path).await; [INFO] [stdout] 229 + let (_is_dir, is_regfile) = io_uring::fs::is_dir_regfile(path).await; [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use kvarn_tokio_uring::fs; [INFO] [stdout] | [INFO] [stdout] help: if you import `fs`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 229 - let (_is_dir, is_regfile) = tokio_uring::fs::is_dir_regfile(path).await; [INFO] [stdout] 229 + let (_is_dir, is_regfile) = fs::is_dir_regfile(path).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> examples/test_create_dir_all.rs:242:33 [INFO] [stdout] | [INFO] [stdout] 242 | let (is_dir, _is_regfile) = tokio_uring::fs::is_dir_regfile(path).await; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 242 - let (is_dir, _is_regfile) = tokio_uring::fs::is_dir_regfile(path).await; [INFO] [stdout] 242 + let (is_dir, _is_regfile) = io_uring::fs::is_dir_regfile(path).await; [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use kvarn_tokio_uring::fs; [INFO] [stdout] | [INFO] [stdout] help: if you import `fs`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 242 - let (is_dir, _is_regfile) = tokio_uring::fs::is_dir_regfile(path).await; [INFO] [stdout] 242 + let (is_dir, _is_regfile) = fs::is_dir_regfile(path).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/fs_file.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | tokio_uring::fs::rename(&old_path, &new_path).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/fs_file.rs:214:24 [INFO] [stdout] | [INFO] [stdout] 214 | let new_file = File::open(&new_path).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/fs_file.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | let old_file = File::open(old_path).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 218 | assert!(old_file.is_err()); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `old_file` an explicit type [INFO] [stdout] | [INFO] [stdout] 217 | let old_file: /* Type */ = File::open(old_path).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/fs_file.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | tokio_uring::start(async { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 228 - tokio_uring::start(async { [INFO] [stdout] 228 + io_uring::start(async { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/fs_file.rs:235:20 [INFO] [stdout] | [INFO] [stdout] 235 | let file = File::open(tempfile.path()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/fs_file.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | let (res, buf) = file.read_fixed_at(fixed_buf.slice(..), 0).await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 240 | let n = res.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 239 | let (res, buf): (_, _) = file.read_fixed_at(fixed_buf.slice(..), 0).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/fs_file.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | let (res, buf) = file.read_fixed_at(fixed_buf.slice(..), 6).await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 248 | let n = res.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 247 | let (res, buf): (_, _) = file.read_fixed_at(fixed_buf.slice(..), 6).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/fs_file.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 257 | tokio_uring::start(async { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 257 - tokio_uring::start(async { [INFO] [stdout] 257 + io_uring::start(async { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/fs_file.rs:260:20 [INFO] [stdout] | [INFO] [stdout] 260 | let file = File::create(tempfile.path()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/fs_file.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | let (res, _) = file.write_fixed_at(buf, 0).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 270 | let n = res.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 269 | let (res, _): (_, _) = file.write_fixed_at(buf, 0).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/fs_file.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | let (res, _) = file.write_fixed_at(buf, 6).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 278 | let n = res.unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 277 | let (res, _): (_, _) = file.write_fixed_at(buf, 6).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> tests/fs_file.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | tokio_uring::start(async { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 288 - tokio_uring::start(async { [INFO] [stdout] 288 + io_uring::start(async { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/fs_file.rs:291:20 [INFO] [stdout] | [INFO] [stdout] 291 | let file = File::create(tempfile.path()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/fs_file.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | / file.fallocate(0, 1024, libc::FALLOC_FL_ZERO_RANGE) [INFO] [stdout] 294 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/fs_file.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | file.sync_all().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/fs_file.rs:298:21 [INFO] [stdout] | [INFO] [stdout] 298 | let statx = file.statx().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/fs_file.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | / file.fallocate( [INFO] [stdout] 304 | | 0, [INFO] [stdout] 305 | | 2048, [INFO] [stdout] 306 | | libc::FALLOC_FL_ZERO_RANGE | libc::FALLOC_FL_KEEP_SIZE, [INFO] [stdout] 307 | | ) [INFO] [stdout] 308 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/fs_file.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 310 | file.sync_all().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/fs_file.rs:312:21 [INFO] [stdout] | [INFO] [stdout] 312 | let statx = file.statx().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kvarn-tokio-uring` (test "fs_file") due to 57 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/test_create_dir_all.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | let f = tokio_uring::fs::File::open(dir_path).await?; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 193 | let res = f.statx_builder().pathname(rel_path)?.statx().await; [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `f` an explicit type [INFO] [stdout] | [INFO] [stdout] 190 | let f: /* Type */ = tokio_uring::fs::File::open(dir_path).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/test_create_dir_all.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | let res = f.statx_builder().pathname(rel_path)?.statx().await; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | res.map(|_| ()) [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 193 | let res: /* Type */ = f.statx_builder().pathname(rel_path)?.statx().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/test_create_dir_all.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | let file = tokio_uring::fs::OpenOptions::new() [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | file.close().await [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `file` an explicit type [INFO] [stdout] | [INFO] [stdout] 219 | let file: /* Type */ = tokio_uring::fs::OpenOptions::new() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] --> examples/test_create_dir_all.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 255 | tokio_uring::start(async { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_uring` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 255 - tokio_uring::start(async { [INFO] [stdout] 255 + io_uring::start(async { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kvarn-tokio-uring` (example "test_create_dir_all") due to 12 previous errors [INFO] [stdout] warning: value assigned to `iovec` is never read [INFO] [stdout] --> src/io/writev_all.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | iovec.iov_base = unsafe { (iovec.iov_base as *const u8).add(n) } as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `iovec` is never read [INFO] [stdout] --> src/io/writev_all.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | iovec.iov_len -= n; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/runtime/driver/op/mod.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | Ignored(Box), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 168 - Ignored(Box), [INFO] [stdout] 168 + Ignored(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/fs/create_dir_all.rs:127:64 [INFO] [stdout] | [INFO] [stdout] 127 | fn recurse_create_dir_all<'a>(&'a self, path: &'a Path) -> LocalBoxFuture> { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 127 | fn recurse_create_dir_all<'a>(&'a self, path: &'a Path) -> LocalBoxFuture<'a, io::Result<()>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c9629ae30cfbafd0f10e767e7221696e1af0739cb0171a4fe0051edf26bd9822", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9629ae30cfbafd0f10e767e7221696e1af0739cb0171a4fe0051edf26bd9822", kill_on_drop: false }` [INFO] [stdout] c9629ae30cfbafd0f10e767e7221696e1af0739cb0171a4fe0051edf26bd9822