[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] checking povilasb/http-proxy against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpovilasb%2Fhttp-proxy" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/povilasb/http-proxy on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "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-4-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded broadcaster v1.0.0 [INFO] [stderr] Downloaded err-derive v0.2.4 [INFO] [stderr] Downloaded parking_lot v0.10.2 [INFO] [stderr] Downloaded simple_logger v1.6.0 [INFO] [stderr] Downloaded colored v1.9.3 [INFO] [stderr] Downloaded unwrap v1.2.1 [INFO] [stderr] Downloaded parking_lot_core v0.7.2 [INFO] [stderr] Downloaded async-attributes v1.1.1 [INFO] [stderr] Downloaded async-std v1.5.0 [INFO] [stderr] Downloaded async-task v1.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b41fb17644c9ff4b2baf96ca06a0d90b3e3236c8b4148d1e435afebc993c12e [INFO] running `Command { std: "docker" "start" "-a" "8b41fb17644c9ff4b2baf96ca06a0d90b3e3236c8b4148d1e435afebc993c12e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b41fb17644c9ff4b2baf96ca06a0d90b3e3236c8b4148d1e435afebc993c12e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b41fb17644c9ff4b2baf96ca06a0d90b3e3236c8b4148d1e435afebc993c12e", kill_on_drop: false }` [INFO] [stdout] 8b41fb17644c9ff4b2baf96ca06a0d90b3e3236c8b4148d1e435afebc993c12e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e6497d5be8d085e26e8c3dc7afdb7e8e19ea8e4a0240a85415d91f683e7bd37 [INFO] running `Command { std: "docker" "start" "-a" "7e6497d5be8d085e26e8c3dc7afdb7e8e19ea8e4a0240a85415d91f683e7bd37", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking crossbeam-channel v0.4.0 [INFO] [stderr] Checking kv-log-macro v1.0.4 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking async-task v1.3.1 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking once_cell v1.2.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking futures-timer v2.0.2 [INFO] [stderr] Checking unwrap v1.2.1 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking http v0.2.0 [INFO] [stderr] Checking simple_logger v1.6.0 [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 async-attributes v1.1.1 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking broadcaster v1.0.0 [INFO] [stderr] Checking async-std v1.5.0 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking http-proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `io::Error` is more private than the item `handle_connection` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `handle_connection` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `io::Error` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/io.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `WaitingRequest`, `OnConnectRequest`, `ConnectTunnel`, and `Failed` are never constructed [INFO] [stdout] --> src/proxy.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Session { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 16 | WaitingRequest(WaitingRequest), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 17 | OnConnectRequest(OnConnectRequest), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | /// Connected to target server, hence HTTP tunnel is created. [INFO] [stdout] 19 | ConnectTunnel(ConnectTunnel), [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `waiting_request` and `on_data` are never used [INFO] [stdout] --> src/proxy.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Session { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 24 | pub fn waiting_request() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn on_data(self, data: &[u8]) -> Session { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `on_data` is never used [INFO] [stdout] --> src/proxy.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl WaitingRequest { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 45 | pub fn on_data(self, data: &[u8]) -> Session { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `on_connected` is never used [INFO] [stdout] --> src/proxy.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl OnConnectRequest { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 76 | pub fn on_connected(self, conn: TcpStream) -> ConnectTunnel { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `io::Error` is more private than the item `handle_connection` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `handle_connection` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `io::Error` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/io.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `WaitingRequest`, `OnConnectRequest`, `ConnectTunnel`, and `Failed` are never constructed [INFO] [stdout] --> src/proxy.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Session { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 16 | WaitingRequest(WaitingRequest), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 17 | OnConnectRequest(OnConnectRequest), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | /// Connected to target server, hence HTTP tunnel is created. [INFO] [stdout] 19 | ConnectTunnel(ConnectTunnel), [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `waiting_request` and `on_data` are never used [INFO] [stdout] --> src/proxy.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Session { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 24 | pub fn waiting_request() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn on_data(self, data: &[u8]) -> Session { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `on_data` is never used [INFO] [stdout] --> src/proxy.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl WaitingRequest { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 45 | pub fn on_data(self, data: &[u8]) -> Session { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `on_connected` is never used [INFO] [stdout] --> src/proxy.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl OnConnectRequest { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 76 | pub fn on_connected(self, conn: TcpStream) -> ConnectTunnel { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 28.27s [INFO] running `Command { std: "docker" "inspect" "7e6497d5be8d085e26e8c3dc7afdb7e8e19ea8e4a0240a85415d91f683e7bd37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e6497d5be8d085e26e8c3dc7afdb7e8e19ea8e4a0240a85415d91f683e7bd37", kill_on_drop: false }` [INFO] [stdout] 7e6497d5be8d085e26e8c3dc7afdb7e8e19ea8e4a0240a85415d91f683e7bd37 [INFO] checking povilasb/http-proxy against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpovilasb%2Fhttp-proxy" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/povilasb/http-proxy on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "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-4-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dec50b8845bdb5a737e5fc2337c99cf6a7b4975a15d9bad8515a3d5381d09954 [INFO] running `Command { std: "docker" "start" "-a" "dec50b8845bdb5a737e5fc2337c99cf6a7b4975a15d9bad8515a3d5381d09954", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dec50b8845bdb5a737e5fc2337c99cf6a7b4975a15d9bad8515a3d5381d09954", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dec50b8845bdb5a737e5fc2337c99cf6a7b4975a15d9bad8515a3d5381d09954", kill_on_drop: false }` [INFO] [stdout] dec50b8845bdb5a737e5fc2337c99cf6a7b4975a15d9bad8515a3d5381d09954 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dnon_local_definitions" "-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbe9b2b749b365302173df4ef1b9f26568719f19194792dcf8b5392969e9a87a [INFO] running `Command { std: "docker" "start" "-a" "cbe9b2b749b365302173df4ef1b9f26568719f19194792dcf8b5392969e9a87a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking crossbeam-channel v0.4.0 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking kv-log-macro v1.0.4 [INFO] [stderr] Checking async-task v1.3.1 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking futures-timer v2.0.2 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking once_cell v1.2.0 [INFO] [stderr] Checking unwrap v1.2.1 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking http v0.2.0 [INFO] [stderr] Checking simple_logger v1.6.0 [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 async-attributes v1.1.1 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking broadcaster v1.0.0 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking async-std v1.5.0 [INFO] [stderr] Checking http-proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `io::Error` is more private than the item `handle_connection` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `handle_connection` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `io::Error` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/io.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `WaitingRequest`, `OnConnectRequest`, `ConnectTunnel`, and `Failed` are never constructed [INFO] [stdout] --> src/proxy.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Session { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 16 | WaitingRequest(WaitingRequest), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 17 | OnConnectRequest(OnConnectRequest), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | /// Connected to target server, hence HTTP tunnel is created. [INFO] [stdout] 19 | ConnectTunnel(ConnectTunnel), [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `waiting_request` and `on_data` are never used [INFO] [stdout] --> src/proxy.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Session { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 24 | pub fn waiting_request() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn on_data(self, data: &[u8]) -> Session { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `on_data` is never used [INFO] [stdout] --> src/proxy.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl WaitingRequest { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 45 | pub fn on_data(self, data: &[u8]) -> Session { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `on_connected` is never used [INFO] [stdout] --> src/proxy.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl OnConnectRequest { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 76 | pub fn on_connected(self, conn: TcpStream) -> ConnectTunnel { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/io.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_std_error_Error_FOR_Error` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/io.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_core_fmt_Display_FOR_Error` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/io.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_core_convert_From_io_Error_FOR_Error` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `http-proxy` (bin "http-proxy") due to 4 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: type `io::Error` is more private than the item `handle_connection` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `handle_connection` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `io::Error` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/io.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `WaitingRequest`, `OnConnectRequest`, `ConnectTunnel`, and `Failed` are never constructed [INFO] [stdout] --> src/proxy.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Session { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 16 | WaitingRequest(WaitingRequest), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 17 | OnConnectRequest(OnConnectRequest), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | /// Connected to target server, hence HTTP tunnel is created. [INFO] [stdout] 19 | ConnectTunnel(ConnectTunnel), [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `waiting_request` and `on_data` are never used [INFO] [stdout] --> src/proxy.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Session { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 24 | pub fn waiting_request() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn on_data(self, data: &[u8]) -> Session { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `on_data` is never used [INFO] [stdout] --> src/proxy.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl WaitingRequest { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 45 | pub fn on_data(self, data: &[u8]) -> Session { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `on_connected` is never used [INFO] [stdout] --> src/proxy.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl OnConnectRequest { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 76 | pub fn on_connected(self, conn: TcpStream) -> ConnectTunnel { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/io.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_std_error_Error_FOR_Error` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/io.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_core_fmt_Display_FOR_Error` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/io.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_core_convert_From_io_Error_FOR_Error` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `http-proxy` (bin "http-proxy" test) due to 4 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cbe9b2b749b365302173df4ef1b9f26568719f19194792dcf8b5392969e9a87a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbe9b2b749b365302173df4ef1b9f26568719f19194792dcf8b5392969e9a87a", kill_on_drop: false }` [INFO] [stdout] cbe9b2b749b365302173df4ef1b9f26568719f19194792dcf8b5392969e9a87a