[INFO] fetching crate harbr_router 0.2.0...
[INFO] testing harbr_router-0.2.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate harbr_router 0.2.0 into /workspace/builds/worker-7-tc2/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-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate harbr_router 0.2.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 62425295a7562969c9c376d1086d03e28bc182799c283d50b318772243ed7c70
[INFO] running `Command { std: "docker" "start" "-a" "62425295a7562969c9c376d1086d03e28bc182799c283d50b318772243ed7c70", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "62425295a7562969c9c376d1086d03e28bc182799c283d50b318772243ed7c70", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "62425295a7562969c9c376d1086d03e28bc182799c283d50b318772243ed7c70", kill_on_drop: false }`
[INFO] [stdout] 62425295a7562969c9c376d1086d03e28bc182799c283d50b318772243ed7c70
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ba788fb5102f8e771d3ff3f33070dc9398b0161bc8c6bd0b84327cdd601fd44a
[INFO] running `Command { std: "docker" "start" "-a" "ba788fb5102f8e771d3ff3f33070dc9398b0161bc8c6bd0b84327cdd601fd44a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling unicode-ident v1.0.17
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling libc v0.2.170
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling once_cell v1.20.3
[INFO] [stderr]    Compiling bytes v1.10.0
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling smallvec v1.14.0
[INFO] [stderr]    Compiling log v0.4.26
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling writeable v0.5.5
[INFO] [stderr]    Compiling litemap v0.7.5
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling cc v1.2.16
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling icu_properties_data v1.5.0
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling serde v1.0.218
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling openssl v0.10.71
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling ryu v1.0.19
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling anstyle-parse v0.2.6
[INFO] [stderr]    Compiling indexmap v2.7.1
[INFO] [stderr]    Compiling http v1.2.0
[INFO] [stderr]    Compiling http v0.2.12
[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 quote v1.0.39
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling syn v2.0.99
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling openssl-sys v0.9.106
[INFO] [stderr]    Compiling multer v2.1.0
[INFO] [stderr]    Compiling colorchoice v1.0.3
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling anstyle-query v1.1.2
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling anstyle v1.0.10
[INFO] [stderr]    Compiling getrandom v0.3.1
[INFO] [stderr]    Compiling data-encoding v2.8.0
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling anstream v0.6.18
[INFO] [stderr]    Compiling headers-core v0.2.0
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling clap_lex v0.7.4
[INFO] [stderr]    Compiling rustls-pki-types v1.11.0
[INFO] [stderr]    Compiling sketches-ddsketch v0.2.2
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling anyhow v1.0.97
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling clap_builder v4.5.35
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling headers v0.3.9
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling http-range-header v0.3.1
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling scoped-tls v1.0.1
[INFO] [stderr]    Compiling uuid v1.16.0
[INFO] [stderr]    Compiling quanta v0.11.1
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling dashmap v5.5.3
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling matchers v0.1.0
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.31
[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 thiserror-impl v1.0.69
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[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 futures-util v0.3.31
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling tokio v1.43.0
[INFO] [stderr]    Compiling pin-project v1.1.9
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling metrics v0.21.1
[INFO] [stderr]    Compiling hashbrown v0.13.1
[INFO] [stderr]    Compiling clap v4.5.35
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling metrics-util v0.15.1
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling tower-http v0.4.4
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[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 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 metrics-exporter-prometheus v0.12.2
[INFO] [stderr]    Compiling warp v0.3.7
[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 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 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: `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 33s
[INFO] running `Command { std: "docker" "inspect" "ba788fb5102f8e771d3ff3f33070dc9398b0161bc8c6bd0b84327cdd601fd44a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ba788fb5102f8e771d3ff3f33070dc9398b0161bc8c6bd0b84327cdd601fd44a", kill_on_drop: false }`
[INFO] [stdout] ba788fb5102f8e771d3ff3f33070dc9398b0161bc8c6bd0b84327cdd601fd44a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5fe43a1967881ed283976c762992e4c999d797fc02d8e9e21dd6b5fe42ca7397
[INFO] running `Command { std: "docker" "start" "-a" "5fe43a1967881ed283976c762992e4c999d797fc02d8e9e21dd6b5fe42ca7397", 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] [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 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 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] [stderr]    Compiling harbr_router v0.2.0 (/opt/rustwide/workdir)
[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: `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 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 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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 8.79s
[INFO] running `Command { std: "docker" "inspect" "5fe43a1967881ed283976c762992e4c999d797fc02d8e9e21dd6b5fe42ca7397", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5fe43a1967881ed283976c762992e4c999d797fc02d8e9e21dd6b5fe42ca7397", kill_on_drop: false }`
[INFO] [stdout] 5fe43a1967881ed283976c762992e4c999d797fc02d8e9e21dd6b5fe42ca7397
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] e18759742f9871ef45f6bc109d6437950244efeeb5e3f9e2d946a1cfd8baa0f2
[INFO] running `Command { std: "docker" "start" "-a" "e18759742f9871ef45f6bc109d6437950244efeeb5e3f9e2d946a1cfd8baa0f2", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `RwLock` and `broadcast`
[INFO] [stderr]  --> src/lib.rs:4:19
[INFO] [stderr]   |
[INFO] [stderr] 4 | use tokio::sync::{broadcast, mpsc, RwLock};
[INFO] [stderr]   |                   ^^^^^^^^^        ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Context`
[INFO] [stderr]  --> src/client.rs:3:14
[INFO] [stderr]   |
[INFO] [stderr] 3 | use anyhow::{Context, Result};
[INFO] [stderr]   |              ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::config`
[INFO] [stderr]  --> src/http_proxy.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use crate::config;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `RwLock` and `broadcast`
[INFO] [stderr]   --> src/http_proxy.rs:12:19
[INFO] [stderr]    |
[INFO] [stderr] 12 | use tokio::sync::{broadcast, mpsc, RwLock};
[INFO] [stderr]    |                   ^^^^^^^^^        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `RouteConfig`
[INFO] [stderr]  --> src/udp_proxy.rs:2:34
[INFO] [stderr]   |
[INFO] [stderr] 2 | use crate::config::{ProxyConfig, RouteConfig};
[INFO] [stderr]   |                                  ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/dynamic_config.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `mpsc`
[INFO] [stderr]  --> src/dynamic_config.rs:9:30
[INFO] [stderr]   |
[INFO] [stderr] 9 | use tokio::sync::{broadcast, mpsc, RwLock};
[INFO] [stderr]   |                              ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tokio::fs::File`
[INFO] [stderr]   --> src/dynamic_config.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use tokio::fs::File;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ConfigEvent`
[INFO] [stderr]  --> src/config_api.rs:2:51
[INFO] [stderr]   |
[INFO] [stderr] 2 | use crate::dynamic_config::{DynamicConfigManager, ConfigEvent};
[INFO] [stderr]   |                                                   ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `ProxyConfig` and `TcpProxyConfig`
[INFO] [stderr]  --> src/config_api.rs:3:21
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::config::{ProxyConfig, RouteConfig, TcpProxyConfig};
[INFO] [stderr]   |                     ^^^^^^^^^^^               ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Deserialize`
[INFO] [stderr]  --> src/config_api.rs:6:13
[INFO] [stderr]   |
[INFO] [stderr] 6 | use serde::{Deserialize, Serialize};
[INFO] [stderr]   |             ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::convert::Infallible`
[INFO] [stderr]  --> src/config_api.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::convert::Infallible;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tokio::io::AsyncReadExt`
[INFO] [stderr]   --> src/dynamic_config.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use tokio::io::AsyncReadExt;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `config`
[INFO] [stderr]    --> src/lib.rs:152:67
[INFO] [stderr]     |
[INFO] [stderr] 152 | ...                   ConfigEvent::RouteAdded(name, config) => {
[INFO] [stderr]     |                                                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `config`
[INFO] [stderr]    --> src/lib.rs:156:69
[INFO] [stderr]     |
[INFO] [stderr] 156 | ...                   ConfigEvent::RouteUpdated(name, config) => {
[INFO] [stderr]     |                                                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tcp_config`
[INFO] [stderr]    --> src/lib.rs:164:67
[INFO] [stderr]     |
[INFO] [stderr] 164 | ...                   ConfigEvent::TcpConfigUpdated(tcp_config) => {
[INFO] [stderr]     |                                                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tcp_config`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `config_manager`
[INFO] [stderr]   --> src/lib.rs:58:13
[INFO] [stderr]    |
[INFO] [stderr] 58 |         let config_manager = self.config_manager.clone();
[INFO] [stderr]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_manager`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `http_handle`
[INFO] [stderr]   --> src/lib.rs:65:13
[INFO] [stderr]    |
[INFO] [stderr] 65 |         let http_handle = tokio::spawn(async move {
[INFO] [stderr]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_handle`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tcp_handle`
[INFO] [stderr]   --> src/lib.rs:82:13
[INFO] [stderr]    |
[INFO] [stderr] 82 |         let tcp_handle = if initial_config.tcp_proxy.enabled || has_db_routes {
[INFO] [stderr]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tcp_handle`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `udp_handle`
[INFO] [stderr]   --> src/lib.rs:98:13
[INFO] [stderr]    |
[INFO] [stderr] 98 |         let udp_handle = if initial_config.tcp_proxy.udp_enabled || has_udp_routes {
[INFO] [stderr]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_udp_handle`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `api_handle`
[INFO] [stderr]    --> src/lib.rs:117:13
[INFO] [stderr]     |
[INFO] [stderr] 117 |         let api_handle = {
[INFO] [stderr]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_handle`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `config_change_handle`
[INFO] [stderr]    --> src/lib.rs:134:13
[INFO] [stderr]     |
[INFO] [stderr] 134 |         let config_change_handle = tokio::spawn(async move {
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_change_handle`
[INFO] [stderr] 
[INFO] [stderr] warning: `harbr_router` (lib) generated 22 warnings (run `cargo fix --lib -p harbr_router` to apply 21 suggestions)
[INFO] [stderr] warning: `harbr_router` (lib test) generated 22 warnings (22 duplicates)
[INFO] [stderr] warning: unused import: `std::time::Duration`
[INFO] [stderr]  --> src/main.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::time::Duration;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `enable_api`
[INFO] [stderr]   --> src/main.rs:61:9
[INFO] [stderr]    |
[INFO] [stderr] 61 |     let enable_api = matches.contains_id("enable-api");
[INFO] [stderr]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enable_api`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `api_port`
[INFO] [stderr]   --> src/main.rs:62:9
[INFO] [stderr]    |
[INFO] [stderr] 62 |     let api_port = *matches.get_one::<u16>("api-port").unwrap_or(&8082);
[INFO] [stderr]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_port`
[INFO] [stderr] 
[INFO] [stderr] warning: `harbr_router` (bin "harbr-router" test) generated 3 warnings (run `cargo fix --bin "harbr-router" -p harbr_router --tests` to apply 3 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/harbr_router-2a8b1e259dc83702)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/harbr_router-6c9e7473e85b290c)
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests harbr_router
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "e18759742f9871ef45f6bc109d6437950244efeeb5e3f9e2d946a1cfd8baa0f2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e18759742f9871ef45f6bc109d6437950244efeeb5e3f9e2d946a1cfd8baa0f2", kill_on_drop: false }`
[INFO] [stdout] e18759742f9871ef45f6bc109d6437950244efeeb5e3f9e2d946a1cfd8baa0f2
