[INFO] cloning repository https://github.com/Nilstrieb/icefun [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nilstrieb/icefun" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNilstrieb%2Ficefun", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNilstrieb%2Ficefun'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c71413f2f7864382919e401ef5b5587776877050 [INFO] testing Nilstrieb/icefun against 1.77.0 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNilstrieb%2Ficefun" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nilstrieb/icefun on toolchain 1.77.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/Nilstrieb/icefun [INFO] finished tweaking git repo https://github.com/Nilstrieb/icefun [INFO] tweaked toml for git repo https://github.com/Nilstrieb/icefun written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Nilstrieb/icefun 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" "+1.77.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3457bcff31128a00dcef5200d6c77c24095c0607e3ef3ea9b633cbadf9c7402c [INFO] running `Command { std: "docker" "start" "-a" "3457bcff31128a00dcef5200d6c77c24095c0607e3ef3ea9b633cbadf9c7402c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3457bcff31128a00dcef5200d6c77c24095c0607e3ef3ea9b633cbadf9c7402c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3457bcff31128a00dcef5200d6c77c24095c0607e3ef3ea9b633cbadf9c7402c", kill_on_drop: false }` [INFO] [stdout] 3457bcff31128a00dcef5200d6c77c24095c0607e3ef3ea9b633cbadf9c7402c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.77.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 560d6c84baa080ae0eadb2a9972cc86dd5b96341a1da7e4bda28a48eaf8c82f7 [INFO] running `Command { std: "docker" "start" "-a" "560d6c84baa080ae0eadb2a9972cc86dd5b96341a1da7e4bda28a48eaf8c82f7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.51 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling unicode-ident v1.0.7 [INFO] [stderr] Compiling futures-core v0.3.26 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling futures-task v0.3.26 [INFO] [stderr] Compiling futures-channel v0.3.26 [INFO] [stderr] Compiling futures-sink v0.3.26 [INFO] [stderr] Compiling tokio v1.26.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-util v0.3.26 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.26 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling serde_json v1.0.93 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling headers v0.3.8 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling tokio-util v0.7.7 [INFO] [stderr] Compiling tokio-stream v0.1.12 [INFO] [stderr] Compiling futures-macro v0.3.26 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling h2 v0.3.16 [INFO] [stderr] Compiling futures-executor v0.3.26 [INFO] [stderr] Compiling futures v0.3.26 [INFO] [stderr] Compiling hyper v0.14.24 (/opt/rustwide/workdir/hyper) [INFO] [stdout] warning: unused imports: `Started as Lazy`, `lazy` [INFO] [stdout] --> hyper/src/common/mod.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) use self::lazy::{lazy, Started as Lazy}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HeaderValue`, `ValueIter` [INFO] [stdout] --> hyper/src/headers.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use http::header::{HeaderValue, ValueIter}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::HeaderMap` [INFO] [stdout] --> hyper/src/headers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use http::HeaderMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::Method` [INFO] [stdout] --> hyper/src/headers.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http::Method; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `header_name` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | macro_rules! header_name { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `header_value` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | macro_rules! header_value { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `maybe_panic` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | macro_rules! maybe_panic { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `reply` [INFO] [stdout] --> hyper/src/proto/h2/server.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | macro_rules! reply { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpInfo` [INFO] [stdout] --> hyper/src/client/connect/mod.rs:85:63 [INFO] [stdout] | [INFO] [stdout] 85 | #![feature = "tcp"] pub use self::http:: { HttpConnector, HttpInfo }; pub mod dns; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::sealed::Connect` [INFO] [stdout] --> hyper/src/client/connect/mod.rs:89:59 [INFO] [stdout] | [INFO] [stdout] 89 | #![any(feature = "http1", feature = "http2")] pub use self::sealed::Connect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> hyper/src/server/conn.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | std::fmt; use bytes::Bytes; use pin_project_lite::pin_project; use tokio::io:: { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> hyper/src/server/conn.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | std::fmt; use bytes::Bytes; use pin_project_lite::pin_project; use tokio::io:: { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::trace` [INFO] [stdout] --> hyper/src/server/conn.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | AsyncRead, AsyncWrite }; use tracing::trace; pub use super::server::Connecting; use [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::upgrades::UpgradeableConnection` [INFO] [stdout] --> hyper/src/server/conn.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | self::upgrades::UpgradeableConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pin`, `Poll`, `task` [INFO] [stdout] --> hyper/src/server/tcp.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::common::{task, Pin, Poll}; [INFO] [stdout] | ^^^^ ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::TcpListener` [INFO] [stdout] --> hyper/src/server/tcp.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::net::TcpListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::Sleep` [INFO] [stdout] --> hyper/src/server/tcp.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio::time::Sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> hyper/src/body/to_bytes.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn to_bytes(body: T) -> Result [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `io` [INFO] [stdout] --> hyper/src/proto/h2/client.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | io: T, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req_rx` [INFO] [stdout] --> hyper/src/proto/h2/client.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | req_rx: ClientRx, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> hyper/src/proto/h2/client.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | config: &Config, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exec` [INFO] [stdout] --> hyper/src/proto/h2/client.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | exec: Exec, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_exec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> hyper/src/proto/h2/client.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 70 | async fn conn_task(conn: C, drop_rx: D, cancel_tx: oneshot::Sender) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `drop_rx` [INFO] [stdout] --> hyper/src/proto/h2/client.rs:70:35 [INFO] [stdout] | [INFO] [stdout] 70 | async fn conn_task(conn: C, drop_rx: D, cancel_tx: oneshot::Sender) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_drop_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cancel_tx` [INFO] [stdout] --> hyper/src/proto/h2/client.rs:70:47 [INFO] [stdout] | [INFO] [stdout] 70 | async fn conn_task(conn: C, drop_rx: D, cancel_tx: oneshot::Sender) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cancel_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resolver` [INFO] [stdout] --> hyper/src/client/connect/dns.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | resolver: &mut R, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> hyper/src/client/connect/dns.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | name: Name, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> hyper/src/client/connect/http.rs:217:36 [INFO] [stdout] | [INFO] [stdout] 217 | async fn call_async(&mut self, dst: Uri) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> hyper/src/client/connect/http.rs:314:33 [INFO] [stdout] | [INFO] [stdout] 314 | async fn connect(&mut self, config: &Config) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/client/connect/http.rs:395:22 [INFO] [stdout] | [INFO] [stdout] 395 | async fn connect(mut self) -> Result { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `io` [INFO] [stdout] --> hyper/src/client/conn.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | io: T, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `when` [INFO] [stdout] --> hyper/src/client/dispatch.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | mut when: impl Future)>> + Unpin, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_when` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/client/dispatch.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | mut when: impl Future)>> + Unpin, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buf` [INFO] [stdout] --> hyper/src/proto/h1/dispatch.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> hyper/src/common/buf.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn push(&mut self, buf: T) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cnt` [INFO] [stdout] --> hyper/src/common/buf.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | fn advance(&mut self, mut cnt: usize) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cnt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/common/buf.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | fn advance(&mut self, mut cnt: usize) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> hyper/src/common/buf.rs:35:38 [INFO] [stdout] | [INFO] [stdout] 35 | fn chunks_vectored<'t>(&'t self, dst: &mut [IoSlice<'t>]) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> hyper/src/common/buf.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | fn copy_to_bytes(&mut self, len: usize) -> Bytes { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> hyper/src/common/date.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn extend(dst: &mut Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> hyper/src/common/date.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | fn update(&mut self, now: SystemTime) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> hyper/src/common/date.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | fn render(&mut self, now: SystemTime) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> hyper/src/common/date.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | fn write_str(&mut self, s: &str) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/common/drain.rs:32:39 [INFO] [stdout] | [INFO] [stdout] 32 | fn poll(mut self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/common/drain.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | fn poll(mut self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `future` [INFO] [stdout] --> hyper/src/common/drain.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) fn watch(self, future: F, on_drain: FN) -> Watching [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_drain` [INFO] [stdout] --> hyper/src/common/drain.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) fn watch(self, future: F, on_drain: FN) -> Watching [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_drain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/common/drain.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | fn poll(self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/common/exec.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fut` [INFO] [stdout] --> hyper/src/common/exec.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | fn execute_new_svc(&mut self, fut: NewSvcTask) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `io` [INFO] [stdout] --> hyper/src/common/io/rewind.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) fn new(io: T) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `io` [INFO] [stdout] --> hyper/src/common/io/rewind.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) fn new_buffered(io: T, buf: Bytes) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> hyper/src/common/io/rewind.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) fn new_buffered(io: T, buf: Bytes) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bs` [INFO] [stdout] --> hyper/src/common/io/rewind.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) fn rewind(&mut self, bs: Bytes) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/common/io/rewind.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> hyper/src/common/io/rewind.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | buf: &mut ReadBuf<'_>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/common/io/rewind.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | mut self: Pin<&mut Self>, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/common/io/rewind.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> hyper/src/common/io/rewind.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | buf: &[u8], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/common/io/rewind.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | mut self: Pin<&mut Self>, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/common/io/rewind.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bufs` [INFO] [stdout] --> hyper/src/common/io/rewind.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | bufs: &[io::IoSlice<'_>], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bufs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/common/io/rewind.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | mut self: Pin<&mut Self>, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/common/io/rewind.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/common/io/rewind.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | mut self: Pin<&mut Self>, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/common/io/rewind.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/common/io/rewind.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | mut self: Pin<&mut Self>, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> hyper/src/common/lazy.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn lazy(func: F) -> Lazy [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/common/lazy.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | fn poll(self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> hyper/src/common/sync_wrapper.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) fn new(value: T) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/common/task.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) fn yield_now(cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial` [INFO] [stdout] --> hyper/src/common/watch.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) fn channel(initial: Value) -> (Sender, Receiver) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> hyper/src/common/watch.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn send(&mut self, value: Value) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/common/watch.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) fn load(&mut self, cx: &mut task::Context<'_>) -> Value { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> hyper/src/body/body.rs:142:33 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn wrap_stream(stream: S) -> Body [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/body/body.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/body/body.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | mut self: Pin<&mut Self>, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/body/body.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/body/body.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | mut self: Pin<&mut Self>, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/body/body.rs:187:19 [INFO] [stdout] | [INFO] [stdout] 187 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/body/body.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> hyper/src/body/body.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | stream: Box< [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chunk` [INFO] [stdout] --> hyper/src/body/body.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | fn from(chunk: Bytes) -> Body { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chunk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> hyper/src/body/body.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | fn from(vec: Vec) -> Body { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> hyper/src/body/body.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | fn from(slice: &'static [u8]) -> Body { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cow` [INFO] [stdout] --> hyper/src/body/body.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | fn from(cow: Cow<'static, [u8]>) -> Body { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> hyper/src/body/body.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | fn from(s: String) -> Body { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> hyper/src/body/body.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | fn from(slice: &'static str) -> Body { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cow` [INFO] [stdout] --> hyper/src/body/body.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | fn from(cow: Cow<'static, str>) -> Body { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/body/body.rs:265:19 [INFO] [stdout] | [INFO] [stdout] 265 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> hyper/src/body/length.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | fn from(len: Option) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> hyper/src/body/length.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) fn checked_new(len: u64) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amt` [INFO] [stdout] --> hyper/src/body/length.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) fn sub_if(&mut self, amt: u64) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_amt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/body/length.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/body/length.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> hyper/src/error.rs:177:23 [INFO] [stdout] | [INFO] [stdout] 177 | pub(super) fn new(kind: Kind) -> Error { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cause` [INFO] [stdout] --> hyper/src/error.rs:180:50 [INFO] [stdout] | [INFO] [stdout] 180 | pub(super) fn with>(mut self, cause: C) -> Error { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cause` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/error.rs:180:40 [INFO] [stdout] | [INFO] [stdout] 180 | pub(super) fn with>(mut self, cause: C) -> Error { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cause` [INFO] [stdout] --> hyper/src/error.rs:214:26 [INFO] [stdout] | [INFO] [stdout] 214 | pub(super) fn new_io(cause: std::io::Error) -> Error { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cause` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cause` [INFO] [stdout] --> hyper/src/error.rs:218:46 [INFO] [stdout] | [INFO] [stdout] 218 | pub(super) fn new_listen>(cause: E) -> Error { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cause` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cause` [INFO] [stdout] --> hyper/src/error.rs:223:46 [INFO] [stdout] | [INFO] [stdout] 223 | pub(super) fn new_accept>(cause: E) -> Error { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cause` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cause` [INFO] [stdout] --> hyper/src/error.rs:228:47 [INFO] [stdout] | [INFO] [stdout] 228 | pub(super) fn new_connect>(cause: E) -> Error { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cause` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cause` [INFO] [stdout] --> hyper/src/error.rs:235:44 [INFO] [stdout] | [INFO] [stdout] 235 | pub(super) fn new_body>(cause: E) -> Error { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cause` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cause` [INFO] [stdout] --> hyper/src/error.rs:239:50 [INFO] [stdout] | [INFO] [stdout] 239 | pub(super) fn new_body_write>(cause: E) -> Error { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cause` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> hyper/src/error.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | fn new_user(user: User) -> Error { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cause` [INFO] [stdout] --> hyper/src/error.rs:286:57 [INFO] [stdout] | [INFO] [stdout] 286 | pub(super) fn new_user_make_service>(cause: E) -> Error { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cause` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cause` [INFO] [stdout] --> hyper/src/error.rs:290:52 [INFO] [stdout] | [INFO] [stdout] 290 | pub(super) fn new_user_service>(cause: E) -> Error { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cause` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cause` [INFO] [stdout] --> hyper/src/error.rs:294:49 [INFO] [stdout] | [INFO] [stdout] 294 | pub(super) fn new_user_body>(cause: E) -> Error { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cause` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cause` [INFO] [stdout] --> hyper/src/error.rs:302:32 [INFO] [stdout] | [INFO] [stdout] 302 | pub(super) fn new_shutdown(cause: std::io::Error) -> Error { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cause` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cause` [INFO] [stdout] --> hyper/src/error.rs:314:26 [INFO] [stdout] | [INFO] [stdout] 314 | pub(super) fn new_h2(cause: ::h2::Error) -> Error { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cause` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/error.rs:326:19 [INFO] [stdout] | [INFO] [stdout] 326 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/error.rs:331:19 [INFO] [stdout] | [INFO] [stdout] 331 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> hyper/src/error.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | fn from(err: Parse) -> Error { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> hyper/src/error.rs:360:13 [INFO] [stdout] | [INFO] [stdout] 360 | fn from(err: httparse::Error) -> Parse { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/error.rs:389:19 [INFO] [stdout] | [INFO] [stdout] 389 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> hyper/src/ext.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) const fn from_static(value: &'static str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> hyper/src/ext.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) fn from_inner(inner: h2::ext::Protocol) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> hyper/src/ext.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | fn from(value: &'a str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/ext.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> hyper/src/ext.rs:67:50 [INFO] [stdout] | [INFO] [stdout] 67 | pub(crate) fn get_all_internal<'a>(&'a self, name: &HeaderName) -> ValueIter<'_, Bytes> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> hyper/src/ext.rs:77:40 [INFO] [stdout] | [INFO] [stdout] 77 | pub(crate) fn append(&mut self, name: N, orig: Bytes) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orig` [INFO] [stdout] --> hyper/src/ext.rs:77:49 [INFO] [stdout] | [INFO] [stdout] 77 | pub(crate) fn append(&mut self, name: N, orig: Bytes) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_orig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/service/make.rs:51:40 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn make_service_fn(f: F) -> MakeServiceFn [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> hyper/src/service/make.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | fn call(&mut self, target: &'t Target) -> Self::Future { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/service/make.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `svc` [INFO] [stdout] --> hyper/src/service/oneshot.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) fn oneshot(svc: S, req: Req) -> Oneshot [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_svc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> hyper/src/service/oneshot.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) fn oneshot(svc: S, req: Req) -> Oneshot [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/service/oneshot.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | fn poll(self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/service/util.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn service_fn(f: F) -> ServiceFn [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> hyper/src/service/util.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | fn call(&mut self, req: Request) -> Self::Future { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/service/util.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> hyper/src/upgrade.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | pub(crate) fn on(msg: T) -> OnUpgrade { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/upgrade.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> hyper/src/upgrade.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | buf: &mut ReadBuf<'_>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/upgrade.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | mut self: Pin<&mut Self>, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/upgrade.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> hyper/src/upgrade.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | buf: &[u8], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/upgrade.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | mut self: Pin<&mut Self>, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/upgrade.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bufs` [INFO] [stdout] --> hyper/src/upgrade.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | bufs: &[io::IoSlice<'_>], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bufs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/upgrade.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | mut self: Pin<&mut Self>, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/upgrade.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/upgrade.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | mut self: Pin<&mut Self>, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/upgrade.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/upgrade.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | mut self: Pin<&mut Self>, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/upgrade.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/upgrade.rs:163:39 [INFO] [stdout] | [INFO] [stdout] 163 | fn poll(mut self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/upgrade.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | fn poll(mut self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/upgrade.rs:168:19 [INFO] [stdout] | [INFO] [stdout] 168 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `upgraded` [INFO] [stdout] --> hyper/src/upgrade.rs:174:33 [INFO] [stdout] | [INFO] [stdout] 174 | pub(super) fn fulfill(self, upgraded: Upgraded) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_upgraded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/upgrade.rs:191:19 [INFO] [stdout] | [INFO] [stdout] 191 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/upgrade.rs:216:23 [INFO] [stdout] | [INFO] [stdout] 216 | fn on_upgrade(mut self) -> OnUpgrade { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/upgrade.rs:226:23 [INFO] [stdout] | [INFO] [stdout] 226 | fn on_upgrade(mut self) -> OnUpgrade { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `io` [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) fn new(io: I) -> Conn { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enabled` [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:43:49 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) fn set_flush_pipeline(&mut self, enabled: bool) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enabled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:49:47 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) fn set_max_buf_size(&mut self, max: usize) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sz` [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:53:54 [INFO] [stdout] | [INFO] [stdout] 53 | pub(crate) fn set_read_buf_exact_size(&mut self, sz: usize) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parser_config` [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:60:51 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) fn set_h1_parser_config(&mut self, parser_config: ParserConfig) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parser_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | e: crate::Error, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:155:33 [INFO] [stdout] | [INFO] [stdout] 155 | fn force_io_read(&mut self, cx: &mut task::Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:158:32 [INFO] [stdout] | [INFO] [stdout] 158 | fn maybe_notify(&mut self, cx: &mut task::Context<'_>) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:161:34 [INFO] [stdout] | [INFO] [stdout] 161 | fn try_keep_alive(&mut self, cx: &mut task::Context<'_>) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `head` [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | head: MessageHead, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_head` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | body: Option, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `head` [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:180:45 [INFO] [stdout] | [INFO] [stdout] 180 | pub(crate) fn write_full_msg(&mut self, head: MessageHead, body: B) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_head` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:180:77 [INFO] [stdout] | [INFO] [stdout] 180 | pub(crate) fn write_full_msg(&mut self, head: MessageHead, body: B) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `head` [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | mut head: MessageHead, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_head` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | body: Option, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | mut head: MessageHead, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `head` [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:190:34 [INFO] [stdout] | [INFO] [stdout] 190 | fn fix_keep_alive(&mut self, head: &mut MessageHead) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_head` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `head` [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:193:35 [INFO] [stdout] | [INFO] [stdout] 193 | fn enforce_version(&mut self, head: &mut MessageHead) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_head` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chunk` [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:196:41 [INFO] [stdout] | [INFO] [stdout] 196 | pub(crate) fn write_body(&mut self, chunk: B) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chunk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chunk` [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:199:49 [INFO] [stdout] | [INFO] [stdout] 199 | pub(crate) fn write_body_and_end(&mut self, chunk: B) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chunk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:205:34 [INFO] [stdout] | [INFO] [stdout] 205 | fn on_parse_error(&mut self, err: crate::Error) -> crate::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:221:55 [INFO] [stdout] | [INFO] [stdout] 221 | pub(super) fn poll_drain_or_close_read(&mut self, cx: &mut task::Context<'_>) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:242:19 [INFO] [stdout] | [INFO] [stdout] 242 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:307:19 [INFO] [stdout] | [INFO] [stdout] 307 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:312:19 [INFO] [stdout] | [INFO] [stdout] 312 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enabled` [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:317:33 [INFO] [stdout] | [INFO] [stdout] 317 | fn bitand_assign(&mut self, enabled: bool) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enabled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dispatch` [INFO] [stdout] --> hyper/src/proto/h1/dispatch.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | pub(crate) fn new(dispatch: D, conn: Conn) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dispatch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> hyper/src/proto/h1/dispatch.rs:57:36 [INFO] [stdout] | [INFO] [stdout] 57 | pub(crate) fn new(dispatch: D, conn: Conn) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h1/dispatch.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h1/dispatch.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `should_shutdown` [INFO] [stdout] --> hyper/src/proto/h1/dispatch.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | should_shutdown: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_should_shutdown` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h1/dispatch.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `should_shutdown` [INFO] [stdout] --> hyper/src/proto/h1/dispatch.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | should_shutdown: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_should_shutdown` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h1/dispatch.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | fn poll_loop(&mut self, cx: &mut task::Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h1/dispatch.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | fn poll_read(&mut self, cx: &mut task::Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h1/dispatch.rs:101:34 [INFO] [stdout] | [INFO] [stdout] 101 | fn poll_read_head(&mut self, cx: &mut task::Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h1/dispatch.rs:104:30 [INFO] [stdout] | [INFO] [stdout] 104 | fn poll_write(&mut self, cx: &mut task::Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h1/dispatch.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | fn poll_flush(&mut self, cx: &mut task::Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h1/dispatch.rs:132:39 [INFO] [stdout] | [INFO] [stdout] 132 | fn poll(mut self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/proto/h1/dispatch.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | fn poll(mut self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pin` [INFO] [stdout] --> hyper/src/proto/h1/dispatch.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | fn new(pin: Pin<&'a mut Option>) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> hyper/src/proto/h1/encode.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | fn new(kind: Kind) -> Encoder { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> hyper/src/proto/h1/encode.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) fn length(len: u64) -> Encoder { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_last` [INFO] [stdout] --> hyper/src/proto/h1/encode.rs:60:38 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) fn set_last(mut self, is_last: bool) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_last` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/proto/h1/encode.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) fn set_last(mut self, is_last: bool) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> hyper/src/proto/h1/encode.rs:72:40 [INFO] [stdout] | [INFO] [stdout] 72 | pub(crate) fn encode(&mut self, msg: B) -> EncodedBuf [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> hyper/src/proto/h1/encode.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | msg: B, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> hyper/src/proto/h1/encode.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | dst: &mut WriteBuf>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> hyper/src/proto/h1/encode.rs:93:44 [INFO] [stdout] | [INFO] [stdout] 93 | pub(super) fn danger_full_buf(self, msg: B, dst: &mut WriteBuf>) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> hyper/src/proto/h1/encode.rs:93:52 [INFO] [stdout] | [INFO] [stdout] 93 | pub(super) fn danger_full_buf(self, msg: B, dst: &mut WriteBuf>) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cnt` [INFO] [stdout] --> hyper/src/proto/h1/encode.rs:113:27 [INFO] [stdout] | [INFO] [stdout] 113 | fn advance(&mut self, cnt: usize) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cnt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> hyper/src/proto/h1/encode.rs:117:38 [INFO] [stdout] | [INFO] [stdout] 117 | fn chunks_vectored<'t>(&'t self, dst: &mut [IoSlice<'t>]) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> hyper/src/proto/h1/encode.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | fn new(len: usize) -> ChunkSize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cnt` [INFO] [stdout] --> hyper/src/proto/h1/encode.rs:147:27 [INFO] [stdout] | [INFO] [stdout] 147 | fn advance(&mut self, cnt: usize) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cnt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/proto/h1/encode.rs:152:19 [INFO] [stdout] | [INFO] [stdout] 152 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> hyper/src/proto/h1/encode.rs:157:29 [INFO] [stdout] | [INFO] [stdout] 157 | fn write_str(&mut self, num: &str) -> fmt::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> hyper/src/proto/h1/encode.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | fn from(buf: B) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> hyper/src/proto/h1/encode.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | fn from(buf: Take) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> hyper/src/proto/h1/encode.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | fn from(buf: Chain, StaticBuf>) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/proto/h1/encode.rs:177:19 [INFO] [stdout] | [INFO] [stdout] 177 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/proto/h1/io.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `io` [INFO] [stdout] --> hyper/src/proto/h1/io.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | pub(crate) fn new(io: T) -> Buffered { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enabled` [INFO] [stdout] --> hyper/src/proto/h1/io.rs:56:49 [INFO] [stdout] | [INFO] [stdout] 56 | pub(crate) fn set_flush_pipeline(&mut self, enabled: bool) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enabled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> hyper/src/proto/h1/io.rs:59:47 [INFO] [stdout] | [INFO] [stdout] 59 | pub(crate) fn set_max_buf_size(&mut self, max: usize) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sz` [INFO] [stdout] --> hyper/src/proto/h1/io.rs:63:54 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) fn set_read_buf_exact_size(&mut self, sz: usize) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> hyper/src/proto/h1/io.rs:99:56 [INFO] [stdout] | [INFO] [stdout] 99 | pub(crate) fn buffer>(&mut self, buf: BB) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h1/io.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parse_ctx` [INFO] [stdout] --> hyper/src/proto/h1/io.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | parse_ctx: ParseContext<'_>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parse_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h1/io.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h1/io.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h1/io.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h1/io.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> hyper/src/proto/h1/io.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | len: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> hyper/src/proto/h1/io.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | fn with_max(max: usize) -> ReadStrategy { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes_read` [INFO] [stdout] --> hyper/src/proto/h1/io.rs:193:26 [INFO] [stdout] | [INFO] [stdout] 193 | fn record(&mut self, bytes_read: usize) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes_read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> hyper/src/proto/h1/io.rs:197:22 [INFO] [stdout] | [INFO] [stdout] 197 | fn incr_power_of_two(n: usize) -> usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> hyper/src/proto/h1/io.rs:200:22 [INFO] [stdout] | [INFO] [stdout] 200 | fn prev_power_of_two(n: usize) -> usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> hyper/src/proto/h1/io.rs:215:23 [INFO] [stdout] | [INFO] [stdout] 215 | pub(crate) fn new(bytes: T) -> Cursor { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional` [INFO] [stdout] --> hyper/src/proto/h1/io.rs:223:33 [INFO] [stdout] | [INFO] [stdout] 223 | fn maybe_unshift(&mut self, additional: usize) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/proto/h1/io.rs:231:19 [INFO] [stdout] | [INFO] [stdout] 231 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cnt` [INFO] [stdout] --> hyper/src/proto/h1/io.rs:245:27 [INFO] [stdout] | [INFO] [stdout] 245 | fn advance(&mut self, cnt: usize) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cnt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `strategy` [INFO] [stdout] --> hyper/src/proto/h1/io.rs:258:12 [INFO] [stdout] | [INFO] [stdout] 258 | fn new(strategy: WriteStrategy) -> WriteBuf { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_strategy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `strategy` [INFO] [stdout] --> hyper/src/proto/h1/io.rs:266:32 [INFO] [stdout] | [INFO] [stdout] 266 | fn set_strategy(&mut self, strategy: WriteStrategy) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_strategy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> hyper/src/proto/h1/io.rs:269:60 [INFO] [stdout] | [INFO] [stdout] 269 | pub(super) fn buffer>(&mut self, mut buf: BB) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/proto/h1/io.rs:269:56 [INFO] [stdout] | [INFO] [stdout] 269 | pub(super) fn buffer>(&mut self, mut buf: BB) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/proto/h1/io.rs:280:19 [INFO] [stdout] | [INFO] [stdout] 280 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cnt` [INFO] [stdout] --> hyper/src/proto/h1/io.rs:294:27 [INFO] [stdout] | [INFO] [stdout] 294 | fn advance(&mut self, cnt: usize) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cnt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> hyper/src/proto/h1/io.rs:298:38 [INFO] [stdout] | [INFO] [stdout] 298 | fn chunks_vectored<'t>(&'t self, dst: &mut [IoSlice<'t>]) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | bytes: &mut BytesMut, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | ctx: ParseContext<'_>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enc` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | enc: Encode<'_, T::Outgoing>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_enc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | dst: &mut Vec, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | fn parse(buf: &mut BytesMut, ctx: ParseContext<'_>) -> ParseResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | fn parse(buf: &mut BytesMut, ctx: ParseContext<'_>) -> ParseResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | mut msg: Encode<'_, Self::Outgoing>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | dst: &mut Vec, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/proto/h1/role.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | mut msg: Encode<'_, Self::Outgoing>, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | fn on_error(err: &crate::Error) -> Option> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | fn can_have_body(method: &Option, status: StatusCode) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:92:47 [INFO] [stdout] | [INFO] [stdout] 92 | fn can_have_body(method: &Option, status: StatusCode) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 95 | fn can_chunked(method: &Option, status: StatusCode) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:95:45 [INFO] [stdout] | [INFO] [stdout] 95 | fn can_chunked(method: &Option, status: StatusCode) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:98:32 [INFO] [stdout] | [INFO] [stdout] 98 | fn can_have_content_length(method: &Option, status: StatusCode) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:98:57 [INFO] [stdout] | [INFO] [stdout] 98 | fn can_have_content_length(method: &Option, status: StatusCode) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | method: &Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | status: StatusCode, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | msg: Encode<'_, StatusCode>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | dst: &mut Vec, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_last` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | is_last: bool, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_last` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orig_len` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | orig_len: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orig_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wrote_len` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | wrote_len: bool, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wrote_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | msg: Encode<'_, StatusCode>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | dst: &mut Vec, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_last` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | is_last: bool, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_last` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orig_len` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | orig_len: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orig_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wrote_len` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | wrote_len: bool, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wrote_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orig_headers` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | orig_headers: &HeaderCaseMap, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orig_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | msg: Encode<'_, StatusCode>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | dst: &mut Vec, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_last` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | mut is_last: bool, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_last` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orig_len` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | orig_len: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orig_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wrote_len` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | mut wrote_len: bool, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wrote_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header_name_writer` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | mut header_name_writer: W, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_name_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/proto/h1/role.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | mut is_last: bool, [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/proto/h1/role.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | mut wrote_len: bool, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/proto/h1/role.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | mut header_name_writer: W, [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:164:14 [INFO] [stdout] | [INFO] [stdout] 164 | fn parse(buf: &mut BytesMut, ctx: ParseContext<'_>) -> ParseResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:164:34 [INFO] [stdout] | [INFO] [stdout] 164 | fn parse(buf: &mut BytesMut, ctx: ParseContext<'_>) -> ParseResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | msg: Encode<'_, Self::Outgoing>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | dst: &mut Vec, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inc` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | inc: &MessageHead, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_inc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | method: &mut Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `head` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:191:19 [INFO] [stdout] | [INFO] [stdout] 191 | fn set_length(head: &mut RequestHead, body: Option) -> Encoder { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_head` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:191:43 [INFO] [stdout] | [INFO] [stdout] 191 | fn set_length(head: &mut RequestHead, body: Option) -> Encoder { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:195:23 [INFO] [stdout] | [INFO] [stdout] 195 | fn set_content_length(headers: &mut HeaderMap, len: u64) -> Encoder { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:195:48 [INFO] [stdout] | [INFO] [stdout] 195 | fn set_content_length(headers: &mut HeaderMap, len: u64) -> Encoder { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | bytes: &[u8], [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | headers: &[httparse::Header<'_>], [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indices` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | indices: &mut [MaybeUninit], [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:210:15 [INFO] [stdout] | [INFO] [stdout] 210 | fn title_case(dst: &mut Vec, name: &[u8]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:210:34 [INFO] [stdout] | [INFO] [stdout] 210 | fn title_case(dst: &mut Vec, name: &[u8]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:213:29 [INFO] [stdout] | [INFO] [stdout] 213 | fn write_headers_title_case(headers: &HeaderMap, dst: &mut Vec) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:213:50 [INFO] [stdout] | [INFO] [stdout] 213 | fn write_headers_title_case(headers: &HeaderMap, dst: &mut Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:216:18 [INFO] [stdout] | [INFO] [stdout] 216 | fn write_headers(headers: &HeaderMap, dst: &mut Vec) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:216:39 [INFO] [stdout] | [INFO] [stdout] 216 | fn write_headers(headers: &HeaderMap, dst: &mut Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | headers: &HeaderMap, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orig_case` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | orig_case: &HeaderCaseMap, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orig_case` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | dst: &mut Vec, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `title_case_headers` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | title_case_headers: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_title_case_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:231:29 [INFO] [stdout] | [INFO] [stdout] 231 | fn write_str(&mut self, s: &str) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:235:29 [INFO] [stdout] | [INFO] [stdout] 235 | fn write_fmt(&mut self, args: fmt::Arguments<'_>) -> fmt::Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:240:11 [INFO] [stdout] | [INFO] [stdout] 240 | fn extend(dst: &mut Vec, data: &[u8]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> hyper/src/proto/h1/role.rs:240:30 [INFO] [stdout] | [INFO] [stdout] 240 | fn extend(dst: &mut Vec, data: &[u8]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> hyper/src/proto/h1/mod.rs:97:18 [INFO] [stdout] | [INFO] [stdout] 97 | fn add(self, other: Wants) -> Wants { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> hyper/src/proto/h1/mod.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | fn contains(&self, other: Wants) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ping_pong` [INFO] [stdout] --> hyper/src/proto/h2/ping.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | pub(super) fn channel(ping_pong: PingPong, config: Config) -> (Recorder, Ponger) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ping_pong` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> hyper/src/proto/h2/ping.rs:40:44 [INFO] [stdout] | [INFO] [stdout] 40 | pub(super) fn channel(ping_pong: PingPong, config: Config) -> (Recorder, Ponger) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> hyper/src/proto/h2/ping.rs:129:38 [INFO] [stdout] | [INFO] [stdout] 129 | pub(crate) fn record_data(&self, len: usize) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> hyper/src/proto/h2/ping.rs:138:36 [INFO] [stdout] | [INFO] [stdout] 138 | pub(super) fn for_stream(self, stream: &h2::RecvStream) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h2/ping.rs:146:35 [INFO] [stdout] | [INFO] [stdout] 146 | pub(super) fn poll(&mut self, cx: &mut task::Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> hyper/src/proto/h2/ping.rs:173:29 [INFO] [stdout] | [INFO] [stdout] 173 | fn calculate(&mut self, bytes: usize, rtt: Duration) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rtt` [INFO] [stdout] --> hyper/src/proto/h2/ping.rs:173:43 [INFO] [stdout] | [INFO] [stdout] 173 | fn calculate(&mut self, bytes: usize, rtt: Duration) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rtt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dur` [INFO] [stdout] --> hyper/src/proto/h2/ping.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | fn seconds(dur: Duration) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dur` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> hyper/src/proto/h2/client.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | fn new_builder(config: &Config) -> Builder { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> hyper/src/proto/h2/client.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | fn new_ping_config(config: &Config) -> ping::Config { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/proto/h2/client.rs:115:29 [INFO] [stdout] | [INFO] [stdout] 115 | fn poll_pipe(&mut self, f: FutCtx, cx: &mut task::Context<'_>) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h2/client.rs:115:43 [INFO] [stdout] | [INFO] [stdout] 115 | fn poll_pipe(&mut self, f: FutCtx, cx: &mut task::Context<'_>) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h2/client.rs:126:39 [INFO] [stdout] | [INFO] [stdout] 126 | fn poll(mut self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/proto/h2/client.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | fn poll(mut self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `io` [INFO] [stdout] --> hyper/src/proto/h2/server.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | io: T, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `service` [INFO] [stdout] --> hyper/src/proto/h2/server.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | service: S, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> hyper/src/proto/h2/server.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | config: &Config, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exec` [INFO] [stdout] --> hyper/src/proto/h2/server.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | exec: E, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_exec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h2/server.rs:98:39 [INFO] [stdout] | [INFO] [stdout] 98 | fn poll(mut self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/proto/h2/server.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | fn poll(mut self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h2/server.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `service` [INFO] [stdout] --> hyper/src/proto/h2/server.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | service: &mut S, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exec` [INFO] [stdout] --> hyper/src/proto/h2/server.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | exec: &mut E, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_exec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h2/server.rs:120:29 [INFO] [stdout] | [INFO] [stdout] 120 | fn poll_ping(&mut self, cx: &mut task::Context<'_>) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fut` [INFO] [stdout] --> hyper/src/proto/h2/server.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | fut: F, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connect_parts` [INFO] [stdout] --> hyper/src/proto/h2/server.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | connect_parts: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connect_parts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `respond` [INFO] [stdout] --> hyper/src/proto/h2/server.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | respond: SendResponse>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_respond` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h2/server.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h2/server.rs:183:35 [INFO] [stdout] | [INFO] [stdout] 183 | fn poll(self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> hyper/src/proto/h2/mod.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | fn strip_connection_headers(headers: &mut HeaderMap, is_request: bool) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_request` [INFO] [stdout] --> hyper/src/proto/h2/mod.rs:24:54 [INFO] [stdout] | [INFO] [stdout] 24 | fn strip_connection_headers(headers: &mut HeaderMap, is_request: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> hyper/src/proto/h2/mod.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | fn new(stream: S, tx: SendStream>) -> PipeToSendStream { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> hyper/src/proto/h2/mod.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | fn new(stream: S, tx: SendStream>) -> PipeToSendStream { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h2/mod.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | fn poll(self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> hyper/src/proto/h2/mod.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | fn on_user_err(&mut self, err: E) -> crate::Error [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cnt` [INFO] [stdout] --> hyper/src/proto/h2/mod.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | fn advance(&mut self, cnt: usize) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cnt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> hyper/src/proto/h2/mod.rs:85:38 [INFO] [stdout] | [INFO] [stdout] 85 | fn chunks_vectored<'a>(&'a self, dst: &mut [IoSlice<'a>]) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h2/mod.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | cx: &mut Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read_buf` [INFO] [stdout] --> hyper/src/proto/h2/mod.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | read_buf: &mut ReadBuf<'_>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/proto/h2/mod.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | mut self: Pin<&mut Self>, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h2/mod.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | cx: &mut Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> hyper/src/proto/h2/mod.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | buf: &[u8], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/proto/h2/mod.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | mut self: Pin<&mut Self>, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h2/mod.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | cx: &mut Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/proto/h2/mod.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | mut self: Pin<&mut Self>, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> hyper/src/proto/h2/mod.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | fn h2_to_io_error(e: h2::Error) -> io::Error { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> hyper/src/proto/h2/mod.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | unsafe fn new(inner: SendStream>) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cnt` [INFO] [stdout] --> hyper/src/proto/h2/mod.rs:145:36 [INFO] [stdout] | [INFO] [stdout] 145 | fn reserve_capacity(&mut self, cnt: usize) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cnt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h2/mod.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | cx: &mut Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/proto/h2/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | cx: &mut Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> hyper/src/proto/h2/mod.rs:160:25 [INFO] [stdout] | [INFO] [stdout] 160 | fn write(&mut self, buf: &[u8], end_of_stream: bool) -> Result<(), io::Error> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_of_stream` [INFO] [stdout] --> hyper/src/proto/h2/mod.rs:160:37 [INFO] [stdout] | [INFO] [stdout] 160 | fn write(&mut self, buf: &[u8], end_of_stream: bool) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_of_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> hyper/src/proto/mod.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 47 | fn into_response(self, body: B) -> http::Response { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `host` [INFO] [stdout] --> hyper/src/client/connect/dns.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | pub(super) fn new(host: Box) -> Name { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/client/connect/dns.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/client/connect/dns.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `host` [INFO] [stdout] --> hyper/src/client/connect/dns.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | fn from_str(host: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/client/connect/dns.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> hyper/src/client/connect/dns.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | fn call(&mut self, name: Name) -> Self::Future { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/client/connect/dns.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/client/connect/dns.rs:116:39 [INFO] [stdout] | [INFO] [stdout] 116 | fn poll(mut self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/client/connect/dns.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | fn poll(mut self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/client/connect/dns.rs:121:19 [INFO] [stdout] | [INFO] [stdout] 121 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/client/connect/dns.rs:137:19 [INFO] [stdout] | [INFO] [stdout] 137 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addrs` [INFO] [stdout] --> hyper/src/client/connect/dns.rs:145:23 [INFO] [stdout] | [INFO] [stdout] 145 | pub(super) fn new(addrs: Vec) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_addrs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `host` [INFO] [stdout] --> hyper/src/client/connect/dns.rs:148:29 [INFO] [stdout] | [INFO] [stdout] 148 | pub(super) fn try_parse(host: &str, port: u16) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> hyper/src/client/connect/dns.rs:148:41 [INFO] [stdout] | [INFO] [stdout] 148 | pub(super) fn try_parse(host: &str, port: u16) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `predicate` [INFO] [stdout] --> hyper/src/client/connect/dns.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | fn filter(self, predicate: impl FnMut(&SocketAddr) -> bool) -> SocketAddrs { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_predicate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_addr_ipv4` [INFO] [stdout] --> hyper/src/client/connect/dns.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | local_addr_ipv4: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_addr_ipv4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_addr_ipv6` [INFO] [stdout] --> hyper/src/client/connect/dns.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | local_addr_ipv6: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_addr_ipv6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/client/connect/dns.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> hyper/src/client/connect/dns.rs:205:31 [INFO] [stdout] | [INFO] [stdout] 205 | fn resolve(&mut self, name: Name) -> Self::Future { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resolver` [INFO] [stdout] --> hyper/src/client/connect/http.rs:89:37 [INFO] [stdout] | [INFO] [stdout] 89 | pub(crate) fn new_with_resolver(resolver: R) -> HttpConnector { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_enforced` [INFO] [stdout] --> hyper/src/client/connect/http.rs:96:43 [INFO] [stdout] | [INFO] [stdout] 96 | pub(crate) fn enforce_http(&mut self, is_enforced: bool) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_enforced` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dur` [INFO] [stdout] --> hyper/src/client/connect/http.rs:105:44 [INFO] [stdout] | [INFO] [stdout] 105 | pub(crate) fn set_keepalive(&mut self, dur: Option) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dur` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nodelay` [INFO] [stdout] --> hyper/src/client/connect/http.rs:112:42 [INFO] [stdout] | [INFO] [stdout] 112 | pub(crate) fn set_nodelay(&mut self, nodelay: bool) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nodelay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> hyper/src/client/connect/http.rs:117:51 [INFO] [stdout] | [INFO] [stdout] 117 | pub(crate) fn set_send_buffer_size(&mut self, size: Option) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> hyper/src/client/connect/http.rs:122:51 [INFO] [stdout] | [INFO] [stdout] 122 | pub(crate) fn set_recv_buffer_size(&mut self, size: Option) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> hyper/src/client/connect/http.rs:131:48 [INFO] [stdout] | [INFO] [stdout] 131 | pub(crate) fn set_local_address(&mut self, addr: Option) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr_ipv4` [INFO] [stdout] --> hyper/src/client/connect/http.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | addr_ipv4: Ipv4Addr, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_addr_ipv4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr_ipv6` [INFO] [stdout] --> hyper/src/client/connect/http.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | addr_ipv6: Ipv6Addr, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_addr_ipv6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dur` [INFO] [stdout] --> hyper/src/client/connect/http.rs:151:50 [INFO] [stdout] | [INFO] [stdout] 151 | pub(crate) fn set_connect_timeout(&mut self, dur: Option) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dur` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dur` [INFO] [stdout] --> hyper/src/client/connect/http.rs:167:57 [INFO] [stdout] | [INFO] [stdout] 167 | pub(crate) fn set_happy_eyeballs_timeout(&mut self, dur: Option) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dur` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reuse_address` [INFO] [stdout] --> hyper/src/client/connect/http.rs:174:48 [INFO] [stdout] | [INFO] [stdout] 174 | pub(crate) fn set_reuse_address(&mut self, reuse_address: bool) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reuse_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/client/connect/http.rs:185:19 [INFO] [stdout] | [INFO] [stdout] 185 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/client/connect/http.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> hyper/src/client/connect/http.rs:203:24 [INFO] [stdout] | [INFO] [stdout] 203 | fn call(&mut self, dst: Uri) -> Self::Future { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> hyper/src/client/connect/http.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | config: &Config, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> hyper/src/client/connect/http.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 209 | dst: &'u Uri, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/client/connect/http.rs:245:35 [INFO] [stdout] | [INFO] [stdout] 245 | fn poll(self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> hyper/src/client/connect/http.rs:254:18 [INFO] [stdout] | [INFO] [stdout] 254 | fn new(msg: S, cause: E) -> ConnectError [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cause` [INFO] [stdout] --> hyper/src/client/connect/http.rs:254:26 [INFO] [stdout] | [INFO] [stdout] 254 | fn new(msg: S, cause: E) -> ConnectError [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cause` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cause` [INFO] [stdout] --> hyper/src/client/connect/http.rs:261:15 [INFO] [stdout] | [INFO] [stdout] 261 | fn dns(cause: E) -> ConnectError [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cause` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/client/connect/http.rs:276:19 [INFO] [stdout] | [INFO] [stdout] 276 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/client/connect/http.rs:281:19 [INFO] [stdout] | [INFO] [stdout] 281 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remote_addrs` [INFO] [stdout] --> hyper/src/client/connect/http.rs:296:12 [INFO] [stdout] | [INFO] [stdout] 296 | fn new(remote_addrs: dns::SocketAddrs, config: &'a Config) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remote_addrs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> hyper/src/client/connect/http.rs:296:44 [INFO] [stdout] | [INFO] [stdout] 296 | fn new(remote_addrs: dns::SocketAddrs, config: &'a Config) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addrs` [INFO] [stdout] --> hyper/src/client/connect/http.rs:309:12 [INFO] [stdout] | [INFO] [stdout] 309 | fn new(addrs: dns::SocketAddrs, connect_timeout: Option) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_addrs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connect_timeout` [INFO] [stdout] --> hyper/src/client/connect/http.rs:309:37 [INFO] [stdout] | [INFO] [stdout] 309 | fn new(addrs: dns::SocketAddrs, connect_timeout: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connect_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket` [INFO] [stdout] --> hyper/src/client/connect/http.rs:319:5 [INFO] [stdout] | [INFO] [stdout] 319 | socket: &socket2::Socket, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst_addr` [INFO] [stdout] --> hyper/src/client/connect/http.rs:320:5 [INFO] [stdout] | [INFO] [stdout] 320 | dst_addr: &SocketAddr, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dst_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_addr_ipv4` [INFO] [stdout] --> hyper/src/client/connect/http.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | local_addr_ipv4: &Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_addr_ipv4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_addr_ipv6` [INFO] [stdout] --> hyper/src/client/connect/http.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | local_addr_ipv6: &Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_addr_ipv6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_proxied` [INFO] [stdout] --> hyper/src/client/connect/mod.rs:135:35 [INFO] [stdout] | [INFO] [stdout] 135 | pub(crate) fn proxy(mut self, is_proxied: bool) -> Connected { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_proxied` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/client/connect/mod.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 135 | pub(crate) fn proxy(mut self, is_proxied: bool) -> Connected { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extra` [INFO] [stdout] --> hyper/src/client/connect/mod.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | extra: T, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_extra` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/client/connect/mod.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | mut self, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extensions` [INFO] [stdout] --> hyper/src/client/connect/mod.rs:150:37 [INFO] [stdout] | [INFO] [stdout] 150 | pub(crate) fn get_extras(&self, extensions: &mut Extensions) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extensions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/client/connect/mod.rs:154:33 [INFO] [stdout] | [INFO] [stdout] 154 | pub(crate) fn negotiated_h2(mut self) -> Connected { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> hyper/src/client/connect/mod.rs:167:30 [INFO] [stdout] | [INFO] [stdout] 167 | pub(super) fn set(&self, res: &mut Extensions) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/client/connect/mod.rs:177:19 [INFO] [stdout] | [INFO] [stdout] 177 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> hyper/src/client/connect/mod.rs:194:19 [INFO] [stdout] | [INFO] [stdout] 194 | fn set(&self, res: &mut Extensions) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> hyper/src/client/connect/mod.rs:211:19 [INFO] [stdout] | [INFO] [stdout] 211 | fn set(&self, res: &mut Extensions) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> hyper/src/client/connect/mod.rs:259:39 [INFO] [stdout] | [INFO] [stdout] 259 | fn connect(self, _: Internal, dst: Uri) -> crate::service::Oneshot { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> hyper/src/client/connect/mod.rs:273:39 [INFO] [stdout] | [INFO] [stdout] 273 | fn connect(self, _: Internal, dst: Uri) -> Self::Future { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> hyper/src/client/client.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | fn call(&mut self, req: Request) -> Self::Future { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> hyper/src/client/client.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | fn call(&mut self, req: Request) -> Self::Future { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/client/client.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 96 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> hyper/src/client/client.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | fn new(value: F) -> Self [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ver` [INFO] [stdout] --> hyper/src/client/client.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 107 | fn error_version(ver: Version) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/client/client.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/client/client.rs:118:39 [INFO] [stdout] | [INFO] [stdout] 118 | fn poll(mut self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/client/client.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | fn poll(mut self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/client/client.rs:133:30 [INFO] [stdout] | [INFO] [stdout] 133 | fn poll_ready(&mut self, cx: &mut task::Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> hyper/src/client/client.rs:215:16 [INFO] [stdout] | [INFO] [stdout] 215 | fn origin_form(uri: &mut Uri) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> hyper/src/client/client.rs:218:18 [INFO] [stdout] | [INFO] [stdout] 218 | fn absolute_form(uri: &mut Uri) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> hyper/src/client/client.rs:221:19 [INFO] [stdout] | [INFO] [stdout] 221 | fn authority_form(uri: &mut Uri) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> hyper/src/client/client.rs:224:19 [INFO] [stdout] | [INFO] [stdout] 224 | fn extract_domain(uri: &mut Uri, is_http_connect: bool) -> crate::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_http_connect` [INFO] [stdout] --> hyper/src/client/client.rs:224:34 [INFO] [stdout] | [INFO] [stdout] 224 | fn extract_domain(uri: &mut Uri, is_http_connect: bool) -> crate::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_http_connect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scheme` [INFO] [stdout] --> hyper/src/client/client.rs:227:19 [INFO] [stdout] | [INFO] [stdout] 227 | fn domain_as_uri((scheme, auth): PoolKey) -> Uri { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_scheme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth` [INFO] [stdout] --> hyper/src/client/client.rs:227:27 [INFO] [stdout] | [INFO] [stdout] 227 | fn domain_as_uri((scheme, auth): PoolKey) -> Uri { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_auth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> hyper/src/client/client.rs:230:15 [INFO] [stdout] | [INFO] [stdout] 230 | fn set_scheme(uri: &mut Uri, scheme: Scheme) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scheme` [INFO] [stdout] --> hyper/src/client/client.rs:230:30 [INFO] [stdout] | [INFO] [stdout] 230 | fn set_scheme(uri: &mut Uri, scheme: Scheme) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_scheme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> hyper/src/client/client.rs:233:25 [INFO] [stdout] | [INFO] [stdout] 233 | fn get_non_default_port(uri: &Uri) -> Option> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> hyper/src/client/client.rs:236:21 [INFO] [stdout] | [INFO] [stdout] 236 | fn is_schema_secure(uri: &Uri) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> hyper/src/client/client.rs:257:41 [INFO] [stdout] | [INFO] [stdout] 257 | pub(crate) fn keep_alive(&mut self, val: bool) -> &mut Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> hyper/src/client/client.rs:262:52 [INFO] [stdout] | [INFO] [stdout] 262 | pub(crate) fn keep_alive_timeout(&mut self, val: D) -> &mut Self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> hyper/src/client/client.rs:269:51 [INFO] [stdout] | [INFO] [stdout] 269 | pub(crate) fn pool_idle_timeout(&mut self, val: D) -> &mut Self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_idle` [INFO] [stdout] --> hyper/src/client/client.rs:277:48 [INFO] [stdout] | [INFO] [stdout] 277 | pub(crate) fn max_idle_per_host(&mut self, max_idle: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_idle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_idle` [INFO] [stdout] --> hyper/src/client/client.rs:281:53 [INFO] [stdout] | [INFO] [stdout] 281 | pub(crate) fn pool_max_idle_per_host(&mut self, max_idle: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_idle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sz` [INFO] [stdout] --> hyper/src/client/client.rs:285:56 [INFO] [stdout] | [INFO] [stdout] 285 | pub(crate) fn http1_read_buf_exact_size(&mut self, sz: usize) -> &mut Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> hyper/src/client/client.rs:291:49 [INFO] [stdout] | [INFO] [stdout] 291 | pub(crate) fn http1_max_buf_size(&mut self, max: usize) -> &mut Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> hyper/src/client/client.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | val: bool, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> hyper/src/client/client.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | val: bool, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> hyper/src/client/client.rs:309:72 [INFO] [stdout] | [INFO] [stdout] 309 | pub(crate) fn http1_ignore_invalid_headers_in_responses(&mut self, val: bool) -> &mut Builder { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enabled` [INFO] [stdout] --> hyper/src/client/client.rs:313:43 [INFO] [stdout] | [INFO] [stdout] 313 | pub(crate) fn http1_writev(&mut self, enabled: bool) -> &mut Builder { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enabled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> hyper/src/client/client.rs:317:55 [INFO] [stdout] | [INFO] [stdout] 317 | pub(crate) fn http1_title_case_headers(&mut self, val: bool) -> &mut Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> hyper/src/client/client.rs:321:57 [INFO] [stdout] | [INFO] [stdout] 321 | pub(crate) fn http1_preserve_header_case(&mut self, val: bool) -> &mut Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> hyper/src/client/client.rs:325:47 [INFO] [stdout] | [INFO] [stdout] 325 | pub(crate) fn http09_responses(&mut self, val: bool) -> &mut Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> hyper/src/client/client.rs:331:41 [INFO] [stdout] | [INFO] [stdout] 331 | pub(crate) fn http2_only(&mut self, val: bool) -> &mut Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sz` [INFO] [stdout] --> hyper/src/client/client.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 339 | sz: impl Into>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sz` [INFO] [stdout] --> hyper/src/client/client.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | sz: impl Into>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enabled` [INFO] [stdout] --> hyper/src/client/client.rs:355:52 [INFO] [stdout] | [INFO] [stdout] 355 | pub(crate) fn http2_adaptive_window(&mut self, enabled: bool) -> &mut Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enabled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sz` [INFO] [stdout] --> hyper/src/client/client.rs:361:51 [INFO] [stdout] | [INFO] [stdout] 361 | pub(crate) fn http2_max_frame_size(&mut self, sz: impl Into>) -> &mut Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> hyper/src/client/client.rs:391:65 [INFO] [stdout] | [INFO] [stdout] 391 | pub(crate) fn http2_max_concurrent_reset_streams(&mut self, max: usize) -> &mut Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> hyper/src/client/client.rs:397:54 [INFO] [stdout] | [INFO] [stdout] 397 | pub(crate) fn http2_max_send_buf_size(&mut self, max: usize) -> &mut Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> hyper/src/client/client.rs:402:54 [INFO] [stdout] | [INFO] [stdout] 402 | pub(crate) fn retry_canceled_requests(&mut self, val: bool) -> &mut Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> hyper/src/client/client.rs:407:39 [INFO] [stdout] | [INFO] [stdout] 407 | pub(crate) fn set_host(&mut self, val: bool) -> &mut Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exec` [INFO] [stdout] --> hyper/src/client/client.rs:411:42 [INFO] [stdout] | [INFO] [stdout] 411 | pub(crate) fn executor(&mut self, exec: E) -> &mut Self [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_exec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connector` [INFO] [stdout] --> hyper/src/client/client.rs:427:38 [INFO] [stdout] | [INFO] [stdout] 427 | pub(crate) fn build(&self, connector: C) -> Client [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/client/client.rs:437:19 [INFO] [stdout] | [INFO] [stdout] 437 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/client/conn.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> hyper/src/client/conn.rs:259:43 [INFO] [stdout] | [INFO] [stdout] 259 | pub(crate) fn send_request(&mut self, req: Request) -> ResponseFuture { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/client/conn.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> hyper/src/client/conn.rs:305:24 [INFO] [stdout] | [INFO] [stdout] 305 | fn call(&mut self, req: Request) -> Self::Future { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/client/conn.rs:310:19 [INFO] [stdout] | [INFO] [stdout] 310 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/client/conn.rs:358:19 [INFO] [stdout] | [INFO] [stdout] 358 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/client/conn.rs:394:9 [INFO] [stdout] | [INFO] [stdout] 394 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/client/conn.rs:431:39 [INFO] [stdout] | [INFO] [stdout] 431 | fn poll(mut self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/client/conn.rs:431:13 [INFO] [stdout] | [INFO] [stdout] 431 | fn poll(mut self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/client/conn.rs:440:19 [INFO] [stdout] | [INFO] [stdout] 440 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exec` [INFO] [stdout] --> hyper/src/client/conn.rs:451:42 [INFO] [stdout] | [INFO] [stdout] 451 | pub(crate) fn executor(&mut self, exec: E) -> &mut Builder [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_exec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enabled` [INFO] [stdout] --> hyper/src/client/conn.rs:460:47 [INFO] [stdout] | [INFO] [stdout] 460 | pub(crate) fn http09_responses(&mut self, enabled: bool) -> &mut Builder { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enabled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enabled` [INFO] [stdout] --> hyper/src/client/conn.rs:484:9 [INFO] [stdout] | [INFO] [stdout] 484 | enabled: bool, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enabled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enabled` [INFO] [stdout] --> hyper/src/client/conn.rs:524:9 [INFO] [stdout] | [INFO] [stdout] 524 | enabled: bool, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enabled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enabled` [INFO] [stdout] --> hyper/src/client/conn.rs:539:9 [INFO] [stdout] | [INFO] [stdout] 539 | enabled: bool, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enabled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enabled` [INFO] [stdout] --> hyper/src/client/conn.rs:555:43 [INFO] [stdout] | [INFO] [stdout] 555 | pub(crate) fn http1_writev(&mut self, enabled: bool) -> &mut Builder { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enabled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enabled` [INFO] [stdout] --> hyper/src/client/conn.rs:564:55 [INFO] [stdout] | [INFO] [stdout] 564 | pub(crate) fn http1_title_case_headers(&mut self, enabled: bool) -> &mut Builder { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enabled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enabled` [INFO] [stdout] --> hyper/src/client/conn.rs:580:57 [INFO] [stdout] | [INFO] [stdout] 580 | pub(crate) fn http1_preserve_header_case(&mut self, enabled: bool) -> &mut Builder { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enabled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sz` [INFO] [stdout] --> hyper/src/client/conn.rs:603:9 [INFO] [stdout] | [INFO] [stdout] 603 | sz: Option, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> hyper/src/client/conn.rs:618:49 [INFO] [stdout] | [INFO] [stdout] 618 | pub(crate) fn http1_max_buf_size(&mut self, max: usize) -> &mut Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enabled` [INFO] [stdout] --> hyper/src/client/conn.rs:630:41 [INFO] [stdout] | [INFO] [stdout] 630 | pub(crate) fn http2_only(&mut self, enabled: bool) -> &mut Builder { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enabled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sz` [INFO] [stdout] --> hyper/src/client/conn.rs:645:9 [INFO] [stdout] | [INFO] [stdout] 645 | sz: impl Into>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sz` [INFO] [stdout] --> hyper/src/client/conn.rs:658:9 [INFO] [stdout] | [INFO] [stdout] 658 | sz: impl Into>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enabled` [INFO] [stdout] --> hyper/src/client/conn.rs:669:52 [INFO] [stdout] | [INFO] [stdout] 669 | pub(crate) fn http2_adaptive_window(&mut self, enabled: bool) -> &mut Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enabled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sz` [INFO] [stdout] --> hyper/src/client/conn.rs:681:9 [INFO] [stdout] | [INFO] [stdout] 681 | sz: impl Into>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> hyper/src/client/conn.rs:750:9 [INFO] [stdout] | [INFO] [stdout] 750 | max: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> hyper/src/client/conn.rs:763:54 [INFO] [stdout] | [INFO] [stdout] 763 | pub(crate) fn http2_max_send_buf_size(&mut self, max: usize) -> &mut Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/client/conn.rs:839:39 [INFO] [stdout] | [INFO] [stdout] 839 | fn poll(mut self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/client/conn.rs:839:13 [INFO] [stdout] | [INFO] [stdout] 839 | fn poll(mut self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/client/conn.rs:844:19 [INFO] [stdout] | [INFO] [stdout] 844 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/client/conn.rs:856:35 [INFO] [stdout] | [INFO] [stdout] 856 | fn poll(self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/client/dispatch.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> hyper/src/client/dispatch.rs:57:39 [INFO] [stdout] | [INFO] [stdout] 57 | pub(crate) fn try_send(&mut self, val: T) -> Result, T> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> hyper/src/client/dispatch.rs:60:35 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) fn send(&mut self, val: T) -> Result, T> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> hyper/src/client/dispatch.rs:76:39 [INFO] [stdout] | [INFO] [stdout] 76 | pub(crate) fn try_send(&mut self, val: T) -> Result, T> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/client/dispatch.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/client/dispatch.rs:131:44 [INFO] [stdout] | [INFO] [stdout] 131 | pub(crate) fn poll_canceled(&mut self, cx: &mut task::Context<'_>) -> Poll<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> hyper/src/client/dispatch.rs:134:34 [INFO] [stdout] | [INFO] [stdout] 134 | pub(crate) fn send(mut self, val: Result)>) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/client/dispatch.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | pub(crate) fn send(mut self, val: Result)>) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> hyper/src/client/pool.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | pub(super) fn new(config: Config, __exec: &Exec) -> Pool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> hyper/src/client/pool.rs:81:35 [INFO] [stdout] | [INFO] [stdout] 81 | pub(super) fn checkout(&self, key: Key) -> Checkout { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> hyper/src/client/pool.rs:86:37 [INFO] [stdout] | [INFO] [stdout] 86 | pub(super) fn connecting(&self, key: &Key, ver: Ver) -> Option> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ver` [INFO] [stdout] --> hyper/src/client/pool.rs:86:48 [INFO] [stdout] | [INFO] [stdout] 86 | pub(super) fn connecting(&self, key: &Key, ver: Ver) -> Option> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connecting` [INFO] [stdout] --> hyper/src/client/pool.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | mut connecting: Connecting, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connecting` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> hyper/src/client/pool.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | value: T, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/client/pool.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | mut connecting: Connecting, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> hyper/src/client/pool.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | fn reuse(&self, key: &Key, value: T) -> Pooled { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> hyper/src/client/pool.rs:101:32 [INFO] [stdout] | [INFO] [stdout] 101 | fn reuse(&self, key: &Key, value: T) -> Pooled { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expiration` [INFO] [stdout] --> hyper/src/client/pool.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | fn pop(self, expiration: &Expiration) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expiration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> hyper/src/client/pool.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | fn put(&mut self, key: Key, value: T, __pool_ref: &Arc>>) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> hyper/src/client/pool.rs:116:33 [INFO] [stdout] | [INFO] [stdout] 116 | fn put(&mut self, key: Key, value: T, __pool_ref: &Arc>>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> hyper/src/client/pool.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | fn connected(&mut self, key: &Key) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> hyper/src/client/pool.rs:134:33 [INFO] [stdout] | [INFO] [stdout] 134 | fn clean_waiters(&mut self, key: &Key) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/client/pool.rs:188:19 [INFO] [stdout] | [INFO] [stdout] 188 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/client/pool.rs:206:19 [INFO] [stdout] | [INFO] [stdout] 206 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/client/pool.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/client/pool.rs:217:28 [INFO] [stdout] | [INFO] [stdout] 217 | fn checkout(&mut self, cx: &mut task::Context<'_>) -> Option> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/client/pool.rs:223:39 [INFO] [stdout] | [INFO] [stdout] 223 | fn poll(mut self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/client/pool.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | fn poll(mut self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> hyper/src/client/pool.rs:238:33 [INFO] [stdout] | [INFO] [stdout] 238 | pub(super) fn alpn_h2(self, pool: &Pool) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dur` [INFO] [stdout] --> hyper/src/client/pool.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | fn new(dur: Option) -> Expiration { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dur` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instant` [INFO] [stdout] --> hyper/src/client/pool.rs:252:23 [INFO] [stdout] | [INFO] [stdout] 252 | fn expires(&self, instant: Instant) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arc` [INFO] [stdout] --> hyper/src/client/pool.rs:273:18 [INFO] [stdout] | [INFO] [stdout] 273 | fn downgrade(arc: &Arc) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> hyper/src/client/service.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn new(inner: C, builder: Builder) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `builder` [INFO] [stdout] --> hyper/src/client/service.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn new(inner: C, builder: Builder) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_builder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/client/service.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> hyper/src/client/service.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | fn call(&mut self, req: T) -> Self::Future { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/server/conn.rs:168:43 [INFO] [stdout] | [INFO] [stdout] 168 | fn poll(mut self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hyper/src/server/conn.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | fn poll(mut self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> hyper/src/server/tcp.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn bind(addr: &SocketAddr) -> crate::Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enabled` [INFO] [stdout] --> hyper/src/server/tcp.rs:59:35 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn set_nodelay(&mut self, enabled: bool) -> &mut Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enabled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> hyper/src/server/tcp.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/server/tcp.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> hyper/src/server/tcp.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | buf: &mut ReadBuf<'_>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/server/tcp.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> hyper/src/server/tcp.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | buf: &[u8], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/server/tcp.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | cx: &mut task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bufs` [INFO] [stdout] --> hyper/src/server/tcp.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | bufs: &[io::IoSlice<'_>], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bufs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/server/tcp.rs:118:48 [INFO] [stdout] | [INFO] [stdout] 118 | fn poll_shutdown(self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/server/server.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | fn poll(self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> hyper/src/server/server.rs:101:39 [INFO] [stdout] | [INFO] [stdout] 101 | fn poll(self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bufs` is never read [INFO] [stdout] --> hyper/src/common/buf.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct BufList { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 5 | bufs: VecDeque, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bufs_cnt` is never used [INFO] [stdout] --> hyper/src/common/buf.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 7 | impl BufList { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub(crate) fn bufs_cnt(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extend` is never used [INFO] [stdout] --> hyper/src/common/date.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn extend(dst: &mut Vec) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update` is never used [INFO] [stdout] --> hyper/src/common/date.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) fn update() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_and_header_value` is never used [INFO] [stdout] --> hyper/src/common/date.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) fn update_and_header_value() -> HeaderValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bytes`, `pos`, and `next_update` are never read [INFO] [stdout] --> hyper/src/common/date.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct CachedDate { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 22 | bytes: [u8; DATE_VALUE_LENGTH], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 24 | next_update: SystemTime, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `buffer`, `check`, `update`, and `render` are never used [INFO] [stdout] --> hyper/src/common/date.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl CachedDate { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 28 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn buffer(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn check(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn update(&mut self, now: SystemTime) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn render(&mut self, now: SystemTime) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `channel` is never used [INFO] [stdout] --> hyper/src/common/drain.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn channel() -> (Signal, Watch) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Signal` is never constructed [INFO] [stdout] --> hyper/src/common/drain.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct Signal { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> hyper/src/common/drain.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct Draining(Pin + Send + Sync>>); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct Draining(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rx` is never read [INFO] [stdout] --> hyper/src/common/drain.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) struct Watch { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 14 | rx: watch::Receiver<()>, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Watch` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Watch` and `Draining` are never constructed [INFO] [stdout] --> hyper/src/common/drain.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | enum State { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 22 | Watch(F), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | Draining, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `drain` is never used [INFO] [stdout] --> hyper/src/common/drain.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 25 | impl Signal { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 26 | pub(crate) fn drain(self) -> Draining { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `watch` is never used [INFO] [stdout] --> hyper/src/common/drain.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 36 | impl Watch { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 37 | pub(crate) fn watch(self, future: F, on_drain: FN) -> Watching [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pre` and `inner` are never read [INFO] [stdout] --> hyper/src/common/io/rewind.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct Rewind { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 9 | pre: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | inner: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rewind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_buffered`, `rewind`, and `into_inner` are never used [INFO] [stdout] --> hyper/src/common/io/rewind.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 12 | impl Rewind { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 13 | #[cfg(any(all(feature = "http2", feature = "server"), test))] [INFO] [stdout] 14 | pub(crate) fn new(io: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub(crate) fn new_buffered(io: T, buf: Bytes) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub(crate) fn rewind(&mut self, bs: Bytes) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) fn into_inner(self) -> (T, Bytes) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lazy` is never used [INFO] [stdout] --> hyper/src/common/lazy.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn lazy(func: F) -> Lazy [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_mut` are never used [INFO] [stdout] --> hyper/src/common/sync_wrapper.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 41 | impl SyncWrapper { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub(crate) fn new(value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub(crate) fn get_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `yield_now` is never used [INFO] [stdout] --> hyper/src/common/task.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) fn yield_now(cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Value` is never used [INFO] [stdout] --> hyper/src/common/watch.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | type Value = usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLOSED` is never used [INFO] [stdout] --> hyper/src/common/watch.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) const CLOSED: usize = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `channel` is never used [INFO] [stdout] --> hyper/src/common/watch.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) fn channel(initial: Value) -> (Sender, Receiver) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `shared` is never read [INFO] [stdout] --> hyper/src/common/watch.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) struct Sender { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 18 | shared: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `shared` is never read [INFO] [stdout] --> hyper/src/common/watch.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct Receiver { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 21 | shared: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `waker` are never read [INFO] [stdout] --> hyper/src/common/watch.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct Shared { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 24 | value: AtomicUsize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | waker: AtomicWaker, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> hyper/src/common/watch.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 27 | impl Sender { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 28 | pub(crate) fn send(&mut self, value: Value) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load` and `peek` are never used [INFO] [stdout] --> hyper/src/common/watch.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 37 | impl Receiver { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 38 | pub(crate) fn load(&mut self, cx: &mut task::Context<'_>) -> Value { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub(crate) fn peek(&self) -> Value { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `extra` are never read [INFO] [stdout] --> hyper/src/body/body.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Body { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 30 | kind: Kind, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | extra: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Once`, `Chan`, `H2`, and `Wrapped` are never constructed [INFO] [stdout] --> hyper/src/body/body.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | enum Kind { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 36 | Once(Option), [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | Chan { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | H2 { ping: ping::Recorder, content_length: DecodedLength, recv: h2::RecvStream }, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 48 | Wrapped( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `delayed_eof` is never read [INFO] [stdout] --> hyper/src/body/body.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 60 | struct Extra { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 69 | delayed_eof: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotEof` and `Eof` are never constructed [INFO] [stdout] --> hyper/src/body/body.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 73 | enum DelayEof { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 77 | NotEof(DelayEofUntil), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | Eof(DelayEofUntil), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `want_rx`, `data_tx`, and `trailers_tx` are never read [INFO] [stdout] --> hyper/src/body/body.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct Sender { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 100 | want_rx: watch::Receiver, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 101 | data_tx: BodySender, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 102 | trailers_tx: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> hyper/src/body/length.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 10 | impl DecodedLength { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 11 | pub(crate) const CLOSE_DELIMITED: DecodedLength = DecodedLength(::std::u64::MAX); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub(crate) const CHUNKED: DecodedLength = DecodedLength(::std::u64::MAX - 1); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | pub(crate) const ZERO: DecodedLength = DecodedLength(0); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) fn danger_len(self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub(crate) fn into_opt(self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub(crate) fn checked_new(len: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub(crate) fn sub_if(&mut self, amt: u64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub(crate) fn is_exact(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> hyper/src/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Error { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 9 | inner: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `cause` are never read [INFO] [stdout] --> hyper/src/error.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct ErrorImpl { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 12 | kind: Kind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | cause: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> hyper/src/error.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub(super) enum Kind { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 17 | Parse(Parse), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | User(User), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | UnexpectedMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | [INFO] [stdout] 26 | Canceled, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | [INFO] [stdout] 28 | ChannelClosed, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | Io, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 37 | Listen, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | Accept, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | Body, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | BodyWrite, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | Shutdown, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | Http2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Kind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> hyper/src/error.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub(super) enum Parse { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 60 | Method, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | Version, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 62 | #[cfg(feature = "http1")] [INFO] [stdout] 63 | VersionH2, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 64 | Uri, [INFO] [stdout] | ^^^ [INFO] [stdout] 65 | #[cfg_attr(not(all(feature = "http1", feature = "server")), allow(unused))] [INFO] [stdout] 66 | UriTooLong, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 67 | Header(Header), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 68 | TooLarge, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 69 | Status, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Token`, `ContentLengthInvalid`, `TransferEncodingInvalid`, and `TransferEncodingUnexpected` are never constructed [INFO] [stdout] --> hyper/src/error.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 74 | pub(super) enum Header { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 75 | Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 76 | #[cfg(feature = "http1")] [INFO] [stdout] 77 | ContentLengthInvalid, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 78 | #[cfg(all(feature = "http1", feature = "server"))] [INFO] [stdout] 79 | TransferEncodingInvalid, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 80 | #[cfg(feature = "http1")] [INFO] [stdout] 81 | TransferEncodingUnexpected, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> hyper/src/error.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub(super) enum User { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 85 | #[cfg(any(feature = "http1", feature = "http2"))] [INFO] [stdout] 86 | Body, [INFO] [stdout] | ^^^^ [INFO] [stdout] 87 | [INFO] [stdout] 88 | BodyWriteAborted, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | MakeService, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | Service, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | UnexpectedHeader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | UnsupportedVersion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | UnsupportedRequestMethod, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | UnsupportedStatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | AbsoluteUriRequired, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 116 | [INFO] [stdout] 117 | NoUpgrade, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | ManualUpgrade, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | WithoutShutdownNonHttp1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | DispatchGone, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> hyper/src/error.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 133 | impl Error { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 134 | pub(crate) fn is_parse(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub(crate) fn is_parse_too_large(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub(crate) fn is_parse_status(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub(crate) fn is_user(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub(crate) fn is_canceled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub(crate) fn is_closed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub(crate) fn is_connect(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub(crate) fn is_incomplete_message(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub(crate) fn is_body_write_aborted(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub(crate) fn is_timeout(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub(crate) fn into_cause(self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub(super) fn new(kind: Kind) -> Error { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub(super) fn kind(&self) -> &Kind { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub(crate) fn find_source(&self) -> Option<&E> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub(super) fn h2_reason(&self) -> h2::Reason { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub(super) fn new_incomplete() -> Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub(super) fn new_too_large() -> Error { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub(super) fn new_version_h2() -> Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub(super) fn new_io(cause: std::io::Error) -> Error { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub(super) fn new_listen>(cause: E) -> Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub(super) fn new_accept>(cause: E) -> Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub(super) fn new_connect>(cause: E) -> Error { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub(super) fn new_closed() -> Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub(super) fn new_body>(cause: E) -> Error { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | pub(super) fn new_body_write>(cause: E) -> Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub(super) fn new_body_write_aborted() -> Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | fn new_user(user: User) -> Error { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub(super) fn new_user_header() -> Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | pub(super) fn new_user_unsupported_version() -> Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | pub(super) fn new_user_unsupported_request_method() -> Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | pub(super) fn new_user_unsupported_status_code() -> Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | pub(super) fn new_user_absolute_uri_required() -> Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub(super) fn new_user_no_upgrade() -> Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub(super) fn new_user_manual_upgrade() -> Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 286 | pub(super) fn new_user_make_service>(cause: E) -> Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub(super) fn new_user_service>(cause: E) -> Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | pub(super) fn new_user_body>(cause: E) -> Error { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | pub(super) fn new_without_shutdown_not_h1() -> Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | pub(super) fn new_shutdown(cause: std::io::Error) -> Error { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | pub(super) fn new_user_dispatch_gone() -> Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | pub(super) fn new_h2(cause: ::h2::Error) -> Error { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | pub(crate) fn message(&self) -> impl fmt::Display + '_ { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | fn description(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `content_length_invalid`, `transfer_encoding_invalid`, and `transfer_encoding_unexpected` are never used [INFO] [stdout] --> hyper/src/error.rs:348:19 [INFO] [stdout] | [INFO] [stdout] 347 | impl Parse { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 348 | pub(crate) fn content_length_invalid() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 352 | pub(crate) fn transfer_encoding_invalid() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | pub(crate) fn transfer_encoding_unexpected() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_static`, `as_str`, `from_inner`, and `into_inner` are never used [INFO] [stdout] --> hyper/src/ext.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 21 | impl Protocol { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 22 | pub(crate) const fn from_static(value: &'static str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub(crate) fn as_str(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub(crate) fn from_inner(inner: h2::ext::Protocol) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub(crate) fn into_inner(self) -> h2::ext::Protocol { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> hyper/src/ext.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | pub(crate) struct HeaderCaseMap(HeaderMap); [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `HeaderCaseMap` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 57 | pub(crate) struct HeaderCaseMap(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_all`, `get_all_internal`, `default`, and `append` are never used [INFO] [stdout] --> hyper/src/ext.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 59 | impl HeaderCaseMap { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 60 | pub(crate) fn get_all<'a>( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub(crate) fn get_all_internal<'a>(&'a self, name: &HeaderName) -> ValueIter<'_, Bytes> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub(crate) fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub(crate) fn append(&mut self, name: N, orig: Bytes) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `f` is never read [INFO] [stdout] --> hyper/src/service/make.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct MakeServiceFn { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 61 | f: F, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `MakeServiceFn` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `oneshot` is never used [INFO] [stdout] --> hyper/src/service/oneshot.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) fn oneshot(svc: S, req: Req) -> Oneshot [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `f` is never read [INFO] [stdout] --> hyper/src/service/util.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ServiceFn { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 17 | f: F, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `io` is never read [INFO] [stdout] --> hyper/src/upgrade.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) struct Upgraded { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 61 | io: Rewind>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rx` is never read [INFO] [stdout] --> hyper/src/upgrade.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub(crate) struct OnUpgrade { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 67 | rx: Option>>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `io` and `read_buf` are never read [INFO] [stdout] --> hyper/src/upgrade.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 74 | pub(crate) struct Parts { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 75 | [INFO] [stdout] 76 | pub(crate) io: T, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub(crate) read_buf: Bytes, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `on` is never used [INFO] [stdout] --> hyper/src/upgrade.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 96 | pub(crate) fn on(msg: T) -> OnUpgrade { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tx` is never read [INFO] [stdout] --> hyper/src/upgrade.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub(super) struct Pending { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 101 | tx: oneshot::Sender>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pending` is never used [INFO] [stdout] --> hyper/src/upgrade.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | pub(super) fn pending() -> (Pending, OnUpgrade) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `none` and `is_none` are never used [INFO] [stdout] --> hyper/src/upgrade.rs:153:19 [INFO] [stdout] | [INFO] [stdout] 152 | impl OnUpgrade { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 153 | pub(super) fn none() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub(super) fn is_none(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fulfill` and `manual` are never used [INFO] [stdout] --> hyper/src/upgrade.rs:174:19 [INFO] [stdout] | [INFO] [stdout] 173 | impl Pending { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 174 | pub(super) fn fulfill(self, upgraded: Upgraded) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub(super) fn manual(self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `subject`, `headers`, and `extensions` are never read [INFO] [stdout] --> hyper/src/proto/mod.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct MessageHead { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 12 | [INFO] [stdout] 13 | pub(crate) version: http::Version, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | [INFO] [stdout] 15 | pub(crate) subject: S, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | [INFO] [stdout] 17 | pub(crate) headers: http::HeaderMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | [INFO] [stdout] 19 | extensions: http::Extensions, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageHead` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Known` and `Unknown` are never constructed [INFO] [stdout] --> hyper/src/proto/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) enum BodyLength { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 33 | [INFO] [stdout] 34 | Known(u64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 35 | [INFO] [stdout] 36 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BodyLength` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Shutdown` and `Upgrade` are never constructed [INFO] [stdout] --> hyper/src/proto/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) enum Dispatched { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 40 | [INFO] [stdout] 41 | Shutdown, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | Upgrade(crate::upgrade::Pending), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ServerTransaction` is never used [INFO] [stdout] --> hyper/src/proto/h1/mod.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | pub (crate) type ServerTransaction = role::Server; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `head`, `decode`, `expect_continue`, `keep_alive`, and `wants_upgrade` are never read [INFO] [stdout] --> hyper/src/proto/h1/mod.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) struct ParsedMessage { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 55 | head: MessageHead, [INFO] [stdout] | ^^^^ [INFO] [stdout] 56 | decode: DecodedLength, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 57 | expect_continue: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 58 | keep_alive: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 59 | wants_upgrade: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParsedMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cached_headers`, `req_method`, `h1_parser_config`, `preserve_header_case`, and `h09_responses` are never read [INFO] [stdout] --> hyper/src/proto/h1/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub(crate) struct ParseContext<'a> { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 62 | cached_headers: &'a mut Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 63 | req_method: &'a mut Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 64 | h1_parser_config: ParserConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | preserve_header_case: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | h09_responses: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `head`, `body`, `keep_alive`, `req_method`, and `title_case_headers` are never read [INFO] [stdout] --> hyper/src/proto/h1/mod.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub(crate) struct Encode<'a, T> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 82 | head: &'a mut MessageHead, [INFO] [stdout] | ^^^^ [INFO] [stdout] 83 | body: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 84 | #[cfg(feature = "server")] [INFO] [stdout] 85 | keep_alive: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 86 | req_method: &'a mut Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 87 | title_case_headers: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> hyper/src/proto/h1/mod.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | struct Wants(u8); [INFO] [stdout] | ----- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Wants` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 91 | struct Wants(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `EMPTY`, `EXPECT`, `UPGRADE`, `add`, and `contains` are never used [INFO] [stdout] --> hyper/src/proto/h1/mod.rs:93:11 [INFO] [stdout] | [INFO] [stdout] 92 | impl Wants { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 93 | const EMPTY: Wants = Wants(0b00); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 94 | const EXPECT: Wants = Wants(0b01); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 95 | const UPGRADE: Wants = Wants(0b10); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 96 | #[must_use] [INFO] [stdout] 97 | fn add(self, other: Wants) -> Wants { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn contains(&self, other: Wants) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H2_PREFACE` is never used [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const H2_PREFACE: &[u8] = b"PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `io` and `state` are never read [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) struct Conn { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 29 | io: Buffered>, [INFO] [stdout] | ^^ [INFO] [stdout] 30 | state: State, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 33 | / impl Conn [INFO] [stdout] 34 | | where [INFO] [stdout] 35 | | I: AsyncRead + AsyncWrite + Unpin, [INFO] [stdout] 36 | | B: Buf, [INFO] [stdout] 37 | | T: Http1Transaction, [INFO] [stdout] | |________________________- associated items in this implementation [INFO] [stdout] 38 | { [INFO] [stdout] 39 | pub(crate) fn new(io: I) -> Conn { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub(crate) fn set_flush_pipeline(&mut self, enabled: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub(crate) fn set_write_strategy_queue(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub(crate) fn set_max_buf_size(&mut self, max: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub(crate) fn set_read_buf_exact_size(&mut self, sz: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub(crate) fn set_write_strategy_flatten(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub(crate) fn set_h1_parser_config(&mut self, parser_config: ParserConfig) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub(crate) fn set_title_case_headers(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub(crate) fn set_preserve_header_case(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub(crate) fn set_h09_responses(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub(crate) fn set_allow_half_close(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub(crate) fn into_inner(self) -> (I, Bytes) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub(crate) fn pending_upgrade(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub(crate) fn is_read_closed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub(crate) fn is_write_closed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub(crate) fn can_read_head(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub(crate) fn can_read_body(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | fn should_error_on_eof(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | fn has_h2_prefix(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub(super) fn poll_read_head( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn on_read_head_error( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub(crate) fn poll_read_body( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub(crate) fn wants_read_again(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub(crate) fn poll_read_keep_alive( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | fn is_mid_message(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | fn require_empty_read( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | fn mid_message_detect_eof( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | fn force_io_read(&mut self, cx: &mut task::Context<'_>) -> Poll> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | fn maybe_notify(&mut self, cx: &mut task::Context<'_>) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | fn try_keep_alive(&mut self, cx: &mut task::Context<'_>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub(crate) fn can_write_head(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub(crate) fn can_write_body(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub(crate) fn can_buffer_body(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub(crate) fn write_head( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub(crate) fn write_full_msg(&mut self, head: MessageHead, body: B) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | fn encode_head( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | fn fix_keep_alive(&mut self, head: &mut MessageHead) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | fn enforce_version(&mut self, head: &mut MessageHead) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub(crate) fn write_body(&mut self, chunk: B) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub(crate) fn write_body_and_end(&mut self, chunk: B) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub(crate) fn end_body(&mut self) -> crate::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | fn on_parse_error(&mut self, err: crate::Error) -> crate::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub(crate) fn poll_flush( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub(crate) fn poll_shutdown( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub(super) fn poll_drain_or_close_read(&mut self, cx: &mut task::Context<'_>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | pub(crate) fn close_read(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub(crate) fn close_write(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub(crate) fn disable_keep_alive(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub(crate) fn take_error(&mut self) -> crate::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub(super) fn on_upgrade(&mut self) -> crate::upgrade::OnUpgrade { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 247 | struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 248 | allow_half_close: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 249 | [INFO] [stdout] 250 | cached_headers: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | error: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 254 | [INFO] [stdout] 255 | keep_alive: KA, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | method: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 261 | h1_parser_config: ParserConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | preserve_header_case: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | title_case_headers: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 272 | h09_responses: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | notify_read: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 283 | [INFO] [stdout] 284 | reading: Reading, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 285 | [INFO] [stdout] 286 | writing: Writing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 287 | [INFO] [stdout] 288 | upgrade: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 289 | [INFO] [stdout] 290 | version: Version, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Init`, `Continue`, `Body`, `KeepAlive`, and `Closed` are never constructed [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 293 | enum Reading { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 294 | Init, [INFO] [stdout] | ^^^^ [INFO] [stdout] 295 | Continue(Decoder), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 296 | Body(Decoder), [INFO] [stdout] | ^^^^ [INFO] [stdout] 297 | KeepAlive, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 298 | Closed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Reading` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Init`, `Body`, `KeepAlive`, and `Closed` are never constructed [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 300 | enum Writing { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 301 | Init, [INFO] [stdout] | ^^^^ [INFO] [stdout] 302 | Body(Encoder), [INFO] [stdout] | ^^^^ [INFO] [stdout] 303 | KeepAlive, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 304 | Closed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Idle`, `Busy`, and `Disabled` are never constructed [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 322 | enum KA { [INFO] [stdout] | -- variants in this enum [INFO] [stdout] 323 | Idle, [INFO] [stdout] | ^^^^ [INFO] [stdout] 324 | Busy, [INFO] [stdout] | ^^^^ [INFO] [stdout] 325 | Disabled, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KA` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `idle`, `busy`, `disable`, and `status` are never used [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:333:8 [INFO] [stdout] | [INFO] [stdout] 332 | impl KA { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] 333 | fn idle(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | fn busy(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 339 | fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | fn status(&self) -> KA { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> hyper/src/proto/h1/conn.rs:347:8 [INFO] [stdout] | [INFO] [stdout] 346 | impl State { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 347 | fn close(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | fn close_read(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | fn close_write(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 356 | fn wants_keep_alive(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | fn try_keep_alive(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | fn disable_keep_alive(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | fn busy(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | fn idle(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 371 | fn is_idle(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 374 | fn is_read_closed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 377 | fn is_write_closed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 380 | fn prepare_upgrade(&mut self) -> crate::upgrade::OnUpgrade { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Length`, `Chunked`, and `Eof` are never constructed [INFO] [stdout] --> hyper/src/proto/h1/decode.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | enum Kind { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 27 | [INFO] [stdout] 28 | Length(u64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | [INFO] [stdout] 30 | Chunked(ChunkedState, u64), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | Eof(bool), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Kind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> hyper/src/proto/h1/decode.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | enum ChunkedState { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 52 | Size, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | SizeLws, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 54 | Extension, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 55 | SizeLf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 56 | Body, [INFO] [stdout] | ^^^^ [INFO] [stdout] 57 | BodyCr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 58 | BodyLf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 59 | Trailer, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 60 | TrailerLf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 61 | EndCr, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 62 | EndLf, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 63 | End, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChunkedState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `length`, `chunked`, `eof`, `new`, `is_eof`, and `decode` are never used [INFO] [stdout] --> hyper/src/proto/h1/decode.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 66 | impl Decoder { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub(crate) fn length(x: u64) -> Decoder { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub(crate) fn chunked() -> Decoder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub(crate) fn eof() -> Decoder { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub(super) fn new(len: DecodedLength) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub(crate) fn is_eof(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub(crate) fn decode( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> hyper/src/proto/h1/decode.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 182 | impl ChunkedState { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 183 | fn step( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | fn read_size( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | fn read_size_lws( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | fn read_extension( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | fn read_size_lf( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | fn read_body( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | fn read_body_cr( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | fn read_body_lf( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | fn read_trailer( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 378 | fn read_trailer_lf( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 391 | fn read_end_cr( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 400 | fn read_end_lf( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `conn`, `dispatch`, `body_tx`, `body_rx`, and `is_closing` are never read [INFO] [stdout] --> hyper/src/proto/h1/dispatch.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct Dispatcher { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 12 | conn: Conn, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | dispatch: D, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | body_tx: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | body_rx: Pin>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | is_closing: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Server` is never constructed [INFO] [stdout] --> hyper/src/proto/h1/dispatch.rs:35:58 [INFO] [stdout] | [INFO] [stdout] 35 | use crate ::service::HttpService; pub (crate) struct Server < S : HttpService < B >, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> hyper/src/proto/h1/dispatch.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 44 | / impl Dispatcher [INFO] [stdout] 45 | | where [INFO] [stdout] 46 | | D: Dispatch< [INFO] [stdout] 47 | | PollItem = MessageHead, [INFO] [stdout] ... | [INFO] [stdout] 54 | | Bs: HttpBody + 'static, [INFO] [stdout] 55 | | Bs::Error: Into>, [INFO] [stdout] | |_____________________________________________________- associated items in this implementation [INFO] [stdout] 56 | { [INFO] [stdout] 57 | pub(crate) fn new(dispatch: D, conn: Conn) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub(crate) fn disable_keep_alive(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub(crate) fn into_inner(self) -> (I, Bytes, D) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub(crate) fn poll_without_shutdown( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn poll_catch( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn poll_inner( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn poll_loop(&mut self, cx: &mut task::Context<'_>) -> Poll> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn poll_read(&mut self, cx: &mut task::Context<'_>) -> Poll> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn poll_read_head(&mut self, cx: &mut task::Context<'_>) -> Poll> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | fn poll_write(&mut self, cx: &mut task::Context<'_>) -> Poll> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | fn poll_flush(&mut self, cx: &mut task::Context<'_>) -> Poll> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | fn close(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn is_done(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> hyper/src/proto/h1/dispatch.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | struct OptGuard<'a, T>(Pin<&'a mut Option>, bool); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 138 | struct OptGuard<'a, T>((), ()); [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `guard_mut` are never used [INFO] [stdout] --> hyper/src/proto/h1/dispatch.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 139 | impl<'a, T> OptGuard<'a, T> { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 140 | fn new(pin: Pin<&'a mut Option>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | fn guard_mut(&mut self) -> (Option>, &mut bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> hyper/src/proto/h1/dispatch.rs:153:46 [INFO] [stdout] | [INFO] [stdout] 153 | impl < B > Client < B > { pub (crate) fn new(rx : ClientRx < B >) -> Client < B > { [INFO] [stdout] | ----------------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | associated function in this implementation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> hyper/src/proto/h1/encode.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct EncodedBuf { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 16 | kind: BufKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EncodedBuf` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> hyper/src/proto/h1/encode.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) struct NotEof(u64); [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `NotEof` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) struct NotEof(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Chunked`, `Length`, and `CloseDelimited` are never constructed [INFO] [stdout] --> hyper/src/proto/h1/encode.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | enum Kind { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 22 | [INFO] [stdout] 23 | Chunked, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | Length(u64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | CloseDelimited, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Kind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Exact`, `Limited`, `Chunked`, and `ChunkedEnd` are never constructed [INFO] [stdout] --> hyper/src/proto/h1/encode.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | enum BufKind { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 37 | Exact(B), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | Limited(Take), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 39 | Chunked(Chain, StaticBuf>), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 40 | ChunkedEnd(StaticBuf), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BufKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> hyper/src/proto/h1/encode.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl Encoder { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 43 | fn new(kind: Kind) -> Encoder { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub(crate) fn chunked() -> Encoder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub(crate) fn length(len: u64) -> Encoder { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub(crate) fn close_delimited() -> Encoder { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub(crate) fn is_eof(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub(crate) fn set_last(mut self, is_last: bool) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub(crate) fn is_last(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub(crate) fn is_close_delimited(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub(crate) fn end(&self) -> Result>, NotEof> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub(crate) fn encode(&mut self, msg: B) -> EncodedBuf [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub(super) fn encode_and_end( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub(super) fn danger_full_buf(self, msg: B, dst: &mut WriteBuf>) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bytes`, `pos`, and `len` are never read [INFO] [stdout] --> hyper/src/proto/h1/encode.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 127 | struct ChunkSize { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 128 | bytes: [u8; CHUNK_SIZE_MAX_BYTES + 2], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 129 | pos: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 130 | len: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChunkSize` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> hyper/src/proto/h1/encode.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 132 | impl ChunkSize { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 133 | fn new(len: usize) -> ChunkSize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INIT_BUFFER_SIZE` is never used [INFO] [stdout] --> hyper/src/proto/h1/io.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) const INIT_BUFFER_SIZE: usize = 8192; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MINIMUM_MAX_BUFFER_SIZE` is never used [INFO] [stdout] --> hyper/src/proto/h1/io.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) const MINIMUM_MAX_BUFFER_SIZE: usize = INIT_BUFFER_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_MAX_BUFFER_SIZE` is never used [INFO] [stdout] --> hyper/src/proto/h1/io.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) const DEFAULT_MAX_BUFFER_SIZE: usize = 8192 + 4096 * 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_BUF_LIST_BUFFERS` is never used [INFO] [stdout] --> hyper/src/proto/h1/io.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | const MAX_BUF_LIST_BUFFERS: usize = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `flush_pipeline`, `io`, `read_blocked`, `read_buf`, `read_buf_strategy`, and `write_buf` are never read [INFO] [stdout] --> hyper/src/proto/h1/io.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) struct Buffered { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 32 | flush_pipeline: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 33 | io: T, [INFO] [stdout] | ^^ [INFO] [stdout] 34 | read_blocked: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 35 | read_buf: BytesMut, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 36 | read_buf_strategy: ReadStrategy, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | write_buf: WriteBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> hyper/src/proto/h1/io.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 47 | / impl Buffered [INFO] [stdout] 48 | | where [INFO] [stdout] 49 | | T: AsyncRead + AsyncWrite + Unpin, [INFO] [stdout] 50 | | B: Buf, [INFO] [stdout] | |___________- associated items in this implementation [INFO] [stdout] 51 | { [INFO] [stdout] 52 | pub(crate) fn new(io: T) -> Buffered { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub(crate) fn set_flush_pipeline(&mut self, enabled: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub(crate) fn set_max_buf_size(&mut self, max: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub(crate) fn set_read_buf_exact_size(&mut self, sz: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub(crate) fn set_write_strategy_flatten(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub(crate) fn set_write_strategy_queue(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub(crate) fn read_buf(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn read_buf_remaining_mut(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub(crate) fn can_headers_buf(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub(crate) fn headers_buf(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub(super) fn write_buf(&mut self) -> &mut WriteBuf { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub(crate) fn buffer>(&mut self, buf: BB) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub(crate) fn can_buffer(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub(crate) fn consume_leading_lines(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub(super) fn parse( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub(crate) fn poll_read_from_io( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub(crate) fn into_inner(self) -> (T, Bytes) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub(crate) fn io_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub(crate) fn is_read_blocked(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub(crate) fn poll_flush( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | fn poll_flush_flattened( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Adaptive` and `Exact` are never constructed [INFO] [stdout] --> hyper/src/proto/h1/io.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 178 | enum ReadStrategy { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 179 | Adaptive { decrease_now: bool, next: usize, max: usize }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 180 | #[cfg(feature = "client")] [INFO] [stdout] 181 | Exact(usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReadStrategy` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_max`, `next`, `max`, and `record` are never used [INFO] [stdout] --> hyper/src/proto/h1/io.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 183 | impl ReadStrategy { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 184 | fn with_max(max: usize) -> ReadStrategy { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | fn next(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | fn max(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | fn record(&mut self, bytes_read: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `incr_power_of_two` is never used [INFO] [stdout] --> hyper/src/proto/h1/io.rs:197:4 [INFO] [stdout] | [INFO] [stdout] 197 | fn incr_power_of_two(n: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prev_power_of_two` is never used [INFO] [stdout] --> hyper/src/proto/h1/io.rs:200:4 [INFO] [stdout] | [INFO] [stdout] 200 | fn prev_power_of_two(n: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bytes` and `pos` are never read [INFO] [stdout] --> hyper/src/proto/h1/io.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 209 | pub(crate) struct Cursor { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 210 | bytes: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 211 | pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cursor` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> hyper/src/proto/h1/io.rs:215:19 [INFO] [stdout] | [INFO] [stdout] 213 | impl> Cursor { [INFO] [stdout] | ------------------------------ associated function in this implementation [INFO] [stdout] 214 | #[inline] [INFO] [stdout] 215 | pub(crate) fn new(bytes: T) -> Cursor { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `maybe_unshift` and `reset` are never used [INFO] [stdout] --> hyper/src/proto/h1/io.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 219 | impl Cursor> { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 223 | fn maybe_unshift(&mut self, additional: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `headers`, `max_buf_size`, `queue`, and `strategy` are never read [INFO] [stdout] --> hyper/src/proto/h1/io.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 249 | pub(super) struct WriteBuf { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 250 | [INFO] [stdout] 251 | headers: Cursor>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 252 | max_buf_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 253 | [INFO] [stdout] 254 | queue: BufList, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 255 | strategy: WriteStrategy, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> hyper/src/proto/h1/io.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 257 | impl WriteBuf { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 258 | fn new(strategy: WriteStrategy) -> WriteBuf { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_strategy`, `buffer`, `can_buffer`, and `headers_mut` are never used [INFO] [stdout] --> hyper/src/proto/h1/io.rs:266:8 [INFO] [stdout] | [INFO] [stdout] 262 | / impl WriteBuf [INFO] [stdout] 263 | | where [INFO] [stdout] 264 | | B: Buf, [INFO] [stdout] | |___________- methods in this implementation [INFO] [stdout] 265 | { [INFO] [stdout] 266 | fn set_strategy(&mut self, strategy: WriteStrategy) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | pub(super) fn buffer>(&mut self, mut buf: BB) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | fn can_buffer(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | fn headers_mut(&mut self) -> &mut Cursor> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Flatten` and `Queue` are never constructed [INFO] [stdout] --> hyper/src/proto/h1/io.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 303 | enum WriteStrategy { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 304 | Flatten, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 305 | Queue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WriteStrategy` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_HEADERS` is never used [INFO] [stdout] --> hyper/src/proto/h1/role.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | const MAX_HEADERS: usize = 100; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVERAGE_HEADER_SIZE` is never used [INFO] [stdout] --> hyper/src/proto/h1/role.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const AVERAGE_HEADER_SIZE: usize = 30; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_URI_LEN` is never used [INFO] [stdout] --> hyper/src/proto/h1/role.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const MAX_URI_LEN: usize = (u16::MAX - 1) as usize; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_headers` is never used [INFO] [stdout] --> hyper/src/proto/h1/role.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | pub(super) fn parse_headers( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_headers` is never used [INFO] [stdout] --> hyper/src/proto/h1/role.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | pub(super) fn encode_headers( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> hyper/src/proto/h1/role.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 91 | impl Server { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 92 | fn can_have_body(method: &Option, status: StatusCode) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn can_chunked(method: &Option, status: StatusCode) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn can_have_content_length(method: &Option, status: StatusCode) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn can_have_implicit_zero_content_length( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | fn encode_headers_with_lower_case( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn encode_headers_with_original_case( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn encode_headers( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `decoder` and `set_length` are never used [INFO] [stdout] --> hyper/src/proto/h1/role.rs:185:8 [INFO] [stdout] | [INFO] [stdout] 181 | impl Client { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 185 | fn decoder( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | fn set_length(head: &mut RequestHead, body: Option) -> Encoder { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_content_length` is never used [INFO] [stdout] --> hyper/src/proto/h1/role.rs:195:4 [INFO] [stdout] | [INFO] [stdout] 195 | fn set_content_length(headers: &mut HeaderMap, len: u64) -> Encoder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `value` are never read [INFO] [stdout] --> hyper/src/proto/h1/role.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 199 | struct HeaderIndices { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 200 | name: (usize, usize), [INFO] [stdout] | ^^^^ [INFO] [stdout] 201 | value: (usize, usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HeaderIndices` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `record_header_indices` is never used [INFO] [stdout] --> hyper/src/proto/h1/role.rs:203:4 [INFO] [stdout] | [INFO] [stdout] 203 | fn record_header_indices( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `title_case` is never used [INFO] [stdout] --> hyper/src/proto/h1/role.rs:210:4 [INFO] [stdout] | [INFO] [stdout] 210 | fn title_case(dst: &mut Vec, name: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_headers_title_case` is never used [INFO] [stdout] --> hyper/src/proto/h1/role.rs:213:4 [INFO] [stdout] | [INFO] [stdout] 213 | fn write_headers_title_case(headers: &HeaderMap, dst: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_headers` is never used [INFO] [stdout] --> hyper/src/proto/h1/role.rs:216:4 [INFO] [stdout] | [INFO] [stdout] 216 | fn write_headers(headers: &HeaderMap, dst: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_headers_original_case` is never used [INFO] [stdout] --> hyper/src/proto/h1/role.rs:220:4 [INFO] [stdout] | [INFO] [stdout] 220 | fn write_headers_original_case( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> hyper/src/proto/h1/role.rs:228:22 [INFO] [stdout] | [INFO] [stdout] 228 | struct FastWrite<'a>(&'a mut Vec); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 228 | struct FastWrite<'a>(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extend` is never used [INFO] [stdout] --> hyper/src/proto/h1/role.rs:240:4 [INFO] [stdout] | [INFO] [stdout] 240 | fn extend(dst: &mut Vec, data: &[u8]) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPEC_WINDOW_SIZE` is never used [INFO] [stdout] --> hyper/src/proto/h2/mod.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) const SPEC_WINDOW_SIZE: u32 = 65_535; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `strip_connection_headers` is never used [INFO] [stdout] --> hyper/src/proto/h2/mod.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn strip_connection_headers(headers: &mut HeaderMap, is_request: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> hyper/src/proto/h2/mod.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 31 | / impl PipeToSendStream [INFO] [stdout] 32 | | where [INFO] [stdout] 33 | | S: HttpBody, [INFO] [stdout] | |________________- associated function in this implementation [INFO] [stdout] 34 | { [INFO] [stdout] 35 | fn new(stream: S, tx: SendStream>) -> PipeToSendStream { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Buf`, `Cursor`, and `None` are never constructed [INFO] [stdout] --> hyper/src/proto/h2/mod.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | enum SendBuf { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 68 | Buf(B), [INFO] [stdout] | ^^^ [INFO] [stdout] 69 | Cursor(Cursor>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 70 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ping`, `send_stream`, `recv_stream`, and `buf` are never read [INFO] [stdout] --> hyper/src/proto/h2/mod.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 89 | struct H2Upgraded [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 93 | ping: Recorder, [INFO] [stdout] | ^^^^ [INFO] [stdout] 94 | send_stream: UpgradedSendStream, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 95 | recv_stream: RecvStream, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 96 | buf: Bytes, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `h2_to_io_error` is never used [INFO] [stdout] --> hyper/src/proto/h2/mod.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn h2_to_io_error(e: h2::Error) -> io::Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> hyper/src/proto/h2/mod.rs:137:30 [INFO] [stdout] | [INFO] [stdout] 137 | struct UpgradedSendStream(SendStream>>); [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 137 | struct UpgradedSendStream(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `reserve_capacity`, `poll_capacity`, `poll_reset`, `write`, and `as_inner_unchecked` are never used [INFO] [stdout] --> hyper/src/proto/h2/mod.rs:142:15 [INFO] [stdout] | [INFO] [stdout] 138 | / impl UpgradedSendStream [INFO] [stdout] 139 | | where [INFO] [stdout] 140 | | B: Buf, [INFO] [stdout] | |___________- associated items in this implementation [INFO] [stdout] 141 | { [INFO] [stdout] 142 | unsafe fn new(inner: SendStream>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn reserve_capacity(&mut self, cnt: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | fn poll_capacity( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | fn poll_reset( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | fn write(&mut self, buf: &[u8], end_of_stream: bool) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | unsafe fn as_inner_unchecked(&mut self) -> &mut SendStream> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `disabled` is never used [INFO] [stdout] --> hyper/src/proto/h2/ping.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | pub(super) fn disabled() -> Recorder { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `channel` is never used [INFO] [stdout] --> hyper/src/proto/h2/ping.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | pub(super) fn channel(ping_pong: PingPong, config: Config) -> (Recorder, Ponger) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bdp_initial_window` is never read [INFO] [stdout] --> hyper/src/proto/h2/ping.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 44 | pub(super) struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 45 | pub(super) bdp_initial_window: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `shared` is never read [INFO] [stdout] --> hyper/src/proto/h2/ping.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub(crate) struct Recorder { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 59 | shared: Option>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Recorder` 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 `bdp` and `shared` are never read [INFO] [stdout] --> hyper/src/proto/h2/ping.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub(super) struct Ponger { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 62 | bdp: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | shared: Arc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ping_pong`, `ping_sent_at`, `bytes`, and `next_bdp_at` are never read [INFO] [stdout] --> hyper/src/proto/h2/ping.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | struct Shared { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 68 | ping_pong: PingPong, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 69 | ping_sent_at: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | bytes: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | next_bdp_at: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bdp`, `max_bandwidth`, `rtt`, `ping_delay`, and `stable_count` are never read [INFO] [stdout] --> hyper/src/proto/h2/ping.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 83 | struct Bdp { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 84 | [INFO] [stdout] 85 | bdp: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 86 | [INFO] [stdout] 87 | max_bandwidth: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 88 | [INFO] [stdout] 89 | rtt: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | ping_delay: Duration, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 94 | [INFO] [stdout] 95 | stable_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Ponged` is never used [INFO] [stdout] --> hyper/src/proto/h2/ping.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | pub(super) enum Ponged { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_enabled` is never used [INFO] [stdout] --> hyper/src/proto/h2/ping.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 123 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 124 | pub(super) fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `record_data`, `record_non_data`, `for_stream`, and `ensure_not_timed_out` are never used [INFO] [stdout] --> hyper/src/proto/h2/ping.rs:129:19 [INFO] [stdout] | [INFO] [stdout] 128 | impl Recorder { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 129 | pub(crate) fn record_data(&self, len: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub(crate) fn record_non_data(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub(super) fn for_stream(self, stream: &h2::RecvStream) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub(super) fn ensure_not_timed_out(&self) -> crate::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `poll` is never used [INFO] [stdout] --> hyper/src/proto/h2/ping.rs:146:19 [INFO] [stdout] | [INFO] [stdout] 145 | impl Ponger { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 146 | pub(super) fn poll(&mut self, cx: &mut task::Context<'_>) -> Poll { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `send_ping` and `is_ping_sent` are never used [INFO] [stdout] --> hyper/src/proto/h2/ping.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 154 | impl Shared { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 155 | fn send_ping(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | fn is_ping_sent(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BDP_LIMIT` is never used [INFO] [stdout] --> hyper/src/proto/h2/ping.rs:171:7 [INFO] [stdout] | [INFO] [stdout] 171 | const BDP_LIMIT: usize = 1024 * 1024 * 16; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `calculate` and `stabilize_delay` are never used [INFO] [stdout] --> hyper/src/proto/h2/ping.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 172 | impl Bdp { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 173 | fn calculate(&mut self, bytes: usize, rtt: Duration) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | fn stabilize_delay(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seconds` is never used [INFO] [stdout] --> hyper/src/proto/h2/ping.rs:180:4 [INFO] [stdout] | [INFO] [stdout] 180 | fn seconds(dur: Duration) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_CONN_WINDOW` is never used [INFO] [stdout] --> hyper/src/proto/h2/client.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const DEFAULT_CONN_WINDOW: u32 = 1024 * 1024 * 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_STREAM_WINDOW` is never used [INFO] [stdout] --> hyper/src/proto/h2/client.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const DEFAULT_STREAM_WINDOW: u32 = 1024 * 1024 * 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_MAX_FRAME_SIZE` is never used [INFO] [stdout] --> hyper/src/proto/h2/client.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const DEFAULT_MAX_FRAME_SIZE: u32 = 1024 * 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_MAX_SEND_BUF_SIZE` is never used [INFO] [stdout] --> hyper/src/proto/h2/client.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | const DEFAULT_MAX_SEND_BUF_SIZE: usize = 1024 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `adaptive_window`, `initial_conn_window_size`, `initial_stream_window_size`, `max_frame_size`, `max_concurrent_reset_streams`, and `max_send_buffer_size` are never read [INFO] [stdout] --> hyper/src/proto/h2/client.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 33 | pub(crate) adaptive_window: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | pub(crate) initial_conn_window_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub(crate) initial_stream_window_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | pub(crate) max_frame_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub(crate) max_concurrent_reset_streams: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | pub(crate) max_send_buffer_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_builder` is never used [INFO] [stdout] --> hyper/src/proto/h2/client.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn new_builder(config: &Config) -> Builder { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_ping_config` is never used [INFO] [stdout] --> hyper/src/proto/h2/client.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn new_ping_config(config: &Config) -> ping::Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handshake` is never used [INFO] [stdout] --> hyper/src/proto/h2/client.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | pub(crate) async fn handshake( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `conn_task` is never used [INFO] [stdout] --> hyper/src/proto/h2/client.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | async fn conn_task(conn: C, drop_rx: D, cancel_tx: oneshot::Sender) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_connect`, `eos`, `fut`, `body_tx`, `body`, and `cb` are never read [INFO] [stdout] --> hyper/src/proto/h2/client.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 77 | struct FutCtx [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 81 | is_connect: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 82 | eos: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 83 | fut: ResponseFuture, [INFO] [stdout] | ^^^ [INFO] [stdout] 84 | body_tx: SendStream>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 85 | body: B, [INFO] [stdout] | ^^^^ [INFO] [stdout] 86 | cb: Callback, Response>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> hyper/src/proto/h2/client.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub(crate) struct ClientTask [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 93 | ping: ping::Recorder, [INFO] [stdout] | ^^^^ [INFO] [stdout] 94 | conn_drop_ref: ConnDropRef, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 95 | conn_eof: ConnEof, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 96 | executor: Exec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 97 | h2_tx: SendRequest>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 98 | req_rx: ClientRx, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 99 | fut_ctx: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_extended_connect_protocol_enabled` is never used [INFO] [stdout] --> hyper/src/proto/h2/client.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 101 | / impl ClientTask [INFO] [stdout] 102 | | where [INFO] [stdout] 103 | | B: HttpBody + 'static, [INFO] [stdout] | |__________________________- method in this implementation [INFO] [stdout] 104 | { [INFO] [stdout] 105 | pub(crate) fn is_extended_connect_protocol_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `poll_pipe` is never used [INFO] [stdout] --> hyper/src/proto/h2/client.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 109 | / impl ClientTask [INFO] [stdout] 110 | | where [INFO] [stdout] 111 | | B: HttpBody + Send + 'static, [INFO] [stdout] 112 | | B::Data: Send, [INFO] [stdout] 113 | | B::Error: Into>, [INFO] [stdout] | |____________________________________________________- method in this implementation [INFO] [stdout] 114 | { [INFO] [stdout] 115 | fn poll_pipe(&mut self, f: FutCtx, cx: &mut task::Context<'_>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_CONN_WINDOW` is never used [INFO] [stdout] --> hyper/src/proto/h2/server.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const DEFAULT_CONN_WINDOW: u32 = 1024 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_STREAM_WINDOW` is never used [INFO] [stdout] --> hyper/src/proto/h2/server.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const DEFAULT_STREAM_WINDOW: u32 = 1024 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_MAX_FRAME_SIZE` is never used [INFO] [stdout] --> hyper/src/proto/h2/server.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const DEFAULT_MAX_FRAME_SIZE: u32 = 1024 * 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_MAX_SEND_BUF_SIZE` is never used [INFO] [stdout] --> hyper/src/proto/h2/server.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const DEFAULT_MAX_SEND_BUF_SIZE: usize = 1024 * 400; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_SETTINGS_MAX_HEADER_LIST_SIZE` is never used [INFO] [stdout] --> hyper/src/proto/h2/server.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const DEFAULT_SETTINGS_MAX_HEADER_LIST_SIZE: u32 = 16 << 20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> hyper/src/proto/h2/server.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 31 | pub(crate) adaptive_window: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | pub(crate) initial_conn_window_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub(crate) initial_stream_window_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | pub(crate) max_frame_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub(crate) enable_connect_protocol: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | pub(crate) max_concurrent_streams: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub(crate) max_send_buffer_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | pub(crate) max_header_list_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Handshaking`, `Serving`, and `Closed` are never constructed [INFO] [stdout] --> hyper/src/proto/h2/server.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 53 | enum State [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 57 | Handshaking { ping_config: ping::Config, hs: Handshake> }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 58 | Serving(Serving), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 59 | Closed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ping`, `conn`, and `closing` are never read [INFO] [stdout] --> hyper/src/proto/h2/server.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 61 | struct Serving [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 65 | ping: Option<(ping::Recorder, ping::Ponger)>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 66 | conn: Connection>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | closing: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `graceful_shutdown` are never used [INFO] [stdout] --> hyper/src/proto/h2/server.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 69 | / impl Server [INFO] [stdout] 70 | | where [INFO] [stdout] 71 | | T: AsyncRead + AsyncWrite + Unpin, [INFO] [stdout] 72 | | S: HttpService, [INFO] [stdout] 73 | | S::Error: Into>, [INFO] [stdout] 74 | | B: HttpBody + 'static, [INFO] [stdout] 75 | | E: ConnStreamExec, [INFO] [stdout] | |____________________________________- associated items in this implementation [INFO] [stdout] 76 | { [INFO] [stdout] 77 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub(crate) fn graceful_shutdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `poll_server` and `poll_ping` are never used [INFO] [stdout] --> hyper/src/proto/h2/server.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 102 | / impl Serving [INFO] [stdout] 103 | | where [INFO] [stdout] 104 | | T: AsyncRead + AsyncWrite + Unpin, [INFO] [stdout] 105 | | B: HttpBody + 'static, [INFO] [stdout] | |__________________________- methods in this implementation [INFO] [stdout] 106 | { [INFO] [stdout] 107 | fn poll_server( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn poll_ping(&mut self, cx: &mut task::Context<'_>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pending`, `ping`, and `recv_stream` are never read [INFO] [stdout] --> hyper/src/proto/h2/server.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 134 | struct ConnectParts { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 135 | pending: Pending, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 136 | ping: Recorder, [INFO] [stdout] | ^^^^ [INFO] [stdout] 137 | recv_stream: RecvStream, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> hyper/src/proto/h2/server.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 139 | / impl H2Stream [INFO] [stdout] 140 | | where [INFO] [stdout] 141 | | B: HttpBody, [INFO] [stdout] | |________________- associated function in this implementation [INFO] [stdout] 142 | { [INFO] [stdout] 143 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `poll2` is never used [INFO] [stdout] --> hyper/src/proto/h2/server.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 159 | / impl H2Stream [INFO] [stdout] 160 | | where [INFO] [stdout] 161 | | F: Future, E>>, [INFO] [stdout] 162 | | B: HttpBody, [INFO] [stdout] 163 | | B::Data: 'static, [INFO] [stdout] 164 | | B::Error: Into>, [INFO] [stdout] 165 | | E: Into>, [INFO] [stdout] | |_____________________________________________- method in this implementation [INFO] [stdout] 166 | { [INFO] [stdout] 167 | fn poll2( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `alpn`, `is_proxied`, and `extra` are never read [INFO] [stdout] --> hyper/src/client/connect/mod.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Connected { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 102 | pub(super) alpn: Alpn, [INFO] [stdout] | ^^^^ [INFO] [stdout] 103 | pub(super) is_proxied: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 104 | pub(super) extra: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Connected` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> hyper/src/client/connect/mod.rs:106:25 [INFO] [stdout] | [INFO] [stdout] 106 | pub(super) struct Extra(Box); [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 106 | pub(super) struct Extra(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `H2` and `None` are never constructed [INFO] [stdout] --> hyper/src/client/connect/mod.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub(super) enum Alpn { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 109 | H2, [INFO] [stdout] | ^^ [INFO] [stdout] 110 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Alpn` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> hyper/src/client/connect/mod.rs:114:19 [INFO] [stdout] | [INFO] [stdout] 112 | impl Connected { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 113 | [INFO] [stdout] 114 | pub(crate) fn new() -> Connected { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub(crate) fn proxy(mut self, is_proxied: bool) -> Connected { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub(crate) fn is_proxied(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub(crate) fn extra( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub(crate) fn get_extras(&self, extensions: &mut Extensions) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub(crate) fn negotiated_h2(mut self) -> Connected { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub(crate) fn is_negotiated_h2(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub(super) fn clone(&self) -> Connected { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> hyper/src/client/connect/mod.rs:167:19 [INFO] [stdout] | [INFO] [stdout] 166 | impl Extra { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 167 | pub(super) fn set(&self, res: &mut Extensions) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> hyper/src/client/connect/mod.rs:198:22 [INFO] [stdout] | [INFO] [stdout] 198 | struct ExtraChain(Box, T); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 198 | struct ExtraChain((), T); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> hyper/src/client/connect/dns.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct GaiAddrs { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 49 | inner: SocketAddrs, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> hyper/src/client/connect/dns.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct GaiFuture { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 53 | inner: JoinHandle>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `as_str` are never used [INFO] [stdout] --> hyper/src/client/connect/dns.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 55 | impl Name { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 56 | pub(super) fn new(host: Box) -> Name { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub(crate) fn as_str(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> hyper/src/client/connect/dns.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 89 | impl GaiResolver { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 90 | [INFO] [stdout] 91 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `iter` is never read [INFO] [stdout] --> hyper/src/client/connect/dns.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 141 | pub(super) struct SocketAddrs { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 142 | iter: vec::IntoIter, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `try_parse`, `filter`, `split_by_preference`, `is_empty`, and `len` are never used [INFO] [stdout] --> hyper/src/client/connect/dns.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 144 | impl SocketAddrs { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 145 | pub(super) fn new(addrs: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub(super) fn try_parse(host: &str, port: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | fn filter(self, predicate: impl FnMut(&SocketAddr) -> bool) -> SocketAddrs { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub(super) fn split_by_preference( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub(super) fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub(super) fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve` is never used [INFO] [stdout] --> hyper/src/client/connect/dns.rs:210:21 [INFO] [stdout] | [INFO] [stdout] 210 | pub(super) async fn resolve( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `resolver` are never read [INFO] [stdout] --> hyper/src/client/connect/http.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct HttpConnector { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 30 | config: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | resolver: R, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpConnector` 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 `remote_addr` and `local_addr` are never read [INFO] [stdout] --> hyper/src/client/connect/http.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct HttpInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 63 | remote_addr: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 64 | local_addr: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> hyper/src/client/connect/http.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 68 | connect_timeout: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | enforce_http: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 70 | happy_eyeballs_timeout: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 71 | keep_alive_timeout: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | local_address_ipv4: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 73 | local_address_ipv6: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 74 | nodelay: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 75 | reuse_address: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 76 | send_buffer_size: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 77 | recv_buffer_size: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> hyper/src/client/connect/http.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 79 | impl HttpConnector { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 80 | [INFO] [stdout] 81 | pub(crate) fn new() -> HttpConnector { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> hyper/src/client/connect/http.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 85 | impl HttpConnector { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub(crate) fn new_with_resolver(resolver: R) -> HttpConnector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub(crate) fn enforce_http(&mut self, is_enforced: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub(crate) fn set_keepalive(&mut self, dur: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub(crate) fn set_nodelay(&mut self, nodelay: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub(crate) fn set_send_buffer_size(&mut self, size: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub(crate) fn set_recv_buffer_size(&mut self, size: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub(crate) fn set_local_address(&mut self, addr: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub(crate) fn set_local_addresses( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub(crate) fn set_connect_timeout(&mut self, dur: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub(crate) fn set_happy_eyeballs_timeout(&mut self, dur: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub(crate) fn set_reuse_address(&mut self, reuse_address: bool) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | fn config_mut(&mut self) -> &mut Config { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `INVALID_NOT_HTTP` is never used [INFO] [stdout] --> hyper/src/client/connect/http.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 181 | static INVALID_NOT_HTTP: &str = "invalid URL, scheme is not http"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `INVALID_MISSING_SCHEME` is never used [INFO] [stdout] --> hyper/src/client/connect/http.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | static INVALID_MISSING_SCHEME: &str = "invalid URL, scheme is missing"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `INVALID_MISSING_HOST` is never used [INFO] [stdout] --> hyper/src/client/connect/http.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | static INVALID_MISSING_HOST: &str = "invalid URL, host is missing"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_host_port` is never used [INFO] [stdout] --> hyper/src/client/connect/http.rs:207:4 [INFO] [stdout] | [INFO] [stdout] 207 | fn get_host_port<'u>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `call_async` is never used [INFO] [stdout] --> hyper/src/client/connect/http.rs:217:14 [INFO] [stdout] | [INFO] [stdout] 213 | / impl HttpConnector [INFO] [stdout] 214 | | where [INFO] [stdout] 215 | | R: Resolve, [INFO] [stdout] | |_______________- method in this implementation [INFO] [stdout] 216 | { [INFO] [stdout] 217 | async fn call_async(&mut self, dst: Uri) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remote_addr` and `local_addr` are never used [INFO] [stdout] --> hyper/src/client/connect/http.rs:228:19 [INFO] [stdout] | [INFO] [stdout] 226 | impl HttpInfo { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 227 | [INFO] [stdout] 228 | pub(crate) fn remote_addr(&self) -> SocketAddr { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | pub(crate) fn local_addr(&self) -> SocketAddr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `msg` and `cause` are never read [INFO] [stdout] --> hyper/src/client/connect/http.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct ConnectError { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 250 | msg: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] 251 | cause: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `dns`, and `m` are never used [INFO] [stdout] --> hyper/src/client/connect/http.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 253 | impl ConnectError { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 254 | fn new(msg: S, cause: E) -> ConnectError [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | fn dns(cause: E) -> ConnectError [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | fn m(msg: S) -> impl FnOnce(E) -> ConnectError [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectingTcp` is never constructed [INFO] [stdout] --> hyper/src/client/connect/http.rs:290:8 [INFO] [stdout] | [INFO] [stdout] 290 | struct ConnectingTcp<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> hyper/src/client/connect/http.rs:296:8 [INFO] [stdout] | [INFO] [stdout] 295 | impl<'a> ConnectingTcp<'a> { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 296 | fn new(remote_addrs: dns::SocketAddrs, config: &'a Config) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectingTcpFallback` is never constructed [INFO] [stdout] --> hyper/src/client/connect/http.rs:300:8 [INFO] [stdout] | [INFO] [stdout] 300 | struct ConnectingTcpFallback { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectingTcpRemote` is never constructed [INFO] [stdout] --> hyper/src/client/connect/http.rs:304:8 [INFO] [stdout] | [INFO] [stdout] 304 | struct ConnectingTcpRemote { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> hyper/src/client/connect/http.rs:309:8 [INFO] [stdout] | [INFO] [stdout] 308 | impl ConnectingTcpRemote { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 309 | fn new(addrs: dns::SocketAddrs, connect_timeout: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `connect` is never used [INFO] [stdout] --> hyper/src/client/connect/http.rs:314:14 [INFO] [stdout] | [INFO] [stdout] 313 | impl ConnectingTcpRemote { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 314 | async fn connect(&mut self, config: &Config) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bind_local_address` is never used [INFO] [stdout] --> hyper/src/client/connect/http.rs:318:4 [INFO] [stdout] | [INFO] [stdout] 318 | fn bind_local_address( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connect` is never used [INFO] [stdout] --> hyper/src/client/connect/http.rs:326:4 [INFO] [stdout] | [INFO] [stdout] 326 | fn connect( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `connect` is never used [INFO] [stdout] --> hyper/src/client/connect/http.rs:395:14 [INFO] [stdout] | [INFO] [stdout] 394 | impl ConnectingTcp<'_> { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 395 | async fn connect(mut self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config`, `conn_builder`, `connector`, and `pool` are never read [INFO] [stdout] --> hyper/src/client/client.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Client { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 25 | config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | conn_builder: conn::Builder, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 27 | connector: C, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 28 | pool: Pool>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `retry_canceled_requests`, `set_host`, and `ver` are never read [INFO] [stdout] --> hyper/src/client/client.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 32 | retry_canceled_requests: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | set_host: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | ver: Ver, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> hyper/src/client/client.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct ResponseFuture { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 39 | inner: SyncWrapper>> + Send>>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> hyper/src/client/client.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 42 | impl Client { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub(crate) fn new() -> Client { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `error_version` are never used [INFO] [stdout] --> hyper/src/client/client.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 100 | impl ResponseFuture { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 101 | fn new(value: F) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | fn error_version(ver: Version) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `conn_info` and `tx` are never read [INFO] [stdout] --> hyper/src/client/client.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 123 | struct PoolClient { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 124 | conn_info: Connected, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 125 | tx: PoolTx, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Http1` and `Http2` are never constructed [INFO] [stdout] --> hyper/src/client/client.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 127 | enum PoolTx { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 128 | Http1(conn::SendRequest), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 129 | #[cfg(feature = "http2")] [INFO] [stdout] 130 | Http2(conn::Http2SendRequest), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `poll_ready`, `is_http1`, `is_http2`, `is_ready`, and `is_closed` are never used [INFO] [stdout] --> hyper/src/client/client.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 132 | impl PoolClient { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 133 | fn poll_ready(&mut self, cx: &mut task::Context<'_>) -> Poll> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | fn is_http1(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | fn is_http2(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn is_ready(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn is_closed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send_request_retryable` is never used [INFO] [stdout] --> hyper/src/client/client.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 149 | impl PoolClient { [INFO] [stdout] | ----------------------------------------- method in this implementation [INFO] [stdout] 150 | fn send_request_retryable( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ClientError` is never used [INFO] [stdout] --> hyper/src/client/client.rs:182:6 [INFO] [stdout] | [INFO] [stdout] 182 | enum ClientError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `map_with_reused` is never used [INFO] [stdout] --> hyper/src/client/client.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 190 | impl ClientError { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 191 | fn map_with_reused(conn_reused: bool) -> impl Fn((crate::Error, Option>)) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ClientConnectError` is never used [INFO] [stdout] --> hyper/src/client/client.rs:205:6 [INFO] [stdout] | [INFO] [stdout] 205 | enum ClientConnectError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Auto` and `Http2` are never constructed [INFO] [stdout] --> hyper/src/client/client.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 211 | pub(super) enum Ver { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] 212 | Auto, [INFO] [stdout] | ^^^^ [INFO] [stdout] 213 | Http2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ver` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `origin_form` is never used [INFO] [stdout] --> hyper/src/client/client.rs:215:4 [INFO] [stdout] | [INFO] [stdout] 215 | fn origin_form(uri: &mut Uri) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `absolute_form` is never used [INFO] [stdout] --> hyper/src/client/client.rs:218:4 [INFO] [stdout] | [INFO] [stdout] 218 | fn absolute_form(uri: &mut Uri) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `authority_form` is never used [INFO] [stdout] --> hyper/src/client/client.rs:221:4 [INFO] [stdout] | [INFO] [stdout] 221 | fn authority_form(uri: &mut Uri) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_domain` is never used [INFO] [stdout] --> hyper/src/client/client.rs:224:4 [INFO] [stdout] | [INFO] [stdout] 224 | fn extract_domain(uri: &mut Uri, is_http_connect: bool) -> crate::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `domain_as_uri` is never used [INFO] [stdout] --> hyper/src/client/client.rs:227:4 [INFO] [stdout] | [INFO] [stdout] 227 | fn domain_as_uri((scheme, auth): PoolKey) -> Uri { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_scheme` is never used [INFO] [stdout] --> hyper/src/client/client.rs:230:4 [INFO] [stdout] | [INFO] [stdout] 230 | fn set_scheme(uri: &mut Uri, scheme: Scheme) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_non_default_port` is never used [INFO] [stdout] --> hyper/src/client/client.rs:233:4 [INFO] [stdout] | [INFO] [stdout] 233 | fn get_non_default_port(uri: &Uri) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_schema_secure` is never used [INFO] [stdout] --> hyper/src/client/client.rs:236:4 [INFO] [stdout] | [INFO] [stdout] 236 | fn is_schema_secure(uri: &Uri) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client_config`, `conn_builder`, and `pool_config` are never read [INFO] [stdout] --> hyper/src/client/client.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 242 | pub struct Builder { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 243 | client_config: Config, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 244 | conn_builder: conn::Builder, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 245 | pool_config: pool::Config, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Builder` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> hyper/src/client/client.rs:257:19 [INFO] [stdout] | [INFO] [stdout] 252 | impl Builder { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 257 | pub(crate) fn keep_alive(&mut self, val: bool) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub(crate) fn keep_alive_timeout(&mut self, val: D) -> &mut Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | pub(crate) fn pool_idle_timeout(&mut self, val: D) -> &mut Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub(crate) fn max_idle_per_host(&mut self, max_idle: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub(crate) fn pool_max_idle_per_host(&mut self, max_idle: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub(crate) fn http1_read_buf_exact_size(&mut self, sz: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 291 | pub(crate) fn http1_max_buf_size(&mut self, max: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | pub(crate) fn http1_allow_spaces_after_header_name_in_responses( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | pub(crate) fn http1_allow_obsolete_multiline_headers_in_responses( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | pub(crate) fn http1_ignore_invalid_headers_in_responses(&mut self, val: bool) -> &mut Builder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | pub(crate) fn http1_writev(&mut self, enabled: bool) -> &mut Builder { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub(crate) fn http1_title_case_headers(&mut self, val: bool) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | pub(crate) fn http1_preserve_header_case(&mut self, val: bool) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | pub(crate) fn http09_responses(&mut self, val: bool) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 331 | pub(crate) fn http2_only(&mut self, val: bool) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | pub(crate) fn http2_initial_stream_window_size( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | pub(crate) fn http2_initial_connection_window_size( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | pub(crate) fn http2_adaptive_window(&mut self, enabled: bool) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 361 | pub(crate) fn http2_max_frame_size(&mut self, sz: impl Into>) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 391 | pub(crate) fn http2_max_concurrent_reset_streams(&mut self, max: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 397 | pub(crate) fn http2_max_send_buf_size(&mut self, max: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 402 | pub(crate) fn retry_canceled_requests(&mut self, val: bool) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 407 | pub(crate) fn set_host(&mut self, val: bool) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 411 | pub(crate) fn executor(&mut self, exec: E) -> &mut Self [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 419 | pub(crate) fn build_http(&self) -> Client [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 427 | pub(crate) fn build(&self, connector: C) -> Client [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handshake` is never used [INFO] [stdout] --> hyper/src/client/conn.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | pub(crate) async fn handshake( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dispatch` is never read [INFO] [stdout] --> hyper/src/client/conn.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct SendRequest { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 113 | dispatch: dispatch::Sender, Response>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> hyper/src/client/conn.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct Connection [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 125 | inner: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> hyper/src/client/conn.rs:132:16 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct Builder { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 132 | pub(super) exec: Exec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 133 | h09_responses: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 134 | h1_parser_config: ParserConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 135 | h1_writev: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 136 | h1_title_case_headers: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 137 | h1_preserve_header_case: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | h1_read_buf_exact_size: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 141 | h1_max_buf_size: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | h2_builder: proto::h2::client::Config, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 146 | version: Proto, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Builder` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Http1` and `Http2` are never constructed [INFO] [stdout] --> hyper/src/client/conn.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 149 | enum Proto { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 150 | #[cfg(feature = "http1")] [INFO] [stdout] 151 | Http1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 152 | #[cfg(feature = "http2")] [INFO] [stdout] 153 | Http2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Proto` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> hyper/src/client/conn.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct ResponseFuture { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 160 | inner: ResponseFutureState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Waiting` and `Error` are never constructed [INFO] [stdout] --> hyper/src/client/conn.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 162 | enum ResponseFutureState { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 163 | Waiting(dispatch::Promise>), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 164 | Error(Option), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `io` and `read_buf` are never read [INFO] [stdout] --> hyper/src/client/conn.rs:173:16 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct Parts { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 172 | [INFO] [stdout] 173 | pub(crate) io: T, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub(crate) read_buf: Bytes, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dispatch` is never read [INFO] [stdout] --> hyper/src/client/conn.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 187 | pub(super) struct Http2SendRequest { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 188 | dispatch: dispatch::UnboundedSender, Response>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `poll_ready`, `when_ready`, `is_ready`, `is_closed`, and `into_http2` are never used [INFO] [stdout] --> hyper/src/client/conn.rs:194:19 [INFO] [stdout] | [INFO] [stdout] 190 | impl SendRequest { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 194 | pub(crate) fn poll_ready( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub(super) async fn when_ready(self) -> crate::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub(super) fn is_ready(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub(super) fn is_closed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub(super) fn into_http2(self) -> Http2SendRequest { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `send_request` and `send_request_retryable` are never used [INFO] [stdout] --> hyper/src/client/conn.rs:259:19 [INFO] [stdout] | [INFO] [stdout] 214 | / impl SendRequest [INFO] [stdout] 215 | | where [INFO] [stdout] 216 | | B: HttpBody + 'static, [INFO] [stdout] | |__________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 259 | pub(crate) fn send_request(&mut self, req: Request) -> ResponseFuture { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub(super) fn send_request_retryable( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ready` and `is_closed` are never used [INFO] [stdout] --> hyper/src/client/conn.rs:316:19 [INFO] [stdout] | [INFO] [stdout] 315 | impl Http2SendRequest { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] 316 | pub(super) fn is_ready(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | pub(super) fn is_closed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send_request_retryable` is never used [INFO] [stdout] --> hyper/src/client/conn.rs:328:19 [INFO] [stdout] | [INFO] [stdout] 324 | / impl Http2SendRequest [INFO] [stdout] 325 | | where [INFO] [stdout] 326 | | B: HttpBody + 'static, [INFO] [stdout] | |__________________________- method in this implementation [INFO] [stdout] 327 | { [INFO] [stdout] 328 | pub(super) fn send_request_retryable( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `into_parts`, `poll_without_shutdown`, `without_shutdown`, and `http2_is_extended_connect_protocol_enabled` are never used [INFO] [stdout] --> hyper/src/client/conn.rs:378:19 [INFO] [stdout] | [INFO] [stdout] 368 | / impl Connection [INFO] [stdout] 369 | | where [INFO] [stdout] 370 | | T: AsyncRead + AsyncWrite + Unpin + Send + 'static, [INFO] [stdout] 371 | | B: HttpBody + Unpin + Send + 'static, [INFO] [stdout] 372 | | B::Data: Send, [INFO] [stdout] 373 | | B::Error: Into>, [INFO] [stdout] | |____________________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 378 | pub(crate) fn into_parts(self) -> Parts { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 392 | pub(crate) fn poll_without_shutdown( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 400 | pub(crate) fn without_shutdown( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 419 | pub(crate) fn http2_is_extended_connect_protocol_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> hyper/src/client/conn.rs:447:19 [INFO] [stdout] | [INFO] [stdout] 444 | impl Builder { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 447 | pub(crate) fn new() -> Builder { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 451 | pub(crate) fn executor(&mut self, exec: E) -> &mut Builder [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 460 | pub(crate) fn http09_responses(&mut self, enabled: bool) -> &mut Builder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 482 | pub(crate) fn http1_allow_spaces_after_header_name_in_responses( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 522 | pub(crate) fn http1_allow_obsolete_multiline_headers_in_responses( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | pub(crate) fn http1_ignore_invalid_headers_in_responses( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 555 | pub(crate) fn http1_writev(&mut self, enabled: bool) -> &mut Builder { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 564 | pub(crate) fn http1_title_case_headers(&mut self, enabled: bool) -> &mut Builder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 580 | pub(crate) fn http1_preserve_header_case(&mut self, enabled: bool) -> &mut Builder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 601 | pub(crate) fn http1_read_buf_exact_size( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 618 | pub(crate) fn http1_max_buf_size(&mut self, max: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 630 | pub(crate) fn http2_only(&mut self, enabled: bool) -> &mut Builder { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 643 | pub(crate) fn http2_initial_stream_window_size( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 656 | pub(crate) fn http2_initial_connection_window_size( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 669 | pub(crate) fn http2_adaptive_window(&mut self, enabled: bool) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 679 | pub(crate) fn http2_max_frame_size( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 748 | pub(crate) fn http2_max_concurrent_reset_streams( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 763 | pub(crate) fn http2_max_send_buf_size(&mut self, max: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 771 | pub(crate) fn handshake( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RetryPromise` is never used [INFO] [stdout] --> hyper/src/client/dispatch.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) type RetryPromise = oneshot::Receiver< [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `channel` is never used [INFO] [stdout] --> hyper/src/client/dispatch.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) fn channel() -> (Sender, Receiver) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `buffered_once`, `giver`, and `inner` are never read [INFO] [stdout] --> hyper/src/client/dispatch.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) struct Sender { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | buffered_once: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | giver: want::Giver, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | [INFO] [stdout] 29 | inner: mpsc::UnboundedSender>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `giver` and `inner` are never read [INFO] [stdout] --> hyper/src/client/dispatch.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) struct UnboundedSender { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 37 | [INFO] [stdout] 38 | giver: want::SharedGiver, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | inner: mpsc::UnboundedSender>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> hyper/src/client/dispatch.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 41 | impl Sender { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 42 | pub(crate) fn poll_ready( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub(crate) fn is_ready(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub(crate) fn is_closed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn can_send(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub(crate) fn try_send(&mut self, val: T) -> Result, T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub(crate) fn send(&mut self, val: T) -> Result, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub(crate) fn unbound(self) -> UnboundedSender { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ready`, `is_closed`, and `try_send` are never used [INFO] [stdout] --> hyper/src/client/dispatch.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 69 | impl UnboundedSender { [INFO] [stdout] | -------------------------------- methods in this implementation [INFO] [stdout] 70 | pub(crate) fn is_ready(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub(crate) fn is_closed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub(crate) fn try_send(&mut self, val: T) -> Result, T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inner` and `taker` are never read [INFO] [stdout] --> hyper/src/client/dispatch.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub(crate) struct Receiver { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 87 | inner: mpsc::UnboundedReceiver>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 88 | taker: want::Taker, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Retry` and `NoRetry` are never constructed [INFO] [stdout] --> hyper/src/client/dispatch.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub(crate) enum Callback { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 118 | Retry(Option)>>>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 119 | NoRetry(Option>>), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_canceled` and `send_when` are never used [INFO] [stdout] --> hyper/src/client/dispatch.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 126 | impl Callback { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] 127 | #[cfg(feature = "http2")] [INFO] [stdout] 128 | pub(crate) fn is_canceled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub(crate) async fn send_when( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> hyper/src/client/pool.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub(super) struct Pool { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 16 | inner: Option>>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Shared` and `Unique` are never constructed [INFO] [stdout] --> hyper/src/client/pool.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub(super) enum Reservation { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 37 | Shared(T, T), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | Unique(T), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `connecting`, `idle`, `max_idle_per_host`, `waiters`, and `timeout` are never read [INFO] [stdout] --> hyper/src/client/pool.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | struct PoolInner { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 45 | connecting: HashSet, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 46 | idle: HashMap>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | max_idle_per_host: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | waiters: HashMap>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | timeout: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> hyper/src/client/pool.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | struct WeakOpt(Option>); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 55 | struct WeakOpt(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `idle_timeout` and `max_idle_per_host` are never read [INFO] [stdout] --> hyper/src/client/pool.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 57 | pub(super) struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 58 | pub(super) idle_timeout: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 59 | pub(super) max_idle_per_host: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_enabled` is never used [INFO] [stdout] --> hyper/src/client/pool.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 61 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 62 | pub(super) fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `is_enabled` are never used [INFO] [stdout] --> hyper/src/client/pool.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 66 | impl Pool { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 67 | pub(super) fn new(config: Config, __exec: &Exec) -> Pool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `checkout`, `connecting`, `pooled`, and `reuse` are never used [INFO] [stdout] --> hyper/src/client/pool.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 78 | impl Pool { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | pub(super) fn checkout(&self, key: Key) -> Checkout { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub(super) fn connecting(&self, key: &Key, ver: Ver) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub(super) fn pooled( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn reuse(&self, key: &Key, value: T) -> Pooled { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IdlePopper` is never constructed [INFO] [stdout] --> hyper/src/client/pool.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | struct IdlePopper<'a, T> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop` is never used [INFO] [stdout] --> hyper/src/client/pool.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 110 | impl<'a, T: Poolable + 'a> IdlePopper<'a, T> { [INFO] [stdout] | -------------------------------------------- method in this implementation [INFO] [stdout] 111 | fn pop(self, expiration: &Expiration) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `put` and `connected` are never used [INFO] [stdout] --> hyper/src/client/pool.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 115 | impl PoolInner { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] 116 | fn put(&mut self, key: Key, value: T, __pool_ref: &Arc>>) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn connected(&mut self, key: &Key) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clean_waiters` is never used [INFO] [stdout] --> hyper/src/client/pool.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 129 | impl PoolInner { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 134 | fn clean_waiters(&mut self, key: &Key) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value`, `is_reused`, `key`, and `pool` are never read [INFO] [stdout] --> hyper/src/client/pool.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 151 | pub(super) struct Pooled { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 152 | value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 153 | is_reused: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 154 | key: Key, [INFO] [stdout] | ^^^ [INFO] [stdout] 155 | pool: WeakOpt>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_reused`, `is_pool_enabled`, `as_ref`, and `as_mut` are never used [INFO] [stdout] --> hyper/src/client/pool.rs:158:19 [INFO] [stdout] | [INFO] [stdout] 157 | impl Pooled { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] 158 | pub(super) fn is_reused(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub(super) fn is_pool_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | fn as_ref(&self) -> &T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | fn as_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `idle_at` and `value` are never read [INFO] [stdout] --> hyper/src/client/pool.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 192 | struct Idle { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 193 | idle_at: Instant, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 194 | value: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key`, `pool`, and `waiter` are never read [INFO] [stdout] --> hyper/src/client/pool.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 197 | pub(super) struct Checkout { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 198 | key: Key, [INFO] [stdout] | ^^^ [INFO] [stdout] 199 | pool: Pool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 200 | waiter: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `poll_waiter` and `checkout` are never used [INFO] [stdout] --> hyper/src/client/pool.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 210 | impl Checkout { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] 211 | fn poll_waiter( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | fn checkout(&mut self, cx: &mut task::Context<'_>) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key` and `pool` are never read [INFO] [stdout] --> hyper/src/client/pool.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 233 | pub(super) struct Connecting { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 234 | key: Key, [INFO] [stdout] | ^^^ [INFO] [stdout] 235 | pool: WeakOpt>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `alpn_h2` is never used [INFO] [stdout] --> hyper/src/client/pool.rs:238:19 [INFO] [stdout] | [INFO] [stdout] 237 | impl Connecting { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] 238 | pub(super) fn alpn_h2(self, pool: &Pool) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Expiration` is never constructed [INFO] [stdout] --> hyper/src/client/pool.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | struct Expiration(Option); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `expires` are never used [INFO] [stdout] --> hyper/src/client/pool.rs:249:8 [INFO] [stdout] | [INFO] [stdout] 248 | impl Expiration { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 249 | fn new(dur: Option) -> Expiration { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | fn expires(&self, instant: Instant) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `none`, `downgrade`, and `upgrade` are never used [INFO] [stdout] --> hyper/src/client/pool.rs:270:8 [INFO] [stdout] | [INFO] [stdout] 269 | impl WeakOpt { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 270 | fn none() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | fn downgrade(arc: &Arc) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | fn upgrade(&self) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inner` and `builder` are never read [INFO] [stdout] --> hyper/src/client/service.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) struct Connect { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 20 | inner: C, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | builder: Builder, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Connect` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> hyper/src/client/service.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 24 | impl Connect { [INFO] [stdout] | ------------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub(crate) fn new(inner: C, builder: Builder) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `exec` is never read [INFO] [stdout] --> hyper/src/server/conn.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) struct Http { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 71 | pub(crate) exec: E, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Http` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `H1Only`, `H2Only`, and `Fallback` are never constructed [INFO] [stdout] --> hyper/src/server/conn.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 76 | enum ConnectionMode { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 77 | #[cfg(feature = "http1")] [INFO] [stdout] 78 | H1Only, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | H2Only, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | Fallback, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Http1Dispatcher` is never used [INFO] [stdout] --> hyper/src/server/conn.rs:93:6 [INFO] [stdout] | [INFO] [stdout] 93 | type Http1Dispatcher = [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Http2Server` is never used [INFO] [stdout] --> hyper/src/server/conn.rs:98:6 [INFO] [stdout] | [INFO] [stdout] 98 | type Http2Server = proto::h2::Server, S, B, E>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ToHttp2` and `Http1Only` are never constructed [INFO] [stdout] --> hyper/src/server/conn.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 114 | enum Fallback { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 115 | ToHttp2(proto::h2::server::Config, E), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 116 | Http1Only, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Fallback` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> hyper/src/server/conn.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct UpgradeableConnection { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 146 | pub(super) inner: (T, S, E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `time`, `interval`, and `retries` are never read [INFO] [stdout] --> hyper/src/server/tcp.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct TcpKeepaliveConfig { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 14 | time: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | interval: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | retries: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TcpKeepaliveConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `incoming`, `make_service`, and `protocol` are never read [INFO] [stdout] --> hyper/src/server/server.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Server { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 15 | incoming: I, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | make_service: S, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | protocol: E, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `incoming` and `protocol` are never read [INFO] [stdout] --> hyper/src/server/server.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Builder { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 22 | incoming: I, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | protocol: E, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Builder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `future` and `protocol` are never read [INFO] [stdout] --> hyper/src/server/server.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct Connecting { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 108 | future: F, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 109 | protocol: Http_, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> hyper/src/server/server.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct NewSvcTask> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 86 | state: State, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a` and `future` are never read [INFO] [stdout] --> hyper/src/server/server.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub(super) struct State> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 90 | a: (I, S, E), [INFO] [stdout] | ^ [INFO] [stdout] 91 | future: W::Future, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling warp v0.3.3 (/opt/rustwide/workdir/warp) [INFO] [stdout] warning: 847 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FutureExt`, `future` [INFO] [stdout] --> warp/src/server.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use futures_util::{future, FutureExt, TryFuture, TryStream, TryStreamExt}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hyper::server::conn::AddrIncoming` [INFO] [stdout] --> warp/src/server.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use hyper::server::conn::AddrIncoming; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `make_service_fn`, `service_fn` [INFO] [stdout] --> warp/src/server.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use hyper::service::{make_service_fn, service_fn}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hyper::Server as HyperServer` [INFO] [stdout] --> warp/src/server.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use hyper::Server as HyperServer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::Infallible` [INFO] [stdout] --> warp/src/server.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::convert::Infallible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> warp/src/filters/fs.rs:216:24 [INFO] [stdout] | [INFO] [stdout] 216 | async fn file_metadata(f: TkFile) -> Result<(TkFile, Metadata), Rejection> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> warp/src/filters/trace.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | trace(|info: Info<'_>| loop {}) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> warp/src/server.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | pub async fn run(self, addr: impl Into) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `incoming` [INFO] [stdout] --> warp/src/server.rs:51:40 [INFO] [stdout] | [INFO] [stdout] 51 | pub async fn run_incoming(self, incoming: I) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_incoming` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> warp/src/server.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn bind(self, addr: impl Into + 'static) -> impl Future + 'static { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> warp/src/server.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | pub async fn try_bind(self, addr: impl Into) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `incoming` [INFO] [stdout] --> warp/src/server.rs:98:39 [INFO] [stdout] | [INFO] [stdout] 98 | async fn serve_incoming2(self, incoming: I) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_incoming` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `incoming` [INFO] [stdout] --> warp/src/server.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | incoming: I, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_incoming` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signal` [INFO] [stdout] --> warp/src/server.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | signal: impl Future + Send + 'static, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_signal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> warp/src/test.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | f: &F, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> warp/src/test.rs:319:35 [INFO] [stdout] | [INFO] [stdout] 319 | pub async fn matches(self, f: &F) -> bool [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> warp/src/test.rs:331:33 [INFO] [stdout] | [INFO] [stdout] 331 | pub async fn reply(self, f: &F) -> Response [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> warp/src/filters/sse.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | use std::fmt::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> warp/src/error.rs:10:42 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn new>(err: E) -> Error { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> warp/src/error.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> warp/src/error.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `infallible` [INFO] [stdout] --> warp/src/error.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | fn from(infallible: Infallible) -> Error { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_infallible` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> warp/src/filter/and.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 53 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> warp/src/filter/and.rs:69:39 [INFO] [stdout] | [INFO] [stdout] 69 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/filter/and.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> warp/src/filter/and_then.rs:63:35 [INFO] [stdout] | [INFO] [stdout] 63 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> warp/src/filter/and_then.rs:78:39 [INFO] [stdout] | [INFO] [stdout] 78 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/filter/and_then.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> warp/src/filter/boxed.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | pub(super) fn new(filter: F) -> BoxedFilter [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> warp/src/filter/boxed.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> warp/src/filter/map.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> warp/src/filter/map_err.rs:41:39 [INFO] [stdout] | [INFO] [stdout] 41 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/filter/map_err.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> warp/src/filter/or.rs:59:39 [INFO] [stdout] | [INFO] [stdout] 59 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/filter/or.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> warp/src/filter/or_else.rs:66:39 [INFO] [stdout] | [INFO] [stdout] 66 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/filter/or_else.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> warp/src/filter/recover.rs:73:39 [INFO] [stdout] | [INFO] [stdout] 73 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/filter/recover.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> warp/src/filter/service.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn service(filter: F) -> FilteredService [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> warp/src/filter/service.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | req: Request, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remote_addr` [INFO] [stdout] --> warp/src/filter/service.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | remote_addr: Option, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remote_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> warp/src/filter/service.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | fn call(&mut self, req: Request) -> Self::Future { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> warp/src/filter/service.rs:108:35 [INFO] [stdout] | [INFO] [stdout] 108 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> warp/src/filter/then.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 55 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> warp/src/filter/then.rs:66:39 [INFO] [stdout] | [INFO] [stdout] 66 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/filter/then.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> warp/src/filter/unify.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> warp/src/filter/untuple_one.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> warp/src/filter/wrap.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | fn wrap(&self, filter: F) -> Self::Wrapped { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> warp/src/filter/wrap.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn wrap_fn(func: F) -> WrapFn [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> warp/src/filter/wrap.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | fn wrap(&self, filter: T) -> Self::Wrapped { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fun` [INFO] [stdout] --> warp/src/filter/mod.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | fn map_err(self, _internal: Internal, fun: F) -> MapErr [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fun` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> warp/src/filter/mod.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | fn and(self, other: F) -> And [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> warp/src/filter/mod.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | fn or(self, other: F) -> Or [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fun` [INFO] [stdout] --> warp/src/filter/mod.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | fn map(self, fun: F) -> Map [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fun` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fun` [INFO] [stdout] --> warp/src/filter/mod.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | fn then(self, fun: F) -> Then [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fun` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fun` [INFO] [stdout] --> warp/src/filter/mod.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | fn and_then(self, fun: F) -> AndThen [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fun` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fun` [INFO] [stdout] --> warp/src/filter/mod.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 96 | fn or_else(self, fun: F) -> OrElse [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fun` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fun` [INFO] [stdout] --> warp/src/filter/mod.rs:106:25 [INFO] [stdout] | [INFO] [stdout] 106 | fn recover(self, fun: F) -> Recover [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fun` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wrapper` [INFO] [stdout] --> warp/src/filter/mod.rs:132:22 [INFO] [stdout] | [INFO] [stdout] 132 | fn with(self, wrapper: W) -> W::Wrapped [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wrapper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> warp/src/filter/mod.rs:155:31 [INFO] [stdout] | [INFO] [stdout] 155 | pub(crate) fn filter_fn(func: F) -> FilterFn [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> warp/src/filters/body.rs:240:48 [INFO] [stdout] | [INFO] [stdout] 240 | fn decode(mut buf: B) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/filters/body.rs:240:44 [INFO] [stdout] | [INFO] [stdout] 240 | fn decode(mut buf: B) -> Result { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> warp/src/filters/body.rs:251:44 [INFO] [stdout] | [INFO] [stdout] 251 | fn decode(buf: B) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> warp/src/filters/body.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | cx: &mut Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> warp/src/filters/body.rs:301:19 [INFO] [stdout] | [INFO] [stdout] 301 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> warp/src/filters/body.rs:313:19 [INFO] [stdout] | [INFO] [stdout] 313 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `allow` [INFO] [stdout] --> warp/src/filters/cors.rs:60:40 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn allow_credentials(mut self, allow: bool) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_allow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/filters/cors.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn allow_credentials(mut self, allow: bool) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> warp/src/filters/cors.rs:68:38 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn allow_method(mut self, method: M) -> Self [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/filters/cors.rs:68:28 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn allow_method(mut self, method: M) -> Self [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `methods` [INFO] [stdout] --> warp/src/filters/cors.rs:79:39 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn allow_methods(mut self, methods: I) -> Self [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/filters/cors.rs:79:29 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn allow_methods(mut self, methods: I) -> Self [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> warp/src/filters/cors.rs:93:38 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn allow_header(mut self, header: H) -> Self [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/filters/cors.rs:93:28 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn allow_header(mut self, header: H) -> Self [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> warp/src/filters/cors.rs:106:39 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn allow_headers(mut self, headers: I) -> Self [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/filters/cors.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn allow_headers(mut self, headers: I) -> Self [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> warp/src/filters/cors.rs:118:39 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn expose_header(mut self, header: H) -> Self [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/filters/cors.rs:118:29 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn expose_header(mut self, header: H) -> Self [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> warp/src/filters/cors.rs:129:40 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn expose_headers(mut self, headers: I) -> Self [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/filters/cors.rs:129:30 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn expose_headers(mut self, headers: I) -> Self [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/filters/cors.rs:142:29 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn allow_any_origin(mut self) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> warp/src/filters/cors.rs:150:31 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn allow_origin(self, origin: impl IntoOrigin) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origins` [INFO] [stdout] --> warp/src/filters/cors.rs:158:39 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn allow_origins(mut self, origins: I) -> Self [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origins` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/filters/cors.rs:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn allow_origins(mut self, origins: I) -> Self [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seconds` [INFO] [stdout] --> warp/src/filters/cors.rs:178:30 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn max_age(mut self, seconds: impl Seconds) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seconds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/filters/cors.rs:178:20 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn max_age(mut self, seconds: impl Seconds) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> warp/src/filters/cors.rs:198:20 [INFO] [stdout] | [INFO] [stdout] 198 | fn wrap(&self, inner: F) -> Self::Wrapped { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> warp/src/filters/cors.rs:210:20 [INFO] [stdout] | [INFO] [stdout] 210 | fn wrap(&self, inner: F) -> Self::Wrapped { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> warp/src/filters/cors.rs:225:19 [INFO] [stdout] | [INFO] [stdout] 225 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> warp/src/filters/cors.rs:230:19 [INFO] [stdout] | [INFO] [stdout] 230 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> warp/src/filters/cors.rs:325:39 [INFO] [stdout] | [INFO] [stdout] 325 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> warp/src/filters/fs.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 109 | fn sanitize_path(base: impl AsRef, tail: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tail` [INFO] [stdout] --> warp/src/filters/fs.rs:109:42 [INFO] [stdout] | [INFO] [stdout] 109 | fn sanitize_path(base: impl AsRef, tail: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_modified` [INFO] [stdout] --> warp/src/filters/fs.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | fn check(self, last_modified: Option) -> Cond { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_modified` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `range` [INFO] [stdout] --> warp/src/filters/fs.rs:270:16 [INFO] [stdout] | [INFO] [stdout] 270 | fn bytes_range(range: Option, max_len: u64) -> Result<(u64, u64), BadRange> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_len` [INFO] [stdout] --> warp/src/filters/fs.rs:270:38 [INFO] [stdout] | [INFO] [stdout] 270 | fn bytes_range(range: Option, max_len: u64) -> Result<(u64, u64), BadRange> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> warp/src/filters/fs.rs:325:21 [INFO] [stdout] | [INFO] [stdout] 325 | fn reserve_at_least(buf: &mut BytesMut, cap: usize) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cap` [INFO] [stdout] --> warp/src/filters/fs.rs:325:41 [INFO] [stdout] | [INFO] [stdout] 325 | fn reserve_at_least(buf: &mut BytesMut, cap: usize) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metadata` [INFO] [stdout] --> warp/src/filters/fs.rs:329:21 [INFO] [stdout] | [INFO] [stdout] 329 | fn optimal_buf_size(metadata: &Metadata) -> usize { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metadata` [INFO] [stdout] --> warp/src/filters/fs.rs:333:19 [INFO] [stdout] | [INFO] [stdout] 333 | fn get_block_size(metadata: &Metadata) -> usize { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> warp/src/filters/log.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn custom(func: F) -> Log [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> warp/src/filters/log.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 85 | fn wrap(&self, filter: F) -> Self::Wrapped { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> warp/src/filters/log.rs:133:19 [INFO] [stdout] | [INFO] [stdout] 133 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> warp/src/filters/log.rs:193:43 [INFO] [stdout] | [INFO] [stdout] 193 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/filters/log.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> warp/src/filters/path.rs:137:16 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn path

