[INFO] cloning repository https://github.com/maxfer1221/load-balancer-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maxfer1221/load-balancer-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxfer1221%2Fload-balancer-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxfer1221%2Fload-balancer-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7af421473cd339747c9edb6e3cb554ac2bf3e44d
[INFO] building maxfer1221/load-balancer-rs against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxfer1221%2Fload-balancer-rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/maxfer1221/load-balancer-rs
[INFO] finished tweaking git repo https://github.com/maxfer1221/load-balancer-rs
[INFO] tweaked toml for git repo https://github.com/maxfer1221/load-balancer-rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/maxfer1221/load-balancer-rs on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/maxfer1221/load-balancer-rs 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ac1e4746d2101565040981b6d180f79c955606aaf855865e29733b1233c8bc6d
[INFO] running `Command { std: "docker" "start" "-a" "ac1e4746d2101565040981b6d180f79c955606aaf855865e29733b1233c8bc6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ac1e4746d2101565040981b6d180f79c955606aaf855865e29733b1233c8bc6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ac1e4746d2101565040981b6d180f79c955606aaf855865e29733b1233c8bc6d", kill_on_drop: false }`
[INFO] [stdout] ac1e4746d2101565040981b6d180f79c955606aaf855865e29733b1233c8bc6d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ad960e2db6d05bcf65b4399845dc5bd68e25067bec327867a0119b3e65b982c2
[INFO] running `Command { std: "docker" "start" "-a" "ad960e2db6d05bcf65b4399845dc5bd68e25067bec327867a0119b3e65b982c2", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.121
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling proc-macro2 v1.0.32
[INFO] [stderr]    Compiling pin-project-lite v0.2.8
[INFO] [stderr]    Compiling pkg-config v0.3.24
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling syn v1.0.81
[INFO] [stderr]    Compiling indexmap v1.8.0
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling tinyvec v1.5.0
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling mio v0.8.2
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling openssl-sys v0.9.72
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling openssl v0.10.38
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling tokio v1.17.0
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling tracing-core v0.1.23
[INFO] [stderr]    Compiling http v0.2.6
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling futures-io v0.3.21
[INFO] [stderr]    Compiling slab v0.4.5
[INFO] [stderr]    Compiling serde_derive v1.0.130
[INFO] [stderr]    Compiling once_cell v1.10.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.7
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling httparse v1.6.0
[INFO] [stderr]    Compiling futures-sink v0.3.21
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling tracing v0.1.32
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling http-body v0.4.4
[INFO] [stderr]    Compiling tower-service v0.3.1
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling encoding_rs v0.8.30
[INFO] [stderr]    Compiling async-trait v0.1.51
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling os_str_bytes v6.0.0
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling combine v4.6.2
[INFO] [stderr]    Compiling dtoa v0.4.8
[INFO] [stderr]    Compiling tokio-util v0.6.9
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling h2 v0.3.12
[INFO] [stderr]    Compiling textwrap v0.15.0
[INFO] [stderr]    Compiling ipnet v2.4.0
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling itoa v0.4.8
[INFO] [stderr]    Compiling chunked_transfer v1.4.0
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling ascii v1.0.0
[INFO] [stderr]    Compiling sha1 v0.6.0
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling json v0.12.4
[INFO] [stderr]    Compiling clap v3.1.6
[INFO] [stderr]    Compiling tiny_http v0.9.0
[INFO] [stderr]    Compiling hyper v0.14.18
[INFO] [stderr]    Compiling redis v0.21.4
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling reqwest v0.11.10
[INFO] [stderr]    Compiling redis-caching v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, and `collections::HashMap`
[INFO] [stdout]  --> src/main.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{sync::{mpsc::channel, Arc, Mutex},  io::Cursor, collections::HashMap};
[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 imports: `Method` and `Request`
[INFO] [stdout]  --> src/main.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tiny_http::{Server, Response, Request, Method, Header};
[INFO] [stdout]   |                                   ^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `clap`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use clap;
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `collections::HashMap`
[INFO] [stdout]  --> src/sync.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{thread, collections::HashMap};
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ip`
[INFO] [stdout]   --> src/sync.rs:77:32
[INFO] [stdout]    |
[INFO] [stdout] 77 |             Event::HealthCheck(ip) => {
[INFO] [stdout]    |                                ^^ help: if this is intentional, prefix it with an underscore: `_ip`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/balancer/robin.rs:45:18
[INFO] [stdout]    |
[INFO] [stdout] 45 |             Some(index) => Err(String::from("DUPLICATE")),
[INFO] [stdout]    |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `response`
[INFO] [stdout]   --> src/balancer/robin.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let response = request.send();
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ip`
[INFO] [stdout]   --> src/balancer/robin.rs:61:28
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn health_check(&self, ip: String) -> Result<bool, String> {
[INFO] [stdout]    |                            ^^ help: if this is intentional, prefix it with an underscore: `_ip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/maps.rs:45:24
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn response_map<T>(res: &reqwest::Response) -> tiny_http::Response<T> {
[INFO] [stdout]    |                        ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Backend` is never constructed
[INFO] [stdout]  --> src/sync.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Backend;
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Balance` is never used
[INFO] [stdout]   --> src/balancer.rs:17:11
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub trait Balance {
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_next_ip` and `health_check` are never used
[INFO] [stdout]   --> src/balancer.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub trait ClusterHandle {
[INFO] [stdout]    |           ------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 25 |     fn get_next_ip(&mut self) -> String;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 26 |
[INFO] [stdout] 27 |     fn health_check(&self, ip: String) -> Result<bool, String>;
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Error` is never constructed
[INFO] [stdout]  --> src/maps.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Error {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `request_map` is never used
[INFO] [stdout]  --> src/maps.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn request_map(req: &mut tiny_http::Request, ip: String) -> Result<reqwest::RequestBuilder, String> {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `response_map` is never used
[INFO] [stdout]   --> src/maps.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn response_map<T>(res: &reqwest::Response) -> tiny_http::Response<T> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `current` is never read
[INFO] [stdout]   --> src/balancer/robin.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct ClusterHandler {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 34 |     backends: Vec<Backend>,
[INFO] [stdout] 35 |     current: usize,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 29s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.21.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "ad960e2db6d05bcf65b4399845dc5bd68e25067bec327867a0119b3e65b982c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ad960e2db6d05bcf65b4399845dc5bd68e25067bec327867a0119b3e65b982c2", kill_on_drop: false }`
[INFO] [stdout] ad960e2db6d05bcf65b4399845dc5bd68e25067bec327867a0119b3e65b982c2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eac6d9ac143f1ac4966170d975810a8c13ab944e51e5d6426b174be6ddb2e8eb
[INFO] running `Command { std: "docker" "start" "-a" "eac6d9ac143f1ac4966170d975810a8c13ab944e51e5d6426b174be6ddb2e8eb", kill_on_drop: false }`
[INFO] [stderr]    Compiling redis-caching v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, and `collections::HashMap`
[INFO] [stdout]  --> src/main.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{sync::{mpsc::channel, Arc, Mutex},  io::Cursor, collections::HashMap};
[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 imports: `Method` and `Request`
[INFO] [stdout]  --> src/main.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tiny_http::{Server, Response, Request, Method, Header};
[INFO] [stdout]   |                                   ^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `clap`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use clap;
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `collections::HashMap`
[INFO] [stdout]  --> src/sync.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{thread, collections::HashMap};
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/balancer/robin.rs:45:18
[INFO] [stdout]    |
[INFO] [stdout] 45 |             Some(index) => Err(String::from("DUPLICATE")),
[INFO] [stdout]    |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ip`
[INFO] [stdout]   --> src/sync.rs:77:32
[INFO] [stdout]    |
[INFO] [stdout] 77 |             Event::HealthCheck(ip) => {
[INFO] [stdout]    |                                ^^ help: if this is intentional, prefix it with an underscore: `_ip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/maps.rs:45:24
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn response_map<T>(res: &reqwest::Response) -> tiny_http::Response<T> {
[INFO] [stdout]    |                        ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ip`
[INFO] [stdout]   --> src/balancer/robin.rs:61:28
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn health_check(&self, ip: String) -> Result<bool, String> {
[INFO] [stdout]    |                            ^^ help: if this is intentional, prefix it with an underscore: `_ip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `response`
[INFO] [stdout]   --> src/balancer/robin.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let response = request.send();
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Backend` is never constructed
[INFO] [stdout]  --> src/sync.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Backend;
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Balance` is never used
[INFO] [stdout]   --> src/balancer.rs:17:11
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub trait Balance {
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_next_ip` and `health_check` are never used
[INFO] [stdout]   --> src/balancer.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub trait ClusterHandle {
[INFO] [stdout]    |           ------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 25 |     fn get_next_ip(&mut self) -> String;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 26 |
[INFO] [stdout] 27 |     fn health_check(&self, ip: String) -> Result<bool, String>;
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `current` is never read
[INFO] [stdout]   --> src/balancer/robin.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct ClusterHandler {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 34 |     backends: Vec<Backend>,
[INFO] [stdout] 35 |     current: usize,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Error` is never constructed
[INFO] [stdout]  --> src/maps.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Error {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `request_map` is never used
[INFO] [stdout]  --> src/maps.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn request_map(req: &mut tiny_http::Request, ip: String) -> Result<reqwest::RequestBuilder, String> {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `response_map` is never used
[INFO] [stdout]   --> src/maps.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn response_map<T>(res: &reqwest::Response) -> tiny_http::Response<T> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.63s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.21.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "eac6d9ac143f1ac4966170d975810a8c13ab944e51e5d6426b174be6ddb2e8eb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eac6d9ac143f1ac4966170d975810a8c13ab944e51e5d6426b174be6ddb2e8eb", kill_on_drop: false }`
[INFO] [stdout] eac6d9ac143f1ac4966170d975810a8c13ab944e51e5d6426b174be6ddb2e8eb
