[INFO] cloning repository https://github.com/povilasb/http-proxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/povilasb/http-proxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpovilasb%2Fhttp-proxy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpovilasb%2Fhttp-proxy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 200b2f07fb0ae0742f07c5b68c2b8d6905ef7ba2 [INFO] testing povilasb/http-proxy against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpovilasb%2Fhttp-proxy" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/povilasb/http-proxy on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/povilasb/http-proxy [INFO] finished tweaking git repo https://github.com/povilasb/http-proxy [INFO] tweaked toml for git repo https://github.com/povilasb/http-proxy written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/povilasb/http-proxy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] eda5771276612977b696b0e79ac5096694a654e9ded84b9d088c0a62bf35ad60 [INFO] running `Command { std: "docker" "start" "-a" "eda5771276612977b696b0e79ac5096694a654e9ded84b9d088c0a62bf35ad60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eda5771276612977b696b0e79ac5096694a654e9ded84b9d088c0a62bf35ad60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eda5771276612977b696b0e79ac5096694a654e9ded84b9d088c0a62bf35ad60", kill_on_drop: false }` [INFO] [stdout] eda5771276612977b696b0e79ac5096694a654e9ded84b9d088c0a62bf35ad60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4f25e79439fbb644f6edfe7b7c6457d700bcaba5f4b609aa31ad45aa380c8378 [INFO] running `Command { std: "docker" "start" "-a" "4f25e79439fbb644f6edfe7b7c6457d700bcaba5f4b609aa31ad45aa380c8378", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling once_cell v1.2.0 [INFO] [stderr] Compiling unwrap v1.2.1 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling async-task v1.3.1 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling kv-log-macro v1.0.4 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling simple_logger v1.6.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling broadcaster v1.0.0 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling async-std v1.5.0 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling http-proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: private type `io::Error` in public interface (error E0446) [INFO] [stdout] --> src/io.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | pub async fn handle_connection(mut client_conn: TcpStream) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WaitingRequest` [INFO] [stdout] --> src/proxy.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | WaitingRequest(WaitingRequest), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Session` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/proxy.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OnConnectRequest` [INFO] [stdout] --> src/proxy.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | OnConnectRequest(OnConnectRequest), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Session` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/proxy.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ConnectTunnel` [INFO] [stdout] --> src/proxy.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | ConnectTunnel(ConnectTunnel), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Session` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/proxy.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Failed` [INFO] [stdout] --> src/proxy.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Failed(Failed), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Session` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/proxy.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `waiting_request` [INFO] [stdout] --> src/proxy.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn waiting_request() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `on_data` [INFO] [stdout] --> src/proxy.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn on_data(self, data: &[u8]) -> Session { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `on_data` [INFO] [stdout] --> src/proxy.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn on_data(self, data: &[u8]) -> Session { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `on_connected` [INFO] [stdout] --> src/proxy.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn on_connected(self, conn: TcpStream) -> ConnectTunnel { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "4f25e79439fbb644f6edfe7b7c6457d700bcaba5f4b609aa31ad45aa380c8378", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f25e79439fbb644f6edfe7b7c6457d700bcaba5f4b609aa31ad45aa380c8378", kill_on_drop: false }` [INFO] [stdout] 4f25e79439fbb644f6edfe7b7c6457d700bcaba5f4b609aa31ad45aa380c8378 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6242f2aade0e1502f59344ca8278672d0659404fc663d83e4ec3ea47f44c36a4 [INFO] running `Command { std: "docker" "start" "-a" "6242f2aade0e1502f59344ca8278672d0659404fc663d83e4ec3ea47f44c36a4", kill_on_drop: false }` [INFO] [stderr] Compiling http-proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: private type `io::Error` in public interface (error E0446) [INFO] [stdout] --> src/io.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | pub async fn handle_connection(mut client_conn: TcpStream) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WaitingRequest` [INFO] [stdout] --> src/proxy.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | WaitingRequest(WaitingRequest), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Session` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/proxy.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OnConnectRequest` [INFO] [stdout] --> src/proxy.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | OnConnectRequest(OnConnectRequest), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Session` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/proxy.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ConnectTunnel` [INFO] [stdout] --> src/proxy.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | ConnectTunnel(ConnectTunnel), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Session` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/proxy.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Failed` [INFO] [stdout] --> src/proxy.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Failed(Failed), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Session` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/proxy.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `waiting_request` [INFO] [stdout] --> src/proxy.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn waiting_request() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `on_data` [INFO] [stdout] --> src/proxy.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn on_data(self, data: &[u8]) -> Session { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `on_data` [INFO] [stdout] --> src/proxy.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn on_data(self, data: &[u8]) -> Session { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `on_connected` [INFO] [stdout] --> src/proxy.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn on_connected(self, conn: TcpStream) -> ConnectTunnel { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.34s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/http_proxy-a9017510f680e9a8) [INFO] running `Command { std: "docker" "inspect" "6242f2aade0e1502f59344ca8278672d0659404fc663d83e4ec3ea47f44c36a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6242f2aade0e1502f59344ca8278672d0659404fc663d83e4ec3ea47f44c36a4", kill_on_drop: false }` [INFO] [stdout] 6242f2aade0e1502f59344ca8278672d0659404fc663d83e4ec3ea47f44c36a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ff164c73e061638320471ae9eb5e1d0a08571e1949afec94e17c345882754650 [INFO] running `Command { std: "docker" "start" "-a" "ff164c73e061638320471ae9eb5e1d0a08571e1949afec94e17c345882754650", kill_on_drop: false }` [INFO] [stderr] warning: private type `io::Error` in public interface (error E0446) [INFO] [stderr] --> src/io.rs:122:1 [INFO] [stderr] | [INFO] [stderr] 122 | pub async fn handle_connection(mut client_conn: TcpStream) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(private_in_public)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #34537 [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `WaitingRequest` [INFO] [stderr] --> src/proxy.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | WaitingRequest(WaitingRequest), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Session` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/proxy.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `OnConnectRequest` [INFO] [stderr] --> src/proxy.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | OnConnectRequest(OnConnectRequest), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Session` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/proxy.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ConnectTunnel` [INFO] [stderr] --> src/proxy.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | ConnectTunnel(ConnectTunnel), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Session` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/proxy.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Failed` [INFO] [stderr] --> src/proxy.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | Failed(Failed), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Session` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/proxy.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `waiting_request` [INFO] [stderr] --> src/proxy.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn waiting_request() -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `on_data` [INFO] [stderr] --> src/proxy.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn on_data(self, data: &[u8]) -> Session { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `on_data` [INFO] [stderr] --> src/proxy.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn on_data(self, data: &[u8]) -> Session { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `on_connected` [INFO] [stderr] --> src/proxy.rs:76:12 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn on_connected(self, conn: TcpStream) -> ConnectTunnel { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `http-proxy` (bin "http-proxy" test) generated 9 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/http_proxy-a9017510f680e9a8) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ff164c73e061638320471ae9eb5e1d0a08571e1949afec94e17c345882754650", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff164c73e061638320471ae9eb5e1d0a08571e1949afec94e17c345882754650", kill_on_drop: false }` [INFO] [stdout] ff164c73e061638320471ae9eb5e1d0a08571e1949afec94e17c345882754650