[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#d49be02cf6d2e2a01264fcdef1e20c826710c0f5 for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkishiguro%2Fasync-test" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kishiguro/async-test on toolchain d49be02cf6d2e2a01264fcdef1e20c826710c0f5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "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-2-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" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a45542d2e442f8bae9a8b523e172c935cbc86bdddcbba28ed8225b422d3577c5 [INFO] running `Command { std: "docker" "start" "-a" "a45542d2e442f8bae9a8b523e172c935cbc86bdddcbba28ed8225b422d3577c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a45542d2e442f8bae9a8b523e172c935cbc86bdddcbba28ed8225b422d3577c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a45542d2e442f8bae9a8b523e172c935cbc86bdddcbba28ed8225b422d3577c5", kill_on_drop: false }` [INFO] [stdout] a45542d2e442f8bae9a8b523e172c935cbc86bdddcbba28ed8225b422d3577c5 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 829423fddb76920a6e089f1de281b10d3d046dd0291dabf7271edaac91c9b05c [INFO] running `Command { std: "docker" "start" "-a" "829423fddb76920a6e089f1de281b10d3d046dd0291dabf7271edaac91c9b05c", 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] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking smallvec v1.5.1 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking bytes v1.0.0 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking pin-project-lite v0.2.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [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 num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking mio v0.7.6 [INFO] [stderr] Checking parking_lot v0.11.1 [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[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[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 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[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[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[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[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[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 modules [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 structs [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 modules [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] 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] 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[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 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0432. [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, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-test` (example "11-select-connect") due to 3 previous errors [INFO] [stderr] error: could not compile `async-test` (example "08-connect") due to 8 previous errors [INFO] [stderr] error: could not compile `async-test` (example "10-select-stream") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "829423fddb76920a6e089f1de281b10d3d046dd0291dabf7271edaac91c9b05c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "829423fddb76920a6e089f1de281b10d3d046dd0291dabf7271edaac91c9b05c", kill_on_drop: false }` [INFO] [stdout] 829423fddb76920a6e089f1de281b10d3d046dd0291dabf7271edaac91c9b05c