[INFO] crate tokio 0.2.0-alpha.4 is already in cache [INFO] checking tokio-0.2.0-alpha.4 against try#ba14a92a10441c4b839ce71e6ef5f7a48bbff18f for prs-64470-and-65389 [INFO] extracting crate tokio 0.2.0-alpha.4 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate tokio 0.2.0-alpha.4 on toolchain ba14a92a10441c4b839ce71e6ef5f7a48bbff18f [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba14a92a10441c4b839ce71e6ef5f7a48bbff18f" "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-1/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" "+ba14a92a10441c4b839ce71e6ef5f7a48bbff18f" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+ba14a92a10441c4b839ce71e6ef5f7a48bbff18f" "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] 637d056673d2f1a52c2c2adaed1b2e61c776cdbf79514fbd864cbd85331e7df9 [INFO] running `"docker" "start" "-a" "637d056673d2f1a52c2c2adaed1b2e61c776cdbf79514fbd864cbd85331e7df9"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.18 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking tracing-core v0.1.5 [INFO] [stderr] Checking tokio-io v0.2.0-alpha.4 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.18 [INFO] [stderr] Checking tokio-codec v0.2.0-alpha.4 [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] --> 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] 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 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [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: 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: 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[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: 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[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] 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] 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] 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[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] --> 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[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[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: 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/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[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] 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] warning: build failed, waiting for other jobs to finish... [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[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] --> 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] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [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] 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] [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/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 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[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[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[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: 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/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] [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: 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_current_thread.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | 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_current_thread.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | 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_current_thread.rs:16:22 [INFO] [stderr] | [INFO] [stderr] 16 | 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_current_thread.rs:19:16 [INFO] [stderr] | [INFO] [stderr] 19 | 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_current_thread.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | 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_current_thread.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_current_thread.rs:77:5 [INFO] [stderr] | [INFO] [stderr] 77 | 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_current_thread.rs:78:5 [INFO] [stderr] | [INFO] [stderr] 78 | 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_current_thread.rs:96:5 [INFO] [stderr] | [INFO] [stderr] 96 | 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_current_thread.rs:97:5 [INFO] [stderr] | [INFO] [stderr] 97 | assert_err!(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: `TcpListener` [INFO] [stderr] --> tests/runtime_current_thread.rs:5:18 [INFO] [stderr] | [INFO] [stderr] 5 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `AsyncWriteExt` [INFO] [stderr] --> tests/runtime_current_thread.rs:4:31 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stderr] | ^^^^^^^^^^^^^ [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] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "637d056673d2f1a52c2c2adaed1b2e61c776cdbf79514fbd864cbd85331e7df9"` [INFO] running `"docker" "rm" "-f" "637d056673d2f1a52c2c2adaed1b2e61c776cdbf79514fbd864cbd85331e7df9"` [INFO] [stdout] 637d056673d2f1a52c2c2adaed1b2e61c776cdbf79514fbd864cbd85331e7df9