[INFO] cloning repository https://github.com/proregmao/tincfq
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/proregmao/tincfq" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproregmao%2Ftincfq", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproregmao%2Ftincfq'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e4f39861c33cae83c6e66b8a9705ffe99b6e0a6c
[INFO] checking proregmao/tincfq against 49a6044d37d694890450f52ceaceb66277a36b1e for pr-161154
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproregmao%2Ftincfq" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/proregmao/tincfq
[INFO] removed 0 missing tests
[INFO] finished tweaking git repo https://github.com/proregmao/tincfq
[INFO] tweaked toml for git repo https://github.com/proregmao/tincfq written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/proregmao/tincfq on toolchain 49a6044d37d694890450f52ceaceb66277a36b1e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/proregmao/tincfq 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" "+49a6044d37d694890450f52ceaceb66277a36b1e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio-metrics v0.3.1
[INFO] [stderr]   Downloaded pnet_transport v0.34.0
[INFO] [stderr]   Downloaded pnet_sys v0.34.0
[INFO] [stderr]   Downloaded pnet_base v0.34.0
[INFO] [stderr]   Downloaded pnet_macros_support v0.34.0
[INFO] [stderr]   Downloaded tokio-tun v0.11.5
[INFO] [stderr]   Downloaded netlink-sys v0.8.7
[INFO] [stderr]   Downloaded ipnetwork v0.20.0
[INFO] [stderr]   Downloaded sketches-ddsketch v0.2.2
[INFO] [stderr]   Downloaded pnet v0.34.0
[INFO] [stderr]   Downloaded pnet_datalink v0.34.0
[INFO] [stderr]   Downloaded maxminddb v0.24.0
[INFO] [stderr]   Downloaded pnet_packet v0.34.0
[INFO] [stderr]   Downloaded metrics-exporter-prometheus v0.13.1
[INFO] [stderr]   Downloaded pnet_macros v0.34.0
[INFO] [stderr]   Downloaded metrics v0.22.4
[INFO] [stderr]   Downloaded metrics-util v0.16.3
[INFO] [stderr]   Downloaded half v2.7.0
[INFO] [stderr]   Downloaded regex v1.12.1
[INFO] [stderr]   Downloaded regex-syntax v0.8.7
[INFO] [stderr]   Downloaded regex-automata v0.4.12
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 46fdaf5b04ccb40962f08f0cd85a5477f7ab2df5b29f58e8cdf598daf2209b76
[INFO] running `Command { std: "docker" "start" "46fdaf5b04ccb40962f08f0cd85a5477f7ab2df5b29f58e8cdf598daf2209b76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "46fdaf5b04ccb40962f08f0cd85a5477f7ab2df5b29f58e8cdf598daf2209b76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "46fdaf5b04ccb40962f08f0cd85a5477f7ab2df5b29f58e8cdf598daf2209b76" "/opt/rustwide/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "46fdaf5b04ccb40962f08f0cd85a5477f7ab2df5b29f58e8cdf598daf2209b76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "46fdaf5b04ccb40962f08f0cd85a5477f7ab2df5b29f58e8cdf598daf2209b76" "/opt/rustwide/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]     Checking bytes v1.10.1
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]     Checking bitflags v2.9.4
[INFO] [stderr]    Compiling find-msvc-tools v0.1.4
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]     Checking hashbrown v0.16.0
[INFO] [stderr]     Checking regex-syntax v0.8.7
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]     Checking serde_json v1.0.145
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking no-std-net v0.6.0
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling cc v1.2.41
[INFO] [stderr]     Checking pnet_base v0.34.0
[INFO] [stderr]     Checking anstyle-query v1.1.4
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]     Checking anstream v0.6.21
[INFO] [stderr]     Checking pnet_macros_support v0.34.0
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking http v1.3.1
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]     Checking raw-cpuid v11.6.0
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking indexmap v2.11.4
[INFO] [stderr]    Compiling multer v2.1.0
[INFO] [stderr]     Checking clap_lex v0.7.5
[INFO] [stderr]     Checking data-encoding v2.9.0
[INFO] [stderr]     Checking deranged v0.5.4
[INFO] [stderr]     Checking clap_builder v4.5.48
[INFO] [stderr]    Compiling pnet v0.34.0
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking sketches-ddsketch v0.2.2
[INFO] [stderr]     Checking winnow v0.7.13
[INFO] [stderr]     Checking time-core v0.1.6
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking headers-core v0.2.0
[INFO] [stderr]     Checking headers v0.3.9
[INFO] [stderr]     Checking plotters-backend v0.3.7
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking colored v2.2.0
[INFO] [stderr]     Checking cast v0.3.0
[INFO] [stderr]     Checking oorandom v11.1.5
[INFO] [stderr]     Checking plotters-svg v0.3.7
[INFO] [stderr]     Checking anes v0.1.6
[INFO] [stderr]     Checking plotters v0.3.7
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]     Checking regex-automata v0.4.12
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]     Checking socket2 v0.6.0
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking pnet_sys v0.34.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking inotify-sys v0.1.5
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking inotify v0.9.6
[INFO] [stderr]     Checking nix v0.26.4
[INFO] [stderr]     Checking filetime v0.2.26
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking sysinfo v0.30.13
[INFO] [stderr]     Checking quanta v0.12.6
[INFO] [stderr]     Checking memmap2 v0.9.8
[INFO] [stderr]     Checking tempfile v3.23.0
[INFO] [stderr]     Checking wait-timeout v0.2.1
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking notify v6.1.1
[INFO] [stderr]     Checking rand_xorshift v0.4.0
[INFO] [stderr]     Checking rusty-fork v0.3.1
[INFO] [stderr]     Checking time v0.3.44
[INFO] [stderr]     Checking is-terminal v0.4.16
[INFO] [stderr]     Checking criterion-plot v0.5.0
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking regex v1.12.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerocopy-derive v0.8.27
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling pnet_macros v0.34.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling clap_derive v4.5.47
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]     Checking tokio v1.47.1
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]     Checking pnet_packet v0.34.0
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking thiserror v2.0.17
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking zerovec v0.11.4
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]     Checking netlink-packet-utils v0.5.2
[INFO] [stderr]     Checking prometheus v0.13.4
[INFO] [stderr]     Checking clap v4.5.48
[INFO] [stderr]     Checking netlink-packet-core v0.7.0
[INFO] [stderr]     Checking netlink-packet-route v0.17.1
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.3
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking ipnetwork v0.20.0
[INFO] [stderr]     Checking tracing-serde v0.2.0
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking chrono v0.4.42
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking pnet_datalink v0.34.0
[INFO] [stderr]     Checking maxminddb v0.24.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.20
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]     Checking half v2.7.0
[INFO] [stderr]     Checking metrics v0.22.4
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking metrics-util v0.16.3
[INFO] [stderr]     Checking proptest v1.8.0
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking tokio-util v0.7.16
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]     Checking tokio-tun v0.11.5
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking tracing-appender v0.2.3
[INFO] [stderr]     Checking netlink-sys v0.8.7
[INFO] [stderr]     Checking netlink-proto v0.11.5
[INFO] [stderr]     Checking pnet_transport v0.34.0
[INFO] [stderr]     Checking tokio-metrics v0.3.1
[INFO] [stderr]     Checking tokio-test v0.4.4
[INFO] [stderr]     Checking rtnetlink v0.13.1
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking criterion v0.5.1
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking tungstenite v0.21.0
[INFO] [stderr]     Checking tokio-tungstenite v0.21.0
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking warp v0.3.7
[INFO] [stderr]     Checking metrics-exporter-prometheus v0.13.1
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking smart-proxy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/geoip/v2ray_style.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Ipv4Addr` and `Ipv6Addr`
[INFO] [stdout]  --> src/geoip/v2ray_style.rs:7:24
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::net::{IpAddr, Ipv4Addr, Ipv6Addr};
[INFO] [stdout]   |                        ^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Reader` and `geoip2`
[INFO] [stdout]   --> src/geoip/mod.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 | use maxminddb::{geoip2, MaxMindDBError, Reader};
[INFO] [stdout]    |                 ^^^^^^                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PathBuf`
[INFO] [stdout]   --> src/geoip/mod.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::path::{Path, PathBuf};
[INFO] [stdout]    |                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::time::sleep`
[INFO] [stdout]   --> src/loadbalancer/mod.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use tokio::time::sleep;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]   --> src/loadbalancer/mod.rs:19:34
[INFO] [stdout]    |
[INFO] [stdout] 19 | use tracing::{debug, info, warn, error};
[INFO] [stdout]    |                                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/monitoring/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Duration` and `Instant`
[INFO] [stdout]  --> src/monitoring/mod.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::time::{Duration, Instant, SystemTime, UNIX_EPOCH};
[INFO] [stdout]   |                 ^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> src/monitoring/mod.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sysinfo::System`
[INFO] [stdout]   --> src/monitoring/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use sysinfo::System;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Mutex` and `RwLock`
[INFO] [stdout]   --> src/monitoring/mod.rs:12:19
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tokio::sync::{RwLock, Mutex};
[INFO] [stdout]    |                   ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::time::interval`
[INFO] [stdout]   --> src/monitoring/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use tokio::time::interval;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, and `warn`
[INFO] [stdout]   --> src/monitoring/mod.rs:14:15
[INFO] [stdout]    |
[INFO] [stdout] 14 | use tracing::{debug, error, info, warn};
[INFO] [stdout]    |               ^^^^^  ^^^^^  ^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/monitoring/metrics.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/monitoring/metrics.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error` and `warn`
[INFO] [stdout]   --> src/monitoring/metrics.rs:10:22
[INFO] [stdout]    |
[INFO] [stdout] 10 | use tracing::{debug, error, info, warn};
[INFO] [stdout]    |                      ^^^^^        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/monitoring/prometheus_exporter.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/monitoring/prometheus_exporter.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/monitoring/prometheus_exporter.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CounterVec`, `Counter`, and `IntGaugeVec`
[INFO] [stdout]  --> src/monitoring/prometheus_exporter.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Counter, CounterVec, Gauge, GaugeVec, Histogram, HistogramVec, IntCounter, IntCounterVec,
[INFO] [stdout]   |     ^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 8 |     IntGauge, IntGaugeVec, Registry, Encoder, TextEncoder,
[INFO] [stdout]   |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::RwLock`
[INFO] [stdout]   --> src/monitoring/prometheus_exporter.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use tokio::sync::RwLock;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::time::interval`
[INFO] [stdout]   --> src/monitoring/prometheus_exporter.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio::time::interval;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]   --> src/monitoring/prometheus_exporter.rs:12:35
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tracing::{debug, error, info, warn};
[INFO] [stdout]    |                                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Reply`
[INFO] [stdout]   --> src/monitoring/prometheus_exporter.rs:13:20
[INFO] [stdout]    |
[INFO] [stdout] 13 | use warp::{Filter, Reply};
[INFO] [stdout]    |                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/monitoring/performance_monitor.rs:9:35
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tracing::{debug, error, info, warn};
[INFO] [stdout]   |                                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/logging/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/logging/mod.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::time::{Duration, SystemTime, UNIX_EPOCH};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RwLock` and `broadcast`
[INFO] [stdout]  --> src/logging/mod.rs:8:19
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio::sync::{broadcast, RwLock};
[INFO] [stdout]   |                   ^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, and `warn`
[INFO] [stdout]  --> src/logging/mod.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tracing::{debug, error, info, warn};
[INFO] [stdout]   |               ^^^^^  ^^^^^  ^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/logging/manager.rs:8:35
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tracing::{debug, error, info, warn};
[INFO] [stdout]   |                                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]  --> src/logging/rotator.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tracing::{debug, error, info, warn};
[INFO] [stdout]   |                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> src/logging/async_logger.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `timeout`
[INFO] [stdout]   --> src/logging/async_logger.rs:10:29
[INFO] [stdout]    |
[INFO] [stdout] 10 | use tokio::time::{interval, timeout};
[INFO] [stdout]    |                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]   --> src/logging/async_logger.rs:11:29
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tracing::{debug, error, info, warn};
[INFO] [stdout]    |                             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HealthStatus`
[INFO] [stdout]  --> src/health/http_endpoint.rs:5:47
[INFO] [stdout]   |
[INFO] [stdout] 5 | use super::{HealthChecker, SystemDiagnostics, HealthStatus};
[INFO] [stdout]   |                                               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ipv4Addr`
[INFO] [stdout]   --> src/health/mod.rs:12:24
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::net::{IpAddr, Ipv4Addr};
[INFO] [stdout]    |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/geoip/v2ray_style.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Ipv4Addr` and `Ipv6Addr`
[INFO] [stdout]  --> src/geoip/v2ray_style.rs:7:24
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::net::{IpAddr, Ipv4Addr, Ipv6Addr};
[INFO] [stdout]   |                        ^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Reader` and `geoip2`
[INFO] [stdout]   --> src/geoip/mod.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 | use maxminddb::{geoip2, MaxMindDBError, Reader};
[INFO] [stdout]    |                 ^^^^^^                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PathBuf`
[INFO] [stdout]   --> src/geoip/mod.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::path::{Path, PathBuf};
[INFO] [stdout]    |                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::time::sleep`
[INFO] [stdout]   --> src/loadbalancer/mod.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use tokio::time::sleep;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]   --> src/loadbalancer/mod.rs:19:34
[INFO] [stdout]    |
[INFO] [stdout] 19 | use tracing::{debug, info, warn, error};
[INFO] [stdout]    |                                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/monitoring/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Duration` and `Instant`
[INFO] [stdout]  --> src/monitoring/mod.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::time::{Duration, Instant, SystemTime, UNIX_EPOCH};
[INFO] [stdout]   |                 ^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> src/monitoring/mod.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sysinfo::System`
[INFO] [stdout]   --> src/monitoring/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use sysinfo::System;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Mutex` and `RwLock`
[INFO] [stdout]   --> src/monitoring/mod.rs:12:19
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tokio::sync::{RwLock, Mutex};
[INFO] [stdout]    |                   ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::time::interval`
[INFO] [stdout]   --> src/monitoring/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use tokio::time::interval;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, and `warn`
[INFO] [stdout]   --> src/monitoring/mod.rs:14:15
[INFO] [stdout]    |
[INFO] [stdout] 14 | use tracing::{debug, error, info, warn};
[INFO] [stdout]    |               ^^^^^  ^^^^^  ^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/monitoring/metrics.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/monitoring/metrics.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error` and `warn`
[INFO] [stdout]   --> src/monitoring/metrics.rs:10:22
[INFO] [stdout]    |
[INFO] [stdout] 10 | use tracing::{debug, error, info, warn};
[INFO] [stdout]    |                      ^^^^^        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/monitoring/prometheus_exporter.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/monitoring/prometheus_exporter.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/monitoring/prometheus_exporter.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CounterVec`, `Counter`, and `IntGaugeVec`
[INFO] [stdout]  --> src/monitoring/prometheus_exporter.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Counter, CounterVec, Gauge, GaugeVec, Histogram, HistogramVec, IntCounter, IntCounterVec,
[INFO] [stdout]   |     ^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 8 |     IntGauge, IntGaugeVec, Registry, Encoder, TextEncoder,
[INFO] [stdout]   |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::RwLock`
[INFO] [stdout]   --> src/monitoring/prometheus_exporter.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use tokio::sync::RwLock;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::time::interval`
[INFO] [stdout]   --> src/monitoring/prometheus_exporter.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio::time::interval;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]   --> src/monitoring/prometheus_exporter.rs:12:35
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tracing::{debug, error, info, warn};
[INFO] [stdout]    |                                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Reply`
[INFO] [stdout]   --> src/monitoring/prometheus_exporter.rs:13:20
[INFO] [stdout]    |
[INFO] [stdout] 13 | use warp::{Filter, Reply};
[INFO] [stdout]    |                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ApplicationMetrics`, `GatewayMetrics`, `ProtocolMetrics`, and `SystemMetrics`
[INFO] [stdout]    --> src/monitoring/prometheus_exporter.rs:401:29
[INFO] [stdout]     |
[INFO] [stdout] 401 |     use crate::monitoring::{SystemMetrics, ApplicationMetrics, GatewayMetrics, ProtocolMetrics};
[INFO] [stdout]     |                             ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/monitoring/performance_monitor.rs:9:35
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tracing::{debug, error, info, warn};
[INFO] [stdout]   |                                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/logging/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/logging/mod.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::time::{Duration, SystemTime, UNIX_EPOCH};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RwLock` and `broadcast`
[INFO] [stdout]  --> src/logging/mod.rs:8:19
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio::sync::{broadcast, RwLock};
[INFO] [stdout]   |                   ^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, and `warn`
[INFO] [stdout]  --> src/logging/mod.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tracing::{debug, error, info, warn};
[INFO] [stdout]   |               ^^^^^  ^^^^^  ^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/logging/manager.rs:8:35
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tracing::{debug, error, info, warn};
[INFO] [stdout]   |                                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::logging::config::LogConfig`
[INFO] [stdout]    --> src/logging/manager.rs:302:9
[INFO] [stdout]     |
[INFO] [stdout] 302 |     use crate::logging::config::LogConfig;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]  --> src/logging/rotator.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tracing::{debug, error, info, warn};
[INFO] [stdout]   |                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> src/logging/async_logger.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `timeout`
[INFO] [stdout]   --> src/logging/async_logger.rs:10:29
[INFO] [stdout]    |
[INFO] [stdout] 10 | use tokio::time::{interval, timeout};
[INFO] [stdout]    |                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]   --> src/logging/async_logger.rs:11:29
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tracing::{debug, error, info, warn};
[INFO] [stdout]    |                             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HealthStatus`
[INFO] [stdout]  --> src/health/http_endpoint.rs:5:47
[INFO] [stdout]   |
[INFO] [stdout] 5 | use super::{HealthChecker, SystemDiagnostics, HealthStatus};
[INFO] [stdout]   |                                               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ipv4Addr`
[INFO] [stdout]   --> src/health/mod.rs:12:24
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::net::{IpAddr, Ipv4Addr};
[INFO] [stdout]    |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/geoip/v2ray_style.rs:256:13
[INFO] [stdout]     |
[INFO] [stdout] 256 |         let mut cache = self.subnet_cache.write().await;
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/geoip/v2ray_style.rs:256:13
[INFO] [stdout]     |
[INFO] [stdout] 256 |         let mut cache = self.subnet_cache.write().await;
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `config::ForeignGateway` has no field named `port`
[INFO] [stdout]    --> src/loadbalancer/mod.rs:710:17
[INFO] [stdout]     |
[INFO] [stdout] 710 |                 port: Some(0),
[INFO] [stdout]     |                 ^^^^ `config::ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/loadbalancer/mod.rs:711:25
[INFO] [stdout]     |
[INFO] [stdout] 711 |                 weight: Some(1),
[INFO] [stdout]     |                         ^^^^^^^ expected `u32`, found `Option<{integer}>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `u32`
[INFO] [stdout]                found enum `std::option::Option<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `config::ForeignGateway` has no field named `gateway_type`
[INFO] [stdout]    --> src/loadbalancer/mod.rs:713:17
[INFO] [stdout]     |
[INFO] [stdout] 713 |                 gateway_type: Some("direct".to_string()),
[INFO] [stdout]     |                 ^^^^^^^^^^^^ `config::ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `config::ForeignGateway` has no field named `timeout`
[INFO] [stdout]    --> src/loadbalancer/mod.rs:714:17
[INFO] [stdout]     |
[INFO] [stdout] 714 |                 timeout: Some(5000),
[INFO] [stdout]     |                 ^^^^^^^ `config::ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `config::ForeignGateway` has no field named `max_connections`
[INFO] [stdout]    --> src/loadbalancer/mod.rs:715:17
[INFO] [stdout]     |
[INFO] [stdout] 715 |                 max_connections: Some(1000),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^ `config::ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `config::ForeignGateway` has no field named `port`
[INFO] [stdout]    --> src/loadbalancer/mod.rs:719:17
[INFO] [stdout]     |
[INFO] [stdout] 719 |                 port: Some(0),
[INFO] [stdout]     |                 ^^^^ `config::ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/loadbalancer/mod.rs:720:25
[INFO] [stdout]     |
[INFO] [stdout] 720 |                 weight: Some(1),
[INFO] [stdout]     |                         ^^^^^^^ expected `u32`, found `Option<{integer}>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `u32`
[INFO] [stdout]                found enum `std::option::Option<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `config::ForeignGateway` has no field named `gateway_type`
[INFO] [stdout]    --> src/loadbalancer/mod.rs:722:17
[INFO] [stdout]     |
[INFO] [stdout] 722 |                 gateway_type: Some("direct".to_string()),
[INFO] [stdout]     |                 ^^^^^^^^^^^^ `config::ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `config::ForeignGateway` has no field named `timeout`
[INFO] [stdout]    --> src/loadbalancer/mod.rs:723:17
[INFO] [stdout]     |
[INFO] [stdout] 723 |                 timeout: Some(5000),
[INFO] [stdout]     |                 ^^^^^^^ `config::ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `config::ForeignGateway` has no field named `max_connections`
[INFO] [stdout]    --> src/loadbalancer/mod.rs:724:17
[INFO] [stdout]     |
[INFO] [stdout] 724 |                 max_connections: Some(1000),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^ `config::ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `config::ForeignGateway` has no field named `port`
[INFO] [stdout]    --> src/loadbalancer/mod.rs:752:17
[INFO] [stdout]     |
[INFO] [stdout] 752 |                 port: Some(0),
[INFO] [stdout]     |                 ^^^^ `config::ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/loadbalancer/mod.rs:753:25
[INFO] [stdout]     |
[INFO] [stdout] 753 |                 weight: Some(2),
[INFO] [stdout]     |                         ^^^^^^^ expected `u32`, found `Option<{integer}>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `u32`
[INFO] [stdout]                found enum `std::option::Option<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `config::ForeignGateway` has no field named `gateway_type`
[INFO] [stdout]    --> src/loadbalancer/mod.rs:755:17
[INFO] [stdout]     |
[INFO] [stdout] 755 |                 gateway_type: Some("direct".to_string()),
[INFO] [stdout]     |                 ^^^^^^^^^^^^ `config::ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `config::ForeignGateway` has no field named `timeout`
[INFO] [stdout]    --> src/loadbalancer/mod.rs:756:17
[INFO] [stdout]     |
[INFO] [stdout] 756 |                 timeout: Some(5000),
[INFO] [stdout]     |                 ^^^^^^^ `config::ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `config::ForeignGateway` has no field named `max_connections`
[INFO] [stdout]    --> src/loadbalancer/mod.rs:757:17
[INFO] [stdout]     |
[INFO] [stdout] 757 |                 max_connections: Some(1000),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^ `config::ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `config::ForeignGateway` has no field named `port`
[INFO] [stdout]    --> src/loadbalancer/mod.rs:761:17
[INFO] [stdout]     |
[INFO] [stdout] 761 |                 port: Some(0),
[INFO] [stdout]     |                 ^^^^ `config::ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/loadbalancer/mod.rs:762:25
[INFO] [stdout]     |
[INFO] [stdout] 762 |                 weight: Some(1),
[INFO] [stdout]     |                         ^^^^^^^ expected `u32`, found `Option<{integer}>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `u32`
[INFO] [stdout]                found enum `std::option::Option<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `config::ForeignGateway` has no field named `gateway_type`
[INFO] [stdout]    --> src/loadbalancer/mod.rs:764:17
[INFO] [stdout]     |
[INFO] [stdout] 764 |                 gateway_type: Some("direct".to_string()),
[INFO] [stdout]     |                 ^^^^^^^^^^^^ `config::ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `config::ForeignGateway` has no field named `timeout`
[INFO] [stdout]    --> src/loadbalancer/mod.rs:765:17
[INFO] [stdout]     |
[INFO] [stdout] 765 |                 timeout: Some(5000),
[INFO] [stdout]     |                 ^^^^^^^ `config::ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `config::ForeignGateway` has no field named `max_connections`
[INFO] [stdout]    --> src/loadbalancer/mod.rs:766:17
[INFO] [stdout]     |
[INFO] [stdout] 766 |                 max_connections: Some(1000),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^ `config::ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `config::ForeignGateway` has no field named `port`
[INFO] [stdout]    --> src/loadbalancer/mod.rs:803:17
[INFO] [stdout]     |
[INFO] [stdout] 803 |                 port: Some(0),
[INFO] [stdout]     |                 ^^^^ `config::ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/loadbalancer/mod.rs:804:25
[INFO] [stdout]     |
[INFO] [stdout] 804 |                 weight: Some(1),
[INFO] [stdout]     |                         ^^^^^^^ expected `u32`, found `Option<{integer}>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `u32`
[INFO] [stdout]                found enum `std::option::Option<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `config::ForeignGateway` has no field named `gateway_type`
[INFO] [stdout]    --> src/loadbalancer/mod.rs:806:17
[INFO] [stdout]     |
[INFO] [stdout] 806 |                 gateway_type: Some("direct".to_string()),
[INFO] [stdout]     |                 ^^^^^^^^^^^^ `config::ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `config::ForeignGateway` has no field named `timeout`
[INFO] [stdout]    --> src/loadbalancer/mod.rs:807:17
[INFO] [stdout]     |
[INFO] [stdout] 807 |                 timeout: Some(5000),
[INFO] [stdout]     |                 ^^^^^^^ `config::ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `config::ForeignGateway` has no field named `max_connections`
[INFO] [stdout]    --> src/loadbalancer/mod.rs:808:17
[INFO] [stdout]     |
[INFO] [stdout] 808 |                 max_connections: Some(1000),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^ `config::ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `protocol`
[INFO] [stdout]    --> src/monitoring/prometheus_exporter.rs:189:14
[INFO] [stdout]     |
[INFO] [stdout] 189 |         for (protocol, count) in &metrics.protocol.protocol_distribution {
[INFO] [stdout]     |              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_protocol`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `count`
[INFO] [stdout]    --> src/monitoring/prometheus_exporter.rs:189:24
[INFO] [stdout]     |
[INFO] [stdout] 189 |         for (protocol, count) in &metrics.protocol.protocol_distribution {
[INFO] [stdout]     |                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `protocol`
[INFO] [stdout]    --> src/monitoring/prometheus_exporter.rs:189:14
[INFO] [stdout]     |
[INFO] [stdout] 189 |         for (protocol, count) in &metrics.protocol.protocol_distribution {
[INFO] [stdout]     |              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_protocol`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `count`
[INFO] [stdout]    --> src/monitoring/prometheus_exporter.rs:189:24
[INFO] [stdout]     |
[INFO] [stdout] 189 |         for (protocol, count) in &metrics.protocol.protocol_distribution {
[INFO] [stdout]     |                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stats`
[INFO] [stdout]    --> src/logging/async_logger.rs:263:9
[INFO] [stdout]     |
[INFO] [stdout] 263 |         stats: &Arc<RwLock<LogStats>>,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `warnings`
[INFO] [stdout]   --> src/health/mod.rs:76:66
[INFO] [stdout]    |
[INFO] [stdout] 76 |     async fn check_geoip_health(&self, issues: &mut Vec<String>, warnings: &mut Vec<String>) -> bool {
[INFO] [stdout]    |                                                                  ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_warnings`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `fail_count` is assigned to, but never used
[INFO] [stdout]    --> src/routing/policy_routing.rs:277:13
[INFO] [stdout]     |
[INFO] [stdout] 277 |         let mut fail_count = 0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_fail_count` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `fail_count` is never read
[INFO] [stdout]    --> src/routing/policy_routing.rs:296:21
[INFO] [stdout]     |
[INFO] [stdout] 296 |                     fail_count += 1;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stats`
[INFO] [stdout]    --> src/logging/async_logger.rs:263:9
[INFO] [stdout]     |
[INFO] [stdout] 263 |         stats: &Arc<RwLock<LogStats>>,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `warnings`
[INFO] [stdout]   --> src/health/mod.rs:76:66
[INFO] [stdout]    |
[INFO] [stdout] 76 |     async fn check_geoip_health(&self, issues: &mut Vec<String>, warnings: &mut Vec<String>) -> bool {
[INFO] [stdout]    |                                                                  ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_warnings`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `geoip`
[INFO] [stdout]    --> src/routing/mod.rs:140:9
[INFO] [stdout]     |
[INFO] [stdout] 140 |         geoip: &Arc<GeoIPManager>,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_geoip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `http_health_check` and `ping_health_check` are never used
[INFO] [stdout]    --> src/loadbalancer/mod.rs:486:14
[INFO] [stdout]     |
[INFO] [stdout] 147 | impl P2CLoadBalancer {
[INFO] [stdout]     | -------------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 486 |     async fn http_health_check(url: &str, timeout: Duration) -> bool {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 506 |     async fn ping_health_check(ip: &str, timeout: Duration) -> bool {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `network_rx_bytes` and `network_tx_bytes` are never read
[INFO] [stdout]   --> src/monitoring/prometheus_exporter.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | struct SystemPrometheusMetrics {
[INFO] [stdout]    |        ----------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 40 |     network_rx_bytes: IntCounter,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 41 |     network_tx_bytes: IntCounter,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `formatter` and `stats` are never read
[INFO] [stdout]   --> src/logging/async_logger.rs:83:5
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub struct AsyncLogger {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 83 |     formatter: Box<dyn LogFormatter>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     stats: Arc<RwLock<LogStats>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `iptables` is never read
[INFO] [stdout]   --> src/routing/mod.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct RoutingManager {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 43 |     ipset: IpsetManager,
[INFO] [stdout] 44 |     iptables: IptablesManager,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `foreign_table_id` is never read
[INFO] [stdout]   --> src/routing/policy_routing.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct PolicyRoutingManager {
[INFO] [stdout]    |            -------------------- field in this struct
[INFO] [stdout] 10 |     table_id: u32,              // 中国流量路由表ID（如100）
[INFO] [stdout] 11 |     foreign_table_id: u32,      // 外网流量路由表ID（如101）
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `fail_count` is assigned to, but never used
[INFO] [stdout]    --> src/routing/policy_routing.rs:277:13
[INFO] [stdout]     |
[INFO] [stdout] 277 |         let mut fail_count = 0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_fail_count` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `fail_count` is never read
[INFO] [stdout]    --> src/routing/policy_routing.rs:296:21
[INFO] [stdout]     |
[INFO] [stdout] 296 |                     fail_count += 1;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `geoip`
[INFO] [stdout]    --> src/routing/mod.rs:140:9
[INFO] [stdout]     |
[INFO] [stdout] 140 |         geoip: &Arc<GeoIPManager>,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_geoip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0560.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `smart_proxy::cache`
[INFO] [stdout]  --> tests/performance/test_benchmarks.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 | use smart_proxy::cache::CacheManager;
[INFO] [stdout]   |                  ^^^^^ could not find `cache` in `smart_proxy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `smart_proxy::cache`
[INFO] [stdout]  --> tests/integration/test_full_system.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 | use smart_proxy::cache::CacheManager;
[INFO] [stdout]   |                  ^^^^^ could not find `cache` in `smart_proxy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `cache` in `smart_proxy`
[INFO] [stdout]  --> benches/cache_benchmark.rs:6:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | use smart_proxy::cache::{CacheManager, multilevel::{IntelligentCacheManager, CacheConfig}};
[INFO] [stdout]   |                  ^^^^^ could not find `cache` in `smart_proxy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `smart_proxy::cache`
[INFO] [stdout]  --> benches/cache_benchmark.rs:6:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | use smart_proxy::cache::{CacheManager, multilevel::{IntelligentCacheManager, CacheConfig}};
[INFO] [stdout]   |                  ^^^^^ could not find `cache` in `smart_proxy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DecisionSource` and `RouteDecision`
[INFO] [stdout]  --> tests/integration/test_full_system.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use smart_proxy::types::{RouteDecision, DecisionSource};
[INFO] [stdout]   |                          ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `smart-proxy` (lib test) due to 25 previous errors; 46 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `port`
[INFO] [stdout]    --> tests/performance/test_benchmarks.rs:127:13
[INFO] [stdout]     |
[INFO] [stdout] 127 |             port: Some(8080),
[INFO] [stdout]     |             ^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::Mutex`
[INFO] [stdout]  --> examples/test_routing.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio::sync::Mutex;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `port`
[INFO] [stdout]    --> tests/integration/test_full_system.rs:150:13
[INFO] [stdout]     |
[INFO] [stdout] 150 |             port: Some(8080),
[INFO] [stdout]     |             ^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `smart-proxy` (bench "cache_benchmark") due to 2 previous errors
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> tests/performance/test_benchmarks.rs:128:21
[INFO] [stdout]     |
[INFO] [stdout] 128 |             weight: Some(1),
[INFO] [stdout]     |                     ^^^^^^^ expected `u32`, found `Option<{integer}>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `u32`
[INFO] [stdout]                found enum `Option<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `gateway_type`
[INFO] [stdout]    --> tests/performance/test_benchmarks.rs:129:13
[INFO] [stdout]     |
[INFO] [stdout] 129 |             gateway_type: Some("direct".to_string()),
[INFO] [stdout]     |             ^^^^^^^^^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `timeout`
[INFO] [stdout]    --> tests/performance/test_benchmarks.rs:130:13
[INFO] [stdout]     |
[INFO] [stdout] 130 |             timeout: Some(5000),
[INFO] [stdout]     |             ^^^^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `max_connections`
[INFO] [stdout]    --> tests/performance/test_benchmarks.rs:131:13
[INFO] [stdout]     |
[INFO] [stdout] 131 |             max_connections: Some(1000),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `port`
[INFO] [stdout]    --> tests/performance/test_benchmarks.rs:136:13
[INFO] [stdout]     |
[INFO] [stdout] 136 |             port: Some(8080),
[INFO] [stdout]     |             ^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> tests/performance/test_benchmarks.rs:137:21
[INFO] [stdout]     |
[INFO] [stdout] 137 |             weight: Some(1),
[INFO] [stdout]     |                     ^^^^^^^ expected `u32`, found `Option<{integer}>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `u32`
[INFO] [stdout]                found enum `Option<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `gateway_type`
[INFO] [stdout]    --> tests/performance/test_benchmarks.rs:138:13
[INFO] [stdout]     |
[INFO] [stdout] 138 |             gateway_type: Some("direct".to_string()),
[INFO] [stdout]     |             ^^^^^^^^^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `timeout`
[INFO] [stdout]    --> tests/performance/test_benchmarks.rs:139:13
[INFO] [stdout]     |
[INFO] [stdout] 139 |             timeout: Some(5000),
[INFO] [stdout]     |             ^^^^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `max_connections`
[INFO] [stdout]    --> tests/performance/test_benchmarks.rs:140:13
[INFO] [stdout]     |
[INFO] [stdout] 140 |             max_connections: Some(1000),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `port`
[INFO] [stdout]    --> tests/performance/test_benchmarks.rs:145:13
[INFO] [stdout]     |
[INFO] [stdout] 145 |             port: Some(8080),
[INFO] [stdout]     |             ^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> tests/performance/test_benchmarks.rs:146:21
[INFO] [stdout]     |
[INFO] [stdout] 146 |             weight: Some(1),
[INFO] [stdout]     |                     ^^^^^^^ expected `u32`, found `Option<{integer}>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `u32`
[INFO] [stdout]                found enum `Option<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `gateway_type`
[INFO] [stdout]    --> tests/performance/test_benchmarks.rs:147:13
[INFO] [stdout]     |
[INFO] [stdout] 147 |             gateway_type: Some("direct".to_string()),
[INFO] [stdout]     |             ^^^^^^^^^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `timeout`
[INFO] [stdout]    --> tests/performance/test_benchmarks.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 148 |             timeout: Some(5000),
[INFO] [stdout]     |             ^^^^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `max_connections`
[INFO] [stdout]    --> tests/performance/test_benchmarks.rs:149:13
[INFO] [stdout]     |
[INFO] [stdout] 149 |             max_connections: Some(1000),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `port`
[INFO] [stdout]    --> tests/performance/test_benchmarks.rs:154:13
[INFO] [stdout]     |
[INFO] [stdout] 154 |             port: Some(8080),
[INFO] [stdout]     |             ^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> tests/performance/test_benchmarks.rs:155:21
[INFO] [stdout]     |
[INFO] [stdout] 155 |             weight: Some(1),
[INFO] [stdout]     |                     ^^^^^^^ expected `u32`, found `Option<{integer}>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `u32`
[INFO] [stdout]                found enum `Option<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `gateway_type`
[INFO] [stdout]    --> tests/performance/test_benchmarks.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 |             gateway_type: Some("direct".to_string()),
[INFO] [stdout]     |             ^^^^^^^^^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `timeout`
[INFO] [stdout]    --> tests/performance/test_benchmarks.rs:157:13
[INFO] [stdout]     |
[INFO] [stdout] 157 |             timeout: Some(5000),
[INFO] [stdout]     |             ^^^^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `max_connections`
[INFO] [stdout]    --> tests/performance/test_benchmarks.rs:158:13
[INFO] [stdout]     |
[INFO] [stdout] 158 |             max_connections: Some(1000),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> tests/integration/test_full_system.rs:151:21
[INFO] [stdout]     |
[INFO] [stdout] 151 |             weight: Some(1),
[INFO] [stdout]     |                     ^^^^^^^ expected `u32`, found `Option<{integer}>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `u32`
[INFO] [stdout]                found enum `Option<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `gateway_type`
[INFO] [stdout]    --> tests/integration/test_full_system.rs:152:13
[INFO] [stdout]     |
[INFO] [stdout] 152 |             gateway_type: Some("direct".to_string()),
[INFO] [stdout]     |             ^^^^^^^^^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `timeout`
[INFO] [stdout]    --> tests/integration/test_full_system.rs:153:13
[INFO] [stdout]     |
[INFO] [stdout] 153 |             timeout: Some(5000),
[INFO] [stdout]     |             ^^^^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `max_connections`
[INFO] [stdout]    --> tests/integration/test_full_system.rs:154:13
[INFO] [stdout]     |
[INFO] [stdout] 154 |             max_connections: Some(1000),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `port`
[INFO] [stdout]    --> tests/integration/test_full_system.rs:159:13
[INFO] [stdout]     |
[INFO] [stdout] 159 |             port: Some(8080),
[INFO] [stdout]     |             ^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> tests/integration/test_full_system.rs:160:21
[INFO] [stdout]     |
[INFO] [stdout] 160 |             weight: Some(1),
[INFO] [stdout]     |                     ^^^^^^^ expected `u32`, found `Option<{integer}>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `u32`
[INFO] [stdout]                found enum `Option<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `gateway_type`
[INFO] [stdout]    --> tests/integration/test_full_system.rs:161:13
[INFO] [stdout]     |
[INFO] [stdout] 161 |             gateway_type: Some("direct".to_string()),
[INFO] [stdout]     |             ^^^^^^^^^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `timeout`
[INFO] [stdout]    --> tests/integration/test_full_system.rs:162:13
[INFO] [stdout]     |
[INFO] [stdout] 162 |             timeout: Some(5000),
[INFO] [stdout]     |             ^^^^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `max_connections`
[INFO] [stdout]    --> tests/integration/test_full_system.rs:163:13
[INFO] [stdout]     |
[INFO] [stdout] 163 |             max_connections: Some(1000),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0560.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `port`
[INFO] [stdout]    --> tests/integration/test_full_system.rs:232:13
[INFO] [stdout]     |
[INFO] [stdout] 232 |             port: Some(8080),
[INFO] [stdout]     |             ^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied
[INFO] [stdout]    --> src/main.rs:143:29
[INFO] [stdout]     |
[INFO] [stdout] 143 |     if let Err(e) = routing.cleanup() {
[INFO] [stdout]     |                             ^^^^^^^-- argument #1 of type `&[ipnetwork::IpNetwork]` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/routing/mod.rs:215:12
[INFO] [stdout]     |
[INFO] [stdout] 215 |     pub fn cleanup(&self, china_networks: &[IpNetwork]) -> Result<(), RoutingError> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 143 |     if let Err(e) = routing.cleanup(/* &[IpNetwork] */) {
[INFO] [stdout]     |                                     ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> tests/integration/test_full_system.rs:233:21
[INFO] [stdout]     |
[INFO] [stdout] 233 |             weight: Some(1),
[INFO] [stdout]     |                     ^^^^^^^ expected `u32`, found `Option<{integer}>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `u32`
[INFO] [stdout]                found enum `Option<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `gateway_type`
[INFO] [stdout]    --> tests/integration/test_full_system.rs:234:13
[INFO] [stdout]     |
[INFO] [stdout] 234 |             gateway_type: Some("direct".to_string()),
[INFO] [stdout]     |             ^^^^^^^^^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `timeout`
[INFO] [stdout]    --> tests/integration/test_full_system.rs:235:13
[INFO] [stdout]     |
[INFO] [stdout] 235 |             timeout: Some(5000),
[INFO] [stdout]     |             ^^^^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `max_connections`
[INFO] [stdout]    --> tests/integration/test_full_system.rs:236:13
[INFO] [stdout]     |
[INFO] [stdout] 236 |             max_connections: Some(1000),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `port`
[INFO] [stdout]    --> tests/integration/test_full_system.rs:241:13
[INFO] [stdout]     |
[INFO] [stdout] 241 |             port: Some(8080),
[INFO] [stdout]     |             ^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> tests/integration/test_full_system.rs:242:21
[INFO] [stdout]     |
[INFO] [stdout] 242 |             weight: Some(1),
[INFO] [stdout]     |                     ^^^^^^^ expected `u32`, found `Option<{integer}>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `u32`
[INFO] [stdout]                found enum `Option<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `gateway_type`
[INFO] [stdout]    --> tests/integration/test_full_system.rs:243:13
[INFO] [stdout]     |
[INFO] [stdout] 243 |             gateway_type: Some("direct".to_string()),
[INFO] [stdout]     |             ^^^^^^^^^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `timeout`
[INFO] [stdout]    --> tests/integration/test_full_system.rs:244:13
[INFO] [stdout]     |
[INFO] [stdout] 244 |             timeout: Some(5000),
[INFO] [stdout]     |             ^^^^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `max_connections`
[INFO] [stdout]    --> tests/integration/test_full_system.rs:245:13
[INFO] [stdout]     |
[INFO] [stdout] 245 |             max_connections: Some(1000),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `port`
[INFO] [stdout]    --> tests/integration/test_full_system.rs:250:13
[INFO] [stdout]     |
[INFO] [stdout] 250 |             port: Some(8080),
[INFO] [stdout]     |             ^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> tests/integration/test_full_system.rs:251:21
[INFO] [stdout]     |
[INFO] [stdout] 251 |             weight: Some(1),
[INFO] [stdout]     |                     ^^^^^^^ expected `u32`, found `Option<{integer}>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `u32`
[INFO] [stdout]                found enum `Option<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `gateway_type`
[INFO] [stdout]    --> tests/integration/test_full_system.rs:252:13
[INFO] [stdout]     |
[INFO] [stdout] 252 |             gateway_type: Some("direct".to_string()),
[INFO] [stdout]     |             ^^^^^^^^^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `timeout`
[INFO] [stdout]    --> tests/integration/test_full_system.rs:253:13
[INFO] [stdout]     |
[INFO] [stdout] 253 |             timeout: Some(5000),
[INFO] [stdout]     |             ^^^^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `max_connections`
[INFO] [stdout]    --> tests/integration/test_full_system.rs:254:13
[INFO] [stdout]     |
[INFO] [stdout] 254 |             max_connections: Some(1000),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `port`
[INFO] [stdout]    --> tests/integration/test_full_system.rs:259:13
[INFO] [stdout]     |
[INFO] [stdout] 259 |             port: Some(8080),
[INFO] [stdout]     |             ^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> tests/integration/test_full_system.rs:260:21
[INFO] [stdout]     |
[INFO] [stdout] 260 |             weight: Some(1),
[INFO] [stdout]     |                     ^^^^^^^ expected `u32`, found `Option<{integer}>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `u32`
[INFO] [stdout]                found enum `Option<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `gateway_type`
[INFO] [stdout]    --> tests/integration/test_full_system.rs:261:13
[INFO] [stdout]     |
[INFO] [stdout] 261 |             gateway_type: Some("direct".to_string()),
[INFO] [stdout]     |             ^^^^^^^^^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `timeout`
[INFO] [stdout]    --> tests/integration/test_full_system.rs:262:13
[INFO] [stdout]     |
[INFO] [stdout] 262 |             timeout: Some(5000),
[INFO] [stdout]     |             ^^^^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `ForeignGateway` has no field named `max_connections`
[INFO] [stdout]    --> tests/integration/test_full_system.rs:263:13
[INFO] [stdout]     |
[INFO] [stdout] 263 |             max_connections: Some(1000),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ `ForeignGateway` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `smart-proxy` (test "test_benchmarks") due to 21 previous errors
[INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied
[INFO] [stdout]    --> src/main.rs:143:29
[INFO] [stdout]     |
[INFO] [stdout] 143 |     if let Err(e) = routing.cleanup() {
[INFO] [stdout]     |                             ^^^^^^^-- argument #1 of type `&[ipnetwork::IpNetwork]` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/routing/mod.rs:215:12
[INFO] [stdout]     |
[INFO] [stdout] 215 |     pub fn cleanup(&self, china_networks: &[IpNetwork]) -> Result<(), RoutingError> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 143 |     if let Err(e) = routing.cleanup(/* &[IpNetwork] */) {
[INFO] [stdout]     |                                     ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0560.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `smart-proxy` (test "test_full_system") due to 31 previous errors; 1 warning emitted
[INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied
[INFO] [stdout]    --> src/main.rs:190:13
[INFO] [stdout]     |
[INFO] [stdout] 190 |     routing.cleanup()
[INFO] [stdout]     |             ^^^^^^^-- argument #1 of type `&[ipnetwork::IpNetwork]` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/routing/mod.rs:215:12
[INFO] [stdout]     |
[INFO] [stdout] 215 |     pub fn cleanup(&self, china_networks: &[IpNetwork]) -> Result<(), RoutingError> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 190 |     routing.cleanup(/* &[IpNetwork] */)
[INFO] [stdout]     |                     ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied
[INFO] [stdout]    --> src/main.rs:190:13
[INFO] [stdout]     |
[INFO] [stdout] 190 |     routing.cleanup()
[INFO] [stdout]     |             ^^^^^^^-- argument #1 of type `&[ipnetwork::IpNetwork]` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/routing/mod.rs:215:12
[INFO] [stdout]     |
[INFO] [stdout] 215 |     pub fn cleanup(&self, china_networks: &[IpNetwork]) -> Result<(), RoutingError> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 190 |     routing.cleanup(/* &[IpNetwork] */)
[INFO] [stdout]     |                     ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `smart-proxy` (bin "smart-proxy") due to 2 previous errors
[INFO] [stdout] warning: unused variable: `geoip`
[INFO] [stdout]   --> examples/test_routing.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let geoip = Arc::new(smart_proxy::geoip::GeoIPManager::new("data/GeoLite2-Country.mmdb").await);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_geoip`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `smart-proxy` (bin "smart-proxy" test) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "46fdaf5b04ccb40962f08f0cd85a5477f7ab2df5b29f58e8cdf598daf2209b76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "46fdaf5b04ccb40962f08f0cd85a5477f7ab2df5b29f58e8cdf598daf2209b76", kill_on_drop: false }`
[INFO] [stdout] 46fdaf5b04ccb40962f08f0cd85a5477f7ab2df5b29f58e8cdf598daf2209b76
