[INFO] fetching crate tokio-net 0.2.0-alpha.6...
[INFO] testing tokio-net-0.2.0-alpha.6 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate tokio-net 0.2.0-alpha.6 into /workspace/builds/worker-6-tc2/source
[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-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate tokio-net 0.2.0-alpha.6 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3e8d660e27ea188445fccd3d3200e567611a626a4c3ea9501622575e5673f132
[INFO] running `Command { std: "docker" "start" "-a" "3e8d660e27ea188445fccd3d3200e567611a626a4c3ea9501622575e5673f132", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3e8d660e27ea188445fccd3d3200e567611a626a4c3ea9501622575e5673f132", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3e8d660e27ea188445fccd3d3200e567611a626a4c3ea9501622575e5673f132", kill_on_drop: false }`
[INFO] [stdout] 3e8d660e27ea188445fccd3d3200e567611a626a4c3ea9501622575e5673f132
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e2c05d9007bda3465555386efb1886b3254ca88d5318d08d13829dadb2b0b96a
[INFO] running `Command { std: "docker" "start" "-a" "e2c05d9007bda3465555386efb1886b3254ca88d5318d08d13829dadb2b0b96a", 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 cfg-if v0.1.10
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling futures-core-preview v0.3.0-alpha.19
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling pin-utils v0.1.0-alpha.4
[INFO] [stderr]    Compiling smallvec v0.6.10
[INFO] [stderr]    Compiling fnv v1.0.6
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling scopeguard v1.0.0
[INFO] [stderr]    Compiling futures-sink-preview v0.3.0-alpha.19
[INFO] [stderr]    Compiling crossbeam-utils v0.6.6
[INFO] [stderr]    Compiling lock_api v0.3.1
[INFO] [stderr]    Compiling futures-channel-preview v0.3.0-alpha.19
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling futures-util-preview v0.3.0-alpha.19
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling iovec v0.1.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 parking_lot_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling mio v0.6.19
[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] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead
[INFO] [stdout]  --> src/lib.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | #![deny(intra_doc_link_resolution_failure)]
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `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 method `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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.45s
[INFO] running `Command { std: "docker" "inspect" "e2c05d9007bda3465555386efb1886b3254ca88d5318d08d13829dadb2b0b96a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e2c05d9007bda3465555386efb1886b3254ca88d5318d08d13829dadb2b0b96a", kill_on_drop: false }`
[INFO] [stdout] e2c05d9007bda3465555386efb1886b3254ca88d5318d08d13829dadb2b0b96a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e4b2ad5f9c374c2ef0eb5c32bc1ada4270bdf4f1e3ed33a6a2dee02123c840e6
[INFO] running `Command { std: "docker" "start" "-a" "e4b2ad5f9c374c2ef0eb5c32bc1ada4270bdf4f1e3ed33a6a2dee02123c840e6", kill_on_drop: false }`
[INFO] [stderr] warning: Found `test` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies
[INFO] [stderr]    Compiling tokio-net v0.2.0-alpha.6 (/opt/rustwide/workdir)
[INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead
[INFO] [stdout]  --> src/lib.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | #![deny(intra_doc_link_resolution_failure)]
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `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 method `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] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]  --> tests/tcp_shutdown.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::prelude::*;
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]  --> tests/tcp_shutdown.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio::io::AsyncWriteExt;
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]  --> tests/tcp_shutdown.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::net::{TcpListener, TcpStream};
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio_test`
[INFO] [stdout]  --> tests/tcp_shutdown.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tokio_test::assert_ok;
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_test`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 6 - use tokio_test::assert_ok;
[INFO] [stdout] 6 + use tokio_net::assert_ok;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]  --> tests/tcp_shutdown.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[tokio::test]
[INFO] [stdout]   |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> tests/tcp_shutdown.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     tokio::spawn(async move {
[INFO] [stdout]    |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/tcp_shutdown.rs:24:28
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let (mut rd, mut wr) = stream.split();
[INFO] [stdout]    |                            ^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tokio-net` (test "tcp_shutdown") due to 7 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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] note: found an item that was configured out
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 60 | #[cfg(feature = "udp")]
[INFO] [stdout]    |       --------------- the item is gated behind the `udp` feature
[INFO] [stdout] 61 | pub mod udp;
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]  --> tests/tcp_accept.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio::net::{TcpListener, TcpStream};
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]  --> tests/tcp_accept.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::sync::oneshot;
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[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] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-preview-0.3.0-alpha.19/src/lib.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 104 | #[cfg(feature = "sink")]
[INFO] [stdout]     |       ---------------- the item is gated behind the `sink` feature
[INFO] [stdout] 105 | pub mod sink;
[INFO] [stdout]     |         ^^^^
[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 unresolved module or unlinked crate `bytes`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `bytes`, use `cargo add bytes` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    --> tests/udp.rs:102:3
[INFO] [stdout]     |
[INFO] [stdout] 102 | #[tokio::test]
[INFO] [stdout]     |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> tests/udp.rs:69:3
[INFO] [stdout]    |
[INFO] [stdout] 69 | #[tokio::test]
[INFO] [stdout]    |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> tests/udp.rs:61:3
[INFO] [stdout]    |
[INFO] [stdout] 61 | #[tokio::test]
[INFO] [stdout]    |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> tests/udp.rs:45:3
[INFO] [stdout]    |
[INFO] [stdout] 45 | #[tokio::test]
[INFO] [stdout]    |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> tests/udp.rs:28:3
[INFO] [stdout]    |
[INFO] [stdout] 28 | #[tokio::test]
[INFO] [stdout]    |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> tests/udp.rs:10:3
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[tokio::test]
[INFO] [stdout]    |   ^^^^^ use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `tokio_test`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 5 - use tokio_test::assert_ok;
[INFO] [stdout] 5 + use tokio_net::assert_ok;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> tests/tcp_accept.rs:12:15
[INFO] [stdout]    |
[INFO] [stdout] 12 |               #[tokio::test]
[INFO] [stdout]    |                 ^^^^^ use of unresolved module or unlinked crate `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::<SocketAddr>().unwrap()),
[INFO] [stdout] 37 | |     (str_port_tuple, ("127.0.0.1", 0)),
[INFO] [stdout] 38 | |     (ip_port_tuple, ("127.0.0.1".parse::<IpAddr>().unwrap(), 0)),
[INFO] [stdout] 39 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `test_accept` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]  --> tests/uds_split.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::prelude::*;
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]  --> tests/uds_split.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::net::UnixStream;
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[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 unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> tests/uds_split.rs:12:3
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[tokio::test]
[INFO] [stdout]    |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `futures`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml`
[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] [stderr] error: could not compile `tokio-net` (test "uds_split") due to 7 previous errors
[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 unresolved module or unlinked crate `tokio`
[INFO] [stdout]  --> tests/tcp_echo.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::prelude::*;
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]  --> tests/tcp_echo.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio::net::{TcpListener, TcpStream};
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]  --> tests/tcp_echo.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::sync::oneshot;
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio_test`
[INFO] [stdout]  --> tests/tcp_echo.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tokio_test::assert_ok;
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_test`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 6 - use tokio_test::assert_ok;
[INFO] [stdout] 6 + use tokio_net::assert_ok;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]  --> tests/tcp_echo.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[tokio::test]
[INFO] [stdout]   |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/udp.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut sender = UdpSocket::bind("127.0.0.1:0").await?;
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     sender.connect(receiver.local_addr()?).await?;
[INFO] [stdout]    |     ------ type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `sender` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut sender: /* Type */ = UdpSocket::bind("127.0.0.1:0").await?;
[INFO] [stdout]    |                   ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/udp.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut receiver = UdpSocket::bind("127.0.0.1:0").await?;
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 14 |
[INFO] [stdout] 15 |     sender.connect(receiver.local_addr()?).await?;
[INFO] [stdout]    |                    -------- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `receiver` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut receiver: /* Type */ = UdpSocket::bind("127.0.0.1:0").await?;
[INFO] [stdout]    |                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/udp.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let mut receiver = UdpSocket::bind("127.0.0.1:0").await?;
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     let receiver_addr = receiver.local_addr()?;
[INFO] [stdout]    |                         -------- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `receiver` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let mut receiver: /* Type */ = UdpSocket::bind("127.0.0.1:0").await?;
[INFO] [stdout]    |                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/udp.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let mut sender = UdpSocket::bind("127.0.0.1:0").await?;
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     sender.send_to(message, &receiver_addr).await?;
[INFO] [stdout]    |     ------ type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `sender` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let mut sender: /* Type */ = UdpSocket::bind("127.0.0.1:0").await?;
[INFO] [stdout]    |                   ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/udp.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let socket = UdpSocket::bind("127.0.0.1:0").await?;
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 48 |     let (mut r, mut s) = socket.split();
[INFO] [stdout]    |                          ------ type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `socket` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let socket: /* Type */ = UdpSocket::bind("127.0.0.1:0").await?;
[INFO] [stdout]    |               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/udp.rs:51:16
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let addr = s.as_ref().local_addr()?;
[INFO] [stdout]    |                ^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> tests/udp.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 |     tokio::spawn(async move {
[INFO] [stdout]    |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/udp.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         s.send_to(msg, &addr).await.unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/udp.rs:56:20
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let (len, _) = r.recv_from(&mut recv_buf[..]).await?;
[INFO] [stdout]    |                    ^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/udp.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let socket = UdpSocket::bind("127.0.0.1:0").await?;
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 64 |     let (s, r) = socket.split();
[INFO] [stdout]    |                  ------ type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `socket` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let socket: /* Type */ = UdpSocket::bind("127.0.0.1:0").await?;
[INFO] [stdout]    |               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/udp.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |     assert!(s.reunite(r).is_ok());
[INFO] [stdout]    |             ^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `tokio`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/udp.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let socket = UdpSocket::bind("127.0.0.1:0").await?;
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 72 |     let socket1 = UdpSocket::bind("127.0.0.1:0").await?;
[INFO] [stdout] 73 |     let (s, _) = socket.split();
[INFO] [stdout]    |                  ------ type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `socket` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let socket: /* Type */ = UdpSocket::bind("127.0.0.1:0").await?;
[INFO] [stdout]    |               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/udp.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let socket1 = UdpSocket::bind("127.0.0.1:0").await?;
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 73 |     let (s, _) = socket.split();
[INFO] [stdout] 74 |     let (_, r1) = socket1.split();
[INFO] [stdout]    |                   ------- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `socket1` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let socket1: /* Type */ = UdpSocket::bind("127.0.0.1:0").await?;
[INFO] [stdout]    |                ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/udp.rs:75:13
[INFO] [stdout]    |
[INFO] [stdout] 75 |     assert!(s.reunite(r1).is_err());
[INFO] [stdout]    |             ^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/udp.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |     let mut a_soc = UdpSocket::bind("127.0.0.1:0").await?;
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     let a_addr = a_soc.local_addr()?;
[INFO] [stdout]     |                  ----- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `a_soc` an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 104 |     let mut a_soc: /* Type */ = UdpSocket::bind("127.0.0.1:0").await?;
[INFO] [stdout]     |                  ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/udp.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |     let mut b_soc = UdpSocket::bind("127.0.0.1:0").await?;
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     let b_addr = b_soc.local_addr()?;
[INFO] [stdout]     |                  ----- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `b_soc` an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 105 |     let mut b_soc: /* Type */ = UdpSocket::bind("127.0.0.1:0").await?;
[INFO] [stdout]     |                  ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]  --> tests/support.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::timer::Timeout;
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/udp.rs:118:34
[INFO] [stdout]     |
[INFO] [stdout] 118 |         let recv = b.next().map(|e| e.unwrap());
[INFO] [stdout]     |                                  ^  - type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 118 |         let recv = b.next().map(|e: /* Type */| e.unwrap());
[INFO] [stdout]     |                                   ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/udp.rs:119:29
[INFO] [stdout]     |
[INFO] [stdout] 119 |         let (_, received) = try_join(send, recv).await.unwrap();
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/udp.rs:137:34
[INFO] [stdout]     |
[INFO] [stdout] 137 |         let recv = b.next().map(|e| e.unwrap());
[INFO] [stdout]     |                                  ^  - type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 137 |         let recv = b.next().map(|e: /* Type */| e.unwrap());
[INFO] [stdout]     |                                   ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/udp.rs:138:29
[INFO] [stdout]     |
[INFO] [stdout] 138 |         let (_, received) = try_join(send, recv).await.unwrap();
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]  --> tests/tcp_connect.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio::net::{TcpListener, TcpStream};
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]  --> tests/tcp_connect.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::sync::oneshot;
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tokio-net` (test "udp") due to 29 previous errors
[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]    |     ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[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 unresolved module or unlinked crate `tokio_test`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 5 - use tokio_test::assert_ok;
[INFO] [stdout] 5 + use tokio_net::assert_ok;
[INFO] [stdout]   |
[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 unresolved module or unlinked crate `futures`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    --> tests/tcp_connect.rs:148:3
[INFO] [stdout]     |
[INFO] [stdout] 148 | #[tokio::test]
[INFO] [stdout]     |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    --> tests/tcp_connect.rs:131:3
[INFO] [stdout]     |
[INFO] [stdout] 131 | #[tokio::test]
[INFO] [stdout]     |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    --> tests/tcp_connect.rs:114:3
[INFO] [stdout]     |
[INFO] [stdout] 114 | #[tokio::test]
[INFO] [stdout]     |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> tests/tcp_connect.rs:97:3
[INFO] [stdout]    |
[INFO] [stdout] 97 | #[tokio::test]
[INFO] [stdout]    |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> tests/tcp_connect.rs:80:3
[INFO] [stdout]    |
[INFO] [stdout] 80 | #[tokio::test]
[INFO] [stdout]    |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> tests/tcp_connect.rs:63:3
[INFO] [stdout]    |
[INFO] [stdout] 63 | #[tokio::test]
[INFO] [stdout]    |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> tests/tcp_connect.rs:36:3
[INFO] [stdout]    |
[INFO] [stdout] 36 | #[tokio::test]
[INFO] [stdout]    |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]  --> tests/tcp_connect.rs:9:3
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[tokio::test]
[INFO] [stdout]   |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> tests/tcp_echo.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     tokio::spawn(async move {
[INFO] [stdout]    |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/tcp_echo.rs:35:28
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let (mut rd, mut wr) = stream.split();
[INFO] [stdout]    |                            ^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tokio-net` (test "tcp_echo") due to 7 previous errors
[INFO] [stderr] error: could not compile `tokio-net` (test "tcp_connect") due to 14 previous errors
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> tests/tcp_connect.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     tokio::spawn(async move {
[INFO] [stdout]    |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> tests/tcp_connect.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |     tokio::spawn(async move {
[INFO] [stdout]    |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[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 imports: `IpAddr` and `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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> tests/tcp_accept.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 |                   tokio::spawn(async move {
[INFO] [stdout]    |                   ^^^^^ use of unresolved module or unlinked crate `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::<SocketAddr>().unwrap()),
[INFO] [stdout] 37 | |     (str_port_tuple, ("127.0.0.1", 0)),
[INFO] [stdout] 38 | |     (ip_port_tuple, ("127.0.0.1".parse::<IpAddr>().unwrap(), 0)),
[INFO] [stdout] 39 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout]    = note: this error originates in the macro `test_accept` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead
[INFO] [stdout]  --> src/lib.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | #![deny(intra_doc_link_resolution_failure)]
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(renamed_and_removed_lints)]` on by default
[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` (test "tcp_accept") due to 5 previous errors; 1 warning emitted
[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` (test "support") due to 3 previous errors
[INFO] [stdout] warning: use of deprecated method `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 method `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] running `Command { std: "docker" "inspect" "e4b2ad5f9c374c2ef0eb5c32bc1ada4270bdf4f1e3ed33a6a2dee02123c840e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e4b2ad5f9c374c2ef0eb5c32bc1ada4270bdf4f1e3ed33a6a2dee02123c840e6", kill_on_drop: false }`
[INFO] [stdout] e4b2ad5f9c374c2ef0eb5c32bc1ada4270bdf4f1e3ed33a6a2dee02123c840e6
