[INFO] fetching crate stream-future 0.4.1... [INFO] checking stream-future-0.4.1 against master#fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6 for pr-120361 [INFO] extracting crate stream-future 0.4.1 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate stream-future 0.4.1 on toolchain fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate stream-future 0.4.1 [INFO] finished tweaking crates.io crate stream-future 0.4.1 [INFO] tweaked toml for crates.io crate stream-future 0.4.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stream-future-impl v0.4.0 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b6ac9fd5ef9a0c1a3a3c7ebf5004c05d36aa5dbd7d08b9eae611334b474af38 [INFO] running `Command { std: "docker" "start" "-a" "0b6ac9fd5ef9a0c1a3a3c7ebf5004c05d36aa5dbd7d08b9eae611334b474af38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b6ac9fd5ef9a0c1a3a3c7ebf5004c05d36aa5dbd7d08b9eae611334b474af38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b6ac9fd5ef9a0c1a3a3c7ebf5004c05d36aa5dbd7d08b9eae611334b474af38", kill_on_drop: false }` [INFO] [stdout] 0b6ac9fd5ef9a0c1a3a3c7ebf5004c05d36aa5dbd7d08b9eae611334b474af38 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed5463b4bfcb27423f57e8455ff131ff151ffb6054a5e238e9858049afbeb0af [INFO] running `Command { std: "docker" "start" "-a" "ed5463b4bfcb27423f57e8455ff131ff151ffb6054a5e238e9858049afbeb0af", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling stream-future-impl v0.4.0 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.4 [INFO] [stderr] Checking stream-future v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.60s [INFO] running `Command { std: "docker" "inspect" "ed5463b4bfcb27423f57e8455ff131ff151ffb6054a5e238e9858049afbeb0af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed5463b4bfcb27423f57e8455ff131ff151ffb6054a5e238e9858049afbeb0af", kill_on_drop: false }` [INFO] [stdout] ed5463b4bfcb27423f57e8455ff131ff151ffb6054a5e238e9858049afbeb0af [INFO] checking stream-future-0.4.1 against try#e35e259478581c01033b8da67214c0d376859a32 for pr-120361 [INFO] extracting crate stream-future 0.4.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate stream-future 0.4.1 on toolchain e35e259478581c01033b8da67214c0d376859a32 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e35e259478581c01033b8da67214c0d376859a32" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate stream-future 0.4.1 [INFO] finished tweaking crates.io crate stream-future 0.4.1 [INFO] tweaked toml for crates.io crate stream-future 0.4.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e35e259478581c01033b8da67214c0d376859a32" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e35e259478581c01033b8da67214c0d376859a32" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+e35e259478581c01033b8da67214c0d376859a32" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00477dd35963f288e852fd04604bd722dcf5480af75654aa517723319881ef23 [INFO] running `Command { std: "docker" "start" "-a" "00477dd35963f288e852fd04604bd722dcf5480af75654aa517723319881ef23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00477dd35963f288e852fd04604bd722dcf5480af75654aa517723319881ef23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00477dd35963f288e852fd04604bd722dcf5480af75654aa517723319881ef23", kill_on_drop: false }` [INFO] [stdout] 00477dd35963f288e852fd04604bd722dcf5480af75654aa517723319881ef23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+e35e259478581c01033b8da67214c0d376859a32" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ecceda9b4949808c4b00aaab5755683f00df3e58f8399692425f41c1b205d7f [INFO] running `Command { std: "docker" "start" "-a" "7ecceda9b4949808c4b00aaab5755683f00df3e58f8399692425f41c1b205d7f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling stream-future-impl v0.4.0 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.4 [INFO] [stderr] Checking stream-future v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> benches/stream.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | async_bench(b, async move || { [INFO] [stdout] | ^^^^^^^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `()` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] note: required by a bound in `async_bench` [INFO] [stdout] --> benches/stream.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | fn async_bench(b: &mut Bencher, mut f: impl FnMut() -> F) { [INFO] [stdout] | ^^^^^^ required by this bound in `async_bench` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnMut()` closure, found `{coroutine-closure@benches/stream.rs:32:20: 32:33}` [INFO] [stdout] --> benches/stream.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | async_bench(b, async move || { [INFO] [stdout] | _____-----------____^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 33 | | let s = foo(); [INFO] [stdout] 34 | | tokio::pin!(s); [INFO] [stdout] 35 | | while let Some(v) = s.next().await { [INFO] [stdout] 36 | | black_box(v); [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | }) [INFO] [stdout] | |_____^ expected an `FnMut()` closure, found `{coroutine-closure@benches/stream.rs:32:20: 32:33}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnMut<()>` is not implemented for `{coroutine-closure@benches/stream.rs:32:20: 32:33}` [INFO] [stdout] = note: wrap the `{coroutine-closure@benches/stream.rs:32:20: 32:33}` in a closure with no arguments: `|| { /* code */ }` [INFO] [stdout] note: required by a bound in `async_bench` [INFO] [stdout] --> benches/stream.rs:13:56 [INFO] [stdout] | [INFO] [stdout] 13 | fn async_bench(b: &mut Bencher, mut f: impl FnMut() -> F) { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `async_bench` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> benches/stream.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | async_bench(b, async move || { [INFO] [stdout] | ^^^^^^^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `()` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] note: required by a bound in `async_bench` [INFO] [stdout] --> benches/stream.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | fn async_bench(b: &mut Bencher, mut f: impl FnMut() -> F) { [INFO] [stdout] | ^^^^^^ required by this bound in `async_bench` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnMut()` closure, found `{coroutine-closure@benches/stream.rs:51:20: 51:33}` [INFO] [stdout] --> benches/stream.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | async_bench(b, async move || { [INFO] [stdout] | _____-----------____^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 52 | | let s = foo(); [INFO] [stdout] 53 | | tokio::pin!(s); [INFO] [stdout] 54 | | while let Some(v) = s.next().await { [INFO] [stdout] 55 | | black_box(v); [INFO] [stdout] 56 | | } [INFO] [stdout] 57 | | }) [INFO] [stdout] | |_____^ expected an `FnMut()` closure, found `{coroutine-closure@benches/stream.rs:51:20: 51:33}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnMut<()>` is not implemented for `{coroutine-closure@benches/stream.rs:51:20: 51:33}` [INFO] [stdout] = note: wrap the `{coroutine-closure@benches/stream.rs:51:20: 51:33}` in a closure with no arguments: `|| { /* code */ }` [INFO] [stdout] note: required by a bound in `async_bench` [INFO] [stdout] --> benches/stream.rs:13:56 [INFO] [stdout] | [INFO] [stdout] 13 | fn async_bench(b: &mut Bencher, mut f: impl FnMut() -> F) { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `async_bench` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> benches/stream.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | async_bench(b, async move || { [INFO] [stdout] | ^^^^^^^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `()` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] note: required by a bound in `async_bench` [INFO] [stdout] --> benches/stream.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | fn async_bench(b: &mut Bencher, mut f: impl FnMut() -> F) { [INFO] [stdout] | ^^^^^^ required by this bound in `async_bench` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnMut()` closure, found `{coroutine-closure@benches/stream.rs:72:20: 72:33}` [INFO] [stdout] --> benches/stream.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | async_bench(b, async move || { [INFO] [stdout] | _____-----------____^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 73 | | let s = UnboundedReceiverStream::new(foo()); [INFO] [stdout] 74 | | tokio::pin!(s); [INFO] [stdout] 75 | | while let Some(v) = s.next().await { [INFO] [stdout] 76 | | black_box(v); [INFO] [stdout] 77 | | } [INFO] [stdout] 78 | | }) [INFO] [stdout] | |_____^ expected an `FnMut()` closure, found `{coroutine-closure@benches/stream.rs:72:20: 72:33}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnMut<()>` is not implemented for `{coroutine-closure@benches/stream.rs:72:20: 72:33}` [INFO] [stdout] = note: wrap the `{coroutine-closure@benches/stream.rs:72:20: 72:33}` in a closure with no arguments: `|| { /* code */ }` [INFO] [stdout] note: required by a bound in `async_bench` [INFO] [stdout] --> benches/stream.rs:13:56 [INFO] [stdout] | [INFO] [stdout] 13 | fn async_bench(b: &mut Bencher, mut f: impl FnMut() -> F) { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `async_bench` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> benches/stream.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | async_bench(b, async move || { [INFO] [stdout] | ^^^^^^^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `()` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] note: required by a bound in `async_bench` [INFO] [stdout] --> benches/stream.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | fn async_bench(b: &mut Bencher, mut f: impl FnMut() -> F) { [INFO] [stdout] | ^^^^^^ required by this bound in `async_bench` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnMut()` closure, found `{coroutine-closure@benches/stream.rs:83:20: 83:33}` [INFO] [stdout] --> benches/stream.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | async_bench(b, async move || { [INFO] [stdout] | _____-----------____^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 84 | | let mut s = tokio_stream::iter(0..ITER_MAX); [INFO] [stdout] 85 | | while let Some(v) = s.next().await { [INFO] [stdout] 86 | | black_box(v); [INFO] [stdout] 87 | | } [INFO] [stdout] 88 | | }) [INFO] [stdout] | |_____^ expected an `FnMut()` closure, found `{coroutine-closure@benches/stream.rs:83:20: 83:33}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnMut<()>` is not implemented for `{coroutine-closure@benches/stream.rs:83:20: 83:33}` [INFO] [stdout] = note: wrap the `{coroutine-closure@benches/stream.rs:83:20: 83:33}` in a closure with no arguments: `|| { /* code */ }` [INFO] [stdout] note: required by a bound in `async_bench` [INFO] [stdout] --> benches/stream.rs:13:56 [INFO] [stdout] | [INFO] [stdout] 13 | fn async_bench(b: &mut Bencher, mut f: impl FnMut() -> F) { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `async_bench` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> benches/stream.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | async_bench(b, async move || { [INFO] [stdout] | ^^^^^^^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `()` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] note: required by a bound in `async_bench` [INFO] [stdout] --> benches/stream.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | fn async_bench(b: &mut Bencher, mut f: impl FnMut() -> F) { [INFO] [stdout] | ^^^^^^ required by this bound in `async_bench` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnMut()` closure, found `{coroutine-closure@benches/stream.rs:93:20: 93:33}` [INFO] [stdout] --> benches/stream.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | async_bench(b, async move || { [INFO] [stdout] | _____-----------____^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 94 | | for i in 0..ITER_MAX { [INFO] [stdout] 95 | | black_box(i); [INFO] [stdout] 96 | | } [INFO] [stdout] 97 | | }) [INFO] [stdout] | |_____^ expected an `FnMut()` closure, found `{coroutine-closure@benches/stream.rs:93:20: 93:33}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnMut<()>` is not implemented for `{coroutine-closure@benches/stream.rs:93:20: 93:33}` [INFO] [stdout] = note: wrap the `{coroutine-closure@benches/stream.rs:93:20: 93:33}` in a closure with no arguments: `|| { /* code */ }` [INFO] [stdout] note: required by a bound in `async_bench` [INFO] [stdout] --> benches/stream.rs:13:56 [INFO] [stdout] | [INFO] [stdout] 13 | fn async_bench(b: &mut Bencher, mut f: impl FnMut() -> F) { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `async_bench` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> benches/stream.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | async_bench(b, async move || { [INFO] [stdout] | ^^^^^^^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `()` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] note: required by a bound in `async_bench` [INFO] [stdout] --> benches/stream.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | fn async_bench(b: &mut Bencher, mut f: impl FnMut() -> F) { [INFO] [stdout] | ^^^^^^ required by this bound in `async_bench` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnMut()` closure, found `{coroutine-closure@benches/stream.rs:102:20: 102:33}` [INFO] [stdout] --> benches/stream.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | async_bench(b, async move || { [INFO] [stdout] | _____-----------____^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 103 | | let s = std::iter::from_coroutine(|| { [INFO] [stdout] 104 | | for i in 0..ITER_MAX { [INFO] [stdout] 105 | | yield i; [INFO] [stdout] ... | [INFO] [stdout] 110 | | } [INFO] [stdout] 111 | | }) [INFO] [stdout] | |_____^ expected an `FnMut()` closure, found `{coroutine-closure@benches/stream.rs:102:20: 102:33}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnMut<()>` is not implemented for `{coroutine-closure@benches/stream.rs:102:20: 102:33}` [INFO] [stdout] = note: wrap the `{coroutine-closure@benches/stream.rs:102:20: 102:33}` in a closure with no arguments: `|| { /* code */ }` [INFO] [stdout] note: required by a bound in `async_bench` [INFO] [stdout] --> benches/stream.rs:13:56 [INFO] [stdout] | [INFO] [stdout] 13 | fn async_bench(b: &mut Bencher, mut f: impl FnMut() -> F) { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `async_bench` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stream-future` (bench "stream") due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7ecceda9b4949808c4b00aaab5755683f00df3e58f8399692425f41c1b205d7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ecceda9b4949808c4b00aaab5755683f00df3e58f8399692425f41c1b205d7f", kill_on_drop: false }` [INFO] [stdout] 7ecceda9b4949808c4b00aaab5755683f00df3e58f8399692425f41c1b205d7f