[INFO] fetching crate tokio 0.2.0-alpha.4... [INFO] checking tokio-0.2.0-alpha.4 against try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] extracting crate tokio 0.2.0-alpha.4 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate tokio 0.2.0-alpha.4 on toolchain ea663bba38739867a4b75ac820991b4f5d093c3b [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate tokio 0.2.0-alpha.4 [INFO] finished tweaking crates.io crate tokio 0.2.0-alpha.4 [INFO] tweaked toml for crates.io crate tokio 0.2.0-alpha.4 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate tokio 0.2.0-alpha.4 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b06db1a47e4c209771d5eb34125ff438bd1e5dbff0dce8edec21f74efdfa91db [INFO] running `"docker" "start" "-a" "b06db1a47e4c209771d5eb34125ff438bd1e5dbff0dce8edec21f74efdfa91db"` [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.18 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.18 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Checking tokio-sync v0.2.0-alpha.4 [INFO] [stderr] Compiling tracing-attributes v0.1.2 [INFO] [stderr] Compiling tokio-macros v0.2.0-alpha.4 [INFO] [stderr] Checking tracing v0.1.6 [INFO] [stderr] Checking tokio-executor v0.2.0-alpha.4 [INFO] [stderr] Checking tokio-timer v0.3.0-alpha.4 [INFO] [stderr] Checking tokio-net v0.2.0-alpha.4 [INFO] [stderr] Checking tokio-fs v0.2.0-alpha.4 [INFO] [stderr] Checking tokio v0.2.0-alpha.4 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mio` [INFO] [stderr] --> benches/mio-ops.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use mio::tcp::TcpListener; [INFO] [stderr] | ^^^ use of undeclared type or module `mio` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> examples/udp-codec.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use futures::{FutureExt, SinkExt, StreamExt}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `env_logger` [INFO] [stderr] --> examples/udp-codec.rs:27:13 [INFO] [stderr] | [INFO] [stderr] 27 | let _ = env_logger::init(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `env_logger` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> examples/udp-codec.rs:49:11 [INFO] [stderr] | [INFO] [stderr] 49 | match futures::future::try_join(a, b).await { [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `send` found for type `&mut tokio_net::udp::frame::UdpFramed` in the current scope [INFO] [stderr] --> examples/udp-codec.rs:58:12 [INFO] [stderr] | [INFO] [stderr] 58 | socket.send((Bytes::from(&b"PING"[..]), b_addr)).await?; [INFO] [stderr] | ^^^^ method not found in `&mut tokio_net::udp::frame::UdpFramed` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 12 | use futures_util::sink::SinkExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for type `&mut tokio_net::udp::frame::UdpFramed` in the current scope [INFO] [stderr] --> examples/udp-codec.rs:61:36 [INFO] [stderr] | [INFO] [stderr] 61 | let (bytes, addr) = socket.next().map(|e| e.unwrap()).await?; [INFO] [stderr] | ^^^^ method not found in `&mut tokio_net::udp::frame::UdpFramed` [INFO] [stderr] | [INFO] [stderr] = note: the method `next` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut tokio_net::udp::frame::UdpFramed : std::iter::Iterator` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 12 | use futures_util::stream::StreamExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stderr] --> examples/udp-codec.rs:63:58 [INFO] [stderr] | [INFO] [stderr] 63 | println!("[a] recv: {}", String::from_utf8_lossy(&bytes)); [INFO] [stderr] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: all local variables must have a statically known size [INFO] [stderr] = help: unsized locals are gated as an unstable feature [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `send` found for type `&mut tokio_net::udp::frame::UdpFramed` in the current scope [INFO] [stderr] --> examples/udp-codec.rs:65:16 [INFO] [stderr] | [INFO] [stderr] 65 | socket.send((Bytes::from(&b"PING"[..]), addr)).await?; [INFO] [stderr] | ^^^^ method not found in `&mut tokio_net::udp::frame::UdpFramed` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 12 | use futures_util::sink::SinkExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for type `&mut tokio_net::udp::frame::UdpFramed` in the current scope [INFO] [stderr] --> examples/udp-codec.rs:74:52 [INFO] [stderr] | [INFO] [stderr] 74 | while let Ok(Some(Ok((bytes, addr)))) = socket.next().timeout(timeout).await { [INFO] [stderr] | ^^^^ method not found in `&mut tokio_net::udp::frame::UdpFramed` [INFO] [stderr] | [INFO] [stderr] = note: the method `next` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut tokio_net::udp::frame::UdpFramed : std::iter::Iterator` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 12 | use futures_util::stream::StreamExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stderr] --> examples/udp-codec.rs:75:58 [INFO] [stderr] | [INFO] [stderr] 75 | println!("[b] recv: {}", String::from_utf8_lossy(&bytes)); [INFO] [stderr] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: all local variables must have a statically known size [INFO] [stderr] = help: unsized locals are gated as an unstable feature [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `send` found for type `&mut tokio_net::udp::frame::UdpFramed` in the current scope [INFO] [stderr] --> examples/udp-codec.rs:77:16 [INFO] [stderr] | [INFO] [stderr] 77 | socket.send((Bytes::from(&b"PONG"[..]), addr)).await?; [INFO] [stderr] | ^^^^ method not found in `&mut tokio_net::udp::frame::UdpFramed` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 12 | use futures_util::sink::SinkExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> benches/tcp.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | pub use futures::*; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio::reactor` [INFO] [stderr] --> benches/tcp.rs:9:20 [INFO] [stderr] | [INFO] [stderr] 9 | pub use tokio::reactor::Reactor; [INFO] [stderr] | ^^^^^^^ could not find `reactor` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_io::try_nb` [INFO] [stderr] --> benches/tcp.rs:152:9 [INFO] [stderr] | [INFO] [stderr] 152 | use tokio_io::try_nb; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ no `try_nb` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `stream` [INFO] [stderr] --> benches/tcp.rs:38:28 [INFO] [stderr] | [INFO] [stderr] 38 | let connects = stream::iter_result((0..NUM).map(|_| { [INFO] [stderr] | ^^^^^^ use of undeclared type or module `stream` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `sync` [INFO] [stderr] --> benches/tcp.rs:60:42 [INFO] [stderr] | [INFO] [stderr] 60 | let (shutdown_tx, shutdown_rx) = sync::oneshot::channel(); [INFO] [stderr] | ^^^^ use of undeclared type or module `sync` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `sync` [INFO] [stderr] --> benches/tcp.rs:61:34 [INFO] [stderr] | [INFO] [stderr] 61 | let (addr_tx, addr_rx) = sync::oneshot::channel(); [INFO] [stderr] | ^^^^ use of undeclared type or module `sync` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `stream` [INFO] [stderr] --> benches/tcp.rs:105:40 [INFO] [stderr] | [INFO] [stderr] 105 | let connects = stream::iter_result((0..(NUM / n)).map(|_| { [INFO] [stderr] | ^^^^^^ use of undeclared type or module `stream` [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `tokio`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Async` [INFO] [stderr] --> benches/tcp.rs:170:36 [INFO] [stderr] | [INFO] [stderr] 170 | 0 => return Ok(Async::Ready(())), [INFO] [stderr] | ^^^^^ use of undeclared type or module `Async` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Async` [INFO] [stderr] --> benches/tcp.rs:196:16 [INFO] [stderr] | [INFO] [stderr] 196 | Ok(Async::Ready(())) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Async` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Future` in this scope [INFO] [stderr] --> benches/tcp.rs:161:10 [INFO] [stderr] | [INFO] [stderr] 161 | impl Future for Drain { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 150 | use core::future::Future; [INFO] [stderr] | [INFO] [stderr] 150 | use futures_core::Future; [INFO] [stderr] | [INFO] [stderr] 150 | use futures_core::core_reexport::future::Future; [INFO] [stderr] | [INFO] [stderr] 150 | use futures_core::future::Future; [INFO] [stderr] | [INFO] [stderr] and 4 other candidates [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Poll` in this scope [INFO] [stderr] --> benches/tcp.rs:165:31 [INFO] [stderr] | [INFO] [stderr] 165 | fn poll(&mut self) -> Poll<(), io::Error> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 150 | use core::task::Poll; [INFO] [stderr] | [INFO] [stderr] 150 | use futures_core::Poll; [INFO] [stderr] | [INFO] [stderr] 150 | use futures_core::core_reexport::task::Poll; [INFO] [stderr] | [INFO] [stderr] 150 | use futures_core::task::Poll; [INFO] [stderr] | [INFO] [stderr] and 3 other candidates [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Future` in this scope [INFO] [stderr] --> benches/tcp.rs:183:10 [INFO] [stderr] | [INFO] [stderr] 183 | impl Future for Transfer { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 150 | use core::future::Future; [INFO] [stderr] | [INFO] [stderr] 150 | use futures_core::Future; [INFO] [stderr] | [INFO] [stderr] 150 | use futures_core::core_reexport::future::Future; [INFO] [stderr] | [INFO] [stderr] 150 | use futures_core::future::Future; [INFO] [stderr] | [INFO] [stderr] and 4 other candidates [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Poll` in this scope [INFO] [stderr] --> benches/tcp.rs:187:31 [INFO] [stderr] | [INFO] [stderr] 187 | fn poll(&mut self) -> Poll<(), io::Error> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 150 | use core::task::Poll; [INFO] [stderr] | [INFO] [stderr] 150 | use futures_core::Poll; [INFO] [stderr] | [INFO] [stderr] 150 | use futures_core::core_reexport::task::Poll; [INFO] [stderr] | [INFO] [stderr] 150 | use futures_core::task::Poll; [INFO] [stderr] | [INFO] [stderr] and 3 other candidates [INFO] [stderr] [INFO] [stderr] error[E0603]: module `io` is private [INFO] [stderr] --> benches/tcp.rs:10:23 [INFO] [stderr] | [INFO] [stderr] 10 | pub use tokio_io::io::read_to_end; [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> benches/tcp.rs:166:48 [INFO] [stderr] | [INFO] [stderr] 166 | let mut buf: [u8; 1024] = unsafe { mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 14 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0432, E0433, E0603. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: could not compile `tokio`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> examples/tinydb.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | use futures::{SinkExt, StreamExt}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> benches/latency.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use futures::sync::mpsc; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> benches/latency.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use futures::sync::oneshot; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> benches/latency.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use futures::try_ready; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> examples/proxy.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | use futures::{future::try_join, FutureExt, StreamExt}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> benches/latency.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use futures::{Future, Poll, Sink, Stream}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `try_ready` [INFO] [stderr] --> benches/latency.rs:41:17 [INFO] [stderr] | [INFO] [stderr] 41 | try_ready!(self.socket.poll_send_to(&self.buf[..size], &peer)); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `try_ready` [INFO] [stderr] --> benches/latency.rs:44:33 [INFO] [stderr] | [INFO] [stderr] 44 | self.to_send = Some(try_ready!(self.socket.poll_recv_from(&mut self.buf))); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stderr] --> benches/latency.rs:54:28 [INFO] [stderr] | [INFO] [stderr] 54 | let (stop_c, stop_p) = oneshot::channel::<()>(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `oneshot` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stderr] --> benches/latency.rs:55:20 [INFO] [stderr] | [INFO] [stderr] 55 | let (tx, rx) = oneshot::channel(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `oneshot` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> benches/latency.rs:92:30 [INFO] [stderr] | [INFO] [stderr] 92 | let (mut in_tx, in_rx) = mpsc::channel(32); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> benches/latency.rs:93:28 [INFO] [stderr] | [INFO] [stderr] 93 | let (out_tx, out_rx) = mpsc::channel::<_>(32); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> examples/proxy.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | use futures::{future::try_join, FutureExt, StreamExt}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `try_join` in this scope [INFO] [stderr] --> examples/proxy.rs:64:5 [INFO] [stderr] | [INFO] [stderr] 64 | try_join(client_to_server, server_to_client).await?; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 25 | use futures_util::try_future::try_join; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `tokio`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `next` found for type `tokio_codec::framed::Framed` in the current scope [INFO] [stderr] --> examples/tinydb.rs:125:52 [INFO] [stderr] | [INFO] [stderr] 125 | while let Some(result) = lines.next().await { [INFO] [stderr] | ^^^^ method not found in `tokio_codec::framed::Framed` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 44 | use futures_util::stream::StreamExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stderr] --> examples/tinydb.rs:128:63 [INFO] [stderr] | [INFO] [stderr] 128 | ... let response = handle_request(&line, &db); [INFO] [stderr] | ^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `str` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: all local variables must have a statically known size [INFO] [stderr] = help: unsized locals are gated as an unstable feature [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `send` found for type `tokio_codec::framed::Framed` in the current scope [INFO] [stderr] --> examples/tinydb.rs:132:55 [INFO] [stderr] | [INFO] [stderr] 132 | ... if let Err(e) = lines.send(response).await { [INFO] [stderr] | ^^^^ method not found in `tokio_codec::framed::Framed` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 44 | use futures_util::sink::SinkExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> examples/connect.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use futures::{SinkExt, Stream}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> examples/connect.rs:84:9 [INFO] [stderr] | [INFO] [stderr] 84 | use futures::{future, Sink, SinkExt, Stream, StreamExt}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> examples/connect.rs:114:9 [INFO] [stderr] | [INFO] [stderr] 114 | use futures::{future, Sink, SinkExt, Stream, StreamExt}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error: could not compile `tokio`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `tokio_test` [INFO] [stderr] --> tests/reactor.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use tokio_test::{assert_ok, assert_pending}; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/reactor.rs:48:23 [INFO] [stderr] | [INFO] [stderr] 48 | let mut reactor = assert_ok!(Reactor::new()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/reactor.rs:54:28 [INFO] [stderr] | [INFO] [stderr] 54 | let mut listener = assert_ok!(TcpListener::bind("127.0.0.1:0").await); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_pending` [INFO] [stderr] --> tests/reactor.rs:72:9 [INFO] [stderr] | [INFO] [stderr] 72 | assert_pending!(task.future.lock().unwrap().as_mut().poll(&mut cx)); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio_net::driver::Reactor` [INFO] [stderr] --> tests/reactor.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio_net::driver::Reactor; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio_net::tcp::TcpListener` [INFO] [stderr] --> tests/reactor.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use tokio_net::tcp::TcpListener; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::future::Future` [INFO] [stderr] --> tests/reactor.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::future::Future; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `tokio`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tokio`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `next` found for type `tokio_net::tcp::incoming::Incoming` in the current scope [INFO] [stderr] --> examples/proxy.rs:42:44 [INFO] [stderr] | [INFO] [stderr] 42 | while let Some(Ok(inbound)) = incoming.next().await { [INFO] [stderr] | ^^^^ method not found in `tokio_net::tcp::incoming::Incoming` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 25 | use futures_util::stream::StreamExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map` found for type `impl core::future::future::Future` in the current scope [INFO] [stderr] --> examples/proxy.rs:43:63 [INFO] [stderr] | [INFO] [stderr] 43 | let transfer = transfer(inbound, server_addr.clone()).map(|r| { [INFO] [stderr] | ^^^ method not found in `impl core::future::future::Future` [INFO] [stderr] | [INFO] [stderr] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut impl core::future::future::Future : std::iter::Iterator` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 25 | use futures_util::future::FutureExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `tokio`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `tokio_test` [INFO] [stderr] --> tests/drop-core.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use tokio_test::{assert_err, assert_pending, assert_ready, task}; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_err` [INFO] [stderr] --> tests/drop-core.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | assert_err!(listener.accept().await); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ready` [INFO] [stderr] --> tests/drop-core.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | assert_ready!(task.poll()); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_err` [INFO] [stderr] --> tests/drop-core.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 31 | assert_err!(listener.accept().await); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_pending` [INFO] [stderr] --> tests/drop-core.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | assert_pending!(task.poll()); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ready` [INFO] [stderr] --> tests/drop-core.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | assert_ready!(task.poll()); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `tokio`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `mio` [INFO] [stderr] --> benches/mio-ops.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use mio::{PollOpt, Ready, Token}; [INFO] [stderr] | ^^^ use of undeclared type or module `mio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TcpListener` [INFO] [stderr] --> benches/mio-ops.rs:17:16 [INFO] [stderr] | [INFO] [stderr] 17 | let sock = TcpListener::bind(&addr).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `TcpListener` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mio` [INFO] [stderr] --> benches/mio-ops.rs:18:16 [INFO] [stderr] | [INFO] [stderr] 18 | let poll = mio::Poll::new().unwrap(); [INFO] [stderr] | ^^^ use of undeclared type or module `mio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TcpListener` [INFO] [stderr] --> benches/mio-ops.rs:33:16 [INFO] [stderr] | [INFO] [stderr] 33 | let sock = TcpListener::bind(&addr).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `TcpListener` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mio` [INFO] [stderr] --> benches/mio-ops.rs:34:16 [INFO] [stderr] | [INFO] [stderr] 34 | let poll = mio::Poll::new().unwrap(); [INFO] [stderr] | ^^^ use of undeclared type or module `mio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mio` [INFO] [stderr] --> benches/mio-ops.rs:49:16 [INFO] [stderr] | [INFO] [stderr] 49 | let poll = mio::Poll::new().unwrap(); [INFO] [stderr] | ^^^ use of undeclared type or module `mio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mio` [INFO] [stderr] --> benches/mio-ops.rs:51:22 [INFO] [stderr] | [INFO] [stderr] 51 | let mut events = mio::Events::with_capacity(1024); [INFO] [stderr] | ^^^ use of undeclared type or module `mio` [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `tokio`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> examples/chat.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | use futures::{Poll, SinkExt, Stream, StreamExt}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> examples/chat.rs:170:33 [INFO] [stderr] | [INFO] [stderr] 170 | let result: Option<_> = futures::ready!(self.lines.poll_next_unpin(cx)); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `tokio`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `tokio_test` [INFO] [stderr] --> tests/runtime_threaded.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use tokio_test::{assert_err, assert_ok}; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `env_logger` [INFO] [stderr] --> tests/runtime_threaded.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use env_logger; [INFO] [stderr] | ^^^^^^^^^^ no `env_logger` external crate [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/runtime_threaded.rs:18:22 [INFO] [stderr] | [INFO] [stderr] 18 | let mut server = assert_ok!(TcpListener::bind("127.0.0.1:0").await); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/runtime_threaded.rs:21:16 [INFO] [stderr] | [INFO] [stderr] 21 | let addr = assert_ok!(server.local_addr()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/runtime_threaded.rs:56:5 [INFO] [stderr] | [INFO] [stderr] 56 | assert_ok!(rx.try_recv()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/runtime_threaded.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | assert_ok!(rx.try_recv()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_err` [INFO] [stderr] --> tests/runtime_threaded.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 58 | assert_err!(rx.try_recv()); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/runtime_threaded.rs:113:5 [INFO] [stderr] | [INFO] [stderr] 113 | assert_ok!(b_rx.try_recv()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_err` [INFO] [stderr] --> tests/runtime_threaded.rs:147:9 [INFO] [stderr] | [INFO] [stderr] 147 | assert_err!(tokio_executor::enter()); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_err` [INFO] [stderr] --> tests/runtime_threaded.rs:170:9 [INFO] [stderr] | [INFO] [stderr] 170 | assert_err!(res); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/runtime_threaded.rs:203:5 [INFO] [stderr] | [INFO] [stderr] 203 | assert_ok!(rx.try_recv()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] warning: unused import: `AsyncWriteExt` [INFO] [stderr] --> tests/runtime_threaded.rs:5:31 [INFO] [stderr] | [INFO] [stderr] 5 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `tokio`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "b06db1a47e4c209771d5eb34125ff438bd1e5dbff0dce8edec21f74efdfa91db"` [INFO] running `"docker" "rm" "-f" "b06db1a47e4c209771d5eb34125ff438bd1e5dbff0dce8edec21f74efdfa91db"` [INFO] [stdout] b06db1a47e4c209771d5eb34125ff438bd1e5dbff0dce8edec21f74efdfa91db