[INFO] fetching crate fluke-maybe-uring 0.1.1... [INFO] checking fluke-maybe-uring-0.1.1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate fluke-maybe-uring 0.1.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate fluke-maybe-uring 0.1.1 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded io-uring v0.5.13 [INFO] [stderr] Downloaded tokio-uring v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b0f0f5040ff30b9135feee20a6b22ad01bdafb9e2fa25958a6395abad2fa81e [INFO] running `Command { std: "docker" "start" "-a" "4b0f0f5040ff30b9135feee20a6b22ad01bdafb9e2fa25958a6395abad2fa81e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b0f0f5040ff30b9135feee20a6b22ad01bdafb9e2fa25958a6395abad2fa81e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b0f0f5040ff30b9135feee20a6b22ad01bdafb9e2fa25958a6395abad2fa81e", kill_on_drop: false }` [INFO] [stdout] 4b0f0f5040ff30b9135feee20a6b22ad01bdafb9e2fa25958a6395abad2fa81e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cab2f79a485547a589d60e630e43a8bf280e9df737675582294c28e0eda34e7 [INFO] running `Command { std: "docker" "start" "-a" "8cab2f79a485547a589d60e630e43a8bf280e9df737675582294c28e0eda34e7", 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] warning: 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] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.30s [INFO] running `Command { std: "docker" "inspect" "8cab2f79a485547a589d60e630e43a8bf280e9df737675582294c28e0eda34e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cab2f79a485547a589d60e630e43a8bf280e9df737675582294c28e0eda34e7", kill_on_drop: false }` [INFO] [stdout] 8cab2f79a485547a589d60e630e43a8bf280e9df737675582294c28e0eda34e7