[INFO] fetching crate lio-uring 0.3.1... [INFO] testing lio-uring-0.3.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate lio-uring 0.3.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate lio-uring 0.3.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate lio-uring 0.3.1 [INFO] tweaked toml for crates.io crate lio-uring 0.3.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lio-uring 0.3.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate lio-uring 0.3.1 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0948ac0b646548b0052ac81878c04cc23bbdd50e34aad0d9432f4e0ec23b054 [INFO] running `Command { std: "docker" "start" "-a" "d0948ac0b646548b0052ac81878c04cc23bbdd50e34aad0d9432f4e0ec23b054", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0948ac0b646548b0052ac81878c04cc23bbdd50e34aad0d9432f4e0ec23b054", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0948ac0b646548b0052ac81878c04cc23bbdd50e34aad0d9432f4e0ec23b054", kill_on_drop: false }` [INFO] [stdout] d0948ac0b646548b0052ac81878c04cc23bbdd50e34aad0d9432f4e0ec23b054 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87516b12d7d6f6d720fc22ea71e4fae6d0e814d42b5631a8d321dc1ce85398a7 [INFO] running `Command { std: "docker" "start" "-a" "87516b12d7d6f6d720fc22ea71e4fae6d0e814d42b5631a8d321dc1ce85398a7", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling bindgen v0.72.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling lio-uring v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `from_sqe` is never used [INFO] [stdout] --> src/lib.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 158 | impl Entry { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 159 | pub(crate) fn from_sqe(sqe: bindings::io_uring_sqe) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `DATASYNC` is never used [INFO] [stdout] --> src/operation.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 211 | impl FsyncFlags { [INFO] [stdout] | --------------- associated constant in this implementation [INFO] [stdout] 212 | const DATASYNC: Self = Self(bindings::IORING_FSYNC_DATASYNC); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `ABS`, `BOOTTIME`, `REALTIME`, `LINK_TIMEOUT_UPDATE`, `ETIME_SUCCESS`, and `MULTISHOT` are never used [INFO] [stdout] --> src/operation.rs:575:9 [INFO] [stdout] | [INFO] [stdout] 574 | impl TimeoutFlags { [INFO] [stdout] | ----------------- associated constants in this implementation [INFO] [stdout] 575 | const ABS: Self = Self(bindings::IORING_TIMEOUT_ABS); [INFO] [stdout] | ^^^ [INFO] [stdout] 576 | [INFO] [stdout] 577 | const BOOTTIME: Self = Self(bindings::IORING_TIMEOUT_BOOTTIME); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 578 | [INFO] [stdout] 579 | const REALTIME: Self = Self(bindings::IORING_TIMEOUT_REALTIME); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 580 | [INFO] [stdout] 581 | const LINK_TIMEOUT_UPDATE: Self = Self(bindings::IORING_LINK_TIMEOUT_UPDATE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 582 | [INFO] [stdout] 583 | const ETIME_SUCCESS: Self = Self(bindings::IORING_TIMEOUT_ETIME_SUCCESS); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 584 | [INFO] [stdout] 585 | const MULTISHOT: Self = Self(bindings::IORING_TIMEOUT_MULTISHOT); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.03s [INFO] running `Command { std: "docker" "inspect" "87516b12d7d6f6d720fc22ea71e4fae6d0e814d42b5631a8d321dc1ce85398a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87516b12d7d6f6d720fc22ea71e4fae6d0e814d42b5631a8d321dc1ce85398a7", kill_on_drop: false }` [INFO] [stdout] 87516b12d7d6f6d720fc22ea71e4fae6d0e814d42b5631a8d321dc1ce85398a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4b6be387f5f8bcd5b3da2c1f6fd3a1432268c564c6d2160842a539b37e03820 [INFO] running `Command { std: "docker" "start" "-a" "b4b6be387f5f8bcd5b3da2c1f6fd3a1432268c564c6d2160842a539b37e03820", kill_on_drop: false }` [INFO] [stderr] Compiling pastey v0.2.1 [INFO] [stderr] Compiling lio-uring v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find type `Openat` in this scope [INFO] [stdout] --> src/operation.rs:2956:14 [INFO] [stdout] | [INFO] [stdout] 2956 | let op = Openat::new(-100, path.as_ptr().cast()) // AT_FDCWD [INFO] [stdout] | ^^^^^^ use of undeclared type `Openat` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 2956 - let op = Openat::new(-100, path.as_ptr().cast()) // AT_FDCWD [INFO] [stdout] 2956 + let op = OpenAt::new(-100, path.as_ptr().cast()) // AT_FDCWD [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied [INFO] [stdout] --> src/operation.rs:3034:7 [INFO] [stdout] | [INFO] [stdout] 3034 | Fadvise::new(file.as_raw_fd(), 0, 1024, libc::POSIX_FADV_SEQUENTIAL); [INFO] [stdout] | ^^^^^^^^^^^^ --------------------------- unexpected argument #4 of type `i32` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/operation.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn new($( $field : $( $tnt )* ),*) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1030 | / opcode! { [INFO] [stdout] 1031 | | /// Predeclare an access pattern for file data, equivalent to `posix_fadvise(2)`. [INFO] [stdout] 1032 | | pub struct Fadvise { [INFO] [stdout] 1033 | | fd: { RawFd }, [INFO] [stdout] ... | [INFO] [stdout] 1053 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `opcode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 3034 - Fadvise::new(file.as_raw_fd(), 0, 1024, libc::POSIX_FADV_SEQUENTIAL); [INFO] [stdout] 3034 + Fadvise::new(file.as_raw_fd(), 0, 1024); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Cancel` in this scope [INFO] [stdout] --> src/operation.rs:3062:23 [INFO] [stdout] | [INFO] [stdout] 3062 | smoke_test!(Cancel, Cancel::new(0x5678)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Cancel` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `core::ascii::Char::Cancel` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 3062 - smoke_test!(Cancel, Cancel::new(0x5678)); [INFO] [stdout] 3062 + smoke_test!(Cancel, core::ascii::Char::new(0x5678)); [INFO] [stdout] | [INFO] [stdout] 3062 - smoke_test!(Cancel, Cancel::new(0x5678)); [INFO] [stdout] 3062 + smoke_test!(Cancel, std::ascii::Char::new(0x5678)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Recvmsg` in this scope [INFO] [stdout] --> src/operation.rs:3063:24 [INFO] [stdout] | [INFO] [stdout] 3063 | smoke_test!(Recvmsg, Recvmsg::new(0, core::ptr::null_mut())); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Recvmsg` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3063 - smoke_test!(Recvmsg, Recvmsg::new(0, core::ptr::null_mut())); [INFO] [stdout] 3063 + smoke_test!(Recvmsg, RecvMsg::new(0, core::ptr::null_mut())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Sendmsg` in this scope [INFO] [stdout] --> src/operation.rs:3064:24 [INFO] [stdout] | [INFO] [stdout] 3064 | smoke_test!(Sendmsg, Sendmsg::new(1, core::ptr::null())); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Sendmsg` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3064 - smoke_test!(Sendmsg, Sendmsg::new(1, core::ptr::null())); [INFO] [stdout] 3064 + smoke_test!(Sendmsg, SendMsg::new(1, core::ptr::null())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 3 arguments were supplied [INFO] [stdout] --> src/operation.rs:3066:23 [INFO] [stdout] | [INFO] [stdout] 3066 | smoke_test!(Splice, Splice::new(0, 1, 0)); [INFO] [stdout] | ^^^^^^^^^^^--------- two arguments of type `i64` and `u32` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/operation.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn new($( $field : $( $tnt )* ),*) -> Self { [INFO] [stdout] | ^^^ ------ [INFO] [stdout] ... [INFO] [stdout] 1234 | / opcode! { [INFO] [stdout] 1235 | | /// Splice data to/from a pipe, equivalent to `splice(2)`. [INFO] [stdout] 1236 | | /// [INFO] [stdout] 1237 | | /// if `fd_in` refers to a pipe, `off_in` must be `-1`; [INFO] [stdout] ... | [INFO] [stdout] 1267 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `opcode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 3066 | smoke_test!(Splice, Splice::new(0, 1, 0, /* i64 */, /* u32 */)); [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Renameat` in this scope [INFO] [stdout] --> src/operation.rs:3071:5 [INFO] [stdout] | [INFO] [stdout] 3071 | Renameat::new(-100, core::ptr::null(), -100, core::ptr::null()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Renameat` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3071 - Renameat::new(-100, core::ptr::null(), -100, core::ptr::null()) [INFO] [stdout] 3071 + RenameAt::new(-100, core::ptr::null(), -100, core::ptr::null()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Unlinkat` in this scope [INFO] [stdout] --> src/operation.rs:3073:25 [INFO] [stdout] | [INFO] [stdout] 3073 | smoke_test!(Unlinkat, Unlinkat::new(-100, core::ptr::null())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Unlinkat` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3073 - smoke_test!(Unlinkat, Unlinkat::new(-100, core::ptr::null())); [INFO] [stdout] 3073 + smoke_test!(Unlinkat, UnlinkAt::new(-100, core::ptr::null())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Mkdirat` in this scope [INFO] [stdout] --> src/operation.rs:3074:24 [INFO] [stdout] | [INFO] [stdout] 3074 | smoke_test!(Mkdirat, Mkdirat::new(-100, core::ptr::null(), 0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Mkdirat` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3074 - smoke_test!(Mkdirat, Mkdirat::new(-100, core::ptr::null(), 0)); [INFO] [stdout] 3074 + smoke_test!(Mkdirat, MkDirAt::new(-100, core::ptr::null(), 0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Symlinkat` in this scope [INFO] [stdout] --> src/operation.rs:3077:5 [INFO] [stdout] | [INFO] [stdout] 3077 | Symlinkat::new(core::ptr::null(), -100, core::ptr::null()) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Symlinkat` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3077 - Symlinkat::new(core::ptr::null(), -100, core::ptr::null()) [INFO] [stdout] 3077 + SymlinkAt::new(core::ptr::null(), -100, core::ptr::null()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Linkat` in this scope [INFO] [stdout] --> src/operation.rs:3081:5 [INFO] [stdout] | [INFO] [stdout] 3081 | Linkat::new(-100, core::ptr::null(), -100, core::ptr::null()) [INFO] [stdout] | ^^^^^^ use of undeclared type `Linkat` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3081 - Linkat::new(-100, core::ptr::null(), -100, core::ptr::null()) [INFO] [stdout] 3081 + LinkAt::new(-100, core::ptr::null(), -100, core::ptr::null()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 5 arguments were supplied [INFO] [stdout] --> src/operation.rs:3085:5 [INFO] [stdout] | [INFO] [stdout] 3085 | Statx::new(-100, core::ptr::null(), 0, 0, core::ptr::null_mut()) [INFO] [stdout] | ^^^^^^^^^^ - - unexpected argument #4 of type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | unexpected argument #3 of type `usize` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/operation.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn new($( $field : $( $tnt )* ),*) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 903 | / opcode! { [INFO] [stdout] 904 | | /// Get file status, equivalent to `statx(2)`. [INFO] [stdout] 905 | | pub struct Statx { [INFO] [stdout] 906 | | dirfd: { RawFd }, [INFO] [stdout] ... | [INFO] [stdout] 931 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `opcode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 3085 - Statx::new(-100, core::ptr::null(), 0, 0, core::ptr::null_mut()) [INFO] [stdout] 3085 + Statx::new(-100, core::ptr::null(), core::ptr::null_mut()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Fgetxattr` in this scope [INFO] [stdout] --> src/operation.rs:3089:5 [INFO] [stdout] | [INFO] [stdout] 3089 | Fgetxattr::new(0, core::ptr::null(), core::ptr::null_mut(), 0) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Fgetxattr` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3089 - Fgetxattr::new(0, core::ptr::null(), core::ptr::null_mut(), 0) [INFO] [stdout] 3089 + FGetXattr::new(0, core::ptr::null(), core::ptr::null_mut(), 0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Fsetxattr` in this scope [INFO] [stdout] --> src/operation.rs:3093:5 [INFO] [stdout] | [INFO] [stdout] 3093 | Fsetxattr::new(0, core::ptr::null(), core::ptr::null(), 0, 0) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Fsetxattr` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 3093 - Fsetxattr::new(0, core::ptr::null(), core::ptr::null(), 0, 0) [INFO] [stdout] 3093 + FSetXattr::new(0, core::ptr::null(), core::ptr::null(), 0, 0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SocketDirect` in this scope [INFO] [stdout] --> src/operation.rs:3096:29 [INFO] [stdout] | [INFO] [stdout] 3096 | smoke_test!(SocketDirect, SocketDirect::new(2, 1, 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `SocketDirect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/operation.rs:3097:26 [INFO] [stdout] | [INFO] [stdout] 3097 | smoke_test!(RecvMulti, RecvMulti::new(0, core::ptr::null_mut(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ --------------------- unexpected argument #2 of type `*mut _` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/operation.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn new($( $field : $( $tnt )* ),*) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1140 | / opcode! { [INFO] [stdout] 1141 | | /// Receive multiple messages from a socket, equivalent to `recv(2)`. [INFO] [stdout] 1142 | | /// [INFO] [stdout] 1143 | | /// Parameter: [INFO] [stdout] ... | [INFO] [stdout] 1177 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `opcode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 3097 - smoke_test!(RecvMulti, RecvMulti::new(0, core::ptr::null_mut(), 0)); [INFO] [stdout] 3097 + smoke_test!(RecvMulti, RecvMulti::new(0, 0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> src/operation.rs:3100:5 [INFO] [stdout] | [INFO] [stdout] 3100 | AcceptMulti::new(0, core::ptr::null_mut(), core::ptr::null_mut()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ --------------------- --------------------- unexpected argument #3 of type `*mut _` [INFO] [stdout] | | [INFO] [stdout] | unexpected argument #2 of type `*mut _` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/operation.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn new($( $field : $( $tnt )* ),*) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1768 | / opcode! { [INFO] [stdout] 1769 | | /// Accept multiple new connections on a socket. [INFO] [stdout] 1770 | | /// [INFO] [stdout] 1771 | | /// Set the `allocate_file_index` property if fixed file table entries should be used. [INFO] [stdout] ... | [INFO] [stdout] 1798 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `opcode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 3100 - AcceptMulti::new(0, core::ptr::null_mut(), core::ptr::null_mut()) [INFO] [stdout] 3100 + AcceptMulti::new(0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/operation.rs:3102:28 [INFO] [stdout] | [INFO] [stdout] 3102 | smoke_test!(FilesUpdate, FilesUpdate::new(core::ptr::null_mut(), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ - unexpected argument #3 of type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/operation.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn new($( $field : $( $tnt )* ),*) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 877 | / opcode! { [INFO] [stdout] 878 | | /// This command is an alternative to using [INFO] [stdout] 879 | | /// [`Submitter::register_files_update`](crate::Submitter::register_files_update) which then [INFO] [stdout] 880 | | /// works in an async fashion, like the rest of the io_uring commands. [INFO] [stdout] ... | [INFO] [stdout] 901 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `opcode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 3102 - smoke_test!(FilesUpdate, FilesUpdate::new(core::ptr::null_mut(), 0, 0)); [INFO] [stdout] 3102 + smoke_test!(FilesUpdate, FilesUpdate::new(core::ptr::null_mut(), 0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Waitid` in this scope [INFO] [stdout] --> src/operation.rs:3103:23 [INFO] [stdout] | [INFO] [stdout] 3103 | smoke_test!(Waitid, Waitid::new(0, 0, core::ptr::null_mut(), 0)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Waitid` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 3103 - smoke_test!(Waitid, Waitid::new(0, 0, core::ptr::null_mut(), 0)); [INFO] [stdout] 3103 + smoke_test!(Waitid, WaitId::new(0, 0, core::ptr::null_mut(), 0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Getxattr` in this scope [INFO] [stdout] --> src/operation.rs:3106:5 [INFO] [stdout] | [INFO] [stdout] 3106 | Getxattr::new( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Getxattr` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 3106 - Getxattr::new( [INFO] [stdout] 3106 + GetXattr::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Setxattr` in this scope [INFO] [stdout] --> src/operation.rs:3115:5 [INFO] [stdout] | [INFO] [stdout] 3115 | Setxattr::new( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Setxattr` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 3115 - Setxattr::new( [INFO] [stdout] 3115 + SetXattr::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/operation.rs:3123:30 [INFO] [stdout] | [INFO] [stdout] 3123 | smoke_test!(SyncFileRange, SyncFileRange::new(0, 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ - unexpected argument #3 of type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/operation.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn new($( $field : $( $tnt )* ),*) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 415 | / opcode! { [INFO] [stdout] 416 | | /// Sync a file segment with disk, equivalent to `sync_file_range(2)`. [INFO] [stdout] 417 | | #[derive(Debug)] [INFO] [stdout] 418 | | pub struct SyncFileRange { [INFO] [stdout] ... | [INFO] [stdout] 445 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `opcode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 3123 - smoke_test!(SyncFileRange, SyncFileRange::new(0, 0, 0)); [INFO] [stdout] 3123 + smoke_test!(SyncFileRange, SyncFileRange::new(0, 0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Epoll` in this scope [INFO] [stdout] --> src/operation.rs:3124:22 [INFO] [stdout] | [INFO] [stdout] 3124 | smoke_test!(Epoll, Epoll::new(0, 1, 0, core::ptr::null_mut())); [INFO] [stdout] | ^^^^^ use of undeclared type `Epoll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `MsgRing` in this scope [INFO] [stdout] --> src/operation.rs:3130:24 [INFO] [stdout] | [INFO] [stdout] 3130 | smoke_test!(MsgRing, MsgRing::new(0, 0, 0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MsgRing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SendmsgZc` in this scope [INFO] [stdout] --> src/operation.rs:3132:26 [INFO] [stdout] | [INFO] [stdout] 3132 | smoke_test!(SendmsgZc, SendmsgZc::new(1, core::ptr::null())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SendmsgZc` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3132 - smoke_test!(SendmsgZc, SendmsgZc::new(1, core::ptr::null())); [INFO] [stdout] 3132 + smoke_test!(SendmsgZc, SendMsgZc::new(1, core::ptr::null())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `PollUpdate` in this scope [INFO] [stdout] --> src/operation.rs:3133:27 [INFO] [stdout] | [INFO] [stdout] 3133 | smoke_test!(PollUpdate, PollUpdate::new(0, 0, 0)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PollUpdate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `FixedFdInstall` in this scope [INFO] [stdout] --> src/operation.rs:3137:31 [INFO] [stdout] | [INFO] [stdout] 3137 | smoke_test!(FixedFdInstall, FixedFdInstall::new(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `FixedFdInstall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_sqe` is never used [INFO] [stdout] --> src/lib.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 158 | impl Entry { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 159 | pub(crate) fn from_sqe(sqe: bindings::io_uring_sqe) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SendZcFixed` in this scope [INFO] [stdout] --> src/operation.rs:3138:28 [INFO] [stdout] | [INFO] [stdout] 3138 | smoke_test!(SendZcFixed, SendZcFixed::new(1, core::ptr::null(), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SendZcFixed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `DATASYNC` is never used [INFO] [stdout] --> src/operation.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 211 | impl FsyncFlags { [INFO] [stdout] | --------------- associated constant in this implementation [INFO] [stdout] 212 | const DATASYNC: Self = Self(bindings::IORING_FSYNC_DATASYNC); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `ABS`, `BOOTTIME`, `REALTIME`, `LINK_TIMEOUT_UPDATE`, `ETIME_SUCCESS`, and `MULTISHOT` are never used [INFO] [stdout] --> src/operation.rs:575:9 [INFO] [stdout] | [INFO] [stdout] 574 | impl TimeoutFlags { [INFO] [stdout] | ----------------- associated constants in this implementation [INFO] [stdout] 575 | const ABS: Self = Self(bindings::IORING_TIMEOUT_ABS); [INFO] [stdout] | ^^^ [INFO] [stdout] 576 | [INFO] [stdout] 577 | const BOOTTIME: Self = Self(bindings::IORING_TIMEOUT_BOOTTIME); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 578 | [INFO] [stdout] 579 | const REALTIME: Self = Self(bindings::IORING_TIMEOUT_REALTIME); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 580 | [INFO] [stdout] 581 | const LINK_TIMEOUT_UPDATE: Self = Self(bindings::IORING_LINK_TIMEOUT_UPDATE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 582 | [INFO] [stdout] 583 | const ETIME_SUCCESS: Self = Self(bindings::IORING_TIMEOUT_ETIME_SUCCESS); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 584 | [INFO] [stdout] 585 | const MULTISHOT: Self = Self(bindings::IORING_TIMEOUT_MULTISHOT); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Openat2` in this scope [INFO] [stdout] --> src/operation.rs:3141:5 [INFO] [stdout] | [INFO] [stdout] 3141 | Openat2::new(-100, core::ptr::null(), core::ptr::null_mut()) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Openat2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3141 - Openat2::new(-100, core::ptr::null(), core::ptr::null_mut()) [INFO] [stdout] 3141 + OpenAt::new(-100, core::ptr::null(), core::ptr::null_mut()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `MsgRingCqeFlags` in this scope [INFO] [stdout] --> src/operation.rs:3143:32 [INFO] [stdout] | [INFO] [stdout] 3143 | smoke_test!(MsgRingCqeFlags, MsgRingCqeFlags::new(0, 0, 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `MsgRingCqeFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `CloseFixed` in this scope [INFO] [stdout] --> src/operation.rs:3144:27 [INFO] [stdout] | [INFO] [stdout] 3144 | smoke_test!(CloseFixed, CloseFixed::new(0)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CloseFixed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ReadFixed2` in this scope [INFO] [stdout] --> src/operation.rs:3145:27 [INFO] [stdout] | [INFO] [stdout] 3145 | smoke_test!(ReadFixed2, ReadFixed2::new(0, core::ptr::null_mut(), 0, 0, 0)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ReadFixed2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3145 - smoke_test!(ReadFixed2, ReadFixed2::new(0, core::ptr::null_mut(), 0, 0, 0)); [INFO] [stdout] 3145 + smoke_test!(ReadFixed2, ReadFixed::new(0, core::ptr::null_mut(), 0, 0, 0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `WriteFixed2` in this scope [INFO] [stdout] --> src/operation.rs:3146:28 [INFO] [stdout] | [INFO] [stdout] 3146 | smoke_test!(WriteFixed2, WriteFixed2::new(1, core::ptr::null(), 0, 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WriteFixed2` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3146 - smoke_test!(WriteFixed2, WriteFixed2::new(1, core::ptr::null(), 0, 0, 0)); [INFO] [stdout] 3146 + smoke_test!(WriteFixed2, WriteFixed::new(1, core::ptr::null(), 0, 0, 0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `UringCmd` in this scope [INFO] [stdout] --> src/operation.rs:3147:25 [INFO] [stdout] | [INFO] [stdout] 3147 | smoke_test!(UringCmd, UringCmd::new(0, 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `UringCmd` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3147 | smoke_test!(UringCmd, UringCmd16::new(0, 0)); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `FutexWaitv` in this scope [INFO] [stdout] --> src/operation.rs:3150:27 [INFO] [stdout] | [INFO] [stdout] 3150 | smoke_test!(FutexWaitv, FutexWaitv::new(core::ptr::null_mut(), 0)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `FutexWaitv` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3150 - smoke_test!(FutexWaitv, FutexWaitv::new(core::ptr::null_mut(), 0)); [INFO] [stdout] 3150 + smoke_test!(FutexWaitv, FutexWait::new(core::ptr::null_mut(), 0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lio_uring::completion` [INFO] [stdout] --> examples/basic_io.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use lio_uring::completion::{CompletionQueue, SqeFlags}; [INFO] [stdout] | ^^^^^^^^^^ could not find `completion` in `lio_uring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lio_uring::submission` [INFO] [stdout] --> examples/basic_io.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use lio_uring::submission::SubmissionQueue; [INFO] [stdout] | ^^^^^^^^^^ could not find `submission` in `lio_uring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `lio_uring::IoUringParams`, `lio_uring::completion`, `lio_uring::submission` [INFO] [stdout] --> examples/sqpoll_optimized.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | IoUringParams, [INFO] [stdout] | ^^^^^^^^^^^^^ no `IoUringParams` in the root [INFO] [stdout] 13 | completion::{CompletionQueue, SqeFlags}, [INFO] [stdout] | ^^^^^^^^^^ could not find `completion` in `lio_uring` [INFO] [stdout] 14 | operation::*, [INFO] [stdout] 15 | submission::SubmissionQueue, [INFO] [stdout] | ^^^^^^^^^^ could not find `submission` in `lio_uring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `with_capacity` in crate `lio_uring` [INFO] [stdout] --> examples/tcp_echo.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | let (mut cq, mut sq) = lio_uring::with_capacity(256)?; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `lio_uring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `lio_uring::operation::Socket` has no field named `sock_type` [INFO] [stdout] --> examples/tcp_echo.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | sock_type: libc::SOCK_STREAM, [INFO] [stdout] | ^^^^^^^^^ `lio_uring::operation::Socket` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `with_capacity` in crate `lio_uring` [INFO] [stdout] --> examples/basic_io.rs:50:37 [INFO] [stdout] | [INFO] [stdout] 50 | let (mut cq, mut sq) = lio_uring::with_capacity(32)?; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `lio_uring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Openat` in this scope [INFO] [stdout] --> examples/basic_io.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | let open_op = Openat { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/operation.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct $name { [INFO] [stdout] | ---------------- similarly named struct `OpenAt` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 58 - let open_op = Openat { [INFO] [stdout] 58 + let open_op = OpenAt { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Unlinkat` in this scope [INFO] [stdout] --> examples/basic_io.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | Unlinkat { dfd: libc::AT_FDCWD, path: path.as_ptr().cast(), flags: 0 }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/operation.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct $name { [INFO] [stdout] | ---------------- similarly named struct `UnlinkAt` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 123 - Unlinkat { dfd: libc::AT_FDCWD, path: path.as_ptr().cast(), flags: 0 }; [INFO] [stdout] 123 + UnlinkAt { dfd: libc::AT_FDCWD, path: path.as_ptr().cast(), flags: 0 }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `lio_uring::operation::Bind` has no field named `sockfd` [INFO] [stdout] --> examples/tcp_echo.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | sockfd: socket.as_raw_fd(), [INFO] [stdout] | ^^^^^^ `lio_uring::operation::Bind` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `lio_uring::operation::Listen` has no field named `sockfd` [INFO] [stdout] --> examples/tcp_echo.rs:71:28 [INFO] [stdout] | [INFO] [stdout] 71 | let listen_op = Listen { sockfd: socket.as_raw_fd(), backlog: BACKLOG }; [INFO] [stdout] | ^^^^^^ `lio_uring::operation::Listen` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `lio_uring::operation::Recv` has no field named `sockfd` [INFO] [stdout] --> examples/tcp_echo.rs:114:7 [INFO] [stdout] | [INFO] [stdout] 114 | sockfd: client_socket.as_raw_fd(), [INFO] [stdout] | ^^^^^^ `lio_uring::operation::Recv` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lio_uring::completion` [INFO] [stdout] --> examples/linked_ops.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use lio_uring::completion::{CompletionQueue, SqeFlags}; [INFO] [stdout] | ^^^^^^^^^^ could not find `completion` in `lio_uring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `with_params` in crate `lio_uring` [INFO] [stdout] --> examples/sqpoll_optimized.rs:57:43 [INFO] [stdout] | [INFO] [stdout] 57 | let (mut cq, mut sq) = match lio_uring::with_params(params) { [INFO] [stdout] | ^^^^^^^^^^^ not found in `lio_uring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `lio_uring::operation::Write` has no field named `ptr` [INFO] [stdout] --> examples/basic_io.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | ptr: msg.as_ptr() as *mut _, [INFO] [stdout] | ^^^ `lio_uring::operation::Write` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lio_uring::submission` [INFO] [stdout] --> examples/linked_ops.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use lio_uring::submission::SubmissionQueue; [INFO] [stdout] | ^^^^^^^^^^ could not find `submission` in `lio_uring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `lio_uring::operation::Write` has no field named `ptr` [INFO] [stdout] --> examples/basic_io.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | ptr: data.as_ptr() as *mut _, [INFO] [stdout] | ^^^ `lio_uring::operation::Write` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `lio_uring::operation::Read` has no field named `ptr` [INFO] [stdout] --> examples/basic_io.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | ptr: read_buf.as_mut_ptr().cast(), [INFO] [stdout] | ^^^ `lio_uring::operation::Read` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/tcp_echo.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | len: buffer.len(), [INFO] [stdout] | ^^^^^^^^^^^^ expected `u32`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `lio_uring::operation::Send` has no field named `sockfd` [INFO] [stdout] --> examples/tcp_echo.rs:139:7 [INFO] [stdout] | [INFO] [stdout] 139 | sockfd: client_socket.as_raw_fd(), [INFO] [stdout] | ^^^^^^ `lio_uring::operation::Send` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/basic_io.rs:110:55 [INFO] [stdout] | [INFO] [stdout] 110 | let fsync_op = Fsync { fd: file.as_raw_fd(), flags: 0 }; [INFO] [stdout] | ^ expected `FsyncFlags`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0422, E0425, E0432, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lio-uring` (example "tcp_echo") due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0560]: struct `lio_uring::operation::Write` has no field named `ptr` [INFO] [stdout] --> examples/sqpoll_optimized.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | ptr: msg.as_ptr() as *mut _, [INFO] [stdout] | ^^^ `lio_uring::operation::Write` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `UdpSocket` [INFO] [stdout] --> tests/network.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | use std::net::{TcpListener, TcpStream, UdpSocket}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> tests/ring.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lio-uring` (example "sqpoll_optimized") due to 3 previous errors [INFO] [stderr] error: could not compile `lio-uring` (example "basic_io") due to 9 previous errors [INFO] [stdout] warning: unused imports: `Read as IoRead`, `SeekFrom`, and `Seek` [INFO] [stdout] --> tests/file_ops.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{Read as IoRead, Seek, SeekFrom, Write as IoWrite}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `with_capacity` in crate `lio_uring` [INFO] [stdout] --> examples/linked_ops.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | let (mut cq, mut sq) = lio_uring::with_capacity(64)?; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `lio_uring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Openat` in this scope [INFO] [stdout] --> examples/linked_ops.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let open_op = Openat { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/operation.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct $name { [INFO] [stdout] | ---------------- similarly named struct `OpenAt` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 48 - let open_op = Openat { [INFO] [stdout] 48 + let open_op = OpenAt { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Unlinkat` in this scope [INFO] [stdout] --> examples/linked_ops.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Unlinkat { dfd: libc::AT_FDCWD, path: path.as_ptr().cast(), flags: 0 }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/operation.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct $name { [INFO] [stdout] | ---------------- similarly named struct `UnlinkAt` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 161 - Unlinkat { dfd: libc::AT_FDCWD, path: path.as_ptr().cast(), flags: 0 }; [INFO] [stdout] 161 + UnlinkAt { dfd: libc::AT_FDCWD, path: path.as_ptr().cast(), flags: 0 }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lio_uring::completion` [INFO] [stdout] --> examples/registered_buffers.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use lio_uring::completion::CompletionQueue; [INFO] [stdout] | ^^^^^^^^^^ could not find `completion` in `lio_uring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lio_uring::submission` [INFO] [stdout] --> examples/registered_buffers.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use lio_uring::submission::SubmissionQueue; [INFO] [stdout] | ^^^^^^^^^^ could not find `submission` in `lio_uring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `lio_uring::operation::Write` has no field named `ptr` [INFO] [stdout] --> examples/linked_ops.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | ptr: msg.as_ptr() as *mut _, [INFO] [stdout] | ^^^ `lio_uring::operation::Write` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `lio_uring::operation::Write` has no field named `ptr` [INFO] [stdout] --> examples/linked_ops.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | ptr: data1.as_ptr() as *mut _, [INFO] [stdout] | ^^^ `lio_uring::operation::Write` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/linked_ops.rs:74:53 [INFO] [stdout] | [INFO] [stdout] 74 | let fsync1 = Fsync { fd: file.as_raw_fd(), flags: 0 }; [INFO] [stdout] | ^ expected `FsyncFlags`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `lio_uring::operation::Write` has no field named `ptr` [INFO] [stdout] --> examples/linked_ops.rs:103:7 [INFO] [stdout] | [INFO] [stdout] 103 | ptr: data.as_ptr() as *mut _, [INFO] [stdout] | ^^^ `lio_uring::operation::Write` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Openat` in this scope [INFO] [stdout] --> tests/file_ops.rs:263:12 [INFO] [stdout] | [INFO] [stdout] 263 | let op = Openat::new(-100, path_cstr.as_ptr().cast()) // AT_FDCWD [INFO] [stdout] | ^^^^^^ use of undeclared type `Openat` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 263 - let op = Openat::new(-100, path_cstr.as_ptr().cast()) // AT_FDCWD [INFO] [stdout] 263 + let op = OpenAt::new(-100, path_cstr.as_ptr().cast()) // AT_FDCWD [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/network.rs:219:7 [INFO] [stdout] | [INFO] [stdout] 219 | let mut client = TcpStream::connect(format!("127.0.0.1:{}", port)).unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `lio_uring::operation::Read` has no field named `ptr` [INFO] [stdout] --> examples/linked_ops.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | ptr: read_buf.as_mut_ptr().cast(), [INFO] [stdout] | ^^^ `lio_uring::operation::Read` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Openat` in this scope [INFO] [stdout] --> tests/file_ops.rs:288:12 [INFO] [stdout] | [INFO] [stdout] 288 | let op = Openat::new(-100, path_cstr.as_ptr().cast()).flags(libc::O_RDONLY); [INFO] [stdout] | ^^^^^^ use of undeclared type `Openat` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 288 - let op = Openat::new(-100, path_cstr.as_ptr().cast()).flags(libc::O_RDONLY); [INFO] [stdout] 288 + let op = OpenAt::new(-100, path_cstr.as_ptr().cast()).flags(libc::O_RDONLY); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Openat` in this scope [INFO] [stdout] --> tests/file_ops.rs:306:12 [INFO] [stdout] | [INFO] [stdout] 306 | let op = Openat::new(-100, path.as_ptr().cast()).flags(libc::O_RDONLY); [INFO] [stdout] | ^^^^^^ use of undeclared type `Openat` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 306 - let op = Openat::new(-100, path.as_ptr().cast()).flags(libc::O_RDONLY); [INFO] [stdout] 306 + let op = OpenAt::new(-100, path.as_ptr().cast()).flags(libc::O_RDONLY); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/network.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 220 | let (mut server_stream, _) = listener.accept().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `lio_uring::operation::Write` has no field named `ptr` [INFO] [stdout] --> examples/linked_ops.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | ptr: read_buf.as_ptr() as *mut _, [INFO] [stdout] | ^^^ `lio_uring::operation::Write` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `with_capacity` in crate `lio_uring` [INFO] [stdout] --> examples/registered_buffers.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | let (mut cq, mut sq) = lio_uring::with_capacity(64)?; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `lio_uring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0422, E0425, E0432, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Openat` in this scope [INFO] [stdout] --> examples/registered_buffers.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let open_op = Openat { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/operation.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct $name { [INFO] [stdout] | ---------------- similarly named struct `OpenAt` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 48 - let open_op = Openat { [INFO] [stdout] 48 + let open_op = OpenAt { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Unlinkat` in this scope [INFO] [stdout] --> examples/registered_buffers.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | Unlinkat { dfd: libc::AT_FDCWD, path: path.as_ptr().cast(), flags: 0 }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/operation.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct $name { [INFO] [stdout] | ---------------- similarly named struct `UnlinkAt` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 280 - Unlinkat { dfd: libc::AT_FDCWD, path: path.as_ptr().cast(), flags: 0 }; [INFO] [stdout] 280 + UnlinkAt { dfd: libc::AT_FDCWD, path: path.as_ptr().cast(), flags: 0 }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/network.rs:489:8 [INFO] [stdout] | [INFO] [stdout] 489 | let (mut server_stream, _) = listener.accept().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `lio_uring::operation::Write` has no field named `ptr` [INFO] [stdout] --> examples/registered_buffers.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | ptr: msg.as_ptr() as *mut _, [INFO] [stdout] | ^^^ `lio_uring::operation::Write` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lio-uring` (example "linked_ops") due to 11 previous errors [INFO] [stdout] error[E0599]: no method named `datasync` found for struct `lio_uring::operation::Fsync` in the current scope [INFO] [stdout] --> tests/file_ops.rs:387:41 [INFO] [stdout] | [INFO] [stdout] 387 | let op = Fsync::new(file.as_raw_fd()).datasync(); [INFO] [stdout] | ^^^^^^^^ method not found in `lio_uring::operation::Fsync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `lio_uring::operation::WriteFixed` has no field named `nbytes` [INFO] [stdout] --> examples/registered_buffers.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | nbytes: buffer1.len() as u32, [INFO] [stdout] | ^^^^^^ `lio_uring::operation::WriteFixed` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `lio_uring::operation::WriteFixed` has no field named `nbytes` [INFO] [stdout] --> examples/registered_buffers.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | nbytes: buffer2.len() as u32, [INFO] [stdout] | ^^^^^^ `lio_uring::operation::WriteFixed` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `lio_uring::operation::WriteFixed` has no field named `nbytes` [INFO] [stdout] --> examples/registered_buffers.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | nbytes: buffer3.len() as u32, [INFO] [stdout] | ^^^^^^ `lio_uring::operation::WriteFixed` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Symlinkat` in this scope [INFO] [stdout] --> tests/file_ops.rs:489:12 [INFO] [stdout] | [INFO] [stdout] 489 | let op = Symlinkat::new( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Symlinkat` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 489 - let op = Symlinkat::new( [INFO] [stdout] 489 + let op = SymlinkAt::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Linkat` in this scope [INFO] [stdout] --> tests/file_ops.rs:519:12 [INFO] [stdout] | [INFO] [stdout] 519 | let op = Linkat::new( [INFO] [stdout] | ^^^^^^ use of undeclared type `Linkat` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 519 - let op = Linkat::new( [INFO] [stdout] 519 + let op = LinkAt::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/registered_buffers.rs:139:52 [INFO] [stdout] | [INFO] [stdout] 139 | let fsync = Fsync { fd: file.as_raw_fd(), flags: 0 }; [INFO] [stdout] | ^ expected `FsyncFlags`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Unlinkat` in this scope [INFO] [stdout] --> tests/file_ops.rs:550:12 [INFO] [stdout] | [INFO] [stdout] 550 | let op = Unlinkat::new(-100, path_cstr.as_ptr().cast()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Unlinkat` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 550 - let op = Unlinkat::new(-100, path_cstr.as_ptr().cast()); [INFO] [stdout] 550 + let op = UnlinkAt::new(-100, path_cstr.as_ptr().cast()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `lio_uring::operation::Read` has no field named `ptr` [INFO] [stdout] --> examples/registered_buffers.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | ptr: buffer1.as_mut_ptr().cast(), [INFO] [stdout] | ^^^ `lio_uring::operation::Read` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Unlinkat` in this scope [INFO] [stdout] --> tests/file_ops.rs:569:5 [INFO] [stdout] | [INFO] [stdout] 569 | Unlinkat::new(-100, path_cstr.as_ptr().cast()).flags(libc::AT_REMOVEDIR); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Unlinkat` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 569 - Unlinkat::new(-100, path_cstr.as_ptr().cast()).flags(libc::AT_REMOVEDIR); [INFO] [stdout] 569 + UnlinkAt::new(-100, path_cstr.as_ptr().cast()).flags(libc::AT_REMOVEDIR); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Mkdirat` in this scope [INFO] [stdout] --> tests/file_ops.rs:591:12 [INFO] [stdout] | [INFO] [stdout] 591 | let op = Mkdirat::new(-100, path_cstr.as_ptr().cast(), 0o755); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Mkdirat` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 591 - let op = Mkdirat::new(-100, path_cstr.as_ptr().cast(), 0o755); [INFO] [stdout] 591 + let op = MkDirAt::new(-100, path_cstr.as_ptr().cast(), 0o755); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `lio_uring::operation::Read` has no field named `ptr` [INFO] [stdout] --> examples/registered_buffers.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | ptr: buffer2.as_mut_ptr().cast(), [INFO] [stdout] | ^^^ `lio_uring::operation::Read` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `lio_uring::operation::Read` has no field named `ptr` [INFO] [stdout] --> examples/registered_buffers.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | ptr: buffer3.as_mut_ptr().cast(), [INFO] [stdout] | ^^^ `lio_uring::operation::Read` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Renameat` in this scope [INFO] [stdout] --> tests/file_ops.rs:620:12 [INFO] [stdout] | [INFO] [stdout] 620 | let op = Renameat::new( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Renameat` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 620 - let op = Renameat::new( [INFO] [stdout] 620 + let op = RenameAt::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `lio_uring::operation::Write` has no field named `ptr` [INFO] [stdout] --> examples/registered_buffers.rs:239:7 [INFO] [stdout] | [INFO] [stdout] 239 | ptr: temp_buf.as_ptr() as *mut _, [INFO] [stdout] | ^^^ `lio_uring::operation::Write` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `lio_uring::operation::WriteFixed` has no field named `nbytes` [INFO] [stdout] --> examples/registered_buffers.rs:260:7 [INFO] [stdout] | [INFO] [stdout] 260 | nbytes: temp_buf.len() as u32, [INFO] [stdout] | ^^^^^^ `lio_uring::operation::WriteFixed` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lio-uring` (test "file_ops") due to 11 previous errors; 1 warning emitted [INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u8` [INFO] [stdout] --> tests/file_ops.rs:714:27 [INFO] [stdout] | [INFO] [stdout] 714 | assert_eq!(contents[i * 128 + j], expected); [INFO] [stdout] | ^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[u8]>` is not implemented for `u8` [INFO] [stdout] help: the following other types implement trait `SliceIndex` [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/bstr/traits.rs:197:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `SliceIndex` [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/slice/index.rs:214:0 [INFO] [stdout] | [INFO] [stdout] = note: `usize` implements `SliceIndex<[T]>` [INFO] [stdout] = note: required for `Vec` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0422, E0425, E0432, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lio-uring` (example "registered_buffers") due to 15 previous errors [INFO] [stderr] error: could not compile `lio-uring` (lib test) due to 35 previous errors [INFO] running `Command { std: "docker" "inspect" "b4b6be387f5f8bcd5b3da2c1f6fd3a1432268c564c6d2160842a539b37e03820", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4b6be387f5f8bcd5b3da2c1f6fd3a1432268c564c6d2160842a539b37e03820", kill_on_drop: false }` [INFO] [stdout] b4b6be387f5f8bcd5b3da2c1f6fd3a1432268c564c6d2160842a539b37e03820