[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 master#d7bd9cd469ff6871420007f091ef52fc32d2ca99 for pr-121417 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpovilasb%2Fhttp-proxy" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/povilasb/http-proxy on toolchain d7bd9cd469ff6871420007f091ef52fc32d2ca99 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "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-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" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] testing povilasb/http-proxy against try#393ef12c970fbc7f294cd96c35cb76f9591bc1d6 for pr-121417 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpovilasb%2Fhttp-proxy" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/povilasb/http-proxy on toolchain 393ef12c970fbc7f294cd96c35cb76f9591bc1d6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "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-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" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing povilasb/http-proxy against try#393ef12c970fbc7f294cd96c35cb76f9591bc1d6 for pr-121417 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpovilasb%2Fhttp-proxy" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/povilasb/http-proxy on toolchain 393ef12c970fbc7f294cd96c35cb76f9591bc1d6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "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-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" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simple_logger v1.6.0 [INFO] [stderr] Downloaded unwrap v1.2.1 [INFO] [stderr] Downloaded once_cell v1.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f1e602e82118f0b23660ff153c07c970c97b0f00d483cac2c4f75a97490cd83 [INFO] running `Command { std: "docker" "start" "-a" "0f1e602e82118f0b23660ff153c07c970c97b0f00d483cac2c4f75a97490cd83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f1e602e82118f0b23660ff153c07c970c97b0f00d483cac2c4f75a97490cd83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f1e602e82118f0b23660ff153c07c970c97b0f00d483cac2c4f75a97490cd83", kill_on_drop: false }` [INFO] [stdout] 0f1e602e82118f0b23660ff153c07c970c97b0f00d483cac2c4f75a97490cd83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98907b177773fc00126d88a1e8ba2cd4edece5dccdb2830c7b87bb6ff8fb402b [INFO] running `Command { std: "docker" "start" "-a" "98907b177773fc00126d88a1e8ba2cd4edece5dccdb2830c7b87bb6ff8fb402b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling futures-timer v2.0.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling kv-log-macro v1.0.4 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling once_cell v1.2.0 [INFO] [stderr] Compiling unwrap v1.2.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling async-task v1.3.1 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling crossbeam-channel v0.4.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling 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] 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: 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: enum `Session` is never used [INFO] [stdout] --> src/proxy.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Session { [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: struct `ConnectTunnel` is never constructed [INFO] [stdout] --> src/proxy.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct ConnectTunnel { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectTunnel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.77s [INFO] running `Command { std: "docker" "inspect" "98907b177773fc00126d88a1e8ba2cd4edece5dccdb2830c7b87bb6ff8fb402b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98907b177773fc00126d88a1e8ba2cd4edece5dccdb2830c7b87bb6ff8fb402b", kill_on_drop: false }` [INFO] [stdout] 98907b177773fc00126d88a1e8ba2cd4edece5dccdb2830c7b87bb6ff8fb402b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d58c21db28811c2a70cb9e36f4d887cbf5f693ecc2ec7f468382d9b51de2d611 [INFO] running `Command { std: "docker" "start" "-a" "d58c21db28811c2a70cb9e36f4d887cbf5f693ecc2ec7f468382d9b51de2d611", kill_on_drop: false }` [INFO] [stderr] Compiling 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: enum `Session` is never used [INFO] [stdout] --> src/proxy.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Session { [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: struct `ConnectTunnel` is never constructed [INFO] [stdout] --> src/proxy.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct ConnectTunnel { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectTunnel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "d58c21db28811c2a70cb9e36f4d887cbf5f693ecc2ec7f468382d9b51de2d611", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d58c21db28811c2a70cb9e36f4d887cbf5f693ecc2ec7f468382d9b51de2d611", kill_on_drop: false }` [INFO] [stdout] d58c21db28811c2a70cb9e36f4d887cbf5f693ecc2ec7f468382d9b51de2d611 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4d23549ca1759efa3fa371ad92e56e5ee39350cff979fbf62fc345e85fd288ec [INFO] running `Command { std: "docker" "start" "-a" "4d23549ca1759efa3fa371ad92e56e5ee39350cff979fbf62fc345e85fd288ec", kill_on_drop: false }` [INFO] [stderr] warning: type `io::Error` is more private than the item `handle_connection` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `handle_connection` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `io::Error` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/io.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | enum Error { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: enum `Session` is never used [INFO] [stderr] --> src/proxy.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | pub enum Session { [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] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `waiting_request` and `on_data` are never used [INFO] [stderr] --> src/proxy.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 23 | impl Session { [INFO] [stderr] | ------------ associated items in this implementation [INFO] [stderr] 24 | pub fn waiting_request() -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 28 | pub fn on_data(self, data: &[u8]) -> Session { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `on_data` is never used [INFO] [stderr] --> src/proxy.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 44 | impl WaitingRequest { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] 45 | pub fn on_data(self, data: &[u8]) -> Session { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `on_connected` is never used [INFO] [stderr] --> src/proxy.rs:76:12 [INFO] [stderr] | [INFO] [stderr] 75 | impl OnConnectRequest { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] 76 | pub fn on_connected(self, conn: TcpStream) -> ConnectTunnel { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ConnectTunnel` is never constructed [INFO] [stderr] --> src/proxy.rs:83:12 [INFO] [stderr] | [INFO] [stderr] 83 | pub struct ConnectTunnel { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ConnectTunnel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `http-proxy` (bin "http-proxy" test) generated 6 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/http_proxy-5d3e7c3d330fdff5) [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" "4d23549ca1759efa3fa371ad92e56e5ee39350cff979fbf62fc345e85fd288ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d23549ca1759efa3fa371ad92e56e5ee39350cff979fbf62fc345e85fd288ec", kill_on_drop: false }` [INFO] [stdout] 4d23549ca1759efa3fa371ad92e56e5ee39350cff979fbf62fc345e85fd288ec