[INFO] fetching crate proxie 0.1.1... [INFO] checking proxie-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate proxie 0.1.1 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate proxie 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 96 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e9116891805745b08fb94438ebaa35a98ed8531e1602b1415737b8c2c4b0bdd [INFO] running `Command { std: "docker" "start" "-a" "6e9116891805745b08fb94438ebaa35a98ed8531e1602b1415737b8c2c4b0bdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e9116891805745b08fb94438ebaa35a98ed8531e1602b1415737b8c2c4b0bdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e9116891805745b08fb94438ebaa35a98ed8531e1602b1415737b8c2c4b0bdd", kill_on_drop: false }` [INFO] [stdout] 6e9116891805745b08fb94438ebaa35a98ed8531e1602b1415737b8c2c4b0bdd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6a57df1522b8df0ef66355079063a94479089db15437b28083018493e035e53 [INFO] running `Command { std: "docker" "start" "-a" "c6a57df1522b8df0ef66355079063a94479089db15437b28083018493e035e53", kill_on_drop: false }` [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking 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)]` 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)]` 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 1.07s [INFO] running `Command { std: "docker" "inspect" "c6a57df1522b8df0ef66355079063a94479089db15437b28083018493e035e53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6a57df1522b8df0ef66355079063a94479089db15437b28083018493e035e53", kill_on_drop: false }` [INFO] [stdout] c6a57df1522b8df0ef66355079063a94479089db15437b28083018493e035e53