[INFO] fetching crate harbr_router 0.2.0...
[INFO] building harbr_router-0.2.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] extracting crate harbr_router 0.2.0 into /workspace/builds/worker-5-tc1/source
[INFO] started tweaking crates.io crate harbr_router 0.2.0
[INFO] finished tweaking crates.io crate harbr_router 0.2.0
[INFO] tweaked toml for crates.io crate harbr_router 0.2.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate harbr_router 0.2.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate harbr_router 0.2.0 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded quote v1.0.39
[INFO] [stderr]   Downloaded data-encoding v2.8.0
[INFO] [stderr]   Downloaded clap v4.5.35
[INFO] [stderr]   Downloaded clap_builder v4.5.35
[INFO] [stderr]   Downloaded syn v2.0.99
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7aaaa4fb940f55192f7ff4aeac712f62b346afbd84410e1e44d40d20f8a46fa1
[INFO] running `Command { std: "docker" "start" "-a" "7aaaa4fb940f55192f7ff4aeac712f62b346afbd84410e1e44d40d20f8a46fa1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7aaaa4fb940f55192f7ff4aeac712f62b346afbd84410e1e44d40d20f8a46fa1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7aaaa4fb940f55192f7ff4aeac712f62b346afbd84410e1e44d40d20f8a46fa1", kill_on_drop: false }`
[INFO] [stdout] 7aaaa4fb940f55192f7ff4aeac712f62b346afbd84410e1e44d40d20f8a46fa1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 93b3acf592c9735a671da94220a755612703e41688e923a2b557ed21f0923b45
[INFO] running `Command { std: "docker" "start" "-a" "93b3acf592c9735a671da94220a755612703e41688e923a2b557ed21f0923b45", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.17
[INFO] [stderr]    Compiling libc v0.2.170
[INFO] [stderr]    Compiling once_cell v1.20.3
[INFO] [stderr]    Compiling bytes v1.10.0
[INFO] [stderr]    Compiling cc v1.2.16
[INFO] [stderr]    Compiling indexmap v2.7.1
[INFO] [stderr]    Compiling serde v1.0.218
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling openssl v0.10.71
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling ryu v1.0.19
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling raw-cpuid v10.7.0
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling multer v2.1.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling getrandom v0.3.1
[INFO] [stderr]    Compiling data-encoding v2.8.0
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling sketches-ddsketch v0.2.2
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling clap_builder v4.5.35
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling scoped-tls v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling http v1.2.0
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling quote v1.0.39
[INFO] [stderr]    Compiling syn v2.0.99
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling quanta v0.11.1
[INFO] [stderr]    Compiling dashmap v5.5.3
[INFO] [stderr]    Compiling uuid v1.16.0
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling openssl-sys v0.9.106
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling headers-core v0.2.0
[INFO] [stderr]    Compiling headers v0.3.9
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.218
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling metrics-macros v0.7.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.9
[INFO] [stderr]    Compiling clap_derive v4.5.32
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling tokio v1.43.0
[INFO] [stderr]    Compiling pin-project v1.1.9
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling clap v4.5.35
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling hashbrown v0.13.1
[INFO] [stderr]    Compiling metrics v0.21.1
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling metrics-util v0.15.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling tower-http v0.4.4
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling tokio-util v0.7.13
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling h2 v0.4.8
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling tungstenite v0.21.0
[INFO] [stderr]    Compiling tokio-tungstenite v0.21.0
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling hyper-util v0.1.10
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.15
[INFO] [stderr]    Compiling warp v0.3.7
[INFO] [stderr]    Compiling metrics-exporter-prometheus v0.12.2
[INFO] [stderr]    Compiling harbr_router v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `RwLock` and `broadcast`
[INFO] [stdout]  --> src/lib.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::sync::{broadcast, mpsc, RwLock};
[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: `Context`
[INFO] [stdout]  --> src/client.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use anyhow::{Context, Result};
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::config`
[INFO] [stdout]  --> src/http_proxy.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::config;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RwLock` and `broadcast`
[INFO] [stdout]   --> src/http_proxy.rs:12:19
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tokio::sync::{broadcast, mpsc, RwLock};
[INFO] [stdout]    |                   ^^^^^^^^^        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RouteConfig`
[INFO] [stdout]  --> src/udp_proxy.rs:2:34
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::config::{ProxyConfig, RouteConfig};
[INFO] [stdout]   |                                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/dynamic_config.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mpsc`
[INFO] [stdout]  --> src/dynamic_config.rs:9:30
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio::sync::{broadcast, mpsc, RwLock};
[INFO] [stdout]   |                              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::fs::File`
[INFO] [stdout]   --> src/dynamic_config.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio::fs::File;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ConfigEvent`
[INFO] [stdout]  --> src/config_api.rs:2:51
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::dynamic_config::{DynamicConfigManager, ConfigEvent};
[INFO] [stdout]   |                                                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ProxyConfig` and `TcpProxyConfig`
[INFO] [stdout]  --> src/config_api.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::config::{ProxyConfig, RouteConfig, TcpProxyConfig};
[INFO] [stdout]   |                     ^^^^^^^^^^^               ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/config_api.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::Infallible`
[INFO] [stdout]  --> src/config_api.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::convert::Infallible;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/lib.rs:152:67
[INFO] [stdout]     |
[INFO] [stdout] 152 | ...                   ConfigEvent::RouteAdded(name, config) => {
[INFO] [stdout]     |                                                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/lib.rs:156:69
[INFO] [stdout]     |
[INFO] [stdout] 156 | ...                   ConfigEvent::RouteUpdated(name, config) => {
[INFO] [stdout]     |                                                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tcp_config`
[INFO] [stdout]    --> src/lib.rs:164:67
[INFO] [stdout]     |
[INFO] [stdout] 164 | ...                   ConfigEvent::TcpConfigUpdated(tcp_config) => {
[INFO] [stdout]     |                                                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tcp_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config_manager`
[INFO] [stdout]   --> src/lib.rs:58:13
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let config_manager = self.config_manager.clone();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_manager`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `http_handle`
[INFO] [stdout]   --> src/lib.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let http_handle = tokio::spawn(async move {
[INFO] [stdout]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tcp_handle`
[INFO] [stdout]   --> src/lib.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let tcp_handle = if initial_config.tcp_proxy.enabled || has_db_routes {
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tcp_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `udp_handle`
[INFO] [stdout]   --> src/lib.rs:98:13
[INFO] [stdout]    |
[INFO] [stdout] 98 |         let udp_handle = if initial_config.tcp_proxy.udp_enabled || has_udp_routes {
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_udp_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `api_handle`
[INFO] [stdout]    --> src/lib.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let api_handle = {
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config_change_handle`
[INFO] [stdout]    --> src/lib.rs:134:13
[INFO] [stdout]     |
[INFO] [stdout] 134 |         let config_change_handle = tokio::spawn(async move {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_change_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::io::AsyncReadExt`
[INFO] [stdout]   --> src/dynamic_config.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tokio::io::AsyncReadExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::time::Duration;
[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 variable: `enable_api`
[INFO] [stdout]   --> src/main.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let enable_api = matches.contains_id("enable-api");
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enable_api`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `api_port`
[INFO] [stdout]   --> src/main.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let api_port = *matches.get_one::<u16>("api-port").unwrap_or(&8082);
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_port`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 40s
[INFO] running `Command { std: "docker" "inspect" "93b3acf592c9735a671da94220a755612703e41688e923a2b557ed21f0923b45", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "93b3acf592c9735a671da94220a755612703e41688e923a2b557ed21f0923b45", kill_on_drop: false }`
[INFO] [stdout] 93b3acf592c9735a671da94220a755612703e41688e923a2b557ed21f0923b45
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eb2188b2a82d2f8ac7018accba6f0cd721da731acedda3aa074db087ae2a2ca3
[INFO] running `Command { std: "docker" "start" "-a" "eb2188b2a82d2f8ac7018accba6f0cd721da731acedda3aa074db087ae2a2ca3", kill_on_drop: false }`
[INFO] [stdout] warning: unused imports: `RwLock` and `broadcast`
[INFO] [stdout]  --> src/lib.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::sync::{broadcast, mpsc, RwLock};
[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: `Context`
[INFO] [stdout]  --> src/client.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use anyhow::{Context, Result};
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::config`
[INFO] [stdout]  --> src/http_proxy.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::config;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RwLock` and `broadcast`
[INFO] [stdout]   --> src/http_proxy.rs:12:19
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tokio::sync::{broadcast, mpsc, RwLock};
[INFO] [stdout]    |                   ^^^^^^^^^        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RouteConfig`
[INFO] [stdout]  --> src/udp_proxy.rs:2:34
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::config::{ProxyConfig, RouteConfig};
[INFO] [stdout]   |                                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling harbr_router v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/dynamic_config.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mpsc`
[INFO] [stdout]  --> src/dynamic_config.rs:9:30
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio::sync::{broadcast, mpsc, RwLock};
[INFO] [stdout]   |                              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::fs::File`
[INFO] [stdout]   --> src/dynamic_config.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio::fs::File;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ConfigEvent`
[INFO] [stdout]  --> src/config_api.rs:2:51
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::dynamic_config::{DynamicConfigManager, ConfigEvent};
[INFO] [stdout]   |                                                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ProxyConfig` and `TcpProxyConfig`
[INFO] [stdout]  --> src/config_api.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::config::{ProxyConfig, RouteConfig, TcpProxyConfig};
[INFO] [stdout]   |                     ^^^^^^^^^^^               ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/config_api.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::Infallible`
[INFO] [stdout]  --> src/config_api.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::convert::Infallible;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/lib.rs:152:67
[INFO] [stdout]     |
[INFO] [stdout] 152 | ...                   ConfigEvent::RouteAdded(name, config) => {
[INFO] [stdout]     |                                                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/lib.rs:156:69
[INFO] [stdout]     |
[INFO] [stdout] 156 | ...                   ConfigEvent::RouteUpdated(name, config) => {
[INFO] [stdout]     |                                                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tcp_config`
[INFO] [stdout]    --> src/lib.rs:164:67
[INFO] [stdout]     |
[INFO] [stdout] 164 | ...                   ConfigEvent::TcpConfigUpdated(tcp_config) => {
[INFO] [stdout]     |                                                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tcp_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config_manager`
[INFO] [stdout]   --> src/lib.rs:58:13
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let config_manager = self.config_manager.clone();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_manager`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `http_handle`
[INFO] [stdout]   --> src/lib.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let http_handle = tokio::spawn(async move {
[INFO] [stdout]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tcp_handle`
[INFO] [stdout]   --> src/lib.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let tcp_handle = if initial_config.tcp_proxy.enabled || has_db_routes {
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tcp_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `udp_handle`
[INFO] [stdout]   --> src/lib.rs:98:13
[INFO] [stdout]    |
[INFO] [stdout] 98 |         let udp_handle = if initial_config.tcp_proxy.udp_enabled || has_udp_routes {
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_udp_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `api_handle`
[INFO] [stdout]    --> src/lib.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let api_handle = {
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config_change_handle`
[INFO] [stdout]    --> src/lib.rs:134:13
[INFO] [stdout]     |
[INFO] [stdout] 134 |         let config_change_handle = tokio::spawn(async move {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_change_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::io::AsyncReadExt`
[INFO] [stdout]   --> src/dynamic_config.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tokio::io::AsyncReadExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::time::Duration;
[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 variable: `enable_api`
[INFO] [stdout]   --> src/main.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let enable_api = matches.contains_id("enable-api");
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enable_api`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `api_port`
[INFO] [stdout]   --> src/main.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let api_port = *matches.get_one::<u16>("api-port").unwrap_or(&8082);
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_port`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RwLock` and `broadcast`
[INFO] [stdout]  --> src/lib.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::sync::{broadcast, mpsc, RwLock};
[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: `Context`
[INFO] [stdout]  --> src/client.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use anyhow::{Context, Result};
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::config`
[INFO] [stdout]  --> src/http_proxy.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::config;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RwLock` and `broadcast`
[INFO] [stdout]   --> src/http_proxy.rs:12:19
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tokio::sync::{broadcast, mpsc, RwLock};
[INFO] [stdout]    |                   ^^^^^^^^^        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RouteConfig`
[INFO] [stdout]  --> src/udp_proxy.rs:2:34
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::config::{ProxyConfig, RouteConfig};
[INFO] [stdout]   |                                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/dynamic_config.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mpsc`
[INFO] [stdout]  --> src/dynamic_config.rs:9:30
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio::sync::{broadcast, mpsc, RwLock};
[INFO] [stdout]   |                              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::fs::File`
[INFO] [stdout]   --> src/dynamic_config.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio::fs::File;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ConfigEvent`
[INFO] [stdout]  --> src/config_api.rs:2:51
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::dynamic_config::{DynamicConfigManager, ConfigEvent};
[INFO] [stdout]   |                                                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ProxyConfig` and `TcpProxyConfig`
[INFO] [stdout]  --> src/config_api.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::config::{ProxyConfig, RouteConfig, TcpProxyConfig};
[INFO] [stdout]   |                     ^^^^^^^^^^^               ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/config_api.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::Infallible`
[INFO] [stdout]  --> src/config_api.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::convert::Infallible;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/lib.rs:152:67
[INFO] [stdout]     |
[INFO] [stdout] 152 | ...                   ConfigEvent::RouteAdded(name, config) => {
[INFO] [stdout]     |                                                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/lib.rs:156:69
[INFO] [stdout]     |
[INFO] [stdout] 156 | ...                   ConfigEvent::RouteUpdated(name, config) => {
[INFO] [stdout]     |                                                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tcp_config`
[INFO] [stdout]    --> src/lib.rs:164:67
[INFO] [stdout]     |
[INFO] [stdout] 164 | ...                   ConfigEvent::TcpConfigUpdated(tcp_config) => {
[INFO] [stdout]     |                                                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tcp_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config_manager`
[INFO] [stdout]   --> src/lib.rs:58:13
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let config_manager = self.config_manager.clone();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_manager`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `http_handle`
[INFO] [stdout]   --> src/lib.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let http_handle = tokio::spawn(async move {
[INFO] [stdout]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tcp_handle`
[INFO] [stdout]   --> src/lib.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let tcp_handle = if initial_config.tcp_proxy.enabled || has_db_routes {
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tcp_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `udp_handle`
[INFO] [stdout]   --> src/lib.rs:98:13
[INFO] [stdout]    |
[INFO] [stdout] 98 |         let udp_handle = if initial_config.tcp_proxy.udp_enabled || has_udp_routes {
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_udp_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `api_handle`
[INFO] [stdout]    --> src/lib.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let api_handle = {
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config_change_handle`
[INFO] [stdout]    --> src/lib.rs:134:13
[INFO] [stdout]     |
[INFO] [stdout] 134 |         let config_change_handle = tokio::spawn(async move {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_change_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::io::AsyncReadExt`
[INFO] [stdout]   --> src/dynamic_config.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tokio::io::AsyncReadExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 8.48s
[INFO] running `Command { std: "docker" "inspect" "eb2188b2a82d2f8ac7018accba6f0cd721da731acedda3aa074db087ae2a2ca3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb2188b2a82d2f8ac7018accba6f0cd721da731acedda3aa074db087ae2a2ca3", kill_on_drop: false }`
[INFO] [stdout] eb2188b2a82d2f8ac7018accba6f0cd721da731acedda3aa074db087ae2a2ca3