(p: P) -> Exact> [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> warp/src/filters/path.rs:204:19 [INFO] [stdout] | [INFO] [stdout] 204 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> warp/src/filters/path.rs:234:19 [INFO] [stdout] | [INFO] [stdout] 234 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> warp/src/filters/path.rs:250:19 [INFO] [stdout] | [INFO] [stdout] 250 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `route` [INFO] [stdout] --> warp/src/filters/path.rs:261:23 [INFO] [stdout] | [INFO] [stdout] 261 | fn with_segment(route: &mut Route, func: F) -> Result [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_route` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> warp/src/filters/path.rs:261:42 [INFO] [stdout] | [INFO] [stdout] 261 | fn with_segment(route: &mut Route, func: F) -> Result [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `route` [INFO] [stdout] --> warp/src/filters/path.rs:267:19 [INFO] [stdout] | [INFO] [stdout] 267 | fn path_and_query(route: &Route) -> PathAndQuery { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_route` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> warp/src/filters/reply.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn header(name: K, value: V) -> WithHeader [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> warp/src/filters/reply.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn header(name: K, value: V) -> WithHeader [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> warp/src/filters/reply.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn headers(headers: HeaderMap) -> WithHeaders { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> warp/src/filters/reply.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn default_header(name: K, value: V) -> WithDefaultHeader [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> warp/src/filters/reply.rs:99:38 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn default_header(name: K, value: V) -> WithDefaultHeader [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> warp/src/filters/reply.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 120 | fn wrap(&self, filter: F) -> Self::Wrapped { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> warp/src/filters/reply.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | fn wrap(&self, filter: F) -> Self::Wrapped { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> warp/src/filters/reply.rs:151:20 [INFO] [stdout] | [INFO] [stdout] 151 | fn wrap(&self, filter: F) -> Self::Wrapped { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> warp/src/filters/reply.rs:155:32 [INFO] [stdout] | [INFO] [stdout] 155 | fn assert_name_and_value(name: K, value: V) -> (HeaderName, HeaderValue) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> warp/src/filters/reply.rs:155:41 [INFO] [stdout] | [INFO] [stdout] 155 | fn assert_name_and_value(name: K, value: V) -> (HeaderName, HeaderValue) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> warp/src/filters/reply.rs:175:24 [INFO] [stdout] | [INFO] [stdout] 175 | fn call(&self, args: One) -> Self::Output { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> warp/src/filters/reply.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | fn call(&self, args: One) -> Self::Output { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> warp/src/filters/reply.rs:197:24 [INFO] [stdout] | [INFO] [stdout] 197 | fn call(&self, args: One) -> Self::Output { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> warp/src/filters/sse.rs:78:44 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn data>(mut self, data: T) -> Event { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/filters/sse.rs:78:34 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn data>(mut self, data: T) -> Event { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> warp/src/filters/sse.rs:83:46 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn json_data(mut self, data: T) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/filters/sse.rs:83:36 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn json_data(mut self, data: T) -> Result { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> warp/src/filters/sse.rs:88:47 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn comment>(mut self, comment: T) -> Event { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/filters/sse.rs:88:37 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn comment>(mut self, comment: T) -> Event { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> warp/src/filters/sse.rs:93:45 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn event>(mut self, event: T) -> Event { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/filters/sse.rs:93:35 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn event>(mut self, event: T) -> Event { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> warp/src/filters/sse.rs:98:28 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn retry(mut self, duration: Duration) -> Event { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/filters/sse.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn retry(mut self, duration: Duration) -> Event { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> warp/src/filters/sse.rs:103:42 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn id>(mut self, id: T) -> Event { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/filters/sse.rs:103:32 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn id>(mut self, id: T) -> Event { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> warp/src/filters/sse.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> warp/src/filters/sse.rs:266:31 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn interval(mut self, time: Duration) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/filters/sse.rs:266:21 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn interval(mut self, time: Duration) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> warp/src/filters/sse.rs:272:27 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn text(mut self, text: impl Into>) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/filters/sse.rs:272:17 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn text(mut self, text: impl Into>) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> warp/src/filters/sse.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364 | cx: &mut Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> warp/src/filters/sse.rs:375:23 [INFO] [stdout] | [INFO] [stdout] 375 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> warp/src/filters/trace.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn trace(func: F) -> Trace [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> warp/src/filters/trace.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | fn wrap(&self, filter: F) -> Self::Wrapped { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reply` [INFO] [stdout] --> warp/src/filters/trace.rs:113:37 [INFO] [stdout] | [INFO] [stdout] 113 | fn finished_logger(reply: &Result<(Traced,), E>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reply` [INFO] [stdout] --> warp/src/filters/trace.rs:116:32 [INFO] [stdout] | [INFO] [stdout] 116 | fn convert_reply(reply: R) -> (Traced,) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> warp/src/generic.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn one(val: T) -> One { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> warp/src/generic.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | fn combine(self, other: T) -> CombinedTuples [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> warp/src/generic.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | fn combine(self, other: T) -> Self::Output { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> warp/src/generic.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | fn combine(self, other: U) -> Self::Output { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> warp/src/generic.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 85 | fn call(&self, arg: crate::Rejection) -> Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> warp/src/reject.rs:79:30 [INFO] [stdout] | [INFO] [stdout] 79 | pub(crate) fn missing_header(name: &'static str) -> Rejection { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> warp/src/reject.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | pub(crate) fn invalid_header(name: &'static str) -> Rejection { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> warp/src/reject.rs:87:30 [INFO] [stdout] | [INFO] [stdout] 87 | pub(crate) fn missing_cookie(name: &'static str) -> Rejection { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> warp/src/reject.rs:112:26 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn custom(err: T) -> Rejection { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> warp/src/reject.rs:154:37 [INFO] [stdout] | [INFO] [stdout] 154 | pub(crate) fn known>(err: T) -> Rejection { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> warp/src/reject.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | fn from(err: T) -> Rejection { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `infallible` [INFO] [stdout] --> warp/src/reject.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | fn from(infallible: Infallible) -> Rejection { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_infallible` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> warp/src/reject.rs:261:19 [INFO] [stdout] | [INFO] [stdout] 261 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> warp/src/reject.rs:266:19 [INFO] [stdout] | [INFO] [stdout] 266 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> warp/src/reject.rs:301:19 [INFO] [stdout] | [INFO] [stdout] 301 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> warp/src/reject.rs:318:19 [INFO] [stdout] | [INFO] [stdout] 318 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> warp/src/reject.rs:335:19 [INFO] [stdout] | [INFO] [stdout] 335 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> warp/src/reject.rs:375:26 [INFO] [stdout] | [INFO] [stdout] 375 | fn combine(self, other: Rejection) -> Self::Combined { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> warp/src/reject.rs:382:26 [INFO] [stdout] | [INFO] [stdout] 382 | fn combine(self, other: Infallible) -> Self::Combined { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> warp/src/reply.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn json(val: &T) -> Json [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> warp/src/reply.rs:114:19 [INFO] [stdout] | [INFO] [stdout] 114 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> warp/src/reply.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn html(body: T) -> Html [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reply` [INFO] [stdout] --> warp/src/reply.rs:221:30 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn with_status(reply: T, status: StatusCode) -> WithStatus { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> warp/src/reply.rs:221:40 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn with_status(reply: T, status: StatusCode) -> WithStatus { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reply` [INFO] [stdout] --> warp/src/reply.rs:250:36 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn with_header(reply: T, name: K, value: V) -> WithHeader [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> warp/src/reply.rs:250:46 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn with_header(reply: T, name: K, value: V) -> WithHeader [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> warp/src/reply.rs:250:55 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn with_header(reply: T, name: K, value: V) -> WithHeader [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> warp/src/route.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) fn set(r: &RefCell, func: F) -> U [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> warp/src/route.rs:8:45 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) fn set(r: &RefCell, func: F) -> U [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> warp/src/route.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) fn with(func: F) -> R [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> warp/src/route.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) fn new(req: Request, remote_addr: Option) -> RefCell { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remote_addr` [INFO] [stdout] --> warp/src/route.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) fn new(req: Request, remote_addr: Option) -> RefCell { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remote_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> warp/src/route.rs:64:49 [INFO] [stdout] | [INFO] [stdout] 64 | pub(crate) fn set_unmatched_path(&mut self, index: usize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> warp/src/route.rs:73:55 [INFO] [stdout] | [INFO] [stdout] 73 | pub(crate) fn reset_matched_path_index(&mut self, index: usize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> warp/src/server.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn serve(filter: F) -> Server [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/server.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn unstable_pipeline(mut self) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> warp/src/test.rs:172:29 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn method(mut self, method: &str) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/test.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn method(mut self, method: &str) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> warp/src/test.rs:190:27 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn path(mut self, p: &str) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/test.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn path(mut self, p: &str) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> warp/src/test.rs:206:35 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn header(mut self, key: K, value: V) -> Self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> warp/src/test.rs:206:43 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn header(mut self, key: K, value: V) -> Self [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/test.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn header(mut self, key: K, value: V) -> Self [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> warp/src/test.rs:224:34 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn remote_addr(mut self, addr: SocketAddr) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/test.rs:224:24 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn remote_addr(mut self, addr: SocketAddr) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ext` [INFO] [stdout] --> warp/src/test.rs:228:35 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn extension(mut self, ext: T) -> Self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/test.rs:228:25 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn extension(mut self, ext: T) -> Self [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> warp/src/test.rs:244:27 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn body(mut self, body: impl AsRef<[u8]>) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/test.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn body(mut self, body: impl AsRef<[u8]>) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> warp/src/test.rs:255:27 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn json(mut self, val: &impl Serialize) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> warp/src/test.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn json(mut self, val: &impl Serialize) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> warp/src/test.rs:485:19 [INFO] [stdout] | [INFO] [stdout] 485 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> warp/src/transport.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | cx: &mut Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> warp/src/transport.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | buf: &mut ReadBuf<'_>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> warp/src/transport.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | cx: &mut Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> warp/src/transport.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | buf: &[u8], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> warp/src/transport.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | cx: &mut Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> warp/src/transport.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | cx: &mut Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> warp/src/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Error { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 7 | inner: BoxError, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> warp/src/error.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 9 | impl Error { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 10 | pub(crate) fn new>(err: E) -> Error { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `func` is never read [INFO] [stdout] --> warp/src/filter/mod.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 177 | pub(crate) struct FilterFn { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 178 | func: F, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FilterFn` 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 `first` and `second` are never read [INFO] [stdout] --> warp/src/filter/and.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct And { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 11 | pub(super) first: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | pub(super) second: U, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `And` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `First`, `Second`, and `Done` are never constructed [INFO] [stdout] --> warp/src/filter/and.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | enum State { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 38 | First(#[pin] T, U), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | Second(Option, #[pin] U::Future), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 40 | Done, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filter` and `callback` are never read [INFO] [stdout] --> warp/src/filter/and_then.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct AndThen { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | pub(super) filter: T, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | pub(super) callback: F, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AndThen` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `First`, `Second`, and `Done` are never constructed [INFO] [stdout] --> warp/src/filter/and_then.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 41 | enum State [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 48 | First(#[pin] T, F), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 49 | Second(#[pin] F::Output), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 50 | Done, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `filter` is never read [INFO] [stdout] --> warp/src/filter/boxed.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct BoxedFilter { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 28 | filter: Arc< [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> warp/src/filter/boxed.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 36 | impl BoxedFilter { [INFO] [stdout] | ------------------------------------ associated function in this implementation [INFO] [stdout] 37 | pub(super) fn new(filter: F) -> BoxedFilter [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `filter` is never read [INFO] [stdout] --> warp/src/filter/boxed.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | struct BoxingFilter { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 67 | filter: F, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filter` and `callback` are never read [INFO] [stdout] --> warp/src/filter/map.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Map { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 9 | pub(super) filter: T, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | pub(super) callback: F, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Map` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filter` and `callback` are never read [INFO] [stdout] --> warp/src/filter/map_err.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MapErr { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 10 | pub(super) filter: T, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | pub(super) callback: F, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MapErr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first` and `second` are never read [INFO] [stdout] --> warp/src/filter/or.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Or { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 13 | pub(super) first: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | pub(super) second: U, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Or` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `First`, `Second`, and `Done` are never constructed [INFO] [stdout] --> warp/src/filter/or.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | enum State { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 38 | First(#[pin] T::Future, U), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | Second(Option, #[pin] U::Future), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 40 | Done, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> warp/src/filter/or.rs:43:18 [INFO] [stdout] | [WARN] too many lines in the log, truncating it