[INFO] fetching crate fluke-maybe-uring 0.1.1... [INFO] checking fluke-maybe-uring-0.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate fluke-maybe-uring 0.1.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate fluke-maybe-uring 0.1.1 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fluke-maybe-uring 0.1.1 [INFO] finished tweaking crates.io crate fluke-maybe-uring 0.1.1 [INFO] tweaked toml for crates.io crate fluke-maybe-uring 0.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 41 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding io-uring v0.5.13 (latest: v0.6.4) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding socket2 v0.4.10 (latest: v0.5.7) [INFO] [stderr] Adding tokio-uring v0.4.0 (latest: v0.5.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44a2c04b455336f25e2fb3527877f77e6d4aee41fa9b13438a63fc918fe997be [INFO] running `Command { std: "docker" "start" "-a" "44a2c04b455336f25e2fb3527877f77e6d4aee41fa9b13438a63fc918fe997be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44a2c04b455336f25e2fb3527877f77e6d4aee41fa9b13438a63fc918fe997be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44a2c04b455336f25e2fb3527877f77e6d4aee41fa9b13438a63fc918fe997be", kill_on_drop: false }` [INFO] [stdout] 44a2c04b455336f25e2fb3527877f77e6d4aee41fa9b13438a63fc918fe997be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5c513b495bd0f0bd5201c9391e49ee109a65de0febff922ceb3e1290688672a [INFO] running `Command { std: "docker" "start" "-a" "a5c513b495bd0f0bd5201c9391e49ee109a65de0febff922ceb3e1290688672a", kill_on_drop: false }` [INFO] [stderr] Compiling io-uring v0.5.13 [INFO] [stderr] Checking bytemuck v1.17.1 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking tokio-uring v0.4.0 [INFO] [stderr] Checking fluke-maybe-uring v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `bytes` [INFO] [stdout] --> src/buf/io_buf.rs:134:7 [INFO] [stdout] | [INFO] [stdout] 134 | #[cfg(feature = "bytes")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `net`, and `tokio-uring` [INFO] [stdout] = help: consider adding `bytes` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bytes` [INFO] [stdout] --> src/buf/io_buf.rs:149:7 [INFO] [stdout] | [INFO] [stdout] 149 | #[cfg(feature = "bytes")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `net`, and `tokio-uring` [INFO] [stdout] = help: consider adding `bytes` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bytes` [INFO] [stdout] --> src/buf/io_buf_mut.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | #[cfg(feature = "bytes")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `net`, and `tokio-uring` [INFO] [stdout] = help: consider adding `bytes` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `miri` [INFO] [stdout] --> src/io.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | #[cfg(all(test, not(feature = "miri")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `net`, and `tokio-uring` [INFO] [stdout] = help: consider adding `miri` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `miri` [INFO] [stdout] --> src/io/chan.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | #[cfg(all(test, not(feature = "miri")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `net`, and `tokio-uring` [INFO] [stdout] = help: consider adding `miri` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `non_uring::*` [INFO] [stdout] --> src/io.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use non_uring::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(async_fn_in_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bytes` [INFO] [stdout] --> src/buf/io_buf.rs:134:7 [INFO] [stdout] | [INFO] [stdout] 134 | #[cfg(feature = "bytes")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `net`, and `tokio-uring` [INFO] [stdout] = help: consider adding `bytes` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bytes` [INFO] [stdout] --> src/buf/io_buf.rs:149:7 [INFO] [stdout] | [INFO] [stdout] 149 | #[cfg(feature = "bytes")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `net`, and `tokio-uring` [INFO] [stdout] = help: consider adding `bytes` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bytes` [INFO] [stdout] --> src/buf/io_buf_mut.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | #[cfg(feature = "bytes")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `net`, and `tokio-uring` [INFO] [stdout] = help: consider adding `bytes` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `miri` [INFO] [stdout] --> src/io.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | #[cfg(all(test, not(feature = "miri")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `net`, and `tokio-uring` [INFO] [stdout] = help: consider adding `miri` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `miri` [INFO] [stdout] --> src/io/chan.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | #[cfg(all(test, not(feature = "miri")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `net`, and `tokio-uring` [INFO] [stdout] = help: consider adding `miri` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `non_uring::*` [INFO] [stdout] --> src/io.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use non_uring::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(async_fn_in_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/io.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | async fn read(&mut self, buf: B) -> BufResult; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 16 - async fn read(&mut self, buf: B) -> BufResult; [INFO] [stdout] 16 + fn read(&mut self, buf: B) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/io.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | async fn write(&mut self, buf: B) -> BufResult; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 22 - async fn write(&mut self, buf: B) -> BufResult; [INFO] [stdout] 22 + fn write(&mut self, buf: B) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/io.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | async fn write_all(&mut self, mut buf: B) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 25 ~ fn write_all(&mut self, mut buf: B) -> impl std::future::Future> + Send {async { [INFO] [stdout] 26 | let mut written = 0; [INFO] [stdout] ... [INFO] [stdout] 40 | Ok(()) [INFO] [stdout] 41 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/io.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | async fn writev(&mut self, list: Vec) -> BufResult> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 45 ~ fn writev(&mut self, list: Vec) -> impl std::future::Future>> + Send {async { [INFO] [stdout] 46 | let mut out_list = Vec::with_capacity(list.len()); [INFO] [stdout] ... [INFO] [stdout] 82 | (Ok(total), out_list) [INFO] [stdout] 83 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/io.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | async fn writev_all(&mut self, list: impl Into>) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 86 ~ fn writev_all(&mut self, list: impl Into>) -> impl std::future::Future> + Send {async { [INFO] [stdout] 87 | // FIXME: converting into a `Vec` and _then_ into an iterator is silly, [INFO] [stdout] ... [INFO] [stdout] 126| Ok(()) [INFO] [stdout] 127~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/chan.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 162 | let (tx, rx) = mpsc::channel(1); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | (rx, Self { tx }) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/io.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | async fn read(&mut self, buf: B) -> BufResult; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 16 - async fn read(&mut self, buf: B) -> BufResult; [INFO] [stdout] 16 + fn read(&mut self, buf: B) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/io.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | async fn write(&mut self, buf: B) -> BufResult; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 22 - async fn write(&mut self, buf: B) -> BufResult; [INFO] [stdout] 22 + fn write(&mut self, buf: B) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/io.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | async fn write_all(&mut self, mut buf: B) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 25 ~ fn write_all(&mut self, mut buf: B) -> impl std::future::Future> + Send {async { [INFO] [stdout] 26 | let mut written = 0; [INFO] [stdout] ... [INFO] [stdout] 40 | Ok(()) [INFO] [stdout] 41 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/io.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | async fn writev(&mut self, list: Vec) -> BufResult> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 45 ~ fn writev(&mut self, list: Vec) -> impl std::future::Future>> + Send {async { [INFO] [stdout] 46 | let mut out_list = Vec::with_capacity(list.len()); [INFO] [stdout] ... [INFO] [stdout] 82 | (Ok(total), out_list) [INFO] [stdout] 83 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/io.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | async fn writev_all(&mut self, list: impl Into>) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 86 ~ fn writev_all(&mut self, list: impl Into>) -> impl std::future::Future> + Send {async { [INFO] [stdout] 87 | // FIXME: converting into a `Vec` and _then_ into an iterator is silly, [INFO] [stdout] ... [INFO] [stdout] 126| Ok(()) [INFO] [stdout] 127~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/chan.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 162 | let (tx, rx) = mpsc::channel(1); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | (rx, Self { tx }) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fluke-maybe-uring` (lib) due to 2 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fluke-maybe-uring` (lib test) due to 2 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a5c513b495bd0f0bd5201c9391e49ee109a65de0febff922ceb3e1290688672a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5c513b495bd0f0bd5201c9391e49ee109a65de0febff922ceb3e1290688672a", kill_on_drop: false }` [INFO] [stdout] a5c513b495bd0f0bd5201c9391e49ee109a65de0febff922ceb3e1290688672a