[INFO] fetching crate futures-channel 0.3.31... [INFO] testing futures-channel-0.3.31 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate futures-channel 0.3.31 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate futures-channel 0.3.31 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate futures-channel 0.3.31 [INFO] tweaked toml for crates.io crate futures-channel 0.3.31 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate futures-channel 0.3.31 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92a88b3db3b17524e66a01f7c173399e5eba7fd0ce594b43b335fdd9b7bcc9a0 [INFO] running `Command { std: "docker" "start" "-a" "92a88b3db3b17524e66a01f7c173399e5eba7fd0ce594b43b335fdd9b7bcc9a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92a88b3db3b17524e66a01f7c173399e5eba7fd0ce594b43b335fdd9b7bcc9a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92a88b3db3b17524e66a01f7c173399e5eba7fd0ce594b43b335fdd9b7bcc9a0", kill_on_drop: false }` [INFO] [stdout] 92a88b3db3b17524e66a01f7c173399e5eba7fd0ce594b43b335fdd9b7bcc9a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 358a9cb362179fd141de541b4100bd92c1fcddd3cc571ca78a2f4f474bce44a0 [INFO] running `Command { std: "docker" "start" "-a" "358a9cb362179fd141de541b4100bd92c1fcddd3cc571ca78a2f4f474bce44a0", kill_on_drop: false }` [INFO] [stderr] Compiling futures-channel v0.3.31 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "358a9cb362179fd141de541b4100bd92c1fcddd3cc571ca78a2f4f474bce44a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "358a9cb362179fd141de541b4100bd92c1fcddd3cc571ca78a2f4f474bce44a0", kill_on_drop: false }` [INFO] [stdout] 358a9cb362179fd141de541b4100bd92c1fcddd3cc571ca78a2f4f474bce44a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0b02c32217a228b79fe1b7fdb32fc289f30bad46db6cb40af072ae5c8e55f81 [INFO] running `Command { std: "docker" "start" "-a" "d0b02c32217a228b79fe1b7fdb32fc289f30bad46db6cb40af072ae5c8e55f81", kill_on_drop: false }` [INFO] [stderr] Compiling futures-channel v0.3.31 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/channel.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::channel::mpsc; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/channel.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/channel.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::future::poll_fn; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/channel.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::sink::SinkExt; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/channel.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::StreamExt; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/channel.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | sender.send(n - x).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/mpsc-close.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::channel::mpsc; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/channel.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | let list: Vec<_> = block_on(rx.collect()); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/mpsc-close.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/mpsc-close.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::future::Future; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/mpsc-close.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::sink::SinkExt; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/mpsc-close.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::StreamExt; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/mpsc-close.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::task::{Context, Poll}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/channel.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | let f = poll_fn(|cx| rx.poll_next_unpin(cx)); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/channel.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | block_on(tx.send(1)).unwrap(); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/channel.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | block_on(tx.send(A)).unwrap(); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/mpsc-size_hint.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::channel::mpsc; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/mpsc-size_hint.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::stream::Stream; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/mpsc.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::channel::{mpsc, oneshot}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/mpsc.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::executor::{block_on, block_on_stream}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/mpsc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::future::{poll_fn, FutureExt}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/mpsc.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::sink::{Sink, SinkExt}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/mpsc.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{Stream, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/mpsc.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::task::{Context, Poll}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures_test` [INFO] [stdout] --> tests/mpsc.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use futures_test::task::{new_count_waker, noop_context}; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `futures_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - use futures_test::task::{new_count_waker, noop_context}; [INFO] [stdout] 8 + use futures_core::task::{new_count_waker, noop_context}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `futures-channel` (test "channel") due to 10 previous errors [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> tests/mpsc.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::pin_mut; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mpsc-size_hint.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!((0, None), rx.size_hint()); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `futures-channel` (test "mpsc-size_hint") due to 6 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mpsc-size_hint.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | tx.unbounded_send(1).unwrap(); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `futures-channel` (test "mpsc") due to 8 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mpsc-size_hint.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!((0, None), rx.size_hint()); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `futures-channel` (test "mpsc-close") due to 7 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mpsc-size_hint.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | tx.try_send(1).unwrap(); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `futures-channel` (test "oneshot") due to 17 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/oneshot.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::channel::oneshot::{self, Sender}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/oneshot.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/oneshot.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::future::{poll_fn, FutureExt}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/oneshot.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::task::{Context, Poll}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures_test` [INFO] [stdout] --> tests/oneshot.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures_test::task::panic_waker_ref; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `futures_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - use futures_test::task::panic_waker_ref; [INFO] [stdout] 5 + use futures_core::task::panic_waker_ref; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/mpsc-close.rs:19:44 [INFO] [stdout] | [INFO] [stdout] 19 | block_on(receiver.take(3).for_each(|_| futures::future::ready(()))); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use std::future; [INFO] [stdout] | [INFO] [stdout] help: if you import `future`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 19 - block_on(receiver.take(3).for_each(|_| futures::future::ready(()))); [INFO] [stdout] 19 + block_on(receiver.take(3).for_each(|_| future::ready(()))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/oneshot.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | assert!(tx.poll_canceled(cx).is_pending()); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/oneshot.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | block_on(tx.cancellation()); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/oneshot.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | block_on(tx.cancellation()); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/oneshot.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | tx2.send(()).unwrap(); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/oneshot.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | assert_eq!(tx.poll_canceled(&mut cx), Poll::Pending); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/oneshot.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | rx.close(); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/oneshot.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | assert!(tx.poll_canceled(cx).is_ready()); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/oneshot.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | rx.close(); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/oneshot.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | block_on(tx.cancellation()); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/oneshot.rs:99:14 [INFO] [stdout] | [INFO] [stdout] 99 | assert!(!tx.is_canceled()); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/oneshot.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | let _ = otx.send(42); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/oneshot.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | orx.close(); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d0b02c32217a228b79fe1b7fdb32fc289f30bad46db6cb40af072ae5c8e55f81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0b02c32217a228b79fe1b7fdb32fc289f30bad46db6cb40af072ae5c8e55f81", kill_on_drop: false }` [INFO] [stdout] d0b02c32217a228b79fe1b7fdb32fc289f30bad46db6cb40af072ae5c8e55f81