[INFO] fetching crate hyper-util 0.1.17... [INFO] testing hyper-util-0.1.17 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate hyper-util 0.1.17 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate hyper-util 0.1.17 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate hyper-util 0.1.17 [INFO] tweaked toml for crates.io crate hyper-util 0.1.17 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hyper-util 0.1.17 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 hyper-util 0.1.17 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] d786a05caa0bfcec3006a2542a6dbd3d93e8d6b32b7a003790f435bd2f149e20 [INFO] running `Command { std: "docker" "start" "-a" "d786a05caa0bfcec3006a2542a6dbd3d93e8d6b32b7a003790f435bd2f149e20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d786a05caa0bfcec3006a2542a6dbd3d93e8d6b32b7a003790f435bd2f149e20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d786a05caa0bfcec3006a2542a6dbd3d93e8d6b32b7a003790f435bd2f149e20", kill_on_drop: false }` [INFO] [stdout] d786a05caa0bfcec3006a2542a6dbd3d93e8d6b32b7a003790f435bd2f149e20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] a635ad9585b81a83661ae8fe17b1d3f61ce05638ff105e89faf3b3dfbe6f09d5 [INFO] running `Command { std: "docker" "start" "-a" "a635ad9585b81a83661ae8fe17b1d3f61ce05638ff105e89faf3b3dfbe6f09d5", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.17 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `poll_fn` is never used [INFO] [stdout] --> src/common/future.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) fn poll_fn(f: F) -> PollFn [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PollFn` is never constructed [INFO] [stdout] --> src/common/future.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct PollFn { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.24s [INFO] running `Command { std: "docker" "inspect" "a635ad9585b81a83661ae8fe17b1d3f61ce05638ff105e89faf3b3dfbe6f09d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a635ad9585b81a83661ae8fe17b1d3f61ce05638ff105e89faf3b3dfbe6f09d5", kill_on_drop: false }` [INFO] [stdout] a635ad9585b81a83661ae8fe17b1d3f61ce05638ff105e89faf3b3dfbe6f09d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] f3977c9b4d344225a33e85d6c0762e9403cb1cd7231a16e1728d859e4dd2edba [INFO] running `Command { std: "docker" "start" "-a" "f3977c9b4d344225a33e85d6c0762e9403cb1cd7231a16e1728d859e4dd2edba", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling no-std-net v0.6.0 [INFO] [stderr] Compiling pnet_sys v0.35.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pnet_base v0.35.0 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling ipnetwork v0.20.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling pnet_datalink v0.35.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling pretty_env_logger v0.5.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.17 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `poll_fn` is never used [INFO] [stdout] --> src/common/future.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) fn poll_fn(f: F) -> PollFn [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PollFn` is never constructed [INFO] [stdout] --> src/common/future.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct PollFn { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `poll_fn` is never used [INFO] [stdout] --> src/common/future.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) fn poll_fn(f: F) -> PollFn [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PollFn` is never constructed [INFO] [stdout] --> src/common/future.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct PollFn { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `hyper_util` [INFO] [stdout] --> tests/proxy.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use hyper_util::client::legacy::connect::proxy::{SocksV4, SocksV5, Tunnel}; [INFO] [stdout] | ^^^^^^ could not find `client` in `hyper_util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "client")] [INFO] [stdout] | ------------------ the item is gated behind the `client` feature [INFO] [stdout] 10 | pub mod client; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `hyper_util` [INFO] [stdout] --> tests/proxy.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use hyper_util::client::legacy::connect::HttpConnector; [INFO] [stdout] | ^^^^^^ could not find `client` in `hyper_util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "client")] [INFO] [stdout] | ------------------ the item is gated behind the `client` feature [INFO] [stdout] 10 | pub mod client; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tokio::net::TcpListener`, `tokio::net::TcpStream` [INFO] [stdout] --> tests/proxy.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ no `TcpStream` in `net` [INFO] [stdout] | | [INFO] [stdout] | no `TcpListener` in `net` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::net::TcpListener [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/net/mod.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 38 | / cfg_net! { [INFO] [stdout] 39 | | mod lookup_host; [INFO] [stdout] 40 | | pub use lookup_host::lookup_host; [INFO] [stdout] ... | [INFO] [stdout] 43 | | pub use tcp::listener::TcpListener; [INFO] [stdout] | | ^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] | |_- the item is gated behind the `net` feature [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::net::TcpStream [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/net/mod.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 38 | / cfg_net! { [INFO] [stdout] 39 | | mod lookup_host; [INFO] [stdout] 40 | | pub use lookup_host::lookup_host; [INFO] [stdout] ... | [INFO] [stdout] 44 | | pub use tcp::stream::TcpStream; [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] | |_- the item is gated behind the `net` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tower_service` [INFO] [stdout] --> tests/proxy.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tower_service::Service; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_service` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_service`, use `cargo add tower_service` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | let tcp = TcpListener::bind("127.0.0.1:0").await.expect("bind"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `hyper_util` [INFO] [stdout] --> tests/test_utils/mod.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use hyper_util::client::legacy::connect::HttpConnector; [INFO] [stdout] | ^^^^^^ could not find `client` in `hyper_util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "client")] [INFO] [stdout] | ------------------ the item is gated behind the `client` feature [INFO] [stdout] 10 | pub mod client; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `hyper_util` [INFO] [stdout] --> tests/test_utils/mod.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | use hyper_util::client::legacy::connect::{Connected, Connection}; [INFO] [stdout] | ^^^^^^ could not find `client` in `hyper_util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "client")] [INFO] [stdout] | ------------------ the item is gated behind the `client` feature [INFO] [stdout] 10 | pub mod client; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::net::TcpStream` [INFO] [stdout] --> tests/test_utils/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `TcpStream` in `net` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/net/mod.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 38 | / cfg_net! { [INFO] [stdout] 39 | | mod lookup_host; [INFO] [stdout] 40 | | pub use lookup_host::lookup_host; [INFO] [stdout] ... | [INFO] [stdout] 44 | | pub use tcp::stream::TcpStream; [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] | |_- the item is gated behind the `net` feature [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 11 - use tokio::net::TcpStream; [INFO] [stdout] 11 + use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `hyper_util` [INFO] [stdout] --> tests/legacy_client.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | use hyper_util::client::legacy::connect::{capture_connection, HttpConnector}; [INFO] [stdout] | ^^^^^^ could not find `client` in `hyper_util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "client")] [INFO] [stdout] | ------------------ the item is gated behind the `client` feature [INFO] [stdout] 10 | pub mod client; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `hyper_util` [INFO] [stdout] --> tests/legacy_client.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | use hyper_util::client::legacy::Client; [INFO] [stdout] | ^^^^^^ could not find `client` in `hyper_util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "client")] [INFO] [stdout] | ------------------ the item is gated behind the `client` feature [INFO] [stdout] 10 | pub mod client; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper_util::rt::TokioIo` [INFO] [stdout] --> tests/test_utils/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use hyper_util::rt::TokioIo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `TokioIo` in `rt` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/rt/mod.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "tokio")] [INFO] [stdout] | ----------------- the item is gated behind the `tokio` feature [INFO] [stdout] 12 | pub use self::tokio::{TokioExecutor, TokioIo, TokioTimer}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `hyper_util::rt::TokioExecutor`, `hyper_util::rt::TokioIo` [INFO] [stdout] --> tests/legacy_client.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | use hyper_util::rt::{TokioExecutor, TokioIo}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ no `TokioIo` in `rt` [INFO] [stdout] | | [INFO] [stdout] | no `TokioExecutor` in `rt` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/rt/mod.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "tokio")] [INFO] [stdout] | ----------------- the item is gated behind the `tokio` feature [INFO] [stdout] 12 | pub use self::tokio::{TokioExecutor, TokioIo, TokioTimer}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/rt/mod.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "tokio")] [INFO] [stdout] | ----------------- the item is gated behind the `tokio` feature [INFO] [stdout] 12 | pub use self::tokio::{TokioExecutor, TokioIo, TokioTimer}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures_channel` [INFO] [stdout] --> tests/test_utils/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures_channel::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `futures_channel` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - use futures_channel::mpsc; [INFO] [stdout] 5 + use futures_core::mpsc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures_channel` [INFO] [stdout] --> tests/legacy_client.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use futures_channel::{mpsc, oneshot}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `futures_channel` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 12 - use futures_channel::{mpsc, oneshot}; [INFO] [stdout] 12 + use futures_core::{mpsc, oneshot}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::net::TcpListener` [INFO] [stdout] --> tests/legacy_client.rs:808:9 [INFO] [stdout] | [INFO] [stdout] 808 | use tokio::net::TcpListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `TcpListener` in `net` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/net/mod.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 38 | / cfg_net! { [INFO] [stdout] 39 | | mod lookup_host; [INFO] [stdout] 40 | | pub use lookup_host::lookup_host; [INFO] [stdout] ... | [INFO] [stdout] 43 | | pub use tcp::listener::TcpListener; [INFO] [stdout] | | ^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] | |_- the item is gated behind the `net` feature [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 808 - use tokio::net::TcpListener; [INFO] [stdout] 808 + use crate::TcpListener; [INFO] [stdout] | [INFO] [stdout] 808 - use tokio::net::TcpListener; [INFO] [stdout] 808 + use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | let _conn = connector [INFO] [stdout] | _____________________^ [INFO] [stdout] 18 | | .call("https://hyper.rs".parse().unwrap()) [INFO] [stdout] 19 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | let (mut io, _) = tcp.accept().await.expect("accept"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let n = io.read(&mut buf).await.expect("read 1"); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let n = io.read(&mut buf).await.expect("read 1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::net::TcpListener` [INFO] [stdout] --> tests/legacy_client.rs:889:9 [INFO] [stdout] | [INFO] [stdout] 889 | use tokio::net::TcpListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `TcpListener` in `net` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/net/mod.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 38 | / cfg_net! { [INFO] [stdout] 39 | | mod lookup_host; [INFO] [stdout] 40 | | pub use lookup_host::lookup_host; [INFO] [stdout] ... | [INFO] [stdout] 43 | | pub use tcp::listener::TcpListener; [INFO] [stdout] | | ^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] | |_- the item is gated behind the `net` feature [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 889 - use tokio::net::TcpListener; [INFO] [stdout] 889 + use crate::TcpListener; [INFO] [stdout] | [INFO] [stdout] 889 - use tokio::net::TcpListener; [INFO] [stdout] 889 + use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | / io.write_all(b"HTTP/1.1 200 OK\r\n\r\n") [INFO] [stdout] 32 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | let proxy_tcp = TcpListener::bind("127.0.0.1:0").await.expect("bind"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | let target_tcp = TcpListener::bind("127.0.0.1:0").await.expect("bind"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | let conn = connector.call(target_dst).await.expect("tunnel"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | tcp.write_all(b"Hello World!").await.expect("write 1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | let n = tcp.read(&mut buf).await.expect("read 1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:74:34 [INFO] [stdout] | [INFO] [stdout] 74 | let (mut to_client, _) = proxy_tcp.accept().await.expect("accept"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | let n = to_client.read(&mut buf).await.expect("read 1"); [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | let n = to_client.read(&mut buf).await.expect("read 1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | to_client.write_all(&[0x05, 0x00]).await.expect("write 1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | let n = to_client.read(&mut buf).await.expect("read 2"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | let mut to_target = TcpStream::connect(target_addr).await.expect("connect"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | to_client.write_all(&message).await.expect("write 2"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:109:27 [INFO] [stdout] | [INFO] [stdout] 109 | let (mut io, _) = target_tcp.accept().await.expect("accept"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | let n = io.read(&mut buf).await.expect("read 1"); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | let n = io.read(&mut buf).await.expect("read 1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | io.write_all(b"Goodbye!").await.expect("write 1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | let proxy_tcp = TcpListener::bind("127.0.0.1:0").await.expect("bind"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:130:22 [INFO] [stdout] | [INFO] [stdout] 130 | let target_tcp = TcpListener::bind("127.0.0.1:0").await.expect("bind"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | let conn = connector.call(target_dst).await.expect("tunnel"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | tcp.write_all(b"Hello World!").await.expect("write 1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | let n = tcp.read(&mut buf).await.expect("read 1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:158:34 [INFO] [stdout] | [INFO] [stdout] 158 | let (mut to_client, _) = proxy_tcp.accept().await.expect("accept"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | let n = to_client.read(&mut buf).await.expect("read 1"); [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | let n = to_client.read(&mut buf).await.expect("read 1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | to_client.write_all(&[0x05, 0x02]).await.expect("write 1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | let n = to_client.read(&mut buf).await.expect("read 2"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | to_client.write_all(&[0x01, 0x00]).await.expect("write 2"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | let n = to_client.read(&mut buf).await.expect("read 3"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:183:29 [INFO] [stdout] | [INFO] [stdout] 183 | let mut to_target = TcpStream::connect(target_addr).await.expect("connect"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | to_client.write_all(&message).await.expect("write 3"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:202:27 [INFO] [stdout] | [INFO] [stdout] 202 | let (mut io, _) = target_tcp.accept().await.expect("accept"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | let n = io.read(&mut buf).await.expect("read 1"); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | let n = io.read(&mut buf).await.expect("read 1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | io.write_all(b"Goodbye!").await.expect("write 1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:219:21 [INFO] [stdout] | [INFO] [stdout] 219 | let proxy_tcp = TcpListener::bind("127.0.0.1:0").await.expect("bind"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:232:21 [INFO] [stdout] | [INFO] [stdout] 232 | let _conn = connector [INFO] [stdout] | _____________________^ [INFO] [stdout] 233 | | .call("https://hyper.rs:443".try_into().unwrap()) [INFO] [stdout] 234 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:244:34 [INFO] [stdout] | [INFO] [stdout] 244 | let (mut to_client, _) = proxy_tcp.accept().await.expect("accept"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | let n = to_client.read(&mut buf).await.expect("read 1"); [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | let n = to_client.read(&mut buf).await.expect("read 1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | to_client.write_all(&[0x05, 0x02]).await.expect("write 1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | let n = to_client.read(&mut buf).await.expect("read 2"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | to_client.write_all(&[0x01, 0x00]).await.expect("write 2"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 263 | let n = to_client.read(&mut buf).await.expect("read 3"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | to_client.write_all(&message).await.expect("write 3"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:285:21 [INFO] [stdout] | [INFO] [stdout] 285 | let proxy_tcp = TcpListener::bind("127.0.0.1:0").await.expect("bind"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:298:21 [INFO] [stdout] | [INFO] [stdout] 298 | let _conn = connector [INFO] [stdout] | _____________________^ [INFO] [stdout] 299 | | .call("https://hyper.rs:443".try_into().unwrap()) [INFO] [stdout] 300 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:310:34 [INFO] [stdout] | [INFO] [stdout] 310 | let (mut to_client, _) = proxy_tcp.accept().await.expect("accept"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:314:17 [INFO] [stdout] | [INFO] [stdout] 314 | let n = to_client.read(&mut buf).await.expect("read 1"); [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:314:17 [INFO] [stdout] | [INFO] [stdout] 314 | let n = to_client.read(&mut buf).await.expect("read 1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | to_client.write_all(&[0x05, 0x02]).await.expect("write 1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:320:17 [INFO] [stdout] | [INFO] [stdout] 320 | let n = to_client.read(&mut buf).await.expect("read 2"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | to_client.write_all(&[0x01, 0x00]).await.expect("write 2"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:329:17 [INFO] [stdout] | [INFO] [stdout] 329 | let n = to_client.read(&mut buf).await.expect("read 3"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | to_client.write_all(&message).await.expect("write 3"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:346:21 [INFO] [stdout] | [INFO] [stdout] 346 | let proxy_tcp = TcpListener::bind("127.0.0.1:0").await.expect("bind"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:350:22 [INFO] [stdout] | [INFO] [stdout] 350 | let target_tcp = TcpListener::bind("127.0.0.1:0").await.expect("bind"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:361:20 [INFO] [stdout] | [INFO] [stdout] 361 | let conn = connector.call(target_dst).await.expect("tunnel"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364 | tcp.write_all(b"Hello World!").await.expect("write 1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:367:17 [INFO] [stdout] | [INFO] [stdout] 367 | let n = tcp.read(&mut buf).await.expect("read 1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:377:34 [INFO] [stdout] | [INFO] [stdout] 377 | let (mut to_client, _) = proxy_tcp.accept().await.expect("accept"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TokioExecutor` in `rt` [INFO] [stdout] --> tests/legacy_client.rs:50:50 [INFO] [stdout] | [INFO] [stdout] 50 | let client = Client::builder(hyper_util::rt::TokioExecutor::new()).build( [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `TokioExecutor` in `rt` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/rt/mod.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "tokio")] [INFO] [stdout] | ----------------- the item is gated behind the `tokio` feature [INFO] [stdout] 12 | pub use self::tokio::{TokioExecutor, TokioIo, TokioTimer}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:383:17 [INFO] [stdout] | [INFO] [stdout] 383 | let n = to_client.read(&mut buf).await.expect("read"); [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:383:17 [INFO] [stdout] | [INFO] [stdout] 383 | let n = to_client.read(&mut buf).await.expect("read"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:386:29 [INFO] [stdout] | [INFO] [stdout] 386 | let mut to_target = TcpStream::connect(target_addr).await.expect("connect"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:389:9 [INFO] [stdout] | [INFO] [stdout] 389 | to_client.write_all(&message).await.expect("write"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:405:27 [INFO] [stdout] | [INFO] [stdout] 405 | let (mut io, _) = target_tcp.accept().await.expect("accept"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 408 | let n = io.read(&mut buf).await.expect("read 1"); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 408 | let n = io.read(&mut buf).await.expect("read 1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | io.write_all(b"Goodbye!").await.expect("write 1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:422:21 [INFO] [stdout] | [INFO] [stdout] 422 | let proxy_tcp = TcpListener::bind("127.0.0.1:0").await.expect("bind"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:438:17 [INFO] [stdout] | [INFO] [stdout] 438 | let _ = connector.call(target_dst).await.expect("tunnel"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:447:34 [INFO] [stdout] | [INFO] [stdout] 447 | let (mut to_client, _) = proxy_tcp.accept().await.expect("accept"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:464:9 [INFO] [stdout] | [INFO] [stdout] 464 | to_client.read_exact(&mut buf).await.expect("read"); [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:464:9 [INFO] [stdout] | [INFO] [stdout] 464 | to_client.read_exact(&mut buf).await.expect("read"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TokioIo` in `rt` [INFO] [stdout] --> tests/legacy_client.rs:1107:36 [INFO] [stdout] | [INFO] [stdout] 1107 | inner: hyper_util::rt::TokioIo::new(mock), [INFO] [stdout] | ^^^^^^^ could not find `TokioIo` in `rt` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/rt/mod.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "tokio")] [INFO] [stdout] | ----------------- the item is gated behind the `tokio` feature [INFO] [stdout] 12 | pub use self::tokio::{TokioExecutor, TokioIo, TokioTimer}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hyper-util` (test "proxy") due to 85 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:468:9 [INFO] [stdout] | [INFO] [stdout] 468 | / to_client [INFO] [stdout] 469 | | .write_all(response.as_slice()) [INFO] [stdout] 470 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 473 | to_client.flush().await.expect("flush"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `hyper_util` [INFO] [stdout] --> tests/legacy_client.rs:1220:18 [INFO] [stdout] | [INFO] [stdout] 1220 | impl hyper_util::client::legacy::connect::Connection for MockConnection { [INFO] [stdout] | ^^^^^^ could not find `client` in `hyper_util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "client")] [INFO] [stdout] | ------------------ the item is gated behind the `client` feature [INFO] [stdout] 10 | pub mod client; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `hyper_util` [INFO] [stdout] --> tests/legacy_client.rs:1223:40 [INFO] [stdout] | [INFO] [stdout] 1223 | fn connected(&self) -> hyper_util::client::legacy::connect::Connected { [INFO] [stdout] | ^^^^^^ could not find `client` in `hyper_util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "client")] [INFO] [stdout] | ------------------ the item is gated behind the `client` feature [INFO] [stdout] 10 | pub mod client; [INFO] [stdout] | ^^^^^^ [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: could not find `client` in `hyper_util` [INFO] [stdout] --> tests/legacy_client.rs:1224:21 [INFO] [stdout] | [INFO] [stdout] 1224 | hyper_util::client::legacy::connect::Connected::new() [INFO] [stdout] | ^^^^^^ could not find `client` in `hyper_util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "client")] [INFO] [stdout] | ------------------ the item is gated behind the `client` feature [INFO] [stdout] 10 | pub mod client; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `hyper_util` [INFO] [stdout] --> tests/legacy_client.rs:1346:30 [INFO] [stdout] | [INFO] [stdout] 1346 | let client = hyper_util::client::legacy::Client::builder(hyper_util::rt::TokioExecutor::new()) [INFO] [stdout] | ^^^^^^ could not find `client` in `hyper_util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "client")] [INFO] [stdout] | ------------------ the item is gated behind the `client` feature [INFO] [stdout] 10 | pub mod client; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TokioExecutor` in `rt` [INFO] [stdout] --> tests/legacy_client.rs:1346:78 [INFO] [stdout] | [INFO] [stdout] 1346 | let client = hyper_util::client::legacy::Client::builder(hyper_util::rt::TokioExecutor::new()) [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `TokioExecutor` in `rt` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/rt/mod.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "tokio")] [INFO] [stdout] | ----------------- the item is gated behind the `tokio` feature [INFO] [stdout] 12 | pub use self::tokio::{TokioExecutor, TokioIo, TokioTimer}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `hyper_util` [INFO] [stdout] --> tests/legacy_client.rs:1398:30 [INFO] [stdout] | [INFO] [stdout] 1398 | let client = hyper_util::client::legacy::Client::builder(hyper_util::rt::TokioExecutor::new()) [INFO] [stdout] | ^^^^^^ could not find `client` in `hyper_util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "client")] [INFO] [stdout] | ------------------ the item is gated behind the `client` feature [INFO] [stdout] 10 | pub mod client; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TokioExecutor` in `rt` [INFO] [stdout] --> tests/legacy_client.rs:1398:78 [INFO] [stdout] | [INFO] [stdout] 1398 | let client = hyper_util::client::legacy::Client::builder(hyper_util::rt::TokioExecutor::new()) [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `TokioExecutor` in `rt` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/rt/mod.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "tokio")] [INFO] [stdout] | ----------------- the item is gated behind the `tokio` feature [INFO] [stdout] 12 | pub use self::tokio::{TokioExecutor, TokioIo, TokioTimer}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `hyper_util` [INFO] [stdout] --> tests/legacy_client.rs:1465:30 [INFO] [stdout] | [INFO] [stdout] 1465 | let client = hyper_util::client::legacy::Client::builder(hyper_util::rt::TokioExecutor::new()) [INFO] [stdout] | ^^^^^^ could not find `client` in `hyper_util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "client")] [INFO] [stdout] | ------------------ the item is gated behind the `client` feature [INFO] [stdout] 10 | pub mod client; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TokioExecutor` in `rt` [INFO] [stdout] --> tests/legacy_client.rs:1465:78 [INFO] [stdout] | [INFO] [stdout] 1465 | let client = hyper_util::client::legacy::Client::builder(hyper_util::rt::TokioExecutor::new()) [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `TokioExecutor` in `rt` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/rt/mod.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "tokio")] [INFO] [stdout] | ----------------- the item is gated behind the `tokio` feature [INFO] [stdout] 12 | pub use self::tokio::{TokioExecutor, TokioIo, TokioTimer}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tower_service` [INFO] [stdout] --> tests/test_utils/mod.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | tower_service::Service::::poll_ready(&mut self.http, cx) [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_service` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_service`, use `cargo add tower_service` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use hyper::service::Service; [INFO] [stdout] | [INFO] [stdout] help: if you import `Service`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 58 - tower_service::Service::::poll_ready(&mut self.http, cx) [INFO] [stdout] 58 + Service::::poll_ready(&mut self.http, cx) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TcpListener` in `net` [INFO] [stdout] --> tests/legacy_client.rs:93:30 [INFO] [stdout] | [INFO] [stdout] 93 | let server = tokio::net::TcpListener::bind("127.0.0.1:0").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ could not find `TcpListener` in `net` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/net/mod.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 38 | / cfg_net! { [INFO] [stdout] 39 | | mod lookup_host; [INFO] [stdout] 40 | | pub use lookup_host::lookup_host; [INFO] [stdout] ... | [INFO] [stdout] 43 | | pub use tcp::listener::TcpListener; [INFO] [stdout] | | ^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] | |_- the item is gated behind the `net` feature [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use crate::TcpListener; [INFO] [stdout] | [INFO] [stdout] 3 + use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] help: if you import `TcpListener`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 93 - let server = tokio::net::TcpListener::bind("127.0.0.1:0").await.unwrap(); [INFO] [stdout] 93 + let server = TcpListener::bind("127.0.0.1:0").await.unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `server` in `hyper_util` [INFO] [stdout] --> tests/legacy_client.rs:824:39 [INFO] [stdout] | [INFO] [stdout] 824 | let mut builder = hyper_util::server::conn::auto::Builder::new(TokioExecutor::new()); [INFO] [stdout] | ^^^^^^ could not find `server` in `hyper_util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "server")] [INFO] [stdout] | ------------------ the item is gated behind the `server` feature [INFO] [stdout] 14 | pub mod server; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use crate::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use http::request::Builder; [INFO] [stdout] | [INFO] [stdout] 3 + use http::response::Builder; [INFO] [stdout] | [INFO] [stdout] = and 7 other candidates [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 824 - let mut builder = hyper_util::server::conn::auto::Builder::new(TokioExecutor::new()); [INFO] [stdout] 824 + let mut builder = Builder::new(TokioExecutor::new()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokioIo` in module `hyper_util::rt` [INFO] [stdout] --> tests/legacy_client.rs:1086:28 [INFO] [stdout] | [INFO] [stdout] 1086 | inner: hyper_util::rt::TokioIo, [INFO] [stdout] | ^^^^^^^ not found in `hyper_util::rt` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/rt/mod.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "tokio")] [INFO] [stdout] | ----------------- the item is gated behind the `tokio` feature [INFO] [stdout] 12 | pub use self::tokio::{TokioExecutor, TokioIo, TokioTimer}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tower_service` [INFO] [stdout] --> tests/test_utils/mod.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 51 | impl tower_service::Service for DebugConnector { [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_service` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_service`, use `cargo add tower_service` 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 `tower_service` [INFO] [stdout] --> tests/test_utils/mod.rs:53:36 [INFO] [stdout] | [INFO] [stdout] 53 | type Error = >::Error; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_service` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_service`, use `cargo add tower_service` 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 `tower_service` [INFO] [stdout] --> tests/legacy_client.rs:1253:6 [INFO] [stdout] | [INFO] [stdout] 1253 | impl tower_service::Service for MockConnector { [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_service` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_service`, use `cargo add tower_service` to add it to your `Cargo.toml` [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 `hyper-util` (test "legacy_client") due to 29 previous errors [INFO] running `Command { std: "docker" "inspect" "f3977c9b4d344225a33e85d6c0762e9403cb1cd7231a16e1728d859e4dd2edba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3977c9b4d344225a33e85d6c0762e9403cb1cd7231a16e1728d859e4dd2edba", kill_on_drop: false }` [INFO] [stdout] f3977c9b4d344225a33e85d6c0762e9403cb1cd7231a16e1728d859e4dd2edba