[INFO] crate tokio-net 0.2.0-alpha.6 is already in cache [INFO] checking tokio-net-0.2.0-alpha.6 against try#d7b51666469c792a8a3f40849607739bae1e705e for pr-71665 [INFO] extracting crate tokio-net 0.2.0-alpha.6 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate tokio-net 0.2.0-alpha.6 on toolchain d7b51666469c792a8a3f40849607739bae1e705e [INFO] running `"/workspace/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate tokio-net 0.2.0-alpha.6 [INFO] finished tweaking crates.io crate tokio-net 0.2.0-alpha.6 [INFO] tweaked toml for crates.io crate tokio-net 0.2.0-alpha.6 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate tokio-net 0.2.0-alpha.6 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: Found `test` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+d7b51666469c792a8a3f40849607739bae1e705e" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] f95b6ba07fd91ddd2f60915eaa387a6ae55564e3a77e014543f354090b76a3fa [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "f95b6ba07fd91ddd2f60915eaa387a6ae55564e3a77e014543f354090b76a3fa"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: Found `test` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking lock_api v0.3.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking tokio-io v0.2.0-alpha.6 [INFO] [stderr] Checking tokio-codec v0.2.0-alpha.6 [INFO] [stderr] Checking tokio-sync v0.2.0-alpha.6 [INFO] [stderr] Checking tokio-executor v0.2.0-alpha.6 [INFO] [stderr] Checking tokio-net v0.2.0-alpha.6 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> tests/tcp_shutdown.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use tokio::prelude::*; [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> tests/tcp_shutdown.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use tokio::io::AsyncWriteExt; [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> tests/tcp_shutdown.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `tokio::io::AsyncWriteExt`, `tokio::net::TcpListener`, `tokio::net::TcpStream`, `tokio_test` [INFO] [stderr] --> tests/tcp_shutdown.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use tokio::io::AsyncWriteExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 4 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] 5 | use tokio::prelude::*; [INFO] [stderr] 6 | use tokio_test::assert_ok; [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` [INFO] [stderr] --> tests/tcp_shutdown.rs:8:3 [INFO] [stderr] | [INFO] [stderr] 8 | #[tokio::test] [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/tcp_shutdown.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 10 | 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/tcp_shutdown.rs:11:16 [INFO] [stderr] | [INFO] [stderr] 11 | 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/tcp_shutdown.rs:14:26 [INFO] [stderr] | [INFO] [stderr] 14 | let mut stream = assert_ok!(TcpStream::connect(&addr).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/tcp_shutdown.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | assert_ok!(AsyncWriteExt::shutdown(&mut stream).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/tcp_shutdown.rs:19:17 [INFO] [stderr] | [INFO] [stderr] 19 | let n = assert_ok!(stream.read(&mut buf).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/tcp_shutdown.rs:23:27 [INFO] [stderr] | [INFO] [stderr] 23 | let (mut stream, _) = 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/tcp_shutdown.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | let n = assert_ok!(rd.copy(&mut wr).await); [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 `tokio` [INFO] [stderr] --> tests/tcp_shutdown.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | tokio::spawn(async move { [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> tests/uds_split.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use tokio::prelude::*; [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> tests/uds_split.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio::net::UnixStream; [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio::net::UnixStream` [INFO] [stderr] --> tests/uds_split.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio::net::UnixStream; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> tests/uds_split.rs:12:3 [INFO] [stderr] | [INFO] [stderr] 12 | #[tokio::test] [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `UnixStream` [INFO] [stderr] --> tests/uds_split.rs:14:26 [INFO] [stderr] | [INFO] [stderr] 14 | let (mut a, mut b) = UnixStream::pair()?; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `UnixStream` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> tests/uds_split.rs:19:36 [INFO] [stderr] | [INFO] [stderr] 19 | let (a_response, b_response) = futures::future::try_join( [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] --> tests/uds_stream.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use futures::future::try_join; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `tokio_net::uds`, `futures::future::try_join` [INFO] [stderr] --> tests/uds_stream.rs:4:16 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio_net::uds::*; [INFO] [stderr] | ^^^ could not find `uds` in `tokio_net` [INFO] [stderr] 5 | [INFO] [stderr] 6 | use futures::future::try_join; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> tests/uds_stream.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `tempfile`, `tokio::io::AsyncReadExt`, `tokio::io::AsyncWriteExt` [INFO] [stderr] --> tests/uds_stream.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use tempfile::Builder; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `tempfile` [INFO] [stderr] 8 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> tests/uds_stream.rs:10:3 [INFO] [stderr] | [INFO] [stderr] 10 | #[tokio::test] [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `UnixListener` [INFO] [stderr] --> tests/uds_stream.rs:15:24 [INFO] [stderr] | [INFO] [stderr] 15 | let mut listener = UnixListener::bind(&sock_path)?; [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `UnixListener` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `UnixStream` [INFO] [stderr] --> tests/uds_stream.rs:18:19 [INFO] [stderr] | [INFO] [stderr] 18 | let connect = UnixStream::connect(&sock_path); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `UnixStream` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `try_join` in this scope [INFO] [stderr] --> tests/uds_stream.rs:19:41 [INFO] [stderr] | [INFO] [stderr] 19 | let ((mut server, _), mut client) = try_join(accept, connect).await?; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 4 | use futures_util::try_future::try_join; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 13 previous errors [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> tests/tcp_echo.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio::prelude::*; [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> tests/tcp_echo.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> tests/tcp_echo.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use tokio::sync::oneshot; [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [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 `tokio` [INFO] [stderr] --> tests/tcp_peek.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use tokio::io::AsyncReadExt; [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> tests/tcp_peek.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use tokio::net::TcpStream; [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error: could not compile `tokio-net`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0405]: cannot find trait `AsyncRead` in this scope [INFO] [stderr] --> tests/uds_split.rs:32:21 [INFO] [stderr] | [INFO] [stderr] 32 | read: &mut (dyn AsyncRead + Unpin), [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 4 | use tokio_io::AsyncRead; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `AsyncWrite` in this scope [INFO] [stderr] --> tests/uds_split.rs:33:22 [INFO] [stderr] | [INFO] [stderr] 33 | write: &mut (dyn AsyncWrite + Unpin), [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 4 | use tokio_io::AsyncWrite; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: could not compile `tokio-net`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error[E0432]: unresolved imports `tokio::net::TcpListener`, `tokio::net::TcpStream`, `tokio::sync::oneshot`, `tokio_test` [INFO] [stderr] --> tests/tcp_echo.rs:3:18 [INFO] [stderr] | [INFO] [stderr] 3 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] 4 | use tokio::prelude::*; [INFO] [stderr] 5 | use tokio::sync::oneshot; [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[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> tests/tcp_echo.rs:8:3 [INFO] [stderr] | [INFO] [stderr] 8 | #[tokio::test] [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/tcp_echo.rs:14:19 [INFO] [stderr] | [INFO] [stderr] 14 | 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/tcp_echo.rs:15:16 [INFO] [stderr] | [INFO] [stderr] 15 | 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/tcp_echo.rs:19:26 [INFO] [stderr] | [INFO] [stderr] 19 | let mut stream = assert_ok!(TcpStream::connect(&addr).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/tcp_echo.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | assert_ok!(stream.write_all(msg.as_bytes()).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/tcp_echo.rs:27:13 [INFO] [stderr] | [INFO] [stderr] 27 | assert_ok!(stream.read_exact(&mut buf).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/tcp_echo.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 31 | assert_ok!(tx.send(())); [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/tcp_echo.rs:34:27 [INFO] [stderr] | [INFO] [stderr] 34 | let (mut stream, _) = 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/tcp_echo.rs:37:13 [INFO] [stderr] | [INFO] [stderr] 37 | let n = assert_ok!(rd.copy(&mut wr).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/tcp_echo.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | assert_ok!(rx.await); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: could not compile `tokio-net`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stderr] --> tests/tcp_echo.rs:12:20 [INFO] [stderr] | [INFO] [stderr] 12 | 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 `tokio` [INFO] [stderr] --> tests/tcp_echo.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | tokio::spawn(async move { [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_test` [INFO] [stderr] --> tests/tcp_peek.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use tokio_test::assert_ok; [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` [INFO] [stderr] --> tests/tcp_peek.rs:9:3 [INFO] [stderr] | [INFO] [stderr] 9 | #[tokio::test] [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/tcp_peek.rs:13:35 [INFO] [stderr] | [INFO] [stderr] 13 | let t = thread::spawn(move || assert_ok!(listener.accept()).0); [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/tcp_peek.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | let n = assert_ok!(left.peek(&mut buf).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/tcp_peek.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | let n = assert_ok!(left.read(&mut buf).await); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TcpStream` in this scope [INFO] [stderr] --> tests/tcp_peek.rs:19:19 [INFO] [stderr] | [INFO] [stderr] 19 | let mut left: TcpStream = left.try_into().unwrap(); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 3 | use mio::net::TcpStream; [INFO] [stderr] | [INFO] [stderr] 3 | use mio::tcp::TcpStream; [INFO] [stderr] | [INFO] [stderr] 3 | use std::net::TcpStream; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `io::Write` [INFO] [stderr] --> tests/tcp_peek.rs:4:29 [INFO] [stderr] | [INFO] [stderr] 4 | use std::{convert::TryInto, io::Write, net}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: aborting due to 16 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-net`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tokio-net`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "f95b6ba07fd91ddd2f60915eaa387a6ae55564e3a77e014543f354090b76a3fa"` [INFO] running `"docker" "rm" "-f" "f95b6ba07fd91ddd2f60915eaa387a6ae55564e3a77e014543f354090b76a3fa"` [INFO] [stdout] f95b6ba07fd91ddd2f60915eaa387a6ae55564e3a77e014543f354090b76a3fa