[INFO] cloning repository https://github.com/sozu-proxy/sozu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sozu-proxy/sozu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsozu-proxy%2Fsozu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsozu-proxy%2Fsozu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c77980d661cf325940e73b1bc6633bb0b207729f [INFO] checking sozu-proxy/sozu against try#3bb2879ea9e58d65b875f9a98df44f4a43ce2597 for pr-85387 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsozu-proxy%2Fsozu" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sozu-proxy/sozu 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 git repo https://github.com/sozu-proxy/sozu [INFO] finished tweaking git repo https://github.com/sozu-proxy/sozu [INFO] tweaked toml for git repo https://github.com/sozu-proxy/sozu written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/sozu-proxy/sozu 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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quickcheck v1.0.3 [INFO] [stderr] Downloaded webpki v0.22.0 [INFO] [stderr] Downloaded trailer v0.1.2 [INFO] [stderr] Downloaded rusty_ulid v0.10.1 [INFO] [stderr] Downloaded tiny_http v0.8.1 [INFO] [stderr] Downloaded poule v0.3.2 [INFO] [stderr] Downloaded tokio-core v0.1.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] a20dfe41b7f535247d2a742286722052de427a439a9bf84a5f4cb0120131d245 [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" "a20dfe41b7f535247d2a742286722052de427a439a9bf84a5f4cb0120131d245", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a20dfe41b7f535247d2a742286722052de427a439a9bf84a5f4cb0120131d245", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a20dfe41b7f535247d2a742286722052de427a439a9bf84a5f4cb0120131d245", kill_on_drop: false }` [INFO] [stdout] a20dfe41b7f535247d2a742286722052de427a439a9bf84a5f4cb0120131d245 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] ce27e7d9a718e22b61f143015d403023988d0d5f6458ff952ed4677a7105cac2 [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" "ce27e7d9a718e22b61f143015d403023988d0d5f6458ff952ed4677a7105cac2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling const_fn v0.4.7 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking trailer v0.1.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking pool v0.1.4 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Compiling sozu-lib v0.12.0 (/opt/rustwide/workdir/lib) [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking chunked_transfer v1.4.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking encode_unicode v0.3.6 [INFO] [stderr] Compiling sozu v0.12.0 (/opt/rustwide/workdir/bin) [INFO] [stderr] Compiling sozuctl v0.12.0 (/opt/rustwide/workdir/ctl) [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking lexical-core v0.7.6 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling jemalloc-sys v0.3.2 [INFO] [stderr] Checking bitvec v0.19.5 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking regex v1.4.6 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking nix v0.15.0 [INFO] [stderr] Checking poule v0.3.2 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking prettytable-rs v0.8.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking tokio-reactor v0.1.12 [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 tempfile v3.2.0 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tiny_http v0.8.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tokio-core v0.1.18 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Checking hdrhistogram v7.2.0 [INFO] [stderr] Checking ureq v2.1.1 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling structopt-derive v0.3.5 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking sozu-command-lib v0.12.0 (/opt/rustwide/workdir/command) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> command/src/config.rs:386:32 [INFO] [stdout] | [INFO] [stdout] 386 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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: `serde::ser::SerializeMap` [INFO] [stdout] --> command/src/command.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::ser::SerializeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::btree_map::Iter` [INFO] [stdout] --> command/src/state.rs:801:5 [INFO] [stdout] | [INFO] [stdout] 801 | use std::collections::btree_map::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> command/src/proxy.rs:503:30 [INFO] [stdout] | [INFO] [stdout] 503 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [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: `std::iter::repeat` [INFO] [stdout] --> command/src/buffer/fixed.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::repeat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> command/src/config.rs:386:32 [INFO] [stdout] | [INFO] [stdout] 386 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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: `serde::ser::SerializeMap` [INFO] [stdout] --> command/src/command.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::ser::SerializeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::btree_map::Iter` [INFO] [stdout] --> command/src/state.rs:801:5 [INFO] [stdout] | [INFO] [stdout] 801 | use std::collections::btree_map::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> command/src/proxy.rs:503:30 [INFO] [stdout] | [INFO] [stdout] 503 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [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: `std::iter::repeat` [INFO] [stdout] --> command/src/buffer/fixed.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::repeat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::PrimitiveDateTime::now`: This method returns a value that assumes an offset of UTC. [INFO] [stdout] --> command/src/logging.rs:685:36 [INFO] [stdout] | [INFO] [stdout] 685 | let t = time::PrimitiveDateTime::now(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::PrimitiveDateTime::unix_epoch`: This method assumes an offset of UTC. [INFO] [stdout] --> command/src/logging.rs:686:61 [INFO] [stdout] | [INFO] [stdout] 686 | (Rfc3339Time { inner: t, }, (t - time::PrimitiveDateTime::unix_epoch()).whole_nanoseconds()) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::PrimitiveDateTime::now`: This method returns a value that assumes an offset of UTC. [INFO] [stdout] --> command/src/logging.rs:685:36 [INFO] [stdout] | [INFO] [stdout] 685 | let t = time::PrimitiveDateTime::now(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::PrimitiveDateTime::unix_epoch`: This method assumes an offset of UTC. [INFO] [stdout] --> command/src/logging.rs:686:61 [INFO] [stdout] | [INFO] [stdout] 686 | (Rfc3339Time { inner: t, }, (t - time::PrimitiveDateTime::unix_epoch()).whole_nanoseconds()) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `nix::sys::socket::CmsgSpace::::new`: Use the cmsg_space! macro instead [INFO] [stdout] --> command/src/scm_socket.rs:138:63 [INFO] [stdout] | [INFO] [stdout] 138 | let mut cmsg = socket::CmsgSpace::<[RawFd; MAX_FDS_OUT]>::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `nix::sys::socket::CmsgSpace::::new`: Use the cmsg_space! macro instead [INFO] [stdout] --> command/src/scm_socket.rs:138:63 [INFO] [stdout] | [INFO] [stdout] 138 | let mut cmsg = socket::CmsgSpace::<[RawFd; MAX_FDS_OUT]>::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_id` [INFO] [stdout] --> command/src/config.rs:297:31 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn to_http_front(&self, app_id: &str) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash1` [INFO] [stdout] --> command/src/state.rs:1158:9 [INFO] [stdout] | [INFO] [stdout] 1158 | let hash1 = state.hash_state(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hash1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash2` [INFO] [stdout] --> command/src/state.rs:1159:9 [INFO] [stdout] | [INFO] [stdout] 1159 | let hash2 = state2.hash_state(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hash2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_id` [INFO] [stdout] --> command/src/config.rs:297:31 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn to_http_front(&self, app_id: &str) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `path` [INFO] [stdout] --> command/src/command.rs:103:3 [INFO] [stdout] | [INFO] [stdout] 103 | path : String [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_true` [INFO] [stdout] --> command/src/proxy.rs:684:4 [INFO] [stdout] | [INFO] [stdout] 684 | fn is_true(b: &bool) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `path` [INFO] [stdout] --> command/src/command.rs:103:3 [INFO] [stdout] | [INFO] [stdout] 103 | path : String [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_true` [INFO] [stdout] --> command/src/proxy.rs:684:4 [INFO] [stdout] | [INFO] [stdout] 684 | fn is_true(b: &bool) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking sozu-command-futures v0.12.0 (/opt/rustwide/workdir/futures) [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> futures/src/lib.rs:94:61 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn send(&mut self, message: CommandRequest) -> Box + Send + 'static> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send + 'static` [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> futures/src/lib.rs:94:61 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn send(&mut self, message: CommandRequest) -> Box + Send + 'static> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send + 'static` [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sozu_command::buffer::fixed::Buffer` [INFO] [stdout] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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: `super::*` [INFO] [stdout] --> lib/src/protocol/http/mod.rs:1536:7 [INFO] [stdout] | [INFO] [stdout] 1536 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sozu_command::buffer::fixed::Buffer` [INFO] [stdout] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/src/protocol/http/mod.rs:205:38 [INFO] [stdout] | [INFO] [stdout] 205 | 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] --> lib/src/protocol/http/mod.rs:308:35 [INFO] [stdout] | [INFO] [stdout] 308 | 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] --> lib/src/protocol/http/mod.rs:446:9 [INFO] [stdout] | [INFO] [stdout] 446 | 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] --> lib/src/http.rs:1287:31 [INFO] [stdout] | [INFO] [stdout] 1287 | 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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/src/protocol/http/mod.rs:205:38 [INFO] [stdout] | [INFO] [stdout] 205 | 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] --> lib/src/protocol/http/mod.rs:308:35 [INFO] [stdout] | [INFO] [stdout] 308 | 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] --> lib/src/protocol/http/mod.rs:446:9 [INFO] [stdout] | [INFO] [stdout] 446 | 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] --> lib/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] --> lib/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] --> lib/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] --> lib/src/http.rs:1287:31 [INFO] [stdout] | [INFO] [stdout] 1287 | 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] --> lib/src/http.rs:1395:9 [INFO] [stdout] | [INFO] [stdout] 1395 | 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] --> lib/src/http.rs:1452:9 [INFO] [stdout] | [INFO] [stdout] 1452 | 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] --> lib/src/http.rs:1528:9 [INFO] [stdout] | [INFO] [stdout] 1528 | 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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/src/server.rs:1481:6 [INFO] [stdout] | [INFO] [stdout] 1481 | 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] --> lib/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] --> lib/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] --> lib/src/protocol/http/mod.rs:1480:13 [INFO] [stdout] | [INFO] [stdout] 1480 | 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] --> lib/src/protocol/http/mod.rs:1484:13 [INFO] [stdout] | [INFO] [stdout] 1484 | 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] --> lib/src/protocol/http/mod.rs:1492:21 [INFO] [stdout] | [INFO] [stdout] 1492 | 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] --> lib/src/protocol/http/mod.rs:1495:21 [INFO] [stdout] | [INFO] [stdout] 1495 | 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] --> lib/src/protocol/http/mod.rs:1501:21 [INFO] [stdout] | [INFO] [stdout] 1501 | 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] --> lib/src/protocol/http/mod.rs:1504:21 [INFO] [stdout] | [INFO] [stdout] 1504 | 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] --> lib/src/protocol/http/mod.rs:1508:13 [INFO] [stdout] | [INFO] [stdout] 1508 | / match (peer_ip, peer_port, front_ip) { [INFO] [stdout] 1509 | | (IpAddr::V4(_), peer_port, IpAddr::V4(_)) => { [INFO] [stdout] 1510 | | write!(&mut s, "proto={};for={}:{};by={}\r\n", [INFO] [stdout] 1511 | | proto, peer_ip, peer_port, front_ip) [INFO] [stdout] ... | [INFO] [stdout] 1524 | | }, [INFO] [stdout] 1525 | | }; [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] --> lib/src/protocol/http/mod.rs:1528:9 [INFO] [stdout] | [INFO] [stdout] 1528 | 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: 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/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] --> lib/src/server.rs:1481:6 [INFO] [stdout] | [INFO] [stdout] 1481 | 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] --> lib/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] --> lib/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] --> lib/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] --> lib/src/protocol/http/mod.rs:1480:13 [INFO] [stdout] | [INFO] [stdout] 1480 | 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] --> lib/src/protocol/http/mod.rs:1484:13 [INFO] [stdout] | [INFO] [stdout] 1484 | 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] --> lib/src/protocol/http/mod.rs:1492:21 [INFO] [stdout] | [INFO] [stdout] 1492 | 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] --> lib/src/protocol/http/mod.rs:1495:21 [INFO] [stdout] | [INFO] [stdout] 1495 | 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] --> lib/src/protocol/http/mod.rs:1501:21 [INFO] [stdout] | [INFO] [stdout] 1501 | 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] --> lib/src/protocol/http/mod.rs:1504:21 [INFO] [stdout] | [INFO] [stdout] 1504 | 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] --> lib/src/protocol/http/mod.rs:1508:13 [INFO] [stdout] | [INFO] [stdout] 1508 | / match (peer_ip, peer_port, front_ip) { [INFO] [stdout] 1509 | | (IpAddr::V4(_), peer_port, IpAddr::V4(_)) => { [INFO] [stdout] 1510 | | write!(&mut s, "proto={};for={}:{};by={}\r\n", [INFO] [stdout] 1511 | | proto, peer_ip, peer_port, front_ip) [INFO] [stdout] ... | [INFO] [stdout] 1524 | | }, [INFO] [stdout] 1525 | | }; [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] --> lib/src/protocol/http/mod.rs:1528:9 [INFO] [stdout] | [INFO] [stdout] 1528 | 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] --> lib/src/http.rs:1546:5 [INFO] [stdout] | [INFO] [stdout] 1546 | 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] --> lib/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: 69 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking jemallocator v0.3.2 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> bin/src/command/executor.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | pub tasks: Slab + Send>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [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: `command::PROTOCOL_VERSION` [INFO] [stdout] --> bin/src/command/client.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | command::PROTOCOL_VERSION [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LineWriter` [INFO] [stdout] --> bin/src/logging.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{LineWriter,stdout}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> bin/src/command/executor.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | pub tasks: Slab + Send>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [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: `futures::executor::spawn` [INFO] [stdout] --> bin/src/command/executor.rs:284:7 [INFO] [stdout] | [INFO] [stdout] 284 | use futures::executor::spawn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::task` [INFO] [stdout] --> bin/src/command/executor.rs:285:7 [INFO] [stdout] | [INFO] [stdout] 285 | use futures::task; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `result` [INFO] [stdout] --> bin/src/command/executor.rs:286:31 [INFO] [stdout] | [INFO] [stdout] 286 | use futures::future::{lazy, result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `command::PROTOCOL_VERSION` [INFO] [stdout] --> bin/src/command/client.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | command::PROTOCOL_VERSION [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LineWriter` [INFO] [stdout] --> bin/src/logging.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{LineWriter,stdout}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query_type` [INFO] [stdout] --> bin/src/command/orders.rs:615:32 [INFO] [stdout] | [INFO] [stdout] 615 | &Query::Certificates(ref query_type) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_query_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query_type` [INFO] [stdout] --> bin/src/command/orders.rs:615:32 [INFO] [stdout] | [INFO] [stdout] 615 | &Query::Certificates(ref query_type) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_query_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `send_processing` [INFO] [stdout] --> bin/src/command/executor.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn send_processing(worker_id: Token, message: ProxyRequest) -> (FutureProcessing, FutureAnswer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 36s [INFO] running `Command { std: "docker" "inspect" "ce27e7d9a718e22b61f143015d403023988d0d5f6458ff952ed4677a7105cac2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce27e7d9a718e22b61f143015d403023988d0d5f6458ff952ed4677a7105cac2", kill_on_drop: false }` [INFO] [stdout] ce27e7d9a718e22b61f143015d403023988d0d5f6458ff952ed4677a7105cac2