[INFO] fetching crate tokio-net 0.2.0-alpha.6... [INFO] checking tokio-net-0.2.0-alpha.6 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] extracting crate tokio-net 0.2.0-alpha.6 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate tokio-net 0.2.0-alpha.6 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-0/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e170a67e5ddefe1c589544a71b127988ea2c8f6963651ef6ab9bfb9b75daec8 [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" "7e170a67e5ddefe1c589544a71b127988ea2c8f6963651ef6ab9bfb9b75daec8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e170a67e5ddefe1c589544a71b127988ea2c8f6963651ef6ab9bfb9b75daec8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e170a67e5ddefe1c589544a71b127988ea2c8f6963651ef6ab9bfb9b75daec8", kill_on_drop: false }` [INFO] [stdout] 7e170a67e5ddefe1c589544a71b127988ea2c8f6963651ef6ab9bfb9b75daec8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39224ccf47f6e09a4bfbff2709f5bb527582a7e1e7fe189693493ad6c536c24c [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" "39224ccf47f6e09a4bfbff2709f5bb527582a7e1e7fe189693493ad6c536c24c", 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 libc v0.2.62 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking spin v0.5.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 futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Checking lock_api v0.3.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking tokio-sync v0.2.0-alpha.6 [INFO] [stderr] Checking tokio-io v0.2.0-alpha.6 [INFO] [stderr] Checking tokio-codec 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] [stdout] warning: lint `intra_doc_link_resolution_failure` has been renamed to `broken_intra_doc_links` [INFO] [stdout] --> src/lib.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | #![deny(intra_doc_link_resolution_failure)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `broken_intra_doc_links` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been renamed to `broken_intra_doc_links` [INFO] [stdout] --> src/lib.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | #![deny(intra_doc_link_resolution_failure)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `broken_intra_doc_links` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/driver/registration.rs:194:45 [INFO] [stdout] | [INFO] [stdout] 194 | let actual = self.state.compare_and_swap(INIT, LOCKED, SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/driver/registration.rs:399:45 [INFO] [stdout] | [INFO] [stdout] 399 | let actual = self.state.compare_and_swap(state, next, SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/driver/registration.rs:194:45 [INFO] [stdout] | [INFO] [stdout] 194 | let actual = self.state.compare_and_swap(INIT, LOCKED, SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/driver/registration.rs:399:45 [INFO] [stdout] | [INFO] [stdout] 399 | let actual = self.state.compare_and_swap(state, next, SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/tcp_echo.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::prelude::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/tcp_connect.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/tcp_connect.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::oneshot; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_test` [INFO] [stdout] --> tests/tcp_connect.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio_test::assert_ok; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tokio_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> tests/tcp_connect.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::join; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/tcp_connect.rs:148:3 [INFO] [stdout] | [INFO] [stdout] 148 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/tcp_connect.rs:131:3 [INFO] [stdout] | [INFO] [stdout] 131 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/tcp_connect.rs:114:3 [INFO] [stdout] | [INFO] [stdout] 114 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/tcp_connect.rs:97:3 [INFO] [stdout] | [INFO] [stdout] 97 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/tcp_connect.rs:80:3 [INFO] [stdout] | [INFO] [stdout] 80 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/tcp_connect.rs:63:3 [INFO] [stdout] | [INFO] [stdout] 63 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/tcp_connect.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/tcp_connect.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ok` [INFO] [stdout] --> tests/tcp_connect.rs:150:19 [INFO] [stdout] | [INFO] [stdout] 150 | 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_connect.rs:151:16 [INFO] [stdout] | [INFO] [stdout] 151 | 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_connect.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | 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_connect.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | 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 `join` [INFO] [stdout] --> tests/tcp_connect.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | join!(server, client); [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_connect.rs:133:19 [INFO] [stdout] | [INFO] [stdout] 133 | 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_connect.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 134 | 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_connect.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | 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_connect.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | 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 `join` [INFO] [stdout] --> tests/tcp_connect.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | join!(server, client); [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_connect.rs:116:19 [INFO] [stdout] | [INFO] [stdout] 116 | 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_connect.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | 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_connect.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | 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_connect.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | 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 `join` [INFO] [stdout] --> tests/tcp_connect.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | join!(server, client); [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_connect.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | 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_connect.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | 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_connect.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | 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_connect.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | 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 `join` [INFO] [stdout] --> tests/tcp_connect.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | join!(server, client); [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_connect.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | 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_connect.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | 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_connect.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | 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_connect.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | 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 `join` [INFO] [stdout] --> tests/tcp_connect.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | join!(server, client); [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_connect.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | 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_connect.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | 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_connect.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | 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_connect.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | 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 `join` [INFO] [stdout] --> tests/tcp_connect.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | join!(server, client); [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_connect.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | let mut srv = assert_ok!(TcpListener::bind("[::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_connect.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | 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_connect.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | let (socket, addr) = 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_connect.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | assert_eq!(addr, assert_ok!(socket.peer_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_connect.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | assert_ok!(tx.send(socket)); [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_connect.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | let mine = 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_connect.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | let theirs = 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: cannot determine resolution for the macro `assert_ok` [INFO] [stdout] --> tests/tcp_connect.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | assert_ok!(mine.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_connect.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | assert_ok!(theirs.peer_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_connect.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | assert_ok!(theirs.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_connect.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | assert_ok!(mine.peer_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_connect.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | 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_connect.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | 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_connect.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | let (socket, addr) = 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_connect.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | assert_eq!(addr, assert_ok!(socket.peer_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_connect.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | assert_ok!(tx.send(socket)); [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_connect.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | let mine = 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_connect.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | let theirs = 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: cannot determine resolution for the macro `assert_ok` [INFO] [stdout] --> tests/tcp_connect.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | assert_ok!(mine.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_connect.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | assert_ok!(theirs.peer_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_connect.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | assert_ok!(theirs.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_connect.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | assert_ok!(mine.peer_addr()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [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 crate or module `tokio_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_net::uds` [INFO] [stdout] --> tests/uds_datagram.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio_net::uds::*; [INFO] [stdout] | ^^^ could not find `uds` in `tokio_net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `oneshot` [INFO] [stdout] --> tests/tcp_connect.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | let (tx, rx) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `oneshot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/tcp_shutdown.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::prelude::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/tcp_echo.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate 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 crate or module `tokio` [INFO] [stdout] --> tests/tcp_shutdown.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::io::AsyncWriteExt; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/tcp_shutdown.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/tcp_connect.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `oneshot` [INFO] [stdout] --> tests/tcp_connect.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | let (tx, rx) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `oneshot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/tcp_connect.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tempfile` [INFO] [stdout] --> tests/uds_datagram.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tempfile; [INFO] [stdout] | ^^^^^^^^ no external crate `tempfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/uds_datagram.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [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 crate or module `tokio_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/tcp_peek.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate 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[E0433]: failed to resolve: use of undeclared crate 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 crate or module `oneshot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 68 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[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/uds_datagram.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UnixDatagram` in this scope [INFO] [stdout] --> tests/uds_datagram.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | async fn echo_server(mut socket: UnixDatagram) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use crate::io::sys::ext::net::UnixDatagram; [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::UnixDatagram; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnixDatagram` [INFO] [stdout] --> tests/uds_datagram.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | let server_socket = UnixDatagram::bind(server_path.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use crate::io::sys::ext::net::UnixDatagram; [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::UnixDatagram; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnixDatagram` [INFO] [stdout] --> tests/uds_datagram.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | let mut socket = UnixDatagram::bind(&client_path).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use crate::io::sys::ext::net::UnixDatagram; [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::UnixDatagram; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tokio::io::AsyncWriteExt`, `tokio::net::TcpListener`, `tokio::net::TcpStream`, `tokio_test` [INFO] [stdout] --> tests/tcp_shutdown.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::io::AsyncWriteExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 5 | use tokio::prelude::*; [INFO] [stdout] 6 | use tokio_test::assert_ok; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tokio_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/tcp_shutdown.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ok` [INFO] [stdout] --> tests/tcp_shutdown.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | 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_shutdown.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | 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_shutdown.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | 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_shutdown.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | assert_ok!(AsyncWriteExt::shutdown(&mut stream).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_shutdown.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let n = assert_ok!(stream.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: cannot determine resolution for the macro `assert_ok` [INFO] [stdout] --> tests/tcp_shutdown.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | 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_shutdown.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | 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[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[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 crate or module `bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/udp.rs:102:3 [INFO] [stdout] | [INFO] [stdout] 102 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/udp.rs:69:3 [INFO] [stdout] | [INFO] [stdout] 69 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/udp.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 61 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/udp.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 45 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/udp.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/udp.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate 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] [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 crate::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 crate or module `tokio` [INFO] [stdout] --> tests/tcp_shutdown.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/uds_split.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::prelude::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/uds_split.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::net::UnixStream; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::net::UnixStream` [INFO] [stdout] --> tests/uds_split.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::net::UnixStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/uds_split.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [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] 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: 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[E0433]: failed to resolve: use of undeclared crate 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 crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/support.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::timer::Timeout; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/udp.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [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: aborting due to 13 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] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> tests/uds_split.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | let (a_response, b_response) = futures::future::try_join( [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnixStream` [INFO] [stdout] --> tests/uds_split.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | let (mut a, mut b) = UnixStream::pair()?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use mio::deprecated::UnixStream; [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::UnixStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsyncRead` in this scope [INFO] [stdout] --> tests/uds_split.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | read: &mut (dyn AsyncRead + Unpin), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 4 | use tokio_io::AsyncRead; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsyncWrite` in this scope [INFO] [stdout] --> tests/uds_split.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | write: &mut (dyn AsyncWrite + Unpin), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 4 | use tokio_io::AsyncWrite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate 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 crate 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 crate 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 crate 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 crate or module `tokio` [INFO] [stdout] --> tests/uds_stream.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [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 crate or module `tokio_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/tcp_accept.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate 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 `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] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use mio::timer::Timeout; [INFO] [stdout] | [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[E0433]: failed to resolve: use of undeclared type `UnixListener` [INFO] [stdout] --> tests/uds_stream.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | let mut listener = UnixListener::bind(&sock_path)?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use mio::deprecated::UnixListener; [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::UnixListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnixStream` [INFO] [stdout] --> tests/uds_stream.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | let connect = UnixStream::connect(&sock_path); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use mio::deprecated::UnixStream; [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::UnixStream; [INFO] [stdout] | [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[E0433]: failed to resolve: use of undeclared crate 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 crate 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] error[E0433]: failed to resolve: use of undeclared crate 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 crate 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: 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] 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] [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: `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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "39224ccf47f6e09a4bfbff2709f5bb527582a7e1e7fe189693493ad6c536c24c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39224ccf47f6e09a4bfbff2709f5bb527582a7e1e7fe189693493ad6c536c24c", kill_on_drop: false }` [INFO] [stdout] 39224ccf47f6e09a4bfbff2709f5bb527582a7e1e7fe189693493ad6c536c24c