[INFO] crate tokio-net 0.2.0-alpha.6 is already in cache [INFO] testing tokio-net-0.2.0-alpha.6 against 1.45.2 for beta-1.46-1 [INFO] extracting crate tokio-net 0.2.0-alpha.6 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate tokio-net 0.2.0-alpha.6 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-3/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a0c442ff0fcd981f32fef31f4eb66a3e148a590ae2ca57fd188ef95b880accd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9a0c442ff0fcd981f32fef31f4eb66a3e148a590ae2ca57fd188ef95b880accd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a0c442ff0fcd981f32fef31f4eb66a3e148a590ae2ca57fd188ef95b880accd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a0c442ff0fcd981f32fef31f4eb66a3e148a590ae2ca57fd188ef95b880accd", kill_on_drop: false }` [INFO] [stdout] 9a0c442ff0fcd981f32fef31f4eb66a3e148a590ae2ca57fd188ef95b880accd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80e7106a4f512c85d6e66d5772c99da629c33ab4b4b10b871af4b08efac0ebdd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "80e7106a4f512c85d6e66d5772c99da629c33ab4b4b10b871af4b08efac0ebdd", kill_on_drop: false }` [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 futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling tokio-io v0.2.0-alpha.6 [INFO] [stderr] Compiling tokio-codec v0.2.0-alpha.6 [INFO] [stderr] Compiling tokio-sync v0.2.0-alpha.6 [INFO] [stderr] Compiling tokio-executor v0.2.0-alpha.6 [INFO] [stderr] Compiling tokio-net v0.2.0-alpha.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.83s [INFO] running `Command { std: "docker" "inspect" "80e7106a4f512c85d6e66d5772c99da629c33ab4b4b10b871af4b08efac0ebdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80e7106a4f512c85d6e66d5772c99da629c33ab4b4b10b871af4b08efac0ebdd", kill_on_drop: false }` [INFO] [stdout] 80e7106a4f512c85d6e66d5772c99da629c33ab4b4b10b871af4b08efac0ebdd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89c0a2342ddd09f378e2d423448ca9879ce79e8c26f9684ba20e066d9a3b512e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "89c0a2342ddd09f378e2d423448ca9879ce79e8c26f9684ba20e066d9a3b512e", kill_on_drop: false }` [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 tokio-net v0.2.0-alpha.6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> tests/support.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use tokio::runtime::current_thread::{self, Runtime as CurrentThreadRuntime}; [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> tests/support.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::timer::Timeout; [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> tests/tcp_echo.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::prelude::*; [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> tests/tcp_echo.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> tests/tcp_echo.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::sync::oneshot; [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> tests/tcp_peek.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::io::AsyncReadExt; [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> tests/tcp_peek.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::net::TcpStream; [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> tests/tcp_accept.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> tests/tcp_accept.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::oneshot; [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tokio::net::TcpListener`, `tokio::net::TcpStream`, `tokio::sync::oneshot`, `tokio_test` [INFO] [stdout] --> tests/tcp_echo.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 4 | use tokio::prelude::*; [INFO] [stdout] 5 | use tokio::sync::oneshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use tokio_test::assert_ok; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> tests/tcp_echo.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ok` [INFO] [stdout] --> tests/tcp_echo.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | let mut srv = assert_ok!(TcpListener::bind("127.0.0.1:0").await); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ok` [INFO] [stdout] --> tests/tcp_echo.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | let addr = assert_ok!(srv.local_addr()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ok` [INFO] [stdout] --> tests/tcp_echo.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | let mut stream = assert_ok!(TcpStream::connect(&addr).await); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ok` [INFO] [stdout] --> tests/tcp_echo.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | assert_ok!(stream.write_all(msg.as_bytes()).await); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ok` [INFO] [stdout] --> tests/tcp_echo.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | assert_ok!(stream.read_exact(&mut buf).await); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ok` [INFO] [stdout] --> tests/tcp_echo.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | assert_ok!(tx.send(())); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ok` [INFO] [stdout] --> tests/tcp_echo.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | let (mut stream, _) = assert_ok!(srv.accept().await); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ok` [INFO] [stdout] --> tests/tcp_echo.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let n = assert_ok!(rd.copy(&mut wr).await); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ok` [INFO] [stdout] --> tests/tcp_echo.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | assert_ok!(rx.await); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stdout] --> tests/tcp_echo.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | let (tx, rx) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `oneshot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> tests/tcp_echo.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [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] [stdout] error[E0432]: unresolved import `libc` [INFO] [stdout] --> tests/support.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use libc::{c_int, getpid, kill}; [INFO] [stdout] | ^^^^ help: a similar path exists: `std::libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Timeout` [INFO] [stdout] --> tests/support.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Timeout::new(future, Duration::from_secs(3)).map(Result::unwrap) [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CurrentThreadRuntime` in this scope [INFO] [stdout] --> tests/support.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn run_with_timeout(rt: &mut CurrentThreadRuntime, future: F) -> F::Output [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_test` [INFO] [stdout] --> tests/tcp_peek.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio_test::assert_ok; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> tests/tcp_peek.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ok` [INFO] [stdout] --> tests/tcp_peek.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | let t = thread::spawn(move || assert_ok!(listener.accept()).0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ok` [INFO] [stdout] --> tests/tcp_peek.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let n = assert_ok!(left.peek(&mut buf).await); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ok` [INFO] [stdout] --> tests/tcp_peek.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let n = assert_ok!(left.read(&mut buf).await); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope [INFO] [stdout] --> tests/tcp_peek.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | let mut left: TcpStream = left.try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use mio::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] 3 | use mio::tcp::TcpStream; [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> tests/uds_stream.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::future::try_join; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tokio_net::uds`, `futures::future::try_join` [INFO] [stdout] --> tests/uds_stream.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio_net::uds::*; [INFO] [stdout] | ^^^ could not find `uds` in `tokio_net` [INFO] [stdout] 5 | [INFO] [stdout] 6 | use futures::future::try_join; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> tests/uds_stream.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tempfile`, `tokio::io::AsyncReadExt`, `tokio::io::AsyncWriteExt` [INFO] [stdout] --> tests/uds_stream.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tempfile::Builder; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `tempfile` [INFO] [stdout] 8 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> tests/uds_stream.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UnixListener` [INFO] [stdout] --> tests/uds_stream.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | let mut listener = UnixListener::bind(&sock_path)?; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `UnixListener` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UnixStream` [INFO] [stdout] --> tests/uds_stream.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | let connect = UnixStream::connect(&sock_path); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `UnixStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `try_join` in this scope [INFO] [stdout] --> tests/uds_stream.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | let ((mut server, _), mut client) = try_join(accept, connect).await?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use futures_util::try_future::try_join; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_test` [INFO] [stdout] --> tests/tcp_accept.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio_test::assert_ok; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> tests/tcp_accept.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] ... [INFO] [stdout] 33 | / test_accept! { [INFO] [stdout] 34 | | (ip_str, "127.0.0.1:0"), [INFO] [stdout] 35 | | (host_str, "localhost:0"), [INFO] [stdout] 36 | | (socket_addr, "127.0.0.1:0".parse::().unwrap()), [INFO] [stdout] 37 | | (str_port_tuple, ("127.0.0.1", 0)), [INFO] [stdout] 38 | | (ip_port_tuple, ("127.0.0.1".parse::().unwrap(), 0)), [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ok` [INFO] [stdout] --> tests/tcp_accept.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | let mut listener = assert_ok!(TcpListener::bind($target).await); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | / test_accept! { [INFO] [stdout] 34 | | (ip_str, "127.0.0.1:0"), [INFO] [stdout] 35 | | (host_str, "localhost:0"), [INFO] [stdout] 36 | | (socket_addr, "127.0.0.1:0".parse::().unwrap()), [INFO] [stdout] 37 | | (str_port_tuple, ("127.0.0.1", 0)), [INFO] [stdout] 38 | | (ip_port_tuple, ("127.0.0.1".parse::().unwrap(), 0)), [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ok` [INFO] [stdout] --> tests/tcp_accept.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | let (socket, _) = assert_ok!(listener.accept().await); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | / test_accept! { [INFO] [stdout] 34 | | (ip_str, "127.0.0.1:0"), [INFO] [stdout] 35 | | (host_str, "localhost:0"), [INFO] [stdout] 36 | | (socket_addr, "127.0.0.1:0".parse::().unwrap()), [INFO] [stdout] 37 | | (str_port_tuple, ("127.0.0.1", 0)), [INFO] [stdout] 38 | | (ip_port_tuple, ("127.0.0.1".parse::().unwrap(), 0)), [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ok` [INFO] [stdout] --> tests/tcp_accept.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | assert_ok!(tx.send(socket)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | / test_accept! { [INFO] [stdout] 34 | | (ip_str, "127.0.0.1:0"), [INFO] [stdout] 35 | | (host_str, "localhost:0"), [INFO] [stdout] 36 | | (socket_addr, "127.0.0.1:0".parse::().unwrap()), [INFO] [stdout] 37 | | (str_port_tuple, ("127.0.0.1", 0)), [INFO] [stdout] 38 | | (ip_port_tuple, ("127.0.0.1".parse::().unwrap(), 0)), [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ok` [INFO] [stdout] --> tests/tcp_accept.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | let cli = assert_ok!(TcpStream::connect(&addr).await); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | / test_accept! { [INFO] [stdout] 34 | | (ip_str, "127.0.0.1:0"), [INFO] [stdout] 35 | | (host_str, "localhost:0"), [INFO] [stdout] 36 | | (socket_addr, "127.0.0.1:0".parse::().unwrap()), [INFO] [stdout] 37 | | (str_port_tuple, ("127.0.0.1", 0)), [INFO] [stdout] 38 | | (ip_port_tuple, ("127.0.0.1".parse::().unwrap(), 0)), [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ok` [INFO] [stdout] --> tests/tcp_accept.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | let srv = assert_ok!(rx.await); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | / test_accept! { [INFO] [stdout] 34 | | (ip_str, "127.0.0.1:0"), [INFO] [stdout] 35 | | (host_str, "localhost:0"), [INFO] [stdout] 36 | | (socket_addr, "127.0.0.1:0".parse::().unwrap()), [INFO] [stdout] 37 | | (str_port_tuple, ("127.0.0.1", 0)), [INFO] [stdout] 38 | | (ip_port_tuple, ("127.0.0.1".parse::().unwrap(), 0)), [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stdout] --> tests/tcp_accept.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | let (tx, rx) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `oneshot` [INFO] [stdout] ... [INFO] [stdout] 33 | / test_accept! { [INFO] [stdout] 34 | | (ip_str, "127.0.0.1:0"), [INFO] [stdout] 35 | | (host_str, "localhost:0"), [INFO] [stdout] 36 | | (socket_addr, "127.0.0.1:0".parse::().unwrap()), [INFO] [stdout] 37 | | (str_port_tuple, ("127.0.0.1", 0)), [INFO] [stdout] 38 | | (ip_port_tuple, ("127.0.0.1".parse::().unwrap(), 0)), [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Write` [INFO] [stdout] --> tests/tcp_peek.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{convert::TryInto, io::Write, net}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> tests/tcp_accept.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] ... [INFO] [stdout] 33 | / test_accept! { [INFO] [stdout] 34 | | (ip_str, "127.0.0.1:0"), [INFO] [stdout] 35 | | (host_str, "localhost:0"), [INFO] [stdout] 36 | | (socket_addr, "127.0.0.1:0".parse::().unwrap()), [INFO] [stdout] 37 | | (str_port_tuple, ("127.0.0.1", 0)), [INFO] [stdout] 38 | | (ip_port_tuple, ("127.0.0.1".parse::().unwrap(), 0)), [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IpAddr`, `SocketAddr` [INFO] [stdout] --> tests/tcp_accept.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use std::net::{IpAddr, SocketAddr}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_net::udp` [INFO] [stdout] --> tests/udp.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio_net::udp::{UdpFramed, UdpSocket}; [INFO] [stdout] | ^^^ could not find `udp` in `tokio_net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures_util::sink` [INFO] [stdout] --> tests/udp.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | use futures_util::{future::FutureExt, sink::SinkExt, stream::StreamExt, try_future::try_join}; [INFO] [stdout] | ^^^^ could not find `sink` in `futures_util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> tests/udp.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use bytes::{BufMut, BytesMut}; [INFO] [stdout] | ^^^^^ use of undeclared type or module `bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> tests/udp.rs:102:3 [INFO] [stdout] | [INFO] [stdout] 102 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> tests/udp.rs:69:3 [INFO] [stdout] | [INFO] [stdout] 69 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> tests/udp.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 61 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> tests/udp.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 45 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> tests/udp.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> tests/udp.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> tests/udp.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::future::FutureExt` [INFO] [stdout] --> tests/support.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use futures_util::future::FutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `future::FutureExt` [INFO] [stdout] --> tests/udp.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use futures_util::{future::FutureExt, sink::SinkExt, stream::StreamExt, try_future::try_join}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stream::StreamExt` [INFO] [stdout] --> tests/udp.rs:7:54 [INFO] [stdout] | [INFO] [stdout] 7 | use futures_util::{future::FutureExt, sink::SinkExt, stream::StreamExt, try_future::try_join}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "89c0a2342ddd09f378e2d423448ca9879ce79e8c26f9684ba20e066d9a3b512e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89c0a2342ddd09f378e2d423448ca9879ce79e8c26f9684ba20e066d9a3b512e", kill_on_drop: false }` [INFO] [stdout] 89c0a2342ddd09f378e2d423448ca9879ce79e8c26f9684ba20e066d9a3b512e