[INFO] cloning repository https://github.com/JacobSandin/improxy-js [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JacobSandin/improxy-js" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJacobSandin%2Fimproxy-js", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJacobSandin%2Fimproxy-js'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c2164607bfacc15c7ebec3865eab23a3f0e09625 [INFO] checking JacobSandin/improxy-js against master#18a6d911caba59605eb03db1452848a85d2e5879 for pr-112743 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJacobSandin%2Fimproxy-js" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JacobSandin/improxy-js on toolchain 18a6d911caba59605eb03db1452848a85d2e5879 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JacobSandin/improxy-js [INFO] finished tweaking git repo https://github.com/JacobSandin/improxy-js [INFO] tweaked toml for git repo https://github.com/JacobSandin/improxy-js written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded der-parser v4.1.1 [INFO] [stderr] Downloaded der-oid-macro v0.2.0 [INFO] [stderr] Downloaded x509-parser v0.8.2 [INFO] [stderr] Downloaded mysql v18.2.0 [INFO] [stderr] Downloaded rusticata-macros v2.1.0 [INFO] [stderr] Downloaded mysql_common v0.20.2 [INFO] [stderr] Downloaded lexical v4.2.1 [INFO] [stderr] Downloaded openssl v0.10.55 [INFO] [stderr] Downloaded lexical-core v0.6.8 [INFO] [stderr] Downloaded openssl-sys v0.9.89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9392cb65aec6efb78dbc661b0e53cdd5b1b7e873887413d8deb2a1db26c3132 [INFO] running `Command { std: "docker" "start" "-a" "c9392cb65aec6efb78dbc661b0e53cdd5b1b7e873887413d8deb2a1db26c3132", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9392cb65aec6efb78dbc661b0e53cdd5b1b7e873887413d8deb2a1db26c3132", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9392cb65aec6efb78dbc661b0e53cdd5b1b7e873887413d8deb2a1db26c3132", kill_on_drop: false }` [INFO] [stdout] c9392cb65aec6efb78dbc661b0e53cdd5b1b7e873887413d8deb2a1db26c3132 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92f386b47865ea83223c29523a880dea7a309ab124be9411235e2c869b83d599 [INFO] running `Command { std: "docker" "start" "-a" "92f386b47865ea83223c29523a880dea7a309ab124be9411235e2c869b83d599", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling serde_json v1.0.97 [INFO] [stderr] Compiling openssl-sys v0.9.89 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Compiling libz-sys v1.1.9 [INFO] [stderr] Compiling lexical-core v0.6.8 [INFO] [stderr] Compiling const-random-macro v0.1.15 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Checking gimli v0.27.3 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking miniz_oxide v0.6.2 [INFO] [stderr] Checking const-random v0.1.15 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling lexical v4.2.1 [INFO] [stderr] Checking object v0.30.4 [INFO] [stderr] Checking static_assertions v0.3.4 [INFO] [stderr] Compiling rust_decimal v1.30.0 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking ahash v0.2.19 [INFO] [stderr] Checking addr2line v0.19.0 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling io-enum v0.2.6 [INFO] [stderr] Checking regex-syntax v0.7.2 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Compiling derive_utils v0.11.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling mysql v18.2.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking lru v0.4.3 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking regex v1.8.4 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Checking rustls v0.18.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Compiling pin-project-internal v1.1.0 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Checking pin-project v1.1.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling rustversion v1.0.12 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Checking rusticata-macros v2.1.0 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Compiling der-oid-macro v0.2.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking data-encoding v2.4.0 [INFO] [stderr] Checking publicsuffix v1.5.6 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking strfmt v0.1.6 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Checking ipnet v2.7.2 [INFO] [stderr] Checking der-parser v4.1.1 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking mime_guess v2.0.4 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking bigdecimal v0.1.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking cookie_store v0.12.0 [INFO] [stderr] Checking mysql_common v0.20.2 [INFO] [stderr] Checking simplelog v0.7.6 [INFO] [stderr] Checking x509-parser v0.8.2 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking interfaces v0.1.0 (/opt/rustwide/workdir/interfaces) [INFO] [stderr] Checking cache_plugin v0.1.0 (/opt/rustwide/workdir/cache_plugin) [INFO] [stderr] Checking cert_plugin_mariadb v0.1.0 (/opt/rustwide/workdir/cert_plugin_sni_mariadb) [INFO] [stderr] Checking sni_proxy v0.0.5 (/opt/rustwide/workdir/sni_proxy) [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> sni_proxy/src/connection_source.rs:803:17 [INFO] [stdout] | [INFO] [stdout] 803 | &self.send_to_client.push_back(self.buf_client.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 803 | let _ = &self.send_to_client.push_back(self.buf_client.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> sni_proxy/src/connection_source.rs:804:17 [INFO] [stdout] | [INFO] [stdout] 804 | &self.buf_client.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 804 | let _ = &self.buf_client.clear(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> sni_proxy/src/connection_source.rs:889:25 [INFO] [stdout] | [INFO] [stdout] 889 | &self.buf_forward.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 889 | let _ = &self.buf_forward.clear(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> sni_proxy/src/connection_source.rs:891:25 [INFO] [stdout] | [INFO] [stdout] 891 | &self.send_to_farward.push_back(self.buf_forward.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 891 | let _ = &self.send_to_farward.push_back(self.buf_forward.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> sni_proxy/src/connection_source.rs:892:25 [INFO] [stdout] | [INFO] [stdout] 892 | &self.buf_forward.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 892 | let _ = &self.buf_forward.clear(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> sni_proxy/src/connection_source.rs:915:25 [INFO] [stdout] | [INFO] [stdout] 915 | &self.send_to_farward.push_back(self.buf_forward.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 915 | let _ = &self.send_to_farward.push_back(self.buf_forward.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> sni_proxy/src/connection_source.rs:916:25 [INFO] [stdout] | [INFO] [stdout] 916 | &self.buf_forward.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 916 | let _ = &self.buf_forward.clear(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> sni_proxy/src/connection_source.rs:919:25 [INFO] [stdout] | [INFO] [stdout] 919 | &self.buf_forward.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 919 | let _ = &self.buf_forward.clear(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> sni_proxy/src/connection_source.rs:1019:13 [INFO] [stdout] | [INFO] [stdout] 1019 | drop(self.forward_stream.as_ref().unwrap()); [INFO] [stdout] | ^^^^^-------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mio::net::TcpStream` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> sni_proxy/src/connection_source.rs:1022:9 [INFO] [stdout] | [INFO] [stdout] 1022 | drop(&self.server_stream); [INFO] [stdout] | ^^^^^-------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mio::net::TcpStream` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> sni_proxy/src/connection_source.rs:803:17 [INFO] [stdout] | [INFO] [stdout] 803 | &self.send_to_client.push_back(self.buf_client.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 803 | let _ = &self.send_to_client.push_back(self.buf_client.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> sni_proxy/src/connection_source.rs:804:17 [INFO] [stdout] | [INFO] [stdout] 804 | &self.buf_client.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 804 | let _ = &self.buf_client.clear(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> sni_proxy/src/connection_source.rs:889:25 [INFO] [stdout] | [INFO] [stdout] 889 | &self.buf_forward.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 889 | let _ = &self.buf_forward.clear(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> sni_proxy/src/connection_source.rs:891:25 [INFO] [stdout] | [INFO] [stdout] 891 | &self.send_to_farward.push_back(self.buf_forward.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 891 | let _ = &self.send_to_farward.push_back(self.buf_forward.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> sni_proxy/src/connection_source.rs:892:25 [INFO] [stdout] | [INFO] [stdout] 892 | &self.buf_forward.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 892 | let _ = &self.buf_forward.clear(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> sni_proxy/src/connection_source.rs:915:25 [INFO] [stdout] | [INFO] [stdout] 915 | &self.send_to_farward.push_back(self.buf_forward.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 915 | let _ = &self.send_to_farward.push_back(self.buf_forward.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> sni_proxy/src/connection_source.rs:916:25 [INFO] [stdout] | [INFO] [stdout] 916 | &self.buf_forward.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 916 | let _ = &self.buf_forward.clear(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> sni_proxy/src/connection_source.rs:919:25 [INFO] [stdout] | [INFO] [stdout] 919 | &self.buf_forward.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 919 | let _ = &self.buf_forward.clear(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> sni_proxy/src/connection_source.rs:1019:13 [INFO] [stdout] | [INFO] [stdout] 1019 | drop(self.forward_stream.as_ref().unwrap()); [INFO] [stdout] | ^^^^^-------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mio::net::TcpStream` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> sni_proxy/src/connection_source.rs:1022:9 [INFO] [stdout] | [INFO] [stdout] 1022 | drop(&self.server_stream); [INFO] [stdout] | ^^^^^-------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mio::net::TcpStream` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking cache_iterator v0.1.0 (/opt/rustwide/workdir/cache_iterator) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 40.40s [INFO] running `Command { std: "docker" "inspect" "92f386b47865ea83223c29523a880dea7a309ab124be9411235e2c869b83d599", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92f386b47865ea83223c29523a880dea7a309ab124be9411235e2c869b83d599", kill_on_drop: false }` [INFO] [stdout] 92f386b47865ea83223c29523a880dea7a309ab124be9411235e2c869b83d599