[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] 17ee0097898fd4742c40c163e9003fd05fc810ba [INFO] checking sozu-proxy/sozu against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsozu-proxy%2Fsozu" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sozu-proxy/sozu on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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-1/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" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/jobserver:/tmp/crater-runner-fifo:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b006fe58a1145b3372e9ffd0e9117b459082743f5ea13f47092c22162dd070a3 [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" "b006fe58a1145b3372e9ffd0e9117b459082743f5ea13f47092c22162dd070a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b006fe58a1145b3372e9ffd0e9117b459082743f5ea13f47092c22162dd070a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b006fe58a1145b3372e9ffd0e9117b459082743f5ea13f47092c22162dd070a3", kill_on_drop: false }` [INFO] [stdout] b006fe58a1145b3372e9ffd0e9117b459082743f5ea13f47092c22162dd070a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/jobserver:/tmp/crater-runner-fifo:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "RUSTUP_TOOLCHAIN=3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "-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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/tmp/crater-runner-fifo/jobserver-crater-fwd" "/opt/rustwide/cargo-home/bin/cargo" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd1a1ef59656eb98d4b8bffe0226c5c72e662273c6c5253c0491eccdb5f30934 [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" "cd1a1ef59656eb98d4b8bffe0226c5c72e662273c6c5253c0491eccdb5f30934", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [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] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling syn v1.0.69 [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 ryu v1.0.5 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling const_fn v0.4.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking pool v0.1.4 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling lexical-core v0.7.5 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Compiling sozu-lib v0.11.59 (/opt/rustwide/workdir/lib) [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking unicode-width v0.1.8 [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] Checking vec_map v0.8.2 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Checking ascii v1.0.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking encode_unicode v0.3.6 [INFO] [stderr] Compiling sozu v0.11.59 (/opt/rustwide/workdir/bin) [INFO] [stderr] Compiling sozuctl v0.11.59 (/opt/rustwide/workdir/ctl) [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [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] 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 ring v0.16.20 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling jemalloc-sys v0.3.2 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [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 dirs v1.0.5 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking bitvec v0.19.5 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking prettytable-rs v0.8.0 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking sha2 v0.9.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 rustls v0.19.0 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking tiny_http v0.8.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Checking hdrhistogram v7.2.0 [INFO] [stderr] Checking tokio-fs v0.1.7 [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 ureq v2.1.0 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tokio-core v0.1.18 [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.11.59 (/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] [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> command/src/proxy.rs:482:30 [INFO] [stdout] | [INFO] [stdout] 482 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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:11 [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:36 [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:20 [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: field is never read: `path` [INFO] [stdout] --> command/src/command.rs:102:3 [INFO] [stdout] | [INFO] [stdout] 102 | path : String [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [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] [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> command/src/proxy.rs:482:30 [INFO] [stdout] | [INFO] [stdout] 482 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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:11 [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:36 [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:20 [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:1081:9 [INFO] [stdout] | [INFO] [stdout] 1081 | 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:1082:9 [INFO] [stdout] | [INFO] [stdout] 1082 | 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: field is never read: `path` [INFO] [stdout] --> command/src/command.rs:102:3 [INFO] [stdout] | [INFO] [stdout] 102 | path : String [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/pool.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub type Reset = pool_crate::Reset; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn pool_crate::Reset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 217 | use time::{SteadyTime,Duration}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:560:28 [INFO] [stdout] | [INFO] [stdout] 560 | pub start: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:571:29 [INFO] [stdout] | [INFO] [stdout] 571 | pub service_start: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:572:22 [INFO] [stdout] | [INFO] [stdout] 572 | pub wait_start: SteadyTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:575:29 [INFO] [stdout] | [INFO] [stdout] 575 | pub backend_start: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:576:33 [INFO] [stdout] | [INFO] [stdout] 576 | pub backend_connected: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:577:29 [INFO] [stdout] | [INFO] [stdout] 577 | pub backend_stop: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:252:27 [INFO] [stdout] | [INFO] [stdout] 252 | fn last_event(&self) -> SteadyTime; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:585:27 [INFO] [stdout] | [INFO] [stdout] 585 | start: Some(SteadyTime::now()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:591:22 [INFO] [stdout] | [INFO] [stdout] 591 | wait_start: SteadyTime::now(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:616:15 [INFO] [stdout] | [INFO] [stdout] 616 | let now = SteadyTime::now(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:630:22 [INFO] [stdout] | [INFO] [stdout] 630 | let duration = SteadyTime::now() - start; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:636:23 [INFO] [stdout] | [INFO] [stdout] 636 | self.wait_start = SteadyTime::now(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:642:29 [INFO] [stdout] | [INFO] [stdout] 642 | let last_duration = SteadyTime::now() - start; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:651:22 [INFO] [stdout] | [INFO] [stdout] 651 | Some(start) => SteadyTime::now() - start, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:657:31 [INFO] [stdout] | [INFO] [stdout] 657 | self.backend_start = Some(SteadyTime::now()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:661:35 [INFO] [stdout] | [INFO] [stdout] 661 | self.backend_connected = Some(SteadyTime::now()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:665:30 [INFO] [stdout] | [INFO] [stdout] 665 | self.backend_stop = Some(SteadyTime::now()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:673:35 [INFO] [stdout] | [INFO] [stdout] 673 | (Some(start), None) => Some(SteadyTime::now() - start), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/protocol/http/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use time::{SteadyTime, Duration}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/protocol/http/mod.rs:91:31 [INFO] [stdout] | [INFO] [stdout] 91 | pub backend_stop: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/protocol/http/mod.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | let now = SteadyTime::now(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/protocol/http/mod.rs:1191:36 [INFO] [stdout] | [INFO] [stdout] 1191 | self.backend_stop = Some(SteadyTime::now()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/protocol/http/mod.rs:1246:38 [INFO] [stdout] | [INFO] [stdout] 1246 | self.backend_stop = Some(SteadyTime::now()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/protocol/http/mod.rs:1311:36 [INFO] [stdout] | [INFO] [stdout] 1311 | self.backend_stop = Some(SteadyTime::now()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/http.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | use time::{SteadyTime,Duration}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/http.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | last_event: SteadyTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/http.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | last_event: SteadyTime::now(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/http.rs:456:17 [INFO] [stdout] | [INFO] [stdout] 456 | let dur = SteadyTime::now() - self.last_event; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/http.rs:523:23 [INFO] [stdout] | [INFO] [stdout] 523 | self.last_event = SteadyTime::now(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/http.rs:686:27 [INFO] [stdout] | [INFO] [stdout] 686 | fn last_event(&self) -> SteadyTime { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/tcp.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use time::{Duration,SteadyTime}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/tcp.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | last_event: SteadyTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/tcp.rs:125:27 [INFO] [stdout] | [INFO] [stdout] 125 | last_event: SteadyTime::now(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/tcp.rs:513:17 [INFO] [stdout] | [INFO] [stdout] 513 | let dur = SteadyTime::now() - self.last_event; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/tcp.rs:561:23 [INFO] [stdout] | [INFO] [stdout] 561 | self.last_event = SteadyTime::now(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/tcp.rs:711:27 [INFO] [stdout] | [INFO] [stdout] 711 | fn last_event(&self) -> SteadyTime { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/server.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use time::{self, SteadyTime}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/server.rs:141:64 [INFO] [stdout] | [INFO] [stdout] 141 | accept_queue: VecDeque<(TcpStream, ListenToken, Protocol, SteadyTime)>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/server.rs:279:33 [INFO] [stdout] | [INFO] [stdout] 279 | let mut last_zombie_check = SteadyTime::now(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/server.rs:391:17 [INFO] [stdout] | [INFO] [stdout] 391 | let now = SteadyTime::now(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/server.rs:1182:88 [INFO] [stdout] | [INFO] [stdout] 1182 | Ok(sock) => self.accept_queue.push_back((sock, token, Protocol::TCPListen, SteadyTime::now())), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/server.rs:1198:89 [INFO] [stdout] | [INFO] [stdout] 1198 | Ok(sock) => self.accept_queue.push_back((sock, token, Protocol::HTTPListen, SteadyTime::now())), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/server.rs:1214:90 [INFO] [stdout] | [INFO] [stdout] 1214 | Ok(sock) => self.accept_queue.push_back((sock, token, Protocol::HTTPSListen, SteadyTime::now())), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/server.rs:1236:21 [INFO] [stdout] | [INFO] [stdout] 1236 | let delay = SteadyTime::now() - timestamp; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/server.rs:1492:27 [INFO] [stdout] | [INFO] [stdout] 1492 | fn last_event(&self) -> SteadyTime { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/server.rs:1493:5 [INFO] [stdout] | [INFO] [stdout] 1493 | SteadyTime::now() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/https_rustls/session.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use time::{SteadyTime, Duration}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/https_rustls/session.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | last_event: SteadyTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/https_rustls/session.rs:88:23 [INFO] [stdout] | [INFO] [stdout] 88 | last_event: SteadyTime::now(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/https_rustls/session.rs:519:17 [INFO] [stdout] | [INFO] [stdout] 519 | let dur = SteadyTime::now() - self.last_event; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/https_rustls/session.rs:586:23 [INFO] [stdout] | [INFO] [stdout] 586 | self.last_event = SteadyTime::now(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/https_rustls/session.rs:744:27 [INFO] [stdout] | [INFO] [stdout] 744 | fn last_event(&self) -> SteadyTime { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_seconds`: Use the `whole_seconds` function [INFO] [stdout] --> lib/src/lib.rs:692:23 [INFO] [stdout] | [INFO] [stdout] 692 | let secs = self.0.num_seconds(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> lib/src/lib.rs:697:21 [INFO] [stdout] | [INFO] [stdout] 697 | let ms = self.0.num_milliseconds(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_microseconds`: Use the `whole_microseconds` function [INFO] [stdout] --> lib/src/lib.rs:700:32 [INFO] [stdout] | [INFO] [stdout] 700 | if let Some(us) = self.0.num_microseconds() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_nanoseconds`: Use the `whole_nanoseconds` function [INFO] [stdout] --> lib/src/lib.rs:705:34 [INFO] [stdout] | [INFO] [stdout] 705 | if let Some(ns) = self.0.num_nanoseconds() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> lib/src/protocol/http/mod.rs:492:57 [INFO] [stdout] | [INFO] [stdout] 492 | time!("http.request.time", &app_id, response_time.num_milliseconds()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> lib/src/server.rs:1237:47 [INFO] [stdout] | [INFO] [stdout] 1237 | time!("accept_queue.wait_time", delay.num_milliseconds()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::to_std`: Use `std::time::Duration::try_from(value)` or `value.try_into()` [INFO] [stdout] --> lib/src/server.rs:1047:65 [INFO] [stdout] | [INFO] [stdout] 1047 | let timeout = self.timer.set_timeout(self.front_timeout.to_std().unwrap(), session_token); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::to_std`: Use `std::time::Duration::try_from(value)` or `value.try_into()` [INFO] [stdout] --> lib/src/server.rs:1102:65 [INFO] [stdout] | [INFO] [stdout] 1102 | let timeout = self.timer.set_timeout(self.front_timeout.to_std().unwrap(), session_token); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::to_std`: Use `std::time::Duration::try_from(value)` or `value.try_into()` [INFO] [stdout] --> lib/src/server.rs:1149:65 [INFO] [stdout] | [INFO] [stdout] 1149 | let timeout = self.timer.set_timeout(self.front_timeout.to_std().unwrap(), session_token); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> lib/src/protocol/http/mod.rs:450:58 [INFO] [stdout] | [INFO] [stdout] 450 | time!("request_time", app_id.as_str(), response_time.num_milliseconds()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> lib/src/protocol/http/mod.rs:451:57 [INFO] [stdout] | [INFO] [stdout] 451 | time!("service_time", app_id.as_str(), service_time.num_milliseconds()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> lib/src/protocol/http/mod.rs:455:75 [INFO] [stdout] | [INFO] [stdout] 455 | record_backend_metrics!(app_id, backend_id, backend_response_time.num_milliseconds(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> lib/src/metrics/mod.rs:317:96 [INFO] [stdout] | [INFO] [stdout] 317 | m.receive_metric("connection_time", Some(app_id), Some(backend_id), MetricData::Time(t.num_milliseconds() as usize)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: lib/src/protocol/http/mod.rs:455:9 [INFO] [stdout] | [INFO] [stdout] 455 | / record_backend_metrics!(app_id, backend_id, backend_response_time.num_milliseconds(), [INFO] [stdout] 456 | | metrics.backend_connection_time(), metrics.backend_bin, metrics.backend_bout); [INFO] [stdout] | |________________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> lib/src/protocol/pipe.rs:198:50 [INFO] [stdout] | [INFO] [stdout] 198 | time!("request_time", &app_id, response_time.num_milliseconds()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> lib/src/protocol/pipe.rs:202:75 [INFO] [stdout] | [INFO] [stdout] 202 | record_backend_metrics!(app_id, backend_id, backend_response_time.num_milliseconds(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> lib/src/metrics/mod.rs:317:96 [INFO] [stdout] | [INFO] [stdout] 317 | m.receive_metric("connection_time", Some(app_id), Some(backend_id), MetricData::Time(t.num_milliseconds() as usize)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: lib/src/protocol/pipe.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | / record_backend_metrics!(app_id, backend_id, backend_response_time.num_milliseconds(), [INFO] [stdout] 203 | | metrics.backend_connection_time(), metrics.backend_bin, metrics.backend_bout); [INFO] [stdout] | |________________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> lib/src/protocol/pipe.rs:233:50 [INFO] [stdout] | [INFO] [stdout] 233 | time!("request_time", &app_id, response_time.num_milliseconds()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> lib/src/protocol/pipe.rs:237:75 [INFO] [stdout] | [INFO] [stdout] 237 | record_backend_metrics!(app_id, backend_id, backend_response_time.num_milliseconds(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> lib/src/metrics/mod.rs:317:96 [INFO] [stdout] | [INFO] [stdout] 317 | m.receive_metric("connection_time", Some(app_id), Some(backend_id), MetricData::Time(t.num_milliseconds() as usize)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: lib/src/protocol/pipe.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | / record_backend_metrics!(app_id, backend_id, backend_response_time.num_milliseconds(), [INFO] [stdout] 238 | | metrics.backend_connection_time(), metrics.backend_bin, metrics.backend_bout); [INFO] [stdout] | |________________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> lib/src/tcp.rs:146:54 [INFO] [stdout] | [INFO] [stdout] 146 | let response_time = self.metrics.response_time().num_milliseconds(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> lib/src/tcp.rs:147:53 [INFO] [stdout] | [INFO] [stdout] 147 | let service_time = self.metrics.service_time().num_milliseconds(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> lib/src/tcp.rs:153:75 [INFO] [stdout] | [INFO] [stdout] 153 | record_backend_metrics!(app_id, backend_id, backend_response_time.num_milliseconds(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> lib/src/metrics/mod.rs:317:96 [INFO] [stdout] | [INFO] [stdout] 317 | m.receive_metric("connection_time", Some(app_id), Some(backend_id), MetricData::Time(t.num_milliseconds() as usize)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: lib/src/tcp.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | / record_backend_metrics!(app_id, backend_id, backend_response_time.num_milliseconds(), [INFO] [stdout] 154 | | self.metrics.backend_response_time(), self.metrics.backend_bin, self.metrics.backend_bout); [INFO] [stdout] | |_____________________________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::to_std`: Use `std::time::Duration::try_from(value)` or `value.try_into()` [INFO] [stdout] --> lib/src/http.rs:458:50 [INFO] [stdout] | [INFO] [stdout] 458 | timer.set_timeout((*front_timeout - dur).to_std().unwrap(), token); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::to_std`: Use `std::time::Duration::try_from(value)` or `value.try_into()` [INFO] [stdout] --> lib/src/tcp.rs:515:50 [INFO] [stdout] | [INFO] [stdout] 515 | timer.set_timeout((*front_timeout - dur).to_std().unwrap(), token); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::to_std`: Use `std::time::Duration::try_from(value)` or `value.try_into()` [INFO] [stdout] --> lib/src/https_rustls/session.rs:521:50 [INFO] [stdout] | [INFO] [stdout] 521 | timer.set_timeout((*front_timeout - dur).to_std().unwrap(), token); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev` [INFO] [stdout] --> lib/src/lib.rs:623:9 [INFO] [stdout] | [INFO] [stdout] 623 | 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: `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: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] --> lib/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] --> lib/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] --> 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:190:20 [INFO] [stdout] | [INFO] [stdout] 190 | 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] [stderr] Checking sozu-command-futures v0.11.59 (/opt/rustwide/workdir/futures) [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] [INFO] [stdout] [INFO] [stdout] warning: 1 warning 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:183:6 [INFO] [stdout] | [INFO] [stdout] 183 | 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:1468:6 [INFO] [stdout] | [INFO] [stdout] 1468 | 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: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 a macro (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: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 a macro (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: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 a macro (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: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 a macro (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: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 a macro (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: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 a macro (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: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] --> lib/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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 117 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/pool.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub type Reset = pool_crate::Reset; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn pool_crate::Reset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> lib/src/protocol/http/mod.rs:1537:7 [INFO] [stdout] | [INFO] [stdout] 1537 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/tcp.rs:1251:41 [INFO] [stdout] | [INFO] [stdout] 1251 | let mut sessions: Slab>,SessionToken> = Slab::with_capacity(max_buffers); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ProxySessionCast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> lib/src/https_rustls/session.rs:807:7 [INFO] [stdout] | [INFO] [stdout] 807 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 217 | use time::{SteadyTime,Duration}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:560:28 [INFO] [stdout] | [INFO] [stdout] 560 | pub start: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:571:29 [INFO] [stdout] | [INFO] [stdout] 571 | pub service_start: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:572:22 [INFO] [stdout] | [INFO] [stdout] 572 | pub wait_start: SteadyTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:575:29 [INFO] [stdout] | [INFO] [stdout] 575 | pub backend_start: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:576:33 [INFO] [stdout] | [INFO] [stdout] 576 | pub backend_connected: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:577:29 [INFO] [stdout] | [INFO] [stdout] 577 | pub backend_stop: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:252:27 [INFO] [stdout] | [INFO] [stdout] 252 | fn last_event(&self) -> SteadyTime; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:585:27 [INFO] [stdout] | [INFO] [stdout] 585 | start: Some(SteadyTime::now()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:591:22 [INFO] [stdout] | [INFO] [stdout] 591 | wait_start: SteadyTime::now(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:616:15 [INFO] [stdout] | [INFO] [stdout] 616 | let now = SteadyTime::now(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:630:22 [INFO] [stdout] | [INFO] [stdout] 630 | let duration = SteadyTime::now() - start; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:636:23 [INFO] [stdout] | [INFO] [stdout] 636 | self.wait_start = SteadyTime::now(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:642:29 [INFO] [stdout] | [INFO] [stdout] 642 | let last_duration = SteadyTime::now() - start; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:651:22 [INFO] [stdout] | [INFO] [stdout] 651 | Some(start) => SteadyTime::now() - start, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:657:31 [INFO] [stdout] | [INFO] [stdout] 657 | self.backend_start = Some(SteadyTime::now()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:661:35 [INFO] [stdout] | [INFO] [stdout] 661 | self.backend_connected = Some(SteadyTime::now()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:665:30 [INFO] [stdout] | [INFO] [stdout] 665 | self.backend_stop = Some(SteadyTime::now()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/lib.rs:673:35 [INFO] [stdout] | [INFO] [stdout] 673 | (Some(start), None) => Some(SteadyTime::now() - start), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/protocol/http/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use time::{SteadyTime, Duration}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/protocol/http/mod.rs:91:31 [INFO] [stdout] | [INFO] [stdout] 91 | pub backend_stop: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/protocol/http/mod.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | let now = SteadyTime::now(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/protocol/http/mod.rs:1191:36 [INFO] [stdout] | [INFO] [stdout] 1191 | self.backend_stop = Some(SteadyTime::now()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/protocol/http/mod.rs:1246:38 [INFO] [stdout] | [INFO] [stdout] 1246 | self.backend_stop = Some(SteadyTime::now()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/protocol/http/mod.rs:1311:36 [INFO] [stdout] | [INFO] [stdout] 1311 | self.backend_stop = Some(SteadyTime::now()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/http.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | use time::{SteadyTime,Duration}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/http.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | last_event: SteadyTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/http.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | last_event: SteadyTime::now(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/http.rs:456:17 [INFO] [stdout] | [INFO] [stdout] 456 | let dur = SteadyTime::now() - self.last_event; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/http.rs:523:23 [INFO] [stdout] | [INFO] [stdout] 523 | self.last_event = SteadyTime::now(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/http.rs:686:27 [INFO] [stdout] | [INFO] [stdout] 686 | fn last_event(&self) -> SteadyTime { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/tcp.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use time::{Duration,SteadyTime}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/tcp.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | last_event: SteadyTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/tcp.rs:125:27 [INFO] [stdout] | [INFO] [stdout] 125 | last_event: SteadyTime::now(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/tcp.rs:513:17 [INFO] [stdout] | [INFO] [stdout] 513 | let dur = SteadyTime::now() - self.last_event; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/tcp.rs:561:23 [INFO] [stdout] | [INFO] [stdout] 561 | self.last_event = SteadyTime::now(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/tcp.rs:711:27 [INFO] [stdout] | [INFO] [stdout] 711 | fn last_event(&self) -> SteadyTime { [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:1133:49 [INFO] [stdout] | [INFO] [stdout] 1133 | use std::sync::atomic::{AtomicBool, Ordering, ATOMIC_BOOL_INIT}; [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:1138:38 [INFO] [stdout] | [INFO] [stdout] 1138 | 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: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/server.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use time::{self, SteadyTime}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/server.rs:141:64 [INFO] [stdout] | [INFO] [stdout] 141 | accept_queue: VecDeque<(TcpStream, ListenToken, Protocol, SteadyTime)>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/server.rs:279:33 [INFO] [stdout] | [INFO] [stdout] 279 | let mut last_zombie_check = SteadyTime::now(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/server.rs:391:17 [INFO] [stdout] | [INFO] [stdout] 391 | let now = SteadyTime::now(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/server.rs:1182:88 [INFO] [stdout] | [INFO] [stdout] 1182 | Ok(sock) => self.accept_queue.push_back((sock, token, Protocol::TCPListen, SteadyTime::now())), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/server.rs:1198:89 [INFO] [stdout] | [INFO] [stdout] 1198 | Ok(sock) => self.accept_queue.push_back((sock, token, Protocol::HTTPListen, SteadyTime::now())), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/server.rs:1214:90 [INFO] [stdout] | [INFO] [stdout] 1214 | Ok(sock) => self.accept_queue.push_back((sock, token, Protocol::HTTPSListen, SteadyTime::now())), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/server.rs:1236:21 [INFO] [stdout] | [INFO] [stdout] 1236 | let delay = SteadyTime::now() - timestamp; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/server.rs:1492:27 [INFO] [stdout] | [INFO] [stdout] 1492 | fn last_event(&self) -> SteadyTime { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/server.rs:1493:5 [INFO] [stdout] | [INFO] [stdout] 1493 | SteadyTime::now() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/https_rustls/session.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use time::{SteadyTime, Duration}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/https_rustls/session.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | last_event: SteadyTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/https_rustls/session.rs:88:23 [INFO] [stdout] | [INFO] [stdout] 88 | last_event: SteadyTime::now(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/https_rustls/session.rs:519:17 [INFO] [stdout] | [INFO] [stdout] 519 | let dur = SteadyTime::now() - self.last_event; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/https_rustls/session.rs:586:23 [INFO] [stdout] | [INFO] [stdout] 586 | self.last_event = SteadyTime::now(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::SteadyTime`: Use `Instant` [INFO] [stdout] --> lib/src/https_rustls/session.rs:744:27 [INFO] [stdout] | [INFO] [stdout] 744 | fn last_event(&self) -> SteadyTime { [INFO] [stdout] | ^^^^^^^^^^ [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] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_seconds`: Use the `whole_seconds` function [INFO] [stdout] --> lib/src/lib.rs:692:23 [INFO] [stdout] | [INFO] [stdout] 692 | let secs = self.0.num_seconds(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> lib/src/lib.rs:697:21 [INFO] [stdout] | [INFO] [stdout] 697 | let ms = self.0.num_milliseconds(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_microseconds`: Use the `whole_microseconds` function [INFO] [stdout] --> lib/src/lib.rs:700:32 [INFO] [stdout] | [INFO] [stdout] 700 | if let Some(us) = self.0.num_microseconds() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_nanoseconds`: Use the `whole_nanoseconds` function [INFO] [stdout] --> lib/src/lib.rs:705:34 [INFO] [stdout] | [INFO] [stdout] 705 | if let Some(ns) = self.0.num_nanoseconds() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> lib/src/protocol/http/mod.rs:492:57 [INFO] [stdout] | [INFO] [stdout] 492 | time!("http.request.time", &app_id, response_time.num_milliseconds()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> lib/src/server.rs:1237:47 [INFO] [stdout] | [INFO] [stdout] 1237 | time!("accept_queue.wait_time", delay.num_milliseconds()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::to_std`: Use `std::time::Duration::try_from(value)` or `value.try_into()` [INFO] [stdout] --> lib/src/server.rs:1047:65 [INFO] [stdout] | [INFO] [stdout] 1047 | let timeout = self.timer.set_timeout(self.front_timeout.to_std().unwrap(), session_token); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::to_std`: Use `std::time::Duration::try_from(value)` or `value.try_into()` [INFO] [stdout] --> lib/src/server.rs:1102:65 [INFO] [stdout] | [INFO] [stdout] 1102 | let timeout = self.timer.set_timeout(self.front_timeout.to_std().unwrap(), session_token); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::to_std`: Use `std::time::Duration::try_from(value)` or `value.try_into()` [INFO] [stdout] --> lib/src/server.rs:1149:65 [INFO] [stdout] | [INFO] [stdout] 1149 | let timeout = self.timer.set_timeout(self.front_timeout.to_std().unwrap(), session_token); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> lib/src/protocol/http/mod.rs:450:58 [INFO] [stdout] | [INFO] [stdout] 450 | time!("request_time", app_id.as_str(), response_time.num_milliseconds()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> lib/src/protocol/http/mod.rs:451:57 [INFO] [stdout] | [INFO] [stdout] 451 | time!("service_time", app_id.as_str(), service_time.num_milliseconds()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> lib/src/protocol/http/mod.rs:455:75 [INFO] [stdout] | [INFO] [stdout] 455 | record_backend_metrics!(app_id, backend_id, backend_response_time.num_milliseconds(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> lib/src/metrics/mod.rs:317:96 [INFO] [stdout] | [INFO] [stdout] 317 | m.receive_metric("connection_time", Some(app_id), Some(backend_id), MetricData::Time(t.num_milliseconds() as usize)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: lib/src/protocol/http/mod.rs:455:9 [INFO] [stdout] | [INFO] [stdout] 455 | / record_backend_metrics!(app_id, backend_id, backend_response_time.num_milliseconds(), [INFO] [stdout] 456 | | metrics.backend_connection_time(), metrics.backend_bin, metrics.backend_bout); [INFO] [stdout] | |________________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> lib/src/protocol/pipe.rs:198:50 [INFO] [stdout] | [INFO] [stdout] 198 | time!("request_time", &app_id, response_time.num_milliseconds()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> lib/src/protocol/pipe.rs:202:75 [INFO] [stdout] | [INFO] [stdout] 202 | record_backend_metrics!(app_id, backend_id, backend_response_time.num_milliseconds(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> lib/src/metrics/mod.rs:317:96 [INFO] [stdout] | [INFO] [stdout] 317 | m.receive_metric("connection_time", Some(app_id), Some(backend_id), MetricData::Time(t.num_milliseconds() as usize)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: lib/src/protocol/pipe.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | / record_backend_metrics!(app_id, backend_id, backend_response_time.num_milliseconds(), [INFO] [stdout] 203 | | metrics.backend_connection_time(), metrics.backend_bin, metrics.backend_bout); [INFO] [stdout] | |________________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> lib/src/protocol/pipe.rs:233:50 [INFO] [stdout] | [INFO] [stdout] 233 | time!("request_time", &app_id, response_time.num_milliseconds()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> lib/src/protocol/pipe.rs:237:75 [INFO] [stdout] | [INFO] [stdout] 237 | record_backend_metrics!(app_id, backend_id, backend_response_time.num_milliseconds(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> lib/src/metrics/mod.rs:317:96 [INFO] [stdout] | [INFO] [stdout] 317 | m.receive_metric("connection_time", Some(app_id), Some(backend_id), MetricData::Time(t.num_milliseconds() as usize)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: lib/src/protocol/pipe.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | / record_backend_metrics!(app_id, backend_id, backend_response_time.num_milliseconds(), [INFO] [stdout] 238 | | metrics.backend_connection_time(), metrics.backend_bin, metrics.backend_bout); [INFO] [stdout] | |________________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> lib/src/tcp.rs:146:54 [INFO] [stdout] | [INFO] [stdout] 146 | let response_time = self.metrics.response_time().num_milliseconds(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> lib/src/tcp.rs:147:53 [INFO] [stdout] | [INFO] [stdout] 147 | let service_time = self.metrics.service_time().num_milliseconds(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> lib/src/tcp.rs:153:75 [INFO] [stdout] | [INFO] [stdout] 153 | record_backend_metrics!(app_id, backend_id, backend_response_time.num_milliseconds(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> lib/src/metrics/mod.rs:317:96 [INFO] [stdout] | [INFO] [stdout] 317 | m.receive_metric("connection_time", Some(app_id), Some(backend_id), MetricData::Time(t.num_milliseconds() as usize)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: lib/src/tcp.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | / record_backend_metrics!(app_id, backend_id, backend_response_time.num_milliseconds(), [INFO] [stdout] 154 | | self.metrics.backend_response_time(), self.metrics.backend_bin, self.metrics.backend_bout); [INFO] [stdout] | |_____________________________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::to_std`: Use `std::time::Duration::try_from(value)` or `value.try_into()` [INFO] [stdout] --> lib/src/http.rs:458:50 [INFO] [stdout] | [INFO] [stdout] 458 | timer.set_timeout((*front_timeout - dur).to_std().unwrap(), token); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::to_std`: Use `std::time::Duration::try_from(value)` or `value.try_into()` [INFO] [stdout] --> lib/src/tcp.rs:515:50 [INFO] [stdout] | [INFO] [stdout] 515 | timer.set_timeout((*front_timeout - dur).to_std().unwrap(), token); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::to_std`: Use `std::time::Duration::try_from(value)` or `value.try_into()` [INFO] [stdout] --> lib/src/https_rustls/session.rs:521:50 [INFO] [stdout] | [INFO] [stdout] 521 | timer.set_timeout((*front_timeout - dur).to_std().unwrap(), token); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev` [INFO] [stdout] --> lib/src/lib.rs:623:9 [INFO] [stdout] | [INFO] [stdout] 623 | 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: `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: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] --> lib/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] --> lib/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] --> 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:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | 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:1229:15 [INFO] [stdout] | [INFO] [stdout] 1229 | 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:1205:11 [INFO] [stdout] | [INFO] [stdout] 1205 | 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:1158:9 [INFO] [stdout] | [INFO] [stdout] 1158 | 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:190:20 [INFO] [stdout] | [INFO] [stdout] 190 | 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:183:6 [INFO] [stdout] | [INFO] [stdout] 183 | 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:1468:6 [INFO] [stdout] | [INFO] [stdout] 1468 | 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: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 a macro (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: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 a macro (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: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 a macro (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: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 a macro (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: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 a macro (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: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 a macro (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: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] --> lib/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 a macro (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:1285:7 [INFO] [stdout] | [INFO] [stdout] 1285 | / scm.send_listeners(&Listeners { [INFO] [stdout] 1286 | | http: Vec::new(), [INFO] [stdout] 1287 | | tls: Vec::new(), [INFO] [stdout] 1288 | | tcp: Vec::new(), [INFO] [stdout] 1289 | | }); [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: 136 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] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::executor::spawn` [INFO] [stdout] --> bin/src/command/executor.rs:277:7 [INFO] [stdout] | [INFO] [stdout] 277 | 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:278:7 [INFO] [stdout] | [INFO] [stdout] 278 | use futures::task; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `result` [INFO] [stdout] --> bin/src/command/executor.rs:279:31 [INFO] [stdout] | [INFO] [stdout] 279 | 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:604:32 [INFO] [stdout] | [INFO] [stdout] 604 | &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: 7 warnings emitted [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] [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: unused variable: `query_type` [INFO] [stdout] --> bin/src/command/orders.rs:604:32 [INFO] [stdout] | [INFO] [stdout] 604 | &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:250:8 [INFO] [stdout] | [INFO] [stdout] 250 | 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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 19s [INFO] running `Command { std: "docker" "inspect" "cd1a1ef59656eb98d4b8bffe0226c5c72e662273c6c5253c0491eccdb5f30934", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd1a1ef59656eb98d4b8bffe0226c5c72e662273c6c5253c0491eccdb5f30934", kill_on_drop: false }` [INFO] [stdout] cd1a1ef59656eb98d4b8bffe0226c5c72e662273c6c5253c0491eccdb5f30934