[INFO] cloning repository https://github.com/cpecu/di-server
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cpecu/di-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpecu%2Fdi-server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpecu%2Fdi-server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 07543317f6502ec8c2c41386e40b149ccfe2200a
[INFO] checking cpecu/di-server against master#507271bc119683008ec719ecee48814e8ac86c65 for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpecu%2Fdi-server" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/cpecu/di-server
[INFO] finished tweaking git repo https://github.com/cpecu/di-server
[INFO] tweaked toml for git repo https://github.com/cpecu/di-server written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/cpecu/di-server on toolchain 507271bc119683008ec719ecee48814e8ac86c65
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/cpecu/di-server already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: package.default_run
[INFO] [stderr] warning: unused manifest key: profile.dev.opt
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded memoffset v0.6.1
[INFO] [stderr]   Downloaded const_fn v0.4.3
[INFO] [stderr]   Downloaded serde_derive v1.0.117
[INFO] [stderr]   Downloaded criterion v0.3.3
[INFO] [stderr]   Downloaded tinytemplate v1.1.0
[INFO] [stderr]   Downloaded criterion-plot v0.4.3
[INFO] [stderr]   Downloaded crossbeam-epoch v0.9.1
[INFO] [stderr]   Downloaded half v1.6.0
[INFO] [stderr]   Downloaded serde_cbor v0.11.1
[INFO] [stderr]   Downloaded futures-lite v1.11.2
[INFO] [stderr]   Downloaded async-attributes v1.1.1
[INFO] [stderr]   Downloaded serde v1.0.117
[INFO] [stderr]   Downloaded crossbeam-channel v0.5.0
[INFO] [stderr]   Downloaded serde_json v1.0.59
[INFO] [stderr]   Downloaded syn v1.0.53
[INFO] [stderr]   Downloaded async-std v1.7.0
[INFO] [stderr]   Downloaded bstr v0.2.14
[INFO] [stderr]   Downloaded csv v1.1.5
[INFO] [stderr]   Downloaded plotters v0.2.15
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8899a8b09234c59266861c42d351495a3c7c591eb0963392d02dfd2c6ccf148b
[INFO] running `Command { std: "docker" "start" "-a" "8899a8b09234c59266861c42d351495a3c7c591eb0963392d02dfd2c6ccf148b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8899a8b09234c59266861c42d351495a3c7c591eb0963392d02dfd2c6ccf148b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8899a8b09234c59266861c42d351495a3c7c591eb0963392d02dfd2c6ccf148b", kill_on_drop: false }`
[INFO] [stdout] 8899a8b09234c59266861c42d351495a3c7c591eb0963392d02dfd2c6ccf148b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fe49e5a3d81114aa62f1ffa803f940c9917f6e932c8a33cf34ea718fa970921b
[INFO] running `Command { std: "docker" "start" "-a" "fe49e5a3d81114aa62f1ffa803f940c9917f6e932c8a33cf34ea718fa970921b", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: package.default_run
[INFO] [stderr] warning: unused manifest key: profile.dev.opt
[INFO] [stderr]    Compiling syn v1.0.53
[INFO] [stderr]    Compiling libc v0.2.80
[INFO] [stderr]    Compiling crossbeam-utils v0.8.1
[INFO] [stderr]    Compiling serde_derive v1.0.117
[INFO] [stderr]     Checking futures-core v0.3.8
[INFO] [stderr]    Compiling serde v1.0.117
[INFO] [stderr]     Checking once_cell v1.5.2
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]     Checking concurrent-queue v1.2.2
[INFO] [stderr]     Checking pin-project-lite v0.1.11
[INFO] [stderr]     Checking fastrand v1.4.0
[INFO] [stderr]     Checking futures-io v0.3.8
[INFO] [stderr]    Compiling memoffset v0.6.1
[INFO] [stderr]    Compiling const_fn v0.4.3
[INFO] [stderr]     Checking event-listener v2.5.1
[INFO] [stderr]    Compiling serde_json v1.0.59
[INFO] [stderr]     Checking async-task v4.0.3
[INFO] [stderr]     Checking vec-arena v1.0.0
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]     Checking unicode-xid v0.2.1
[INFO] [stderr]     Checking tinyvec v1.1.0
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling rayon-core v1.9.0
[INFO] [stderr]     Checking futures-lite v1.11.2
[INFO] [stderr]     Checking async-channel v1.5.1
[INFO] [stderr]    Compiling cast v0.2.3
[INFO] [stderr]     Checking atomic-waker v1.0.0
[INFO] [stderr]     Checking futures-task v0.3.8
[INFO] [stderr]     Checking form_urlencoded v1.0.0
[INFO] [stderr]     Checking async-mutex v1.4.0
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]     Checking kv-log-macro v1.0.7
[INFO] [stderr]    Compiling rayon v1.5.0
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking dhttp v0.1.0 (/opt/rustwide/workdir/crates/dhttp)
[INFO] [stderr]     Checking regex-automata v0.1.9
[INFO] [stdout] warning: unused import: `From`
[INFO] [stdout]  --> crates/dhttp/src/method.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |         From, TryFrom,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Infallible`
[INFO] [stdout]   --> crates/dhttp/src/lib.rs:10:15
[INFO] [stdout]    |
[INFO] [stdout] 10 |     convert::{Infallible, TryFrom},
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `string`
[INFO] [stdout]   --> crates/dhttp/src/lib.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let string = match self {
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> crates/dhttp/src/header.rs:18:19
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Header(HashMap<String, String>);
[INFO] [stdout]    |            ------ ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `Header` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `key` and `value` are never read
[INFO] [stdout]  --> crates/dhttp/src/cookie.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Cookie<'a> {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 2 |     key: &'a str,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 3 |     value: Option<&'a str>,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking itertools v0.9.0
[INFO] [stderr]     Checking csv-core v0.1.10
[INFO] [stderr]     Checking bytes v0.6.0
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking half v1.6.0
[INFO] [stderr]     Checking walkdir v2.3.1
[INFO] [stderr]     Checking plotters v0.2.15
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking nb-connect v1.0.2
[INFO] [stderr]     Checking polling v2.0.2
[INFO] [stderr]     Checking crossbeam-epoch v0.9.1
[INFO] [stderr]     Checking crossbeam-channel v0.5.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking dpool v0.1.0 (/opt/rustwide/workdir/crates/dpool)
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking oorandom v11.1.3
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stdout] warning: unused imports: `AtomicUsize`, `Ordering`, `collections::HashMap`, and `rc`
[INFO] [stdout]  --> crates/dpool/src/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     collections::HashMap,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 5 |     io, rc,
[INFO] [stdout]   |         ^^
[INFO] [stdout] ...
[INFO] [stdout] 8 |         atomic::{AtomicUsize, Ordering},
[INFO] [stdout]   |                  ^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking crossbeam-deque v0.8.0
[INFO] [stdout] warning: associated function `timer` is never used
[INFO] [stdout]   --> crates/dpool/src/lib.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl ThreadPool {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 44 |     fn timer(send: mpsc::SyncSender<Msg>) -> io::Result<()> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Pulse` is never constructed
[INFO] [stdout]    --> crates/dpool/src/lib.rs:105:5
[INFO] [stdout]     |
[INFO] [stdout] 102 | enum Msg {
[INFO] [stdout]     |      --- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 105 |     Pulse(u16),
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking unicode-normalization v0.1.16
[INFO] [stderr]     Checking pretty_env_logger v0.4.0
[INFO] [stderr]     Checking async-executor v1.4.0
[INFO] [stderr]     Checking async-io v1.3.1
[INFO] [stderr]     Checking blocking v1.0.2
[INFO] [stderr]     Checking criterion-plot v0.4.3
[INFO] [stderr]     Checking async-global-executor v1.4.3
[INFO] [stderr]     Checking idna v0.2.0
[INFO] [stderr]     Checking url v2.2.0
[INFO] [stderr]     Checking dargs v0.1.0 (/opt/rustwide/workdir/crates/dargs)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> crates/dargs/src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use] extern crate quote;
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fmt`
[INFO] [stdout]  --> crates/dargs/src/lib.rs:6:53
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::{env, net::{self, Ipv4Addr, SocketAddrV4}, fmt};
[INFO] [stdout]   |                                                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `args` is never read
[INFO] [stdout]   --> crates/dargs/src/args.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Args {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 13 |     args: Vec<String>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling pin-project-internal v1.0.2
[INFO] [stderr]    Compiling async-attributes v1.1.1
[INFO] [stderr]    Compiling futures-macro v0.3.8
[INFO] [stderr]     Checking async-std v1.7.0
[INFO] [stderr]     Checking pin-project v1.0.2
[INFO] [stderr]     Checking futures-util v0.3.8
[INFO] [stderr]     Checking bstr v0.2.14
[INFO] [stderr]     Checking serde_cbor v0.11.1
[INFO] [stderr]     Checking csv v1.1.5
[INFO] [stderr]     Checking tinytemplate v1.1.0
[INFO] [stderr]     Checking dsrv v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `fs`
[INFO] [stdout]  --> src/request.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     fs, fmt
[INFO] [stdout]   |     ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Headers`
[INFO] [stdout]  --> src/request.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 |     header::{Header, Headers}
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json`
[INFO] [stdout]  --> src/response.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde_json;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `thread` and `time::Duration`
[INFO] [stdout]  --> src/server/state.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     time::Duration,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 3 |     thread,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_std::net::ToSocketAddrs`
[INFO] [stdout]  --> src/server.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use async_std::net::ToSocketAddrs;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PoolCreationError`
[INFO] [stdout]  --> src/server.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use dpool::{PoolCreationError, ThreadPool};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HttpRun`
[INFO] [stdout]   --> src/server.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | use dhttp::{Method, HttpRun};
[INFO] [stdout]    |                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Incoming` and `Shutdown`
[INFO] [stdout]   --> src/server.rs:15:27
[INFO] [stdout]    |
[INFO] [stdout] 15 |     net::{self, Ipv4Addr, Shutdown, Incoming, UdpSocket, TcpListener, TcpStream},
[INFO] [stdout]    |                           ^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `response::Response`
[INFO] [stdout]   --> src/server.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     response::Response,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `convert::TryFrom`
[INFO] [stdout]  --> src/error.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     convert::TryFrom,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `From`, `error::Error`, and `path`
[INFO] [stdout]  --> src/route.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     error::Error,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 3 |     fmt::{self, Formatter}, path,
[INFO] [stdout]   |                             ^^^^
[INFO] [stdout] 4 |     convert::{
[INFO] [stdout] 5 |         From, TryFrom,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function cannot return without recursing
[INFO] [stdout]   --> src/request.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn default() -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^ cannot return without recursing
[INFO] [stdout] 23 |         Self {
[INFO] [stdout] 24 |             body: R::default(), ..Default::default()
[INFO] [stdout]    |                                   ------------------ recursive call site
[INFO] [stdout]    |
[INFO] [stdout]    = help: a `loop` may express intention better if this is on purpose
[INFO] [stdout]    = note: `#[warn(unconditional_recursion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_threads`
[INFO] [stdout]   --> src/server.rs:76:34
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub async fn run_async(self, n_threads: Option<usize>) -> async_std::io::Result<()> {
[INFO] [stdout]    |                                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_threads`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking criterion v0.3.3
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]    --> src/server.rs:187:17
[INFO] [stdout]     |
[INFO] [stdout] 187 |             let res = match (idx, line) {
[INFO] [stdout]     |                 ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inp`
[INFO] [stdout]    --> src/server.rs:211:25
[INFO] [stdout]     |
[INFO] [stdout] 211 |     pub fn parse_method(inp: &str) -> String {
[INFO] [stdout]     |                         ^^^ help: if this is intentional, prefix it with an underscore: `_inp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cmd`
[INFO] [stdout]    --> src/server.rs:219:21
[INFO] [stdout]     |
[INFO] [stdout] 219 |     pub fn shutdown(cmd: &str) -> Result<(), io::Error> {
[INFO] [stdout]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_cmd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `data` and `kind` are never read
[INFO] [stdout]   --> src/response.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct Response<'a, K> {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 16 |     data: &'a ResponseData,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 17 |     kind: K,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `multicast`, `debug`, and `router` are never read
[INFO] [stdout]   --> src/server.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct Server {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 51 |     multicast: Option<Ipv4Addr>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 52 |     address: String,
[INFO] [stdout] 53 |     debug: bool,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 54 |     async_run: bool,
[INFO] [stdout] 55 |     router: Router,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Server` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `debug` is never read
[INFO] [stdout]    --> src/server.rs:246:5
[INFO] [stdout]     |
[INFO] [stdout] 243 | pub struct UdpServer {
[INFO] [stdout]     |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 246 |     debug: bool,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `UdpServer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `num_workers` is never read
[INFO] [stdout]  --> src/server/config.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Config {
[INFO] [stdout]   |            ------ field in this struct
[INFO] [stdout] 3 |     num_workers: u16,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StateReq` is never constructed
[INFO] [stdout]  --> src/server/state.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct StateReq<S> {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StateRes` is never constructed
[INFO] [stdout]  --> src/server/state.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | struct StateRes;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `routes` is never read
[INFO] [stdout]   --> src/route.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct Routes {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 16 |     routes: Vec<Route>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Routes` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fs`
[INFO] [stdout]  --> src/request.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     fs, fmt
[INFO] [stdout]   |     ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Headers`
[INFO] [stdout]  --> src/request.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 |     header::{Header, Headers}
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json`
[INFO] [stdout]  --> src/response.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde_json;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `thread` and `time::Duration`
[INFO] [stdout]  --> src/server/state.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     time::Duration,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 3 |     thread,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_std::net::ToSocketAddrs`
[INFO] [stdout]  --> src/server.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use async_std::net::ToSocketAddrs;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PoolCreationError`
[INFO] [stdout]  --> src/server.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use dpool::{PoolCreationError, ThreadPool};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HttpRun`
[INFO] [stdout]   --> src/server.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | use dhttp::{Method, HttpRun};
[INFO] [stdout]    |                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Incoming` and `Shutdown`
[INFO] [stdout]   --> src/server.rs:15:27
[INFO] [stdout]    |
[INFO] [stdout] 15 |     net::{self, Ipv4Addr, Shutdown, Incoming, UdpSocket, TcpListener, TcpStream},
[INFO] [stdout]    |                           ^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `response::Response`
[INFO] [stdout]   --> src/server.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     response::Response,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `convert::TryFrom`
[INFO] [stdout]  --> src/error.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     convert::TryFrom,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `From`, `error::Error`, and `path`
[INFO] [stdout]  --> src/route.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     error::Error,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 3 |     fmt::{self, Formatter}, path,
[INFO] [stdout]   |                             ^^^^
[INFO] [stdout] 4 |     convert::{
[INFO] [stdout] 5 |         From, TryFrom,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function cannot return without recursing
[INFO] [stdout]   --> src/request.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn default() -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^ cannot return without recursing
[INFO] [stdout] 23 |         Self {
[INFO] [stdout] 24 |             body: R::default(), ..Default::default()
[INFO] [stdout]    |                                   ------------------ recursive call site
[INFO] [stdout]    |
[INFO] [stdout]    = help: a `loop` may express intention better if this is on purpose
[INFO] [stdout]    = note: `#[warn(unconditional_recursion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_threads`
[INFO] [stdout]   --> src/server.rs:76:34
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub async fn run_async(self, n_threads: Option<usize>) -> async_std::io::Result<()> {
[INFO] [stdout]    |                                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_threads`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]    --> src/server.rs:187:17
[INFO] [stdout]     |
[INFO] [stdout] 187 |             let res = match (idx, line) {
[INFO] [stdout]     |                 ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inp`
[INFO] [stdout]    --> src/server.rs:211:25
[INFO] [stdout]     |
[INFO] [stdout] 211 |     pub fn parse_method(inp: &str) -> String {
[INFO] [stdout]     |                         ^^^ help: if this is intentional, prefix it with an underscore: `_inp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cmd`
[INFO] [stdout]    --> src/server.rs:219:21
[INFO] [stdout]     |
[INFO] [stdout] 219 |     pub fn shutdown(cmd: &str) -> Result<(), io::Error> {
[INFO] [stdout]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_cmd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `data` and `kind` are never read
[INFO] [stdout]   --> src/response.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct Response<'a, K> {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 16 |     data: &'a ResponseData,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 17 |     kind: K,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `multicast`, `debug`, and `router` are never read
[INFO] [stdout]   --> src/server.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct Server {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 51 |     multicast: Option<Ipv4Addr>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 52 |     address: String,
[INFO] [stdout] 53 |     debug: bool,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 54 |     async_run: bool,
[INFO] [stdout] 55 |     router: Router,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Server` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `debug` is never read
[INFO] [stdout]    --> src/server.rs:246:5
[INFO] [stdout]     |
[INFO] [stdout] 243 | pub struct UdpServer {
[INFO] [stdout]     |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 246 |     debug: bool,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `UdpServer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `num_workers` is never read
[INFO] [stdout]  --> src/server/config.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Config {
[INFO] [stdout]   |            ------ field in this struct
[INFO] [stdout] 3 |     num_workers: u16,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StateReq` is never constructed
[INFO] [stdout]  --> src/server/state.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct StateReq<S> {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StateRes` is never constructed
[INFO] [stdout]  --> src/server/state.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | struct StateRes;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `routes` is never read
[INFO] [stdout]   --> src/route.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct Routes {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 16 |     routes: Vec<Route>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Routes` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.19s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5`
[INFO] running `Command { std: "docker" "inspect" "fe49e5a3d81114aa62f1ffa803f940c9917f6e932c8a33cf34ea718fa970921b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fe49e5a3d81114aa62f1ffa803f940c9917f6e932c8a33cf34ea718fa970921b", kill_on_drop: false }`
[INFO] [stdout] fe49e5a3d81114aa62f1ffa803f940c9917f6e932c8a33cf34ea718fa970921b
