[INFO] fetching crate tokio-net 0.2.0-alpha.6... [INFO] checking tokio-net-0.2.0-alpha.6 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate tokio-net 0.2.0-alpha.6 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate tokio-net 0.2.0-alpha.6 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-7-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing-attributes v0.1.4 [INFO] [stderr] Downloaded pin-project-internal v0.4.2 [INFO] [stderr] Downloaded tracing-core v0.1.6 [INFO] [stderr] Downloaded tracing v0.1.9 [INFO] [stderr] Downloaded pin-project v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3cf26a6337e4648e0fa1699beb02f377e2e6b40d34145a31bd153427a3ffc66 [INFO] running `Command { std: "docker" "start" "-a" "d3cf26a6337e4648e0fa1699beb02f377e2e6b40d34145a31bd153427a3ffc66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3cf26a6337e4648e0fa1699beb02f377e2e6b40d34145a31bd153427a3ffc66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3cf26a6337e4648e0fa1699beb02f377e2e6b40d34145a31bd153427a3ffc66", kill_on_drop: false }` [INFO] [stdout] d3cf26a6337e4648e0fa1699beb02f377e2e6b40d34145a31bd153427a3ffc66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 969ed0860109f12c489654bc89dd6c516ef7f0596912965ff13bb738b0884168 [INFO] running `Command { std: "docker" "start" "-a" "969ed0860109f12c489654bc89dd6c516ef7f0596912965ff13bb738b0884168", 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] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Checking lock_api v0.3.1 [INFO] [stderr] Checking futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking tokio-io v0.2.0-alpha.6 [INFO] [stderr] Checking tokio-codec v0.2.0-alpha.6 [INFO] [stderr] Checking tokio-sync v0.2.0-alpha.6 [INFO] [stderr] Checking tokio-executor v0.2.0-alpha.6 [INFO] [stderr] Checking tokio-net v0.2.0-alpha.6 (/opt/rustwide/workdir) [INFO] [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: the item `mio` is imported redundantly [INFO] [stdout] --> src/driver/registration.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use mio::{self, Evented}; [INFO] [stdout] | ^^^^ the item `mio` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num_cpus` is imported redundantly [INFO] [stdout] --> src/driver/sharded_rwlock.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use num_cpus; [INFO] [stdout] | ^^^^^^^^ the item `num_cpus` is already defined by prelude [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] warning: the item `parking_lot` is imported redundantly [INFO] [stdout] --> src/driver/sharded_rwlock.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use parking_lot; [INFO] [stdout] | ^^^^^^^^^^^ the item `parking_lot` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mio` is imported redundantly [INFO] [stdout] --> src/util/poll_evented.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use mio; [INFO] [stdout] | ^^^ the item `mio` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Unpin` is imported redundantly [INFO] [stdout] --> src/util/poll_evented.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::marker::Unpin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Unpin` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mio` is imported redundantly [INFO] [stdout] --> src/driver/registration.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use mio::{self, Evented}; [INFO] [stdout] | ^^^^ the item `mio` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num_cpus` is imported redundantly [INFO] [stdout] --> src/driver/sharded_rwlock.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use num_cpus; [INFO] [stdout] | ^^^^^^^^ the item `num_cpus` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `parking_lot` is imported redundantly [INFO] [stdout] --> src/driver/sharded_rwlock.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use parking_lot; [INFO] [stdout] | ^^^^^^^^^^^ the item `parking_lot` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mio` is imported redundantly [INFO] [stdout] --> src/util/poll_evented.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use mio; [INFO] [stdout] | ^^^ the item `mio` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Unpin` is imported redundantly [INFO] [stdout] --> src/util/poll_evented.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::marker::Unpin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Unpin` is already defined here [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: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] 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] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [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/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_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/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[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 undeclared crate or module `libc` [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[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 undeclared crate or module `tokio_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use tokio_net::assert_ok; [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:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::future::FutureExt` [INFO] [stdout] --> tests/support.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use futures_util::future::FutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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] help: there is a crate or module with a similar name [INFO] [stdout] | [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 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: aborting due to 3 previous errors; 1 warning emitted [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] 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 `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] [stderr] error: could not compile `tokio-net` (test "support") due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 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[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 7 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: aborting due to 6 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 `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] [stderr] error: could not compile `tokio-net` (test "uds_split") due to 8 previous errors [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 undeclared crate or module `tokio_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use tokio_net::assert_ok; [INFO] [stdout] | ~~~~~~~~~ [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] [stderr] error: could not compile `tokio-net` (test "tcp_shutdown") due to 7 previous errors [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 `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: aborting due to 14 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[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[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] [stderr] error: could not compile `tokio-net` (test "tcp_connect") due to 15 previous errors [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[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 this struct [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] | ^^^^^^^^^^^^ use of undeclared type `UnixDatagram` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [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] | ^^^^^^^^^^^^ use of undeclared type `UnixDatagram` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [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 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: aborting due to 6 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` (test "tcp_echo") due to 7 previous errors [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] [stderr] error: could not compile `tokio-net` (test "uds_datagram") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "969ed0860109f12c489654bc89dd6c516ef7f0596912965ff13bb738b0884168", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "969ed0860109f12c489654bc89dd6c516ef7f0596912965ff13bb738b0884168", kill_on_drop: false }` [INFO] [stdout] 969ed0860109f12c489654bc89dd6c516ef7f0596912965ff13bb738b0884168