[INFO] fetching crate proxie 0.1.1... [INFO] building proxie-0.1.1 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate proxie 0.1.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate proxie 0.1.1 [INFO] finished tweaking crates.io crate proxie 0.1.1 [INFO] tweaked toml for crates.io crate proxie 0.1.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate proxie 0.1.1 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--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 [INFO] [stderr] Locking 88 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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] 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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a425866fad0595c1520de58caedaf1bf78a3112061cb4bc4f90c01b1e7c36742 [INFO] running `Command { std: "docker" "start" "-a" "a425866fad0595c1520de58caedaf1bf78a3112061cb4bc4f90c01b1e7c36742", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a425866fad0595c1520de58caedaf1bf78a3112061cb4bc4f90c01b1e7c36742", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a425866fad0595c1520de58caedaf1bf78a3112061cb4bc4f90c01b1e7c36742", kill_on_drop: false }` [INFO] [stdout] a425866fad0595c1520de58caedaf1bf78a3112061cb4bc4f90c01b1e7c36742 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84937b11e957c6f7bdf6510442ab5e06a54273aee43138b19fd5d1043a53c812 [INFO] running `Command { std: "docker" "start" "-a" "84937b11e957c6f7bdf6510442ab5e06a54273aee43138b19fd5d1043a53c812", kill_on_drop: false }` [INFO] [stderr] Compiling proxie v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `username` and `password` are never read [INFO] [stdout] --> src/proxy.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Auth { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 3 | pub(crate) username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | pub(crate) password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Auth` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `server`, `port`, and `auth` are never read [INFO] [stdout] --> src/proxy.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct HTTPProxy { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 24 | pub(crate) server: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | pub(crate) port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | pub(crate) auth: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HTTPProxy` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `server`, `port`, and `auth` are never read [INFO] [stdout] --> src/proxy.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct SOCKS5Proxy { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 42 | pub(crate) server: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | pub(crate) port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | pub(crate) auth: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SOCKS5Proxy` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SOCKS5Command` is never used [INFO] [stdout] --> src/proxy.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | pub(crate) enum SOCKS5Command { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MalformedTargetError` is never constructed [INFO] [stdout] --> src/error.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct MalformedTargetError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HTTPNotOKError` is never constructed [INFO] [stdout] --> src/error.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct HTTPNotOKError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FailedToConnectError` is never constructed [INFO] [stdout] --> src/error.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) struct FailedToConnectError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Socks5HandshakeError` is never constructed [INFO] [stdout] --> src/error.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) struct Socks5HandshakeError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SOCKS5_REP_ERROR_MESSAGE` is never used [INFO] [stdout] --> src/error.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 76 | const SOCKS5_REP_ERROR_MESSAGE: [&'static str; 8] = [ //RFC 1928, Chapter 6 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Socks5RequestError` is never constructed [INFO] [stdout] --> src/error.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | pub(crate) struct Socks5RequestError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TargetHost` is never used [INFO] [stdout] --> src/target.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) enum TargetHost { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Target` is never constructed [INFO] [stdout] --> src/target.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Target { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/target.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 18 | impl Target { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 19 | pub(crate) fn new(host: TargetHost, port: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ToTarget` is never used [INFO] [stdout] --> src/target.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait ToTarget { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_http_connect_request` is never used [INFO] [stdout] --> src/utils.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn make_http_connect_request(addr: &impl ToTarget, proxy: &HTTPProxy) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_http_response` is never used [INFO] [stdout] --> src/utils.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) fn parse_http_response(buffer: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_socks5_initial_request` is never used [INFO] [stdout] --> src/utils.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | pub(crate) fn make_socks5_initial_request(auth: &Option) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_socks5_authentication_request` is never used [INFO] [stdout] --> src/utils.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | pub(crate) fn make_socks5_authentication_request(auth: &Auth) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_socks5_request` is never used [INFO] [stdout] --> src/utils.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | pub(crate) fn make_socks5_request(cmd: SOCKS5Command, target: &Target) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/prelude.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) type Result = result::Result>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] running `Command { std: "docker" "inspect" "84937b11e957c6f7bdf6510442ab5e06a54273aee43138b19fd5d1043a53c812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84937b11e957c6f7bdf6510442ab5e06a54273aee43138b19fd5d1043a53c812", kill_on_drop: false }` [INFO] [stdout] 84937b11e957c6f7bdf6510442ab5e06a54273aee43138b19fd5d1043a53c812 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af6bf205b86d2b828092bf1bdffd466ac85fb4e89d6a53c123c84018066b346f [INFO] running `Command { std: "docker" "start" "-a" "af6bf205b86d2b828092bf1bdffd466ac85fb4e89d6a53c123c84018066b346f", kill_on_drop: false }` [INFO] [stderr] Compiling proxie v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `username` and `password` are never read [INFO] [stdout] --> src/proxy.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Auth { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 3 | pub(crate) username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | pub(crate) password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Auth` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `server`, `port`, and `auth` are never read [INFO] [stdout] --> src/proxy.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct HTTPProxy { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 24 | pub(crate) server: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | pub(crate) port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | pub(crate) auth: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HTTPProxy` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `server`, `port`, and `auth` are never read [INFO] [stdout] --> src/proxy.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct SOCKS5Proxy { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 42 | pub(crate) server: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | pub(crate) port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | pub(crate) auth: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SOCKS5Proxy` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SOCKS5Command` is never used [INFO] [stdout] --> src/proxy.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | pub(crate) enum SOCKS5Command { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MalformedTargetError` is never constructed [INFO] [stdout] --> src/error.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct MalformedTargetError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HTTPNotOKError` is never constructed [INFO] [stdout] --> src/error.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct HTTPNotOKError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FailedToConnectError` is never constructed [INFO] [stdout] --> src/error.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) struct FailedToConnectError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Socks5HandshakeError` is never constructed [INFO] [stdout] --> src/error.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) struct Socks5HandshakeError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SOCKS5_REP_ERROR_MESSAGE` is never used [INFO] [stdout] --> src/error.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 76 | const SOCKS5_REP_ERROR_MESSAGE: [&'static str; 8] = [ //RFC 1928, Chapter 6 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Socks5RequestError` is never constructed [INFO] [stdout] --> src/error.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | pub(crate) struct Socks5RequestError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TargetHost` is never used [INFO] [stdout] --> src/target.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) enum TargetHost { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Target` is never constructed [INFO] [stdout] --> src/target.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Target { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/target.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 18 | impl Target { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 19 | pub(crate) fn new(host: TargetHost, port: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ToTarget` is never used [INFO] [stdout] --> src/target.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait ToTarget { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_http_connect_request` is never used [INFO] [stdout] --> src/utils.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn make_http_connect_request(addr: &impl ToTarget, proxy: &HTTPProxy) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_http_response` is never used [INFO] [stdout] --> src/utils.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) fn parse_http_response(buffer: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_socks5_initial_request` is never used [INFO] [stdout] --> src/utils.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | pub(crate) fn make_socks5_initial_request(auth: &Option) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_socks5_authentication_request` is never used [INFO] [stdout] --> src/utils.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | pub(crate) fn make_socks5_authentication_request(auth: &Auth) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_socks5_request` is never used [INFO] [stdout] --> src/utils.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | pub(crate) fn make_socks5_request(cmd: SOCKS5Command, target: &Target) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/prelude.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) type Result = result::Result>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username` and `password` are never read [INFO] [stdout] --> src/proxy.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Auth { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 3 | pub(crate) username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | pub(crate) password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Auth` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `server`, `port`, and `auth` are never read [INFO] [stdout] --> src/proxy.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct HTTPProxy { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 24 | pub(crate) server: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | pub(crate) port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | pub(crate) auth: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HTTPProxy` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `server`, `port`, and `auth` are never read [INFO] [stdout] --> src/proxy.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct SOCKS5Proxy { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 42 | pub(crate) server: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | pub(crate) port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | pub(crate) auth: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SOCKS5Proxy` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SOCKS5Command` is never used [INFO] [stdout] --> src/proxy.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | pub(crate) enum SOCKS5Command { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MalformedTargetError` is never constructed [INFO] [stdout] --> src/error.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct MalformedTargetError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HTTPNotOKError` is never constructed [INFO] [stdout] --> src/error.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct HTTPNotOKError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FailedToConnectError` is never constructed [INFO] [stdout] --> src/error.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) struct FailedToConnectError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Socks5HandshakeError` is never constructed [INFO] [stdout] --> src/error.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) struct Socks5HandshakeError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SOCKS5_REP_ERROR_MESSAGE` is never used [INFO] [stdout] --> src/error.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 76 | const SOCKS5_REP_ERROR_MESSAGE: [&'static str; 8] = [ //RFC 1928, Chapter 6 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Socks5RequestError` is never constructed [INFO] [stdout] --> src/error.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | pub(crate) struct Socks5RequestError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TargetHost` is never used [INFO] [stdout] --> src/target.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) enum TargetHost { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Target` is never constructed [INFO] [stdout] --> src/target.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Target { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/target.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 18 | impl Target { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 19 | pub(crate) fn new(host: TargetHost, port: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ToTarget` is never used [INFO] [stdout] --> src/target.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait ToTarget { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_http_connect_request` is never used [INFO] [stdout] --> src/utils.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn make_http_connect_request(addr: &impl ToTarget, proxy: &HTTPProxy) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_http_response` is never used [INFO] [stdout] --> src/utils.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) fn parse_http_response(buffer: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_socks5_initial_request` is never used [INFO] [stdout] --> src/utils.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | pub(crate) fn make_socks5_initial_request(auth: &Option) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_socks5_authentication_request` is never used [INFO] [stdout] --> src/utils.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | pub(crate) fn make_socks5_authentication_request(auth: &Auth) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_socks5_request` is never used [INFO] [stdout] --> src/utils.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | pub(crate) fn make_socks5_request(cmd: SOCKS5Command, target: &Target) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/prelude.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) type Result = result::Result>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "af6bf205b86d2b828092bf1bdffd466ac85fb4e89d6a53c123c84018066b346f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af6bf205b86d2b828092bf1bdffd466ac85fb4e89d6a53c123c84018066b346f", kill_on_drop: false }` [INFO] [stdout] af6bf205b86d2b828092bf1bdffd466ac85fb4e89d6a53c123c84018066b346f