[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 try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok 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-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/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-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/royhananwar/load-balancer on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--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/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 09a9ada15b0a60972da67dd8415b7dc43d88a2f1ab1fb0f0683484d52266c95a
[INFO] running `Command { std: "docker" "start" "-a" "09a9ada15b0a60972da67dd8415b7dc43d88a2f1ab1fb0f0683484d52266c95a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "09a9ada15b0a60972da67dd8415b7dc43d88a2f1ab1fb0f0683484d52266c95a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "09a9ada15b0a60972da67dd8415b7dc43d88a2f1ab1fb0f0683484d52266c95a", kill_on_drop: false }`
[INFO] [stdout] 09a9ada15b0a60972da67dd8415b7dc43d88a2f1ab1fb0f0683484d52266c95a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 01f5f1f4c9a00726ddc6ea229d3d9c7583a7848e719187ebcc48458428e92b68
[INFO] running `Command { std: "docker" "start" "-a" "01f5f1f4c9a00726ddc6ea229d3d9c7583a7848e719187ebcc48458428e92b68", 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] error: this type will no longer be must used: Result<Response<BoxBody<bytes::Bytes, hyper::Error>>, Infallible>
[INFO] [stdout]   --> examples/backend_server.rs:23:65
[INFO] [stdout]    |
[INFO] [stdout] 23 |   ) -> Result<Response<BoxBody<Bytes, hyper::Error>>, Infallible> {
[INFO] [stdout]    |  _________________________________________________________________^
[INFO] [stdout] 24 | |     println!("[Backend:{}] {} {}", port, req.method(), req.uri());
[INFO] [stdout] 25 | |
[INFO] [stdout] 26 | |     let response = match req.uri().path() {
[INFO] [stdout] ...  |
[INFO] [stdout] 46 | |     Ok(response)
[INFO] [stdout] 47 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<bytes::Bytes, hyper::Error>>, Infallible>
[INFO] [stdout]   --> examples/backend_server.rs:23:65
[INFO] [stdout]    |
[INFO] [stdout] 23 |   ) -> Result<Response<BoxBody<Bytes, hyper::Error>>, Infallible> {
[INFO] [stdout]    |  _________________________________________________________________^
[INFO] [stdout] 24 | |     println!("[Backend:{}] {} {}", port, req.method(), req.uri());
[INFO] [stdout] 25 | |
[INFO] [stdout] 26 | |     let response = match req.uri().path() {
[INFO] [stdout] ...  |
[INFO] [stdout] 46 | |     Ok(response)
[INFO] [stdout] 47 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<bytes::Bytes, hyper::Error>>, Infallible>
[INFO] [stdout]   --> examples/backend_server.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 46 |     Ok(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] [stderr] error: could not compile `load-balancer` (example "backend_server") due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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] running `Command { std: "docker" "inspect" "01f5f1f4c9a00726ddc6ea229d3d9c7583a7848e719187ebcc48458428e92b68", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "01f5f1f4c9a00726ddc6ea229d3d9c7583a7848e719187ebcc48458428e92b68", kill_on_drop: false }`
[INFO] [stdout] 01f5f1f4c9a00726ddc6ea229d3d9c7583a7848e719187ebcc48458428e92b68
