[INFO] crate tokio 0.2.0-alpha.4 is already in cache [INFO] checking tokio-0.2.0-alpha.4 against master#9b9d2aff8de4d499b4ba7ca406e000f8d3754ea7 for pr-64564 [INFO] extracting crate tokio 0.2.0-alpha.4 into work/builds/worker-3/source [INFO] validating manifest of crates.io crate tokio 0.2.0-alpha.4 on toolchain 9b9d2aff8de4d499b4ba7ca406e000f8d3754ea7-alt [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+9b9d2aff8de4d499b4ba7ca406e000f8d3754ea7-alt" "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 work/builds/worker-3/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 `"/mnt/big/crater/work/cargo-home/bin/cargo" "+9b9d2aff8de4d499b4ba7ca406e000f8d3754ea7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/mnt/big/crater/work/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/mnt/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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" "+9b9d2aff8de4d499b4ba7ca406e000f8d3754ea7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 626d64368c8a8854f8787624da9fd10f4320487054a59278bf72ec7fd39ccfe6 [INFO] running `"docker" "start" "-a" "626d64368c8a8854f8787624da9fd10f4320487054a59278bf72ec7fd39ccfe6"` [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.18 [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:61:14 [INFO] [stderr] | [INFO] [stderr] 61 | let (bytes, addr) = socket.next().map(|e| e.unwrap()).await?; [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stderr] --> examples/udp-codec.rs:61:29 [INFO] [stderr] | [INFO] [stderr] 61 | let (bytes, addr) = socket.next().map(|e| e.unwrap()).await?; [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: only the last element of a tuple may have a dynamically sized type [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:74:27 [INFO] [stderr] | [INFO] [stderr] 74 | while let Ok(Some(Ok((bytes, addr)))) = socket.next().timeout(timeout).await { [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stderr] --> examples/udp-codec.rs:74:45 [INFO] [stderr] | [INFO] [stderr] 74 | while let Ok(Some(Ok((bytes, addr)))) = socket.next().timeout(timeout).await { [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: only the last element of a tuple may have a dynamically sized type [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[E0433]: failed to resolve: use of undeclared type or module `http` [INFO] [stderr] --> examples/tinyhttp.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use http::{header::HeaderValue, Request, Response, StatusCode}; [INFO] [stderr] | ^^^^ use of undeclared type or module `http` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> examples/tinyhttp.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use futures::{SinkExt, StreamExt}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error: aborting due to 12 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[E0432]: unresolved import `http` [INFO] [stderr] --> examples/tinyhttp.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use http::{header::HeaderValue, Request, Response, StatusCode}; [INFO] [stderr] | ^^^^ use of undeclared type or module `http` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `serde` [INFO] [stderr] --> examples/tinyhttp.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use serde::Serialize; [INFO] [stderr] | ^^^^^ use of undeclared type or module `serde` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `time` [INFO] [stderr] --> examples/tinyhttp.rs:223:16 [INFO] [stderr] | [INFO] [stderr] 223 | use time::{self, Duration}; [INFO] [stderr] | ^^^^ no `time` external crate [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stderr] --> examples/tinyhttp.rs:72:22 [INFO] [stderr] | [INFO] [stderr] 72 | #[derive(Serialize)] [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 `serde_json` [INFO] [stderr] --> examples/tinyhttp.rs:76:13 [INFO] [stderr] | [INFO] [stderr] 76 | serde_json::to_string(&Message { [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `httparse` [INFO] [stderr] --> examples/tinyhttp.rs:160:39 [INFO] [stderr] | [INFO] [stderr] 160 | let mut parsed_headers = [httparse::EMPTY_HEADER; 16]; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `httparse` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `httparse` [INFO] [stderr] --> examples/tinyhttp.rs:161:25 [INFO] [stderr] | [INFO] [stderr] 161 | let mut r = httparse::Request::new(&mut parsed_headers); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `httparse` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `httparse` [INFO] [stderr] --> examples/tinyhttp.rs:168:17 [INFO] [stderr] | [INFO] [stderr] 168 | httparse::Status::Complete(amt) => amt, [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `httparse` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `httparse` [INFO] [stderr] --> examples/tinyhttp.rs:169:17 [INFO] [stderr] | [INFO] [stderr] 169 | httparse::Status::Partial => return Ok(None), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `httparse` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `http` [INFO] [stderr] --> examples/tinyhttp.rs:201:21 [INFO] [stderr] | [INFO] [stderr] 201 | ret.version(http::Version::HTTP_11); [INFO] [stderr] | ^^^^ use of undeclared type or module `http` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `HeaderValue` [INFO] [stderr] --> examples/tinyhttp.rs:207:34 [INFO] [stderr] | [INFO] [stderr] 207 | let value = unsafe { HeaderValue::from_shared_unchecked(data.slice(v.0, v.1)) }; [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `HeaderValue` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Duration` [INFO] [stderr] --> examples/tinyhttp.rs:283:38 [INFO] [stderr] | [INFO] [stderr] 283 | self.next_update = now + Duration::seconds(1); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Duration` [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 `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[E0599]: no method named `next` found for type `tokio_codec::framed::Framed` in the current scope [INFO] [stderr] --> examples/tinyhttp.rs:49:41 [INFO] [stderr] | [INFO] [stderr] 49 | while let Some(request) = transport.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] 16 | use futures_util::stream::StreamExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `send` found for type `tokio_codec::framed::Framed` in the current scope [INFO] [stderr] --> examples/tinyhttp.rs:53:27 [INFO] [stderr] | [INFO] [stderr] 53 | transport.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] 16 | use futures_util::sink::SinkExt; [INFO] [stderr] | [INFO] [stderr] [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[E0599]: no method named `next` found for type `tokio_net::tcp::incoming::Incoming` in the current scope [INFO] [stderr] --> examples/tinyhttp.rs:35:43 [INFO] [stderr] | [INFO] [stderr] 35 | while let Some(Ok(stream)) = 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] 16 | use futures_util::stream::StreamExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 17 previous errors [INFO] [stderr] error: could not compile `tokio`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [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: 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/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: aborting due to 3 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 `tokio_test` [INFO] [stderr] --> tests/buffered.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use tokio_test::assert_ok; [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/buffered.rs:16:19 [INFO] [stderr] | [INFO] [stderr] 16 | let mut srv = 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/buffered.rs:17:16 [INFO] [stderr] | [INFO] [stderr] 17 | let addr = assert_ok!(srv.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/buffered.rs:22:21 [INFO] [stderr] | [INFO] [stderr] 22 | let mut s = assert_ok!(TcpStream::connect(&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/buffered.rs:25:25 [INFO] [stderr] | [INFO] [stderr] 25 | let mut s = assert_ok!(TcpStream::connect(&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/buffered.rs:27:13 [INFO] [stderr] | [INFO] [stderr] 27 | assert_ok!(s.read_exact(&mut b)); [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/buffered.rs:34:23 [INFO] [stderr] | [INFO] [stderr] 34 | let res = assert_ok!(s.write(msg.as_bytes())); [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/buffered.rs:41:22 [INFO] [stderr] | [INFO] [stderr] 41 | let (mut a, _) = assert_ok!(srv.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_ok` [INFO] [stderr] --> tests/buffered.rs:42:22 [INFO] [stderr] | [INFO] [stderr] 42 | let (mut b, _) = assert_ok!(srv.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_ok` [INFO] [stderr] --> tests/buffered.rs:44:13 [INFO] [stderr] | [INFO] [stderr] 44 | let n = assert_ok!(a.copy(&mut b).await); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::net::TcpListener` [INFO] [stderr] --> tests/buffered.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio::net::TcpListener; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::prelude::*` [INFO] [stderr] --> tests/buffered.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use tokio::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::prelude::*` [INFO] [stderr] --> tests/buffered.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use std::io::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::net::TcpStream` [INFO] [stderr] --> tests/buffered.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::net::TcpStream; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [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 10 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: 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] --> 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[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] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "626d64368c8a8854f8787624da9fd10f4320487054a59278bf72ec7fd39ccfe6"` [INFO] running `"docker" "rm" "-f" "626d64368c8a8854f8787624da9fd10f4320487054a59278bf72ec7fd39ccfe6"` [INFO] [stdout] 626d64368c8a8854f8787624da9fd10f4320487054a59278bf72ec7fd39ccfe6