[INFO] fetching crate tokio 0.2.0-alpha.6... [INFO] checking tokio-0.2.0-alpha.6 against beta-2019-10-27 for pr-65897 [INFO] extracting crate tokio 0.2.0-alpha.6 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate tokio 0.2.0-alpha.6 on toolchain beta-2019-10-27 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate tokio 0.2.0-alpha.6 [INFO] finished tweaking crates.io crate tokio 0.2.0-alpha.6 [INFO] tweaked toml for crates.io crate tokio 0.2.0-alpha.6 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate tokio 0.2.0-alpha.6 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=allow" "-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" "+beta-2019-10-27" "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] 7c4bea81d19f77322cade7ce3e3407bc9df0e6db19501815939d6237fdb0eeb8 [INFO] running `"docker" "start" "-a" "7c4bea81d19f77322cade7ce3e3407bc9df0e6db19501815939d6237fdb0eeb8"` [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-macros v0.2.0-alpha.6 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking tracing v0.1.9 [INFO] [stderr] Checking tokio-io v0.2.0-alpha.6 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking tokio-codec v0.2.0-alpha.6 [INFO] [stderr] Checking tokio-executor v0.2.0-alpha.6 [INFO] [stderr] Checking tokio-fs v0.2.0-alpha.6 [INFO] [stderr] Checking tokio-net v0.2.0-alpha.6 [INFO] [stderr] Checking tokio-timer v0.3.0-alpha.6 [INFO] [stderr] Checking tokio v0.2.0-alpha.6 (/opt/rustwide/workdir) [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: 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[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 `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:173:33 [INFO] [stderr] | [INFO] [stderr] 173 | 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[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] error: could not compile `tokio`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: 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 `tokio_test` [INFO] [stderr] --> tests/clock.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | tokio_test::assert_pending!(f.poll()); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio_test` [INFO] [stderr] --> tests/clock.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 57 | tokio_test::assert_ready!(f.poll()); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio_test` [INFO] [stderr] --> tests/clock.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | tokio_test::clock::mock(|handle| { [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio_test` [INFO] [stderr] --> tests/clock.rs:54:21 [INFO] [stderr] | [INFO] [stderr] 54 | let mut f = tokio_test::task::spawn(delay_for(Duration::from_millis(1))); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [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: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [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/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[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 `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[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 `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] 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] For more information about this error, try `rustc --explain E0432`. [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] 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] error: could not compile `tokio`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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[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: 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 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[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: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [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/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 `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:115:9 [INFO] [stderr] | [INFO] [stderr] 115 | 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] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "7c4bea81d19f77322cade7ce3e3407bc9df0e6db19501815939d6237fdb0eeb8"` [INFO] running `"docker" "rm" "-f" "7c4bea81d19f77322cade7ce3e3407bc9df0e6db19501815939d6237fdb0eeb8"` [INFO] [stdout] 7c4bea81d19f77322cade7ce3e3407bc9df0e6db19501815939d6237fdb0eeb8