[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkishiguro%2Fasync-test" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kishiguro/async-test on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-6/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: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 785ea6d6a5756f4f2dd735c053b062388fd3be0b454656b8002ea3a7d506217e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "785ea6d6a5756f4f2dd735c053b062388fd3be0b454656b8002ea3a7d506217e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "785ea6d6a5756f4f2dd735c053b062388fd3be0b454656b8002ea3a7d506217e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "785ea6d6a5756f4f2dd735c053b062388fd3be0b454656b8002ea3a7d506217e", kill_on_drop: false }` [INFO] [stdout] 785ea6d6a5756f4f2dd735c053b062388fd3be0b454656b8002ea3a7d506217e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0571cc2950c44128a8974913b912cc42bf5b217c1caedeb2d25c8a606cdca6a8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0571cc2950c44128a8974913b912cc42bf5b217c1caedeb2d25c8a606cdca6a8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [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 futures-sink v0.3.8 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Checking bytes v1.0.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Compiling tokio v1.0.1 [INFO] [stderr] Checking addr2line v0.14.0 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking mio v0.7.6 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling syn v1.0.56 [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 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] [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] [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: aborting due to 3 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] [stderr] error: could not compile `async-test` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [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[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] [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] [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[E0433]: failed to resolve: use of undeclared type `Framed` [INFO] [stdout] --> examples/07-timer-stream.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | frames: Framed::new(conn, Bgp {}), [INFO] [stdout] | ^^^^^^ use of undeclared type `Framed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Decoder` in this scope [INFO] [stdout] --> examples/07-timer-stream.rs:88:6 [INFO] [stdout] | [INFO] [stdout] 88 | impl Decoder for Bgp { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Encoder` in this scope [INFO] [stdout] --> examples/07-timer-stream.rs:100:6 [INFO] [stdout] | [INFO] [stdout] 100 | impl Encoder for Bgp { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Framed` in this scope [INFO] [stdout] --> examples/07-timer-stream.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | frames: Framed, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mio` [INFO] [stdout] --> examples/08-connect.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | let sys = mio::net::TcpStream::connect(&addr)?; [INFO] [stdout] | ^^^^^^^^^ not found in `mio::net` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::mpsc::list::thread::thread::env::sys::ext::net::raw_fd::net::udp::net_imp::TcpStream; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::mpsc::list::thread::thread::env::sys::kernel_copy::TcpStream; [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::net::TcpStream; [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/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/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: aborting due to 8 previous errors [INFO] [stdout] [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] [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] [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] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Pin<&mut _>` 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<&mut _>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] = note: this error originates in a macro (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: `fut` is a function, perhaps you wish to call it [INFO] [stdout] = note: this error originates in a macro (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: E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0571cc2950c44128a8974913b912cc42bf5b217c1caedeb2d25c8a606cdca6a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0571cc2950c44128a8974913b912cc42bf5b217c1caedeb2d25c8a606cdca6a8", kill_on_drop: false }` [INFO] [stdout] 0571cc2950c44128a8974913b912cc42bf5b217c1caedeb2d25c8a606cdca6a8