[INFO] cloning repository https://github.com/Zerounary/reverse-proxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Zerounary/reverse-proxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZerounary%2Freverse-proxy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZerounary%2Freverse-proxy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d05c1cd4d0df2f00b473e4f9e108efc03a645ef6 [INFO] testing Zerounary/reverse-proxy against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZerounary%2Freverse-proxy" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Zerounary/reverse-proxy [INFO] finished tweaking git repo https://github.com/Zerounary/reverse-proxy [INFO] tweaked toml for git repo https://github.com/Zerounary/reverse-proxy written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Zerounary/reverse-proxy on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Zerounary/reverse-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded validator_types v0.15.0 [INFO] [stderr] Downloaded validator_derive v0.15.0 [INFO] [stderr] Downloaded openssl-sys v0.9.102 [INFO] [stderr] Downloaded axum-core v0.2.9 [INFO] [stderr] Downloaded axum-server v0.3.3 [INFO] [stderr] Downloaded clap_derive v3.2.25 [INFO] [stderr] Downloaded tungstenite v0.15.0 [INFO] [stderr] Downloaded jsonpath-rust v0.1.6 [INFO] [stderr] Downloaded axum v0.5.17 [INFO] [stderr] Downloaded tokio-tungstenite v0.15.0 [INFO] [stderr] Downloaded validator v0.15.0 [INFO] [stderr] Downloaded matchit v0.5.0 [INFO] [stderr] Downloaded tokio-tungstenite v0.17.2 [INFO] [stderr] Downloaded tungstenite v0.14.0 [INFO] [stderr] Downloaded openssl v0.10.64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5eebab1f2d5335ecb669c3e2d4dd080c6e7e325943e9d0fa38856f984b45c48d [INFO] running `Command { std: "docker" "start" "-a" "5eebab1f2d5335ecb669c3e2d4dd080c6e7e325943e9d0fa38856f984b45c48d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5eebab1f2d5335ecb669c3e2d4dd080c6e7e325943e9d0fa38856f984b45c48d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5eebab1f2d5335ecb669c3e2d4dd080c6e7e325943e9d0fa38856f984b45c48d", kill_on_drop: false }` [INFO] [stdout] 5eebab1f2d5335ecb669c3e2d4dd080c6e7e325943e9d0fa38856f984b45c48d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9dfe221f884ca3b11472dd627d7defe0c0816132633e24d39bbd218af7cd201d [INFO] running `Command { std: "docker" "start" "-a" "9dfe221f884ca3b11472dd627d7defe0c0816132633e24d39bbd218af7cd201d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling cc v1.0.101 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling tinyvec v1.6.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling serde_json v1.0.118 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling http-range-header v0.3.1 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling matchit v0.5.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling validator_types v0.15.0 [INFO] [stderr] Compiling webpki v0.22.4 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling validator_derive v0.15.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Compiling tungstenite v0.17.3 [INFO] [stderr] Compiling tungstenite v0.14.0 [INFO] [stderr] Compiling tungstenite v0.15.0 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Compiling axum-core v0.2.9 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.17.2 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling tokio-tungstenite v0.15.0 [INFO] [stderr] Compiling tower-http v0.3.5 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling jsonpath-rust v0.1.6 [INFO] [stderr] Compiling validator v0.15.0 [INFO] [stderr] Compiling hyper v0.14.29 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling axum-server v0.3.3 [INFO] [stderr] Compiling axum v0.5.17 [INFO] [stderr] Compiling reverse-proxy v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Blue`, `Red`, `White`, and `Yellow` [INFO] [stdout] --> src/log.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use ansi_term::Colour::{Red, Green, Yellow, Blue, White}; [INFO] [stdout] | ^^^ ^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `future` and `pin_mut` [INFO] [stdout] --> src/main.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | use futures_util::{future, pin_mut, SinkExt, StreamExt}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:162:28 [INFO] [stdout] | [INFO] [stdout] 162 | if (req.headers().get(header::UPGRADE) != None) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 162 - if (req.headers().get(header::UPGRADE) != None) { [INFO] [stdout] 162 + if req.headers().get(header::UPGRADE) != None { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:319:28 [INFO] [stdout] | [INFO] [stdout] 319 | if (req.headers().get(header::UPGRADE) != None) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 319 - if (req.headers().get(header::UPGRADE) != None) { [INFO] [stdout] 319 + if req.headers().get(header::UPGRADE) != None { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use base64::encode; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/main.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 347 | encode(digest) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:218:10 [INFO] [stdout] | [INFO] [stdout] 218 | let (mut server_socket, _) = connect_async(uri) [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 12s [INFO] running `Command { std: "docker" "inspect" "9dfe221f884ca3b11472dd627d7defe0c0816132633e24d39bbd218af7cd201d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dfe221f884ca3b11472dd627d7defe0c0816132633e24d39bbd218af7cd201d", kill_on_drop: false }` [INFO] [stdout] 9dfe221f884ca3b11472dd627d7defe0c0816132633e24d39bbd218af7cd201d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a85a56bc96cbc211e9e4d163bf88bebdabc70e101d67d845a7cdb62b51625c1c [INFO] running `Command { std: "docker" "start" "-a" "a85a56bc96cbc211e9e4d163bf88bebdabc70e101d67d845a7cdb62b51625c1c", kill_on_drop: false }` [INFO] [stderr] Compiling reverse-proxy v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Blue`, `Red`, `White`, and `Yellow` [INFO] [stdout] --> src/log.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use ansi_term::Colour::{Red, Green, Yellow, Blue, White}; [INFO] [stdout] | ^^^ ^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `future` and `pin_mut` [INFO] [stdout] --> src/main.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | use futures_util::{future, pin_mut, SinkExt, StreamExt}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:162:28 [INFO] [stdout] | [INFO] [stdout] 162 | if (req.headers().get(header::UPGRADE) != None) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 162 - if (req.headers().get(header::UPGRADE) != None) { [INFO] [stdout] 162 + if req.headers().get(header::UPGRADE) != None { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:319:28 [INFO] [stdout] | [INFO] [stdout] 319 | if (req.headers().get(header::UPGRADE) != None) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 319 - if (req.headers().get(header::UPGRADE) != None) { [INFO] [stdout] 319 + if req.headers().get(header::UPGRADE) != None { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use base64::encode; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/main.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 347 | encode(digest) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:218:10 [INFO] [stdout] | [INFO] [stdout] 218 | let (mut server_socket, _) = connect_async(uri) [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.12s [INFO] running `Command { std: "docker" "inspect" "a85a56bc96cbc211e9e4d163bf88bebdabc70e101d67d845a7cdb62b51625c1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a85a56bc96cbc211e9e4d163bf88bebdabc70e101d67d845a7cdb62b51625c1c", kill_on_drop: false }` [INFO] [stdout] a85a56bc96cbc211e9e4d163bf88bebdabc70e101d67d845a7cdb62b51625c1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5c09c2f72b448d108bcb11b3efb9958186b4a8e0cff10abf88247c5aaa2be137 [INFO] running `Command { std: "docker" "start" "-a" "5c09c2f72b448d108bcb11b3efb9958186b4a8e0cff10abf88247c5aaa2be137", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Blue`, `Red`, `White`, and `Yellow` [INFO] [stderr] --> src/log.rs:1:25 [INFO] [stderr] | [INFO] [stderr] 1 | use ansi_term::Colour::{Red, Green, Yellow, Blue, White}; [INFO] [stderr] | ^^^ ^^^^^^ ^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `future` and `pin_mut` [INFO] [stderr] --> src/main.rs:14:20 [INFO] [stderr] | [INFO] [stderr] 14 | use futures_util::{future, pin_mut, SinkExt, StreamExt}; [INFO] [stderr] | ^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:162:28 [INFO] [stderr] | [INFO] [stderr] 162 | if (req.headers().get(header::UPGRADE) != None) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 162 - if (req.headers().get(header::UPGRADE) != None) { [INFO] [stderr] 162 + if req.headers().get(header::UPGRADE) != None { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:319:28 [INFO] [stderr] | [INFO] [stderr] 319 | if (req.headers().get(header::UPGRADE) != None) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 319 - if (req.headers().get(header::UPGRADE) != None) { [INFO] [stderr] 319 + if req.headers().get(header::UPGRADE) != None { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stderr] --> src/main.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | use base64::encode; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stderr] --> src/main.rs:347:5 [INFO] [stderr] | [INFO] [stderr] 347 | encode(digest) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:218:10 [INFO] [stderr] | [INFO] [stderr] 218 | let (mut server_socket, _) = connect_async(uri) [INFO] [stderr] | ----^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `reverse-proxy` (bin "reverse-proxy" test) generated 8 warnings (run `cargo fix --bin "reverse-proxy" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/reverse_proxy-38277b9a8c7d1ee4) [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" "5c09c2f72b448d108bcb11b3efb9958186b4a8e0cff10abf88247c5aaa2be137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c09c2f72b448d108bcb11b3efb9958186b4a8e0cff10abf88247c5aaa2be137", kill_on_drop: false }` [INFO] [stdout] 5c09c2f72b448d108bcb11b3efb9958186b4a8e0cff10abf88247c5aaa2be137