[INFO] crate tokio-net 0.2.0-alpha.6 is already in cache [INFO] testing tokio-net-0.2.0-alpha.6 against 1.44.0 for beta-1.45-1 [INFO] extracting crate tokio-net 0.2.0-alpha.6 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate tokio-net 0.2.0-alpha.6 on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "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-5/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" "+1.44.0" "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] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cea163762e05141bff28f372fee7f19078e600b98dadf3f74772ecac8f5a423e [INFO] running `"docker" "start" "-a" "cea163762e05141bff28f372fee7f19078e600b98dadf3f74772ecac8f5a423e"` [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] Compiling futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.19 [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 12.73s [INFO] running `"docker" "inspect" "cea163762e05141bff28f372fee7f19078e600b98dadf3f74772ecac8f5a423e"` [INFO] running `"docker" "rm" "-f" "cea163762e05141bff28f372fee7f19078e600b98dadf3f74772ecac8f5a423e"` [INFO] [stdout] cea163762e05141bff28f372fee7f19078e600b98dadf3f74772ecac8f5a423e [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 84b2b9e33696f6939f0e141aa997549c0d9f364d5320650b06b6b23072183170 [INFO] running `"docker" "start" "-a" "84b2b9e33696f6939f0e141aa997549c0d9f364d5320650b06b6b23072183170"` [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 tokio-net v0.2.0-alpha.6 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `tokio_net::udp` [INFO] [stderr] --> tests/udp.rs:4:16 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio_net::udp::{UdpFramed, UdpSocket}; [INFO] [stderr] | ^^^ could not find `udp` in `tokio_net` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> tests/tcp_connect.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[E0432]: unresolved import `futures_util::sink` [INFO] [stderr] --> tests/udp.rs:7:39 [INFO] [stderr] | [INFO] [stderr] 7 | use futures_util::{future::FutureExt, sink::SinkExt, stream::StreamExt, try_future::try_join}; [INFO] [stderr] | ^^^^ could not find `sink` in `futures_util` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> tests/tcp_connect.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio::sync::oneshot; [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `bytes` [INFO] [stderr] --> tests/udp.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use bytes::{BufMut, BytesMut}; [INFO] [stderr] | ^^^^^ use of undeclared type or module `bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> tests/udp.rs:102:3 [INFO] [stderr] | [INFO] [stderr] 102 | #[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 `tokio` [INFO] [stderr] --> tests/udp.rs:69:3 [INFO] [stderr] | [INFO] [stderr] 69 | #[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 `tokio` [INFO] [stderr] --> tests/udp.rs:61:3 [INFO] [stderr] | [INFO] [stderr] 61 | #[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 `tokio` [INFO] [stderr] --> tests/udp.rs:45:3 [INFO] [stderr] | [INFO] [stderr] 45 | #[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 `tokio` [INFO] [stderr] --> tests/udp.rs:28:3 [INFO] [stderr] | [INFO] [stderr] 28 | #[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 `tokio` [INFO] [stderr] --> tests/udp.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 `tokio` [INFO] [stderr] --> tests/udp.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | 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_connect.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use tokio_test::assert_ok; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> tests/tcp_connect.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use futures::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 `tokio` [INFO] [stderr] --> tests/tcp_connect.rs:148:3 [INFO] [stderr] | [INFO] [stderr] 148 | #[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 `tokio` [INFO] [stderr] --> tests/tcp_accept.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_connect.rs:131:3 [INFO] [stderr] | [INFO] [stderr] 131 | #[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 `tokio` [INFO] [stderr] --> tests/tcp_connect.rs:114:3 [INFO] [stderr] | [INFO] [stderr] 114 | #[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 `tokio` [INFO] [stderr] --> tests/tcp_connect.rs:97:3 [INFO] [stderr] | [INFO] [stderr] 97 | #[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 `tokio` [INFO] [stderr] --> tests/tcp_connect.rs:80:3 [INFO] [stderr] | [INFO] [stderr] 80 | #[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 `tokio` [INFO] [stderr] --> tests/tcp_connect.rs:63:3 [INFO] [stderr] | [INFO] [stderr] 63 | #[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 `tokio` [INFO] [stderr] --> tests/tcp_connect.rs:36:3 [INFO] [stderr] | [INFO] [stderr] 36 | #[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 `tokio` [INFO] [stderr] --> tests/tcp_connect.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_connect.rs:150:19 [INFO] [stderr] | [INFO] [stderr] 150 | 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_connect.rs:151:16 [INFO] [stderr] | [INFO] [stderr] 151 | 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_connect.rs:155:9 [INFO] [stderr] | [INFO] [stderr] 155 | 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_connect.rs:159:9 [INFO] [stderr] | [INFO] [stderr] 159 | 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 `join` [INFO] [stderr] --> tests/tcp_connect.rs:162:5 [INFO] [stderr] | [INFO] [stderr] 162 | join!(server, client); [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_connect.rs:133:19 [INFO] [stderr] | [INFO] [stderr] 133 | 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_connect.rs:134:16 [INFO] [stderr] | [INFO] [stderr] 134 | 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_connect.rs:138:9 [INFO] [stderr] | [INFO] [stderr] 138 | 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_connect.rs:142:9 [INFO] [stderr] | [INFO] [stderr] 142 | 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 `join` [INFO] [stderr] --> tests/tcp_connect.rs:145:5 [INFO] [stderr] | [INFO] [stderr] 145 | join!(server, client); [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_connect.rs:116:19 [INFO] [stderr] | [INFO] [stderr] 116 | 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_connect.rs:117:16 [INFO] [stderr] | [INFO] [stderr] 117 | 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_connect.rs:121:9 [INFO] [stderr] | [INFO] [stderr] 121 | 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_connect.rs:125:9 [INFO] [stderr] | [INFO] [stderr] 125 | 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 `join` [INFO] [stderr] --> tests/tcp_connect.rs:128:5 [INFO] [stderr] | [INFO] [stderr] 128 | join!(server, client); [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_connect.rs:99:19 [INFO] [stderr] | [INFO] [stderr] 99 | 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_connect.rs:100:16 [INFO] [stderr] | [INFO] [stderr] 100 | 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_connect.rs:104:9 [INFO] [stderr] | [INFO] [stderr] 104 | 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_connect.rs:108:9 [INFO] [stderr] | [INFO] [stderr] 108 | 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 `join` [INFO] [stderr] --> tests/tcp_connect.rs:111:5 [INFO] [stderr] | [INFO] [stderr] 111 | join!(server, client); [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_connect.rs:82:19 [INFO] [stderr] | [INFO] [stderr] 82 | 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_connect.rs:83:16 [INFO] [stderr] | [INFO] [stderr] 83 | 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_connect.rs:87:9 [INFO] [stderr] | [INFO] [stderr] 87 | 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_connect.rs:91:9 [INFO] [stderr] | [INFO] [stderr] 91 | 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 `join` [INFO] [stderr] --> tests/tcp_connect.rs:94:5 [INFO] [stderr] | [INFO] [stderr] 94 | join!(server, client); [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_connect.rs:65:19 [INFO] [stderr] | [INFO] [stderr] 65 | 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_connect.rs:66:16 [INFO] [stderr] | [INFO] [stderr] 66 | 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_connect.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 70 | 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_connect.rs:74:9 [INFO] [stderr] | [INFO] [stderr] 74 | 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 `join` [INFO] [stderr] --> tests/tcp_connect.rs:77:5 [INFO] [stderr] | [INFO] [stderr] 77 | join!(server, client); [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_connect.rs:38:19 [INFO] [stderr] | [INFO] [stderr] 38 | let mut srv = assert_ok!(TcpListener::bind("[::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_connect.rs:39:16 [INFO] [stderr] | [INFO] [stderr] 39 | 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[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> tests/tcp_accept.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio::sync::oneshot; [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: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: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/tcp_connect.rs:45:30 [INFO] [stderr] | [INFO] [stderr] 45 | let (socket, addr) = 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[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] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/tcp_connect.rs:46:26 [INFO] [stderr] | [INFO] [stderr] 46 | assert_eq!(addr, assert_ok!(socket.peer_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_connect.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 47 | assert_ok!(tx.send(socket)); [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_connect.rs:50:16 [INFO] [stderr] | [INFO] [stderr] 50 | let mine = 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_connect.rs:51:18 [INFO] [stderr] | [INFO] [stderr] 51 | let theirs = assert_ok!(rx.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_connect.rs:54:9 [INFO] [stderr] | [INFO] [stderr] 54 | assert_ok!(mine.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_connect.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | assert_ok!(theirs.peer_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_connect.rs:58:9 [INFO] [stderr] | [INFO] [stderr] 58 | assert_ok!(theirs.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_connect.rs:59:9 [INFO] [stderr] | [INFO] [stderr] 59 | assert_ok!(mine.peer_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_connect.rs:11:19 [INFO] [stderr] | [INFO] [stderr] 11 | 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_connect.rs:12:16 [INFO] [stderr] | [INFO] [stderr] 12 | 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_connect.rs:18:30 [INFO] [stderr] | [INFO] [stderr] 18 | let (socket, addr) = 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_connect.rs:19:26 [INFO] [stderr] | [INFO] [stderr] 19 | assert_eq!(addr, assert_ok!(socket.peer_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_connect.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | assert_ok!(tx.send(socket)); [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_connect.rs:23:16 [INFO] [stderr] | [INFO] [stderr] 23 | let mine = 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_connect.rs:24:18 [INFO] [stderr] | [INFO] [stderr] 24 | let theirs = assert_ok!(rx.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_connect.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | assert_ok!(mine.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_connect.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | assert_ok!(theirs.peer_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_connect.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 31 | assert_ok!(theirs.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_connect.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | assert_ok!(mine.peer_addr()) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stderr] --> tests/tcp_connect.rs:15:20 [INFO] [stderr] | [INFO] [stderr] 15 | 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_connect.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | 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 `oneshot` [INFO] [stderr] --> tests/tcp_connect.rs:42:20 [INFO] [stderr] | [INFO] [stderr] 42 | 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_connect.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | tokio::spawn(async move { [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error: aborting due to 68 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[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[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_accept.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | 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_accept.rs:12:15 [INFO] [stderr] | [INFO] [stderr] 12 | #[tokio::test] [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] ... [INFO] [stderr] 33 | / test_accept! { [INFO] [stderr] 34 | | (ip_str, "127.0.0.1:0"), [INFO] [stderr] 35 | | (host_str, "localhost:0"), [INFO] [stderr] 36 | | (socket_addr, "127.0.0.1:0".parse::().unwrap()), [INFO] [stderr] 37 | | (str_port_tuple, ("127.0.0.1", 0)), [INFO] [stderr] 38 | | (ip_port_tuple, ("127.0.0.1".parse::().unwrap(), 0)), [INFO] [stderr] 39 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/tcp_accept.rs:14:36 [INFO] [stderr] | [INFO] [stderr] 14 | let mut listener = assert_ok!(TcpListener::bind($target).await); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | / test_accept! { [INFO] [stderr] 34 | | (ip_str, "127.0.0.1:0"), [INFO] [stderr] 35 | | (host_str, "localhost:0"), [INFO] [stderr] 36 | | (socket_addr, "127.0.0.1:0".parse::().unwrap()), [INFO] [stderr] 37 | | (str_port_tuple, ("127.0.0.1", 0)), [INFO] [stderr] 38 | | (ip_port_tuple, ("127.0.0.1".parse::().unwrap(), 0)), [INFO] [stderr] 39 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/tcp_accept.rs:20:39 [INFO] [stderr] | [INFO] [stderr] 20 | let (socket, _) = assert_ok!(listener.accept().await); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | / test_accept! { [INFO] [stderr] 34 | | (ip_str, "127.0.0.1:0"), [INFO] [stderr] 35 | | (host_str, "localhost:0"), [INFO] [stderr] 36 | | (socket_addr, "127.0.0.1:0".parse::().unwrap()), [INFO] [stderr] 37 | | (str_port_tuple, ("127.0.0.1", 0)), [INFO] [stderr] 38 | | (ip_port_tuple, ("127.0.0.1".parse::().unwrap(), 0)), [INFO] [stderr] 39 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [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: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/tcp_accept.rs:21:21 [INFO] [stderr] | [INFO] [stderr] 21 | assert_ok!(tx.send(socket)); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | / test_accept! { [INFO] [stderr] 34 | | (ip_str, "127.0.0.1:0"), [INFO] [stderr] 35 | | (host_str, "localhost:0"), [INFO] [stderr] 36 | | (socket_addr, "127.0.0.1:0".parse::().unwrap()), [INFO] [stderr] 37 | | (str_port_tuple, ("127.0.0.1", 0)), [INFO] [stderr] 38 | | (ip_port_tuple, ("127.0.0.1".parse::().unwrap(), 0)), [INFO] [stderr] 39 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/tcp_accept.rs:24:27 [INFO] [stderr] | [INFO] [stderr] 24 | let cli = assert_ok!(TcpStream::connect(&addr).await); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | / test_accept! { [INFO] [stderr] 34 | | (ip_str, "127.0.0.1:0"), [INFO] [stderr] 35 | | (host_str, "localhost:0"), [INFO] [stderr] 36 | | (socket_addr, "127.0.0.1:0".parse::().unwrap()), [INFO] [stderr] 37 | | (str_port_tuple, ("127.0.0.1", 0)), [INFO] [stderr] 38 | | (ip_port_tuple, ("127.0.0.1".parse::().unwrap(), 0)), [INFO] [stderr] 39 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/tcp_accept.rs:25:27 [INFO] [stderr] | [INFO] [stderr] 25 | let srv = assert_ok!(rx.await); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | / test_accept! { [INFO] [stderr] 34 | | (ip_str, "127.0.0.1:0"), [INFO] [stderr] 35 | | (host_str, "localhost:0"), [INFO] [stderr] 36 | | (socket_addr, "127.0.0.1:0".parse::().unwrap()), [INFO] [stderr] 37 | | (str_port_tuple, ("127.0.0.1", 0)), [INFO] [stderr] 38 | | (ip_port_tuple, ("127.0.0.1".parse::().unwrap(), 0)), [INFO] [stderr] 39 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stderr] --> tests/tcp_accept.rs:17:32 [INFO] [stderr] | [INFO] [stderr] 17 | let (tx, rx) = oneshot::channel(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `oneshot` [INFO] [stderr] ... [INFO] [stderr] 33 | / test_accept! { [INFO] [stderr] 34 | | (ip_str, "127.0.0.1:0"), [INFO] [stderr] 35 | | (host_str, "localhost:0"), [INFO] [stderr] 36 | | (socket_addr, "127.0.0.1:0".parse::().unwrap()), [INFO] [stderr] 37 | | (str_port_tuple, ("127.0.0.1", 0)), [INFO] [stderr] 38 | | (ip_port_tuple, ("127.0.0.1".parse::().unwrap(), 0)), [INFO] [stderr] 39 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> tests/tcp_accept.rs:19:17 [INFO] [stderr] | [INFO] [stderr] 19 | tokio::spawn(async move { [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] ... [INFO] [stderr] 33 | / test_accept! { [INFO] [stderr] 34 | | (ip_str, "127.0.0.1:0"), [INFO] [stderr] 35 | | (host_str, "localhost:0"), [INFO] [stderr] 36 | | (socket_addr, "127.0.0.1:0".parse::().unwrap()), [INFO] [stderr] 37 | | (str_port_tuple, ("127.0.0.1", 0)), [INFO] [stderr] 38 | | (ip_port_tuple, ("127.0.0.1".parse::().unwrap(), 0)), [INFO] [stderr] 39 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused imports: `IpAddr`, `SocketAddr` [INFO] [stderr] --> tests/tcp_accept.rs:7:16 [INFO] [stderr] | [INFO] [stderr] 7 | use std::net::{IpAddr, SocketAddr}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [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 `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 11 previous errors; 1 warning emitted [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: 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: 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] warning: unused import: `future::FutureExt` [INFO] [stderr] --> tests/udp.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | use futures_util::{future::FutureExt, sink::SinkExt, stream::StreamExt, try_future::try_join}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `stream::StreamExt` [INFO] [stderr] --> tests/udp.rs:7:54 [INFO] [stderr] | [INFO] [stderr] 7 | use futures_util::{future::FutureExt, sink::SinkExt, stream::StreamExt, try_future::try_join}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors; 2 warnings emitted [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: build failed [INFO] running `"docker" "inspect" "84b2b9e33696f6939f0e141aa997549c0d9f364d5320650b06b6b23072183170"` [INFO] running `"docker" "rm" "-f" "84b2b9e33696f6939f0e141aa997549c0d9f364d5320650b06b6b23072183170"` [INFO] [stdout] 84b2b9e33696f6939f0e141aa997549c0d9f364d5320650b06b6b23072183170