[INFO] fetching crate sozu-lib 0.12.0... [INFO] checking sozu-lib-0.12.0 against try#3bb2879ea9e58d65b875f9a98df44f4a43ce2597 for pr-85387 [INFO] extracting crate sozu-lib 0.12.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate sozu-lib 0.12.0 on toolchain 3bb2879ea9e58d65b875f9a98df44f4a43ce2597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sozu-lib 0.12.0 [INFO] finished tweaking crates.io crate sozu-lib 0.12.0 [INFO] tweaked toml for crates.io crate sozu-lib 0.12.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate sozu-lib 0.12.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tiny_http v0.8.1 [INFO] [stderr] Downloaded rusty_ulid v0.10.1 [INFO] [stderr] Downloaded hdrhistogram v7.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01a7e5e1a52b37c8e20dc563a14e1e779086e378ad226b86e5292bd4e3e87bde [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "01a7e5e1a52b37c8e20dc563a14e1e779086e378ad226b86e5292bd4e3e87bde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01a7e5e1a52b37c8e20dc563a14e1e779086e378ad226b86e5292bd4e3e87bde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01a7e5e1a52b37c8e20dc563a14e1e779086e378ad226b86e5292bd4e3e87bde", kill_on_drop: false }` [INFO] [stdout] 01a7e5e1a52b37c8e20dc563a14e1e779086e378ad226b86e5292bd4e3e87bde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fe9e320a5648c5a5455fb2aef2a5afba992ebce8957313ca17d254d8a49d7e9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4fe9e320a5648c5a5455fb2aef2a5afba992ebce8957313ca17d254d8a49d7e9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling const_fn v0.4.7 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking pool v0.1.4 [INFO] [stderr] Checking chunked_transfer v1.4.0 [INFO] [stderr] Checking trailer v0.1.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking ascii v1.0.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Checking bitvec v0.19.5 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking lexical-core v0.7.6 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking regex v1.4.6 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking poule v0.3.2 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking tiny_http v0.8.1 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking rusty_ulid v0.10.1 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking hdrhistogram v7.2.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Checking ureq v2.1.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking sozu-command-lib v0.12.0 [INFO] [stderr] Checking sozu-lib v0.12.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sozu_command::buffer::fixed::Buffer` [INFO] [stdout] --> src/buffer_queue.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sozu_command::buffer::fixed::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sozu_command::buffer::fixed::Buffer` [INFO] [stdout] --> src/protocol/http/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use sozu_command::buffer::fixed::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sozu_command::buffer::fixed::Buffer` [INFO] [stdout] --> src/protocol/pipe.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sozu_command::buffer::fixed::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sozu_command::buffer::fixed::Buffer` [INFO] [stdout] --> src/protocol/proxy_protocol/relay.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use sozu_command::buffer::fixed::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sozu_command::buffer::fixed::Buffer` [INFO] [stdout] --> src/protocol/proxy_protocol/send.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sozu_command::buffer::fixed::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sozu_command::buffer::fixed::Buffer` [INFO] [stdout] --> src/protocol/proxy_protocol/expect.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use sozu_command::buffer::fixed::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sozu_command::buffer::fixed::Buffer` [INFO] [stdout] --> src/http.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use sozu_command::buffer::fixed::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sozu_command::buffer::fixed::Buffer` [INFO] [stdout] --> src/tcp.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use sozu_command::buffer::fixed::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sozu_command::buffer::fixed::Buffer` [INFO] [stdout] --> src/server.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use sozu_command::buffer::fixed::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sozu_command::buffer::fixed::Buffer` [INFO] [stdout] --> src/https_rustls/configuration.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use sozu_command::buffer::fixed::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sozu_command::buffer::fixed::Buffer` [INFO] [stdout] --> src/https_rustls/session.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use sozu_command::buffer::fixed::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sozu_command::buffer::fixed::Buffer` [INFO] [stdout] --> src/buffer_queue.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sozu_command::buffer::fixed::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sozu_command::buffer::fixed::Buffer` [INFO] [stdout] --> src/protocol/http/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use sozu_command::buffer::fixed::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/protocol/http/mod.rs:1537:7 [INFO] [stdout] | [INFO] [stdout] 1537 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sozu_command::buffer::fixed::Buffer` [INFO] [stdout] --> src/protocol/pipe.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sozu_command::buffer::fixed::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sozu_command::buffer::fixed::Buffer` [INFO] [stdout] --> src/protocol/proxy_protocol/relay.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use sozu_command::buffer::fixed::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sozu_command::buffer::fixed::Buffer` [INFO] [stdout] --> src/protocol/proxy_protocol/send.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sozu_command::buffer::fixed::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sozu_command::buffer::fixed::Buffer` [INFO] [stdout] --> src/protocol/proxy_protocol/expect.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use sozu_command::buffer::fixed::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sozu_command::buffer::fixed::Buffer` [INFO] [stdout] --> src/http.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use sozu_command::buffer::fixed::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sozu_command::buffer::fixed::Buffer` [INFO] [stdout] --> src/tcp.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use sozu_command::buffer::fixed::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tcp.rs:1252:41 [INFO] [stdout] | [INFO] [stdout] 1252 | let mut sessions: Slab>,SessionToken> = Slab::with_capacity(max_buffers); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ProxySessionCast` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sozu_command::buffer::fixed::Buffer` [INFO] [stdout] --> src/server.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use sozu_command::buffer::fixed::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sozu_command::buffer::fixed::Buffer` [INFO] [stdout] --> src/https_rustls/configuration.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use sozu_command::buffer::fixed::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sozu_command::buffer::fixed::Buffer` [INFO] [stdout] --> src/https_rustls/session.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use sozu_command::buffer::fixed::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/https_rustls/session.rs:808:7 [INFO] [stdout] | [INFO] [stdout] 808 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/tcp.rs:1134:49 [INFO] [stdout] | [INFO] [stdout] 1134 | use std::sync::atomic::{AtomicBool, Ordering, ATOMIC_BOOL_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/tcp.rs:1139:38 [INFO] [stdout] | [INFO] [stdout] 1139 | static TEST_FINISHED: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev` [INFO] [stdout] --> src/lib.rs:634:9 [INFO] [stdout] | [INFO] [stdout] 634 | let prev = self.wait_time; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prev` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/metrics/network_drain.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | self.app_data.retain(|ref key, ref value| value.updated || now.duration_since(value.last_sent) < Duration::new(600, 00)); [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] --> src/metrics/network_drain.rs:69:35 [INFO] [stdout] | [INFO] [stdout] 69 | self.backend_data.retain(|ref key, ref value| value.updated || now.duration_since(value.last_sent) < Duration::new(600, 00)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/metrics/local_drain.rs:88:30 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn new(app_id: String, h: Histogram) -> BackendMetrics { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/metrics/writer.rs:182:25 [INFO] [stdout] | [INFO] [stdout] 182 | for i in 0..(sent as usize) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `before` [INFO] [stdout] --> src/pool.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | let before = self.inner.position; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_before` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `before` [INFO] [stdout] --> src/pool.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let before = self.inner.end; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_before` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/pool.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | let pos = self.inner.position; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/pool.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | let end = self.inner.end; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/socket.rs:32:40 [INFO] [stdout] | [INFO] [stdout] 32 | fn socket_write_vectored(&mut self, buf: &[&iovec::IoVec]) -> (usize, SocketResult) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sz` [INFO] [stdout] --> src/socket.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 244 | Ok(sz) => {}, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sent_size` is assigned to, but never used [INFO] [stdout] --> src/socket.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | let mut sent_size = 0usize; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sent_size` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `public_address` [INFO] [stdout] --> src/protocol/http/mod.rs:206:38 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn added_request_header(&self, public_address: SocketAddr, client_address: Option) -> AddedRequestHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sz` [INFO] [stdout] --> src/protocol/http/mod.rs:309:35 [INFO] [stdout] | [INFO] [stdout] 309 | if let Some(Continue::Expects(sz)) = self.request.as_ref().and_then(|r| r.get_keep_alive().as_ref().map(|conn| conn.continues)) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wait_time` [INFO] [stdout] --> src/protocol/http/mod.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | let wait_time = metrics.wait_time; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wait_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/http.rs:1288:31 [INFO] [stdout] | [INFO] [stdout] 1288 | fn listen_port_state(&self, port: &u16) -> ListenPortState { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `features` [INFO] [stdout] --> src/server.rs:191:20 [INFO] [stdout] | [INFO] [stdout] 191 | FEATURES.with(|features| { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_features` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `front` [INFO] [stdout] --> src/https_rustls/configuration.rs:173:15 [INFO] [stdout] | [INFO] [stdout] 173 | let front = fronts.remove(pos); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_front` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/https_rustls/configuration.rs:214:24 [INFO] [stdout] | [INFO] [stdout] 214 | fn accept(&mut self, token: ListenToken) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/https_rustls/configuration.rs:722:31 [INFO] [stdout] | [INFO] [stdout] 722 | fn listen_port_state(&self, port: &u16) -> ListenPortState { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev` [INFO] [stdout] --> src/lib.rs:634:9 [INFO] [stdout] | [INFO] [stdout] 634 | let prev = self.wait_time; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prev` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/metrics/network_drain.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | self.app_data.retain(|ref key, ref value| value.updated || now.duration_since(value.last_sent) < Duration::new(600, 00)); [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] --> src/metrics/network_drain.rs:69:35 [INFO] [stdout] | [INFO] [stdout] 69 | self.backend_data.retain(|ref key, ref value| value.updated || now.duration_since(value.last_sent) < Duration::new(600, 00)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/metrics/local_drain.rs:88:30 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn new(app_id: String, h: Histogram) -> BackendMetrics { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/metrics/writer.rs:182:25 [INFO] [stdout] | [INFO] [stdout] 182 | for i in 0..(sent as usize) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `before` [INFO] [stdout] --> src/pool.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | let before = self.inner.position; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_before` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `before` [INFO] [stdout] --> src/pool.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let before = self.inner.end; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_before` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/pool.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | let pos = self.inner.position; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/pool.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | let end = self.inner.end; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/buffer_queue.rs:504:10 [INFO] [stdout] | [INFO] [stdout] 504 | let (pool, mut b) = buf_with_capacity(10); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/socket.rs:32:40 [INFO] [stdout] | [INFO] [stdout] 32 | fn socket_write_vectored(&mut self, buf: &[&iovec::IoVec]) -> (usize, SocketResult) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sz` [INFO] [stdout] --> src/socket.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 244 | Ok(sz) => {}, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sent_size` is assigned to, but never used [INFO] [stdout] --> src/socket.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | let mut sent_size = 0usize; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sent_size` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `public_address` [INFO] [stdout] --> src/protocol/http/mod.rs:206:38 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn added_request_header(&self, public_address: SocketAddr, client_address: Option) -> AddedRequestHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sz` [INFO] [stdout] --> src/protocol/http/mod.rs:309:35 [INFO] [stdout] | [INFO] [stdout] 309 | if let Some(Continue::Expects(sz)) = self.request.as_ref().and_then(|r| r.get_keep_alive().as_ref().map(|conn| conn.continues)) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wait_time` [INFO] [stdout] --> src/protocol/http/mod.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | let wait_time = metrics.wait_time; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wait_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/protocol/http/parser/tests.rs:581:10 [INFO] [stdout] | [INFO] [stdout] 581 | let (pool, mut buf) = buf_with_capacity(2048); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/protocol/http/parser/tests.rs:1095:10 [INFO] [stdout] | [INFO] [stdout] 1095 | let (pool, mut buf) = buf_with_capacity(2048); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/protocol/proxy_protocol/send.rs:246:11 [INFO] [stdout] | [INFO] [stdout] 246 | let stream = StdTcpStream::connect(&addr).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/http.rs:1288:31 [INFO] [stdout] | [INFO] [stdout] 1288 | fn listen_port_state(&self, port: &u16) -> ListenPortState { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jg` [INFO] [stdout] --> src/http.rs:1396:9 [INFO] [stdout] | [INFO] [stdout] 1396 | let jg = thread::spawn(move || { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_jg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jg` [INFO] [stdout] --> src/http.rs:1453:9 [INFO] [stdout] | [INFO] [stdout] 1453 | let jg = thread::spawn(move|| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_jg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jg` [INFO] [stdout] --> src/http.rs:1529:9 [INFO] [stdout] | [INFO] [stdout] 1529 | let jg = thread::spawn(move || { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_jg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/backends.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | for stream in listener.incoming() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/tcp.rs:1230:15 [INFO] [stdout] | [INFO] [stdout] 1230 | Err(e) => { println!("connection failed"); } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/tcp.rs:1206:11 [INFO] [stdout] | [INFO] [stdout] 1206 | let response = b" END"; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/tcp.rs:1159:9 [INFO] [stdout] | [INFO] [stdout] 1159 | let tx = start_proxy(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `features` [INFO] [stdout] --> src/server.rs:191:20 [INFO] [stdout] | [INFO] [stdout] 191 | FEATURES.with(|features| { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_features` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `front` [INFO] [stdout] --> src/https_rustls/configuration.rs:173:15 [INFO] [stdout] | [INFO] [stdout] 173 | let front = fronts.remove(pos); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_front` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/https_rustls/configuration.rs:214:24 [INFO] [stdout] | [INFO] [stdout] 214 | fn accept(&mut self, token: ListenToken) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/https_rustls/configuration.rs:722:31 [INFO] [stdout] | [INFO] [stdout] 722 | fn listen_port_state(&self, port: &u16) -> ListenPortState { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/metrics/local_drain.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn new(app_id: String, h: Histogram) -> BackendMetrics { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/metrics/local_drain.rs:338:10 [INFO] [stdout] | [INFO] [stdout] 338 | pub fn new() -> TimeSerie { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/metrics/local_drain.rs:350:10 [INFO] [stdout] | [INFO] [stdout] 350 | pub fn add(&mut self, value: u32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `increment` [INFO] [stdout] --> src/metrics/local_drain.rs:374:10 [INFO] [stdout] | [INFO] [stdout] 374 | pub fn increment(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `filtered` [INFO] [stdout] --> src/metrics/local_drain.rs:378:10 [INFO] [stdout] | [INFO] [stdout] 378 | pub fn filtered(&mut self) -> FilteredTimeSerie { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_sent_at` [INFO] [stdout] --> src/metrics/local_drain.rs:404:10 [INFO] [stdout] | [INFO] [stdout] 404 | pub fn update_sent_at(&mut self, now: Instant) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_ws` [INFO] [stdout] --> src/protocol/http/parser/mod.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn is_ws(i: u8) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `trailer_line` [INFO] [stdout] --> src/protocol/http/parser/mod.rs:452:4 [INFO] [stdout] | [INFO] [stdout] 452 | fn trailer_line(i: &[u8]) -> IResult<&[u8], &[u8]> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/load_balancing.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 31 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `request_id` [INFO] [stdout] --> src/tcp.rs:184:6 [INFO] [stdout] | [INFO] [stdout] 184 | fn request_id(&self) -> Option<&Ulid> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `listen_port_state` [INFO] [stdout] --> src/server.rs:1479:6 [INFO] [stdout] | [INFO] [stdout] 1479 | fn listen_port_state(&self, port: &u16) -> ListenPortState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/metrics/local_drain.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | h.record(value as u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/metrics/local_drain.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | (*v1).record(v2 as u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/protocol/http/mod.rs:1481:13 [INFO] [stdout] | [INFO] [stdout] 1481 | write!(&mut s, "X-Forwarded-Proto: {}\r\n", proto); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/protocol/http/mod.rs:1485:13 [INFO] [stdout] | [INFO] [stdout] 1485 | write!(&mut s, "X-Forwarded-Port: {}\r\n", front_port); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/protocol/http/mod.rs:1493:21 [INFO] [stdout] | [INFO] [stdout] 1493 | write!(&mut s, "X-Forwarded-For: {}\r\n", peer_ip); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/protocol/http/mod.rs:1496:21 [INFO] [stdout] | [INFO] [stdout] 1496 | write!(&mut s, "X-Forwarded-For: {}, {}\r\n", value, peer_ip); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/protocol/http/mod.rs:1502:21 [INFO] [stdout] | [INFO] [stdout] 1502 | write!(&mut s, "Forwarded: "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/protocol/http/mod.rs:1505:21 [INFO] [stdout] | [INFO] [stdout] 1505 | write!(&mut s, "Forwarded: {}, ", value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/protocol/http/mod.rs:1509:13 [INFO] [stdout] | [INFO] [stdout] 1509 | / match (peer_ip, peer_port, front_ip) { [INFO] [stdout] 1510 | | (IpAddr::V4(_), peer_port, IpAddr::V4(_)) => { [INFO] [stdout] 1511 | | write!(&mut s, "proto={};for={}:{};by={}\r\n", [INFO] [stdout] 1512 | | proto, peer_ip, peer_port, front_ip) [INFO] [stdout] ... | [INFO] [stdout] 1525 | | }, [INFO] [stdout] 1526 | | }; [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/protocol/http/mod.rs:1529:9 [INFO] [stdout] | [INFO] [stdout] 1529 | write!(&mut s, "Sozu-Id: {}\r\n{}", self.request_id, closing_header); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read examples/../assets/cert_test.pem: No such file or directory (os error 2) [INFO] [stdout] --> examples/main.rs:137:15 [INFO] [stdout] | [INFO] [stdout] 137 | let cert2 = include_str!("../assets/cert_test.pem"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read examples/../assets/key_test.pem: No such file or directory (os error 2) [INFO] [stdout] --> examples/main.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | let key2 = include_str!("../assets/key_test.pem"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sozu-lib` [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/metrics/local_drain.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn new(app_id: String, h: Histogram) -> BackendMetrics { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/metrics/local_drain.rs:338:10 [INFO] [stdout] | [INFO] [stdout] 338 | pub fn new() -> TimeSerie { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/metrics/local_drain.rs:350:10 [INFO] [stdout] | [INFO] [stdout] 350 | pub fn add(&mut self, value: u32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `increment` [INFO] [stdout] --> src/metrics/local_drain.rs:374:10 [INFO] [stdout] | [INFO] [stdout] 374 | pub fn increment(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `filtered` [INFO] [stdout] --> src/metrics/local_drain.rs:378:10 [INFO] [stdout] | [INFO] [stdout] 378 | pub fn filtered(&mut self) -> FilteredTimeSerie { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_sent_at` [INFO] [stdout] --> src/metrics/local_drain.rs:404:10 [INFO] [stdout] | [INFO] [stdout] 404 | pub fn update_sent_at(&mut self, now: Instant) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_ws` [INFO] [stdout] --> src/protocol/http/parser/mod.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn is_ws(i: u8) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `trailer_line` [INFO] [stdout] --> src/protocol/http/parser/mod.rs:452:4 [INFO] [stdout] | [INFO] [stdout] 452 | fn trailer_line(i: &[u8]) -> IResult<&[u8], &[u8]> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/load_balancing.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 31 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `request_id` [INFO] [stdout] --> src/tcp.rs:184:6 [INFO] [stdout] | [INFO] [stdout] 184 | fn request_id(&self) -> Option<&Ulid> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `listen_port_state` [INFO] [stdout] --> src/server.rs:1479:6 [INFO] [stdout] | [INFO] [stdout] 1479 | fn listen_port_state(&self, port: &u16) -> ListenPortState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/metrics/local_drain.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | h.record(value as u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/metrics/local_drain.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | (*v1).record(v2 as u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/buffer_queue.rs:505:5 [INFO] [stdout] | [INFO] [stdout] 505 | b.buffer.write(&b"ABCDEFGHIJ"[..]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/protocol/http/mod.rs:1481:13 [INFO] [stdout] | [INFO] [stdout] 1481 | write!(&mut s, "X-Forwarded-Proto: {}\r\n", proto); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/protocol/http/mod.rs:1485:13 [INFO] [stdout] | [INFO] [stdout] 1485 | write!(&mut s, "X-Forwarded-Port: {}\r\n", front_port); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/protocol/http/mod.rs:1493:21 [INFO] [stdout] | [INFO] [stdout] 1493 | write!(&mut s, "X-Forwarded-For: {}\r\n", peer_ip); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/protocol/http/mod.rs:1496:21 [INFO] [stdout] | [INFO] [stdout] 1496 | write!(&mut s, "X-Forwarded-For: {}, {}\r\n", value, peer_ip); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/protocol/http/mod.rs:1502:21 [INFO] [stdout] | [INFO] [stdout] 1502 | write!(&mut s, "Forwarded: "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/protocol/http/mod.rs:1505:21 [INFO] [stdout] | [INFO] [stdout] 1505 | write!(&mut s, "Forwarded: {}, ", value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/protocol/http/mod.rs:1509:13 [INFO] [stdout] | [INFO] [stdout] 1509 | / match (peer_ip, peer_port, front_ip) { [INFO] [stdout] 1510 | | (IpAddr::V4(_), peer_port, IpAddr::V4(_)) => { [INFO] [stdout] 1511 | | write!(&mut s, "proto={};for={}:{};by={}\r\n", [INFO] [stdout] 1512 | | proto, peer_ip, peer_port, front_ip) [INFO] [stdout] ... | [INFO] [stdout] 1525 | | }, [INFO] [stdout] 1526 | | }; [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/protocol/http/mod.rs:1529:9 [INFO] [stdout] | [INFO] [stdout] 1529 | write!(&mut s, "Sozu-Id: {}\r\n{}", self.request_id, closing_header); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/http.rs:1547:5 [INFO] [stdout] | [INFO] [stdout] 1547 | client.set_read_timeout(Some(Duration::new(5,0))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tcp.rs:1286:7 [INFO] [stdout] | [INFO] [stdout] 1286 | / scm.send_listeners(&Listeners { [INFO] [stdout] 1287 | | http: Vec::new(), [INFO] [stdout] 1288 | | tls: Vec::new(), [INFO] [stdout] 1289 | | tcp: Vec::new(), [INFO] [stdout] 1290 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 71 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4fe9e320a5648c5a5455fb2aef2a5afba992ebce8957313ca17d254d8a49d7e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fe9e320a5648c5a5455fb2aef2a5afba992ebce8957313ca17d254d8a49d7e9", kill_on_drop: false }` [INFO] [stdout] 4fe9e320a5648c5a5455fb2aef2a5afba992ebce8957313ca17d254d8a49d7e9