[INFO] cloning repository https://github.com/royhananwar/load-balancer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/royhananwar/load-balancer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froyhananwar%2Fload-balancer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froyhananwar%2Fload-balancer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c8b190bc2862b8a17b7812bc1b1ca1100c64b61b
[INFO] checking royhananwar/load-balancer against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froyhananwar%2Fload-balancer" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/royhananwar/load-balancer
[INFO] finished tweaking git repo https://github.com/royhananwar/load-balancer
[INFO] tweaked toml for git repo https://github.com/royhananwar/load-balancer written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/royhananwar/load-balancer on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/royhananwar/load-balancer 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 04acebf7755b7860172d4c222b599d6009ad85a36a63728140bd93b017548ae6
[INFO] running `Command { std: "docker" "start" "-a" "04acebf7755b7860172d4c222b599d6009ad85a36a63728140bd93b017548ae6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "04acebf7755b7860172d4c222b599d6009ad85a36a63728140bd93b017548ae6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "04acebf7755b7860172d4c222b599d6009ad85a36a63728140bd93b017548ae6", kill_on_drop: false }`
[INFO] [stdout] 04acebf7755b7860172d4c222b599d6009ad85a36a63728140bd93b017548ae6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b519533f5908fb48847f79c7b96c8b0294c58ae1d47ff8814e868b39fd833e6a
[INFO] running `Command { std: "docker" "start" "-a" "b519533f5908fb48847f79c7b96c8b0294c58ae1d47ff8814e868b39fd833e6a", kill_on_drop: false }`
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]     Checking tokio v1.47.1
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking tokio-util v0.7.16
[INFO] [stderr]     Checking h2 v0.4.12
[INFO] [stderr]     Checking hyper v1.7.0
[INFO] [stderr]     Checking hyper-util v0.1.17
[INFO] [stderr]     Checking load-balancer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/health.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::backend::{self, Backend};
[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: `hyper::Response`
[INFO] [stdout]  --> src/health.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use hyper::Response;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/health.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::backend::{self, Backend};
[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: `hyper::Response`
[INFO] [stdout]  --> src/health.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use hyper::Response;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `active_connections` is never read
[INFO] [stdout]  --> src/backend.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Backend {
[INFO] [stdout]   |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 5 |     pub active_connections: usize
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Backend` has derived impls for the traits `Debug` and `Clone`, 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: methods `increment_connection` and `decrement_connection` are never used
[INFO] [stdout]   --> src/backend.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Backend {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn increment_connection(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn decrement_connection(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `backend_count` and `healthy_backend_count` are never used
[INFO] [stdout]   --> src/load_balancer.rs:41:18
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl LoadBalancer {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub async fn backend_count(&self) -> usize {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub async fn healthy_backend_count(&self) -> usize {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `empty` is never used
[INFO] [stdout]   --> src/proxy.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn empty() -> BoxBody<Bytes, hyper::Error> {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `active_connections` is never read
[INFO] [stdout]  --> src/backend.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Backend {
[INFO] [stdout]   |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 5 |     pub active_connections: usize
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Backend` has derived impls for the traits `Debug` and `Clone`, 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: methods `increment_connection` and `decrement_connection` are never used
[INFO] [stdout]   --> src/backend.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Backend {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn increment_connection(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn decrement_connection(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `backend_count` and `healthy_backend_count` are never used
[INFO] [stdout]   --> src/load_balancer.rs:41:18
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl LoadBalancer {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub async fn backend_count(&self) -> usize {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub async fn healthy_backend_count(&self) -> usize {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `empty` is never used
[INFO] [stdout]   --> src/proxy.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn empty() -> BoxBody<Bytes, hyper::Error> {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.39s
[INFO] running `Command { std: "docker" "inspect" "b519533f5908fb48847f79c7b96c8b0294c58ae1d47ff8814e868b39fd833e6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b519533f5908fb48847f79c7b96c8b0294c58ae1d47ff8814e868b39fd833e6a", kill_on_drop: false }`
[INFO] [stdout] b519533f5908fb48847f79c7b96c8b0294c58ae1d47ff8814e868b39fd833e6a
