[INFO] cloning repository https://github.com/kishiguro/async-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kishiguro/async-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkishiguro%2Fasync-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkishiguro%2Fasync-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a97ada01738b53fdc8581eb4f44385a610faf07e [INFO] checking kishiguro/async-test against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkishiguro%2Fasync-test" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kishiguro/async-test on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kishiguro/async-test [INFO] finished tweaking git repo https://github.com/kishiguro/async-test [INFO] tweaked toml for git repo https://github.com/kishiguro/async-test written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kishiguro/async-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 720ba40c7066356ae5202c4215dfac59917e38a8c4b956636389709084ac99f1 [INFO] running `Command { std: "docker" "start" "-a" "720ba40c7066356ae5202c4215dfac59917e38a8c4b956636389709084ac99f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "720ba40c7066356ae5202c4215dfac59917e38a8c4b956636389709084ac99f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "720ba40c7066356ae5202c4215dfac59917e38a8c4b956636389709084ac99f1", kill_on_drop: false }` [INFO] [stdout] 720ba40c7066356ae5202c4215dfac59917e38a8c4b956636389709084ac99f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c09929b1115df20af6135dcb8c45bcb0b6d732e7f8452a926a37caf6e05b2e50 [INFO] running `Command { std: "docker" "start" "-a" "c09929b1115df20af6135dcb8c45bcb0b6d732e7f8452a926a37caf6e05b2e50", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking smallvec v1.5.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling tokio v1.0.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking mio v0.7.6 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking pin-project-lite v0.2.0 [INFO] [stderr] Checking bytes v1.0.0 [INFO] [stderr] Checking addr2line v0.14.0 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling tokio-macros v1.0.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking async-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `tokio::stream::Stream`, `tokio::stream::StreamExt` [INFO] [stdout] --> examples/08-connect.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::stream::{Stream, StreamExt}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ no `StreamExt` in `stream` [INFO] [stdout] | | [INFO] [stdout] | no `Stream` in `stream` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this trait instead: [INFO] [stdout] futures::Stream [INFO] [stdout] = help: consider importing this trait instead: [INFO] [stdout] futures::StreamExt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::time::DelayQueue` [INFO] [stdout] --> examples/08-connect.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::time::{DelayQueue, Duration}; [INFO] [stdout] | ^^^^^^^^^^ no `DelayQueue` in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `delay_queue` in `time` [INFO] [stdout] --> examples/08-connect.rs:21:79 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn insert(&mut self, value: Event, timeout: Duration) -> tokio::time::delay_queue::Key { [INFO] [stdout] | ^^^^^^^^^^^ could not find `delay_queue` in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tokio::stream::Stream`, `tokio::stream::StreamExt` [INFO] [stdout] --> examples/11-select-connect.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::stream::{Stream, StreamExt}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ no `StreamExt` in `stream` [INFO] [stdout] | | [INFO] [stdout] | no `Stream` in `stream` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this trait instead: [INFO] [stdout] futures::Stream [INFO] [stdout] = help: consider importing this trait instead: [INFO] [stdout] futures::StreamExt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::time::DelayQueue` [INFO] [stdout] --> examples/11-select-connect.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::time::{DelayQueue, Duration}; [INFO] [stdout] | ^^^^^^^^^^ no `DelayQueue` in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `delay_queue` in `time` [INFO] [stdout] --> examples/11-select-connect.rs:19:79 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn insert(&mut self, value: Event, timeout: Duration) -> tokio::time::delay_queue::Key { [INFO] [stdout] | ^^^^^^^^^^^ could not find `delay_queue` in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mio` [INFO] [stdout] --> examples/08-connect.rs:39:36 [INFO] [stdout] | [INFO] [stdout] 39 | pub io: tokio::io::PollEvented, [INFO] [stdout] | ^^^ use of undeclared crate or module `mio` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::net; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::net; [INFO] [stdout] | [INFO] [stdout] help: if you import `net`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 39 - pub io: tokio::io::PollEvented, [INFO] [stdout] 39 + pub io: tokio::io::PollEvented, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mio` [INFO] [stdout] --> examples/08-connect.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | let sys = mio::net::TcpStream::connect(&addr)?; [INFO] [stdout] | ^^^ use of undeclared crate or module `mio` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] help: if you import `TcpStream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 44 - let sys = mio::net::TcpStream::connect(&addr)?; [INFO] [stdout] 44 + let sys = TcpStream::connect(&addr)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mio` [INFO] [stdout] --> examples/08-connect.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | fn new(connected: mio::net::TcpStream) -> std::io::Result { [INFO] [stdout] | ^^^ use of undeclared crate or module `mio` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::net; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::net; [INFO] [stdout] | [INFO] [stdout] help: if you import `net`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 49 - fn new(connected: mio::net::TcpStream) -> std::io::Result { [INFO] [stdout] 49 + fn new(connected: net::TcpStream) -> std::io::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `PollEvented` is private [INFO] [stdout] --> examples/08-connect.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | pub io: tokio::io::PollEvented, [INFO] [stdout] | ^^^^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `PollEvented` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.0.1/src/io/mod.rs:217:20 [INFO] [stdout] | [INFO] [stdout] 217 | pub(crate) use poll_evented::PollEvented; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `PollEvented` is private [INFO] [stdout] --> examples/08-connect.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | let io = tokio::io::PollEvented::new(connected)?; [INFO] [stdout] | ^^^^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `PollEvented` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.0.1/src/io/mod.rs:217:20 [INFO] [stdout] | [INFO] [stdout] 217 | pub(crate) use poll_evented::PollEvented; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/08-connect.rs:108:55 [INFO] [stdout] | [INFO] [stdout] 38 | struct TcpConnectStream { [INFO] [stdout] | ----------------------- doesn't satisfy `TcpConnectStream: Sized` [INFO] [stdout] ... [INFO] [stdout] 108 | let connect = TcpConnectStream::connect(addr).unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `TcpConnectStream: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::stream::StreamExt` [INFO] [stdout] --> examples/10-select-stream.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ no `StreamExt` in `stream` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this trait instead: [INFO] [stdout] futures::StreamExt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `iter` in module `stream` [INFO] [stdout] --> examples/10-select-stream.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | let mut stream1 = stream::iter(vec![1, 2, 3]); [INFO] [stdout] | ^^^^ not found in `stream` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use futures::stream::iter; [INFO] [stdout] | [INFO] [stdout] help: if you import `iter`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - let mut stream1 = stream::iter(vec![1, 2, 3]); [INFO] [stdout] 5 + let mut stream1 = iter(vec![1, 2, 3]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `iter` in module `stream` [INFO] [stdout] --> examples/10-select-stream.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | let mut stream2 = stream::iter(vec![4, 5, 6]); [INFO] [stdout] | ^^^^ not found in `stream` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use futures::stream::iter; [INFO] [stdout] | [INFO] [stdout] help: if you import `iter`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 6 - let mut stream2 = stream::iter(vec![4, 5, 6]); [INFO] [stdout] 6 + let mut stream2 = iter(vec![4, 5, 6]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `merge` found for struct `TimerStream` in the current scope [INFO] [stdout] --> examples/08-connect.rs:111:32 [INFO] [stdout] | [INFO] [stdout] 15 | struct TimerStream(DelayQueue); [INFO] [stdout] | ------------------ method `merge` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 111 | let mut stream = timer.merge(connect); [INFO] [stdout] | ^^^^^ method not found in `TimerStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tokio::stream::Stream`, `tokio::stream::StreamExt` [INFO] [stdout] --> examples/07-timer-stream.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::stream::{Stream, StreamExt}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ no `StreamExt` in `stream` [INFO] [stdout] | | [INFO] [stdout] | no `Stream` in `stream` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this trait instead: [INFO] [stdout] futures::Stream [INFO] [stdout] = help: consider importing this trait instead: [INFO] [stdout] futures::StreamExt [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::time::DelayQueue` [INFO] [stdout] --> examples/07-timer-stream.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio::time::DelayQueue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `DelayQueue` in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `next` found for struct `TimerStream` in the current scope [INFO] [stdout] --> examples/11-select-connect.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 13 | struct TimerStream(DelayQueue); [INFO] [stdout] | ------------------ method `next` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 43 | Some(Ok(TimerExpired)) = timer.next() => { [INFO] [stdout] | ^^^^ method not found in `TimerStream` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `next`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `futures::StreamExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio_util` [INFO] [stdout] --> examples/07-timer-stream.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio_util::codec::{Decoder, Encoder, Framed}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tokio_util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> examples/07-timer-stream.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [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] [stdout] error[E0599]: no method named `next` found for struct `UnboundedReceiver` in the current scope [INFO] [stdout] --> examples/11-select-connect.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | Some(_) = rx.next() => { [INFO] [stdout] | ^^^^ method not found in `UnboundedReceiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/11-select-connect.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / tokio::select! { [INFO] [stdout] 43 | | Some(Ok(TimerExpired)) = timer.next() => { [INFO] [stdout] 44 | | println!("Start timer expired"); [INFO] [stdout] 45 | | }, [INFO] [stdout] ... | [INFO] [stdout] 48 | | }, [INFO] [stdout] 49 | | }; [INFO] [stdout] | |_________^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::select` which comes from the expansion of the macro `tokio::select` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/10-select-stream.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | let next = tokio::select! { [INFO] [stdout] | ________________^ [INFO] [stdout] 9 | | v = stream1.next() => { [INFO] [stdout] 10 | | println!("stream1"); [INFO] [stdout] 11 | | v.unwrap() [INFO] [stdout] ... | [INFO] [stdout] 16 | | }, [INFO] [stdout] 17 | | }; [INFO] [stdout] | |_____^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::select` which comes from the expansion of the macro `tokio::select` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `async-test` (example "07-timer-stream") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `async-test` (example "08-connect") due to 11 previous errors [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Pin<_>` in the current scope [INFO] [stdout] --> examples/11-select-connect.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / tokio::select! { [INFO] [stdout] 43 | | Some(Ok(TimerExpired)) = timer.next() => { [INFO] [stdout] 44 | | println!("Start timer expired"); [INFO] [stdout] 45 | | }, [INFO] [stdout] ... | [INFO] [stdout] 48 | | }, [INFO] [stdout] 49 | | }; [INFO] [stdout] | |_________^ method not found in `Pin<_>` [INFO] [stdout] | [INFO] [stdout] note: method is available for `Pin<&mut _>` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/future/future.rs:103:5 [INFO] [stdout] note: method is available for `Pin<&_>` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/future/future.rs:103:5 [INFO] [stdout] = note: this error originates in the macro `$crate::select` which comes from the expansion of the macro `tokio::select` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Pin<_>` in the current scope [INFO] [stdout] --> examples/10-select-stream.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | let next = tokio::select! { [INFO] [stdout] | ________________^ [INFO] [stdout] 9 | | v = stream1.next() => { [INFO] [stdout] 10 | | println!("stream1"); [INFO] [stdout] 11 | | v.unwrap() [INFO] [stdout] ... | [INFO] [stdout] 16 | | }, [INFO] [stdout] 17 | | }; [INFO] [stdout] | |_____^ method not found in `Pin<_>` [INFO] [stdout] | [INFO] [stdout] note: method is available for `Pin<&mut _>` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/future/future.rs:103:5 [INFO] [stdout] note: method is available for `Pin<&_>` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/future/future.rs:103:5 [INFO] [stdout] = note: this error originates in the macro `$crate::select` which comes from the expansion of the macro `tokio::select` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `next` found for struct `TimerStream` in the current scope [INFO] [stdout] --> examples/11-select-connect.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 13 | struct TimerStream(DelayQueue); [INFO] [stdout] | ------------------ method `next` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 52 | _ = timer.next() => { [INFO] [stdout] | ^^^^ method not found in `TimerStream` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `next`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `futures::StreamExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `next` found for struct `UnboundedReceiver` in the current scope [INFO] [stdout] --> examples/11-select-connect.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | _ = rx.next() => { [INFO] [stdout] | ^^^^ method not found in `UnboundedReceiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/11-select-connect.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | / tokio::select! { [INFO] [stdout] 52 | | _ = timer.next() => { [INFO] [stdout] 53 | | println!("XXX timer should not happen"); [INFO] [stdout] 54 | | continue; [INFO] [stdout] ... | [INFO] [stdout] 70 | | }, [INFO] [stdout] 71 | | } [INFO] [stdout] | |_________^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::select` which comes from the expansion of the macro `tokio::select` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Pin<_>` in the current scope [INFO] [stdout] --> examples/11-select-connect.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | / tokio::select! { [INFO] [stdout] 52 | | _ = timer.next() => { [INFO] [stdout] 53 | | println!("XXX timer should not happen"); [INFO] [stdout] 54 | | continue; [INFO] [stdout] ... | [INFO] [stdout] 70 | | }, [INFO] [stdout] 71 | | } [INFO] [stdout] | |_________^ method not found in `Pin<_>` [INFO] [stdout] | [INFO] [stdout] note: method is available for `Pin<&mut _>` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/future/future.rs:103:5 [INFO] [stdout] note: method is available for `Pin<&_>` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/future/future.rs:103:5 [INFO] [stdout] = note: this error originates in the macro `$crate::select` which comes from the expansion of the macro `tokio::select` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `async-test` (example "10-select-stream") due to 6 previous errors [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-test` (example "11-select-connect") due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "c09929b1115df20af6135dcb8c45bcb0b6d732e7f8452a926a37caf6e05b2e50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c09929b1115df20af6135dcb8c45bcb0b6d732e7f8452a926a37caf6e05b2e50", kill_on_drop: false }` [INFO] [stdout] c09929b1115df20af6135dcb8c45bcb0b6d732e7f8452a926a37caf6e05b2e50 [INFO] checking kishiguro/async-test against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkishiguro%2Fasync-test" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kishiguro/async-test on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kishiguro/async-test [INFO] finished tweaking git repo https://github.com/kishiguro/async-test [INFO] tweaked toml for git repo https://github.com/kishiguro/async-test written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kishiguro/async-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 837c9f7bc301c1c274daa2794a6a3715845016644c64730a79ea4ed87b6e8815 [INFO] running `Command { std: "docker" "start" "-a" "837c9f7bc301c1c274daa2794a6a3715845016644c64730a79ea4ed87b6e8815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "837c9f7bc301c1c274daa2794a6a3715845016644c64730a79ea4ed87b6e8815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "837c9f7bc301c1c274daa2794a6a3715845016644c64730a79ea4ed87b6e8815", kill_on_drop: false }` [INFO] [stdout] 837c9f7bc301c1c274daa2794a6a3715845016644c64730a79ea4ed87b6e8815 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0664bb8c0a78da6f668a80e3f0b606e4342b5cace8246b03f89d6db6ba64ed31 [INFO] running `Command { std: "docker" "start" "-a" "0664bb8c0a78da6f668a80e3f0b606e4342b5cace8246b03f89d6db6ba64ed31", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "0664bb8c0a78da6f668a80e3f0b606e4342b5cace8246b03f89d6db6ba64ed31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0664bb8c0a78da6f668a80e3f0b606e4342b5cace8246b03f89d6db6ba64ed31", kill_on_drop: false }` [INFO] [stdout] 0664bb8c0a78da6f668a80e3f0b606e4342b5cace8246b03f89d6db6ba64ed31