[INFO] cloning repository https://github.com/caigq99/cloudflare-speed-test-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/caigq99/cloudflare-speed-test-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaigq99%2Fcloudflare-speed-test-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaigq99%2Fcloudflare-speed-test-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c18429b921bcd79fb08efaba1e440f077317f6ca
[INFO] testing caigq99/cloudflare-speed-test-rust against master#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaigq99%2Fcloudflare-speed-test-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/caigq99/cloudflare-speed-test-rust
[INFO] finished tweaking git repo https://github.com/caigq99/cloudflare-speed-test-rust
[INFO] tweaked toml for git repo https://github.com/caigq99/cloudflare-speed-test-rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/caigq99/cloudflare-speed-test-rust on toolchain 1ef7943ee607160a564655b6596f83670ef95df5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/caigq99/cloudflare-speed-test-rust 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" "+1ef7943ee607160a564655b6596f83670ef95df5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded indexmap v2.11.1
[INFO] [stderr]   Downloaded csv-core v0.1.12
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 707cf154053c2eeb3089d1545e75655918c67c80d9152e9fddbb7538c7e1e861
[INFO] running `Command { std: "docker" "start" "-a" "707cf154053c2eeb3089d1545e75655918c67c80d9152e9fddbb7538c7e1e861", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "707cf154053c2eeb3089d1545e75655918c67c80d9152e9fddbb7538c7e1e861", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "707cf154053c2eeb3089d1545e75655918c67c80d9152e9fddbb7538c7e1e861", kill_on_drop: false }`
[INFO] [stdout] 707cf154053c2eeb3089d1545e75655918c67c80d9152e9fddbb7538c7e1e861
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2331bb7ee3b26d611878f64d3b4f7670185e4b264615ff705f262654bbba3b67
[INFO] running `Command { std: "docker" "start" "-a" "2331bb7ee3b26d611878f64d3b4f7670185e4b264615ff705f262654bbba3b67", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling find-msvc-tools v0.1.1
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling cc v1.2.36
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling portable-atomic v1.11.1
[INFO] [stderr]    Compiling anstyle-query v1.1.4
[INFO] [stderr]    Compiling anstream v0.6.20
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling indexmap v2.11.1
[INFO] [stderr]    Compiling regex-syntax v0.8.6
[INFO] [stderr]    Compiling iri-string v0.7.8
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling winnow v0.7.13
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling regex-automata v0.4.10
[INFO] [stderr]    Compiling console v0.15.11
[INFO] [stderr]    Compiling clap_builder v4.5.47
[INFO] [stderr]    Compiling csv-core v0.1.12
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling number_prefix v0.4.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling indicatif v0.17.11
[INFO] [stderr]    Compiling colored v2.2.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling clap_derive v4.5.47
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling potential_utf v0.1.3
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling clap v4.5.47
[INFO] [stderr]    Compiling regex v1.11.2
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling h2 v0.4.12
[INFO] [stderr]    Compiling tower-http v0.6.6
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling csv v1.3.1
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]    Compiling hyper v1.7.0
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling hyper-util v0.1.16
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.23
[INFO] [stderr]    Compiling cloudflare-speed-test-rust v2.3.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `UNIX_EPOCH`
[INFO] [stdout]  --> src/update.rs:5:39
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::time::{Duration, SystemTime, UNIX_EPOCH};
[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: `status_ok`
[INFO] [stdout]    --> src/ping.rs:135:10
[INFO] [stdout]     |
[INFO] [stdout] 135 |     let (status_ok, colo) = match test_http_once(&client, &args.url, args).await {
[INFO] [stdout]     |          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_status_ok`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `head_format`
[INFO] [stdout]   --> src/output.rs:79:10
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let (head_format, data_format) = if has_ipv6 {
[INFO] [stdout]    |          ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_head_format`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data_format`
[INFO] [stdout]   --> src/output.rs:79:23
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let (head_format, data_format) = if has_ipv6 {
[INFO] [stdout]    |                       ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_format`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_URL` is never used
[INFO] [stdout]   --> src/main.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const DEFAULT_URL: &str = "https://cf.xiu2.xyz/url";
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `LOCATION_MAP` is never used
[INFO] [stdout]  --> src/location.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | static LOCATION_MAP: Lazy<HashMap<&'static str, &'static str>> = Lazy::new(|| {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_location_name` is never used
[INFO] [stdout]   --> src/location.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn get_location_name(code: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_colo_from_cfray` is never used
[INFO] [stdout]   --> src/location.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn parse_colo_from_cfray(cfray: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Config` is never constructed
[INFO] [stdout]  --> src/config.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Config {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GeneralConfig` is never constructed
[INFO] [stdout]   --> src/config.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct GeneralConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PingConfig` is never constructed
[INFO] [stdout]   --> src/config.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct PingConfig {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DownloadConfig` is never constructed
[INFO] [stdout]   --> src/config.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub struct DownloadConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FilterConfig` is never constructed
[INFO] [stdout]   --> src/config.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub struct FilterConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OutputConfig` is never constructed
[INFO] [stdout]   --> src/config.rs:84:12
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub struct OutputConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OutputFormat` is never used
[INFO] [stdout]    --> src/config.rs:102:10
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub enum OutputFormat {
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_routines` is never used
[INFO] [stdout]    --> src/config.rs:111:4
[INFO] [stdout]     |
[INFO] [stdout] 111 | fn default_routines() -> usize { 200 }
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_port` is never used
[INFO] [stdout]    --> src/config.rs:112:4
[INFO] [stdout]     |
[INFO] [stdout] 112 | fn default_port() -> u16 { 443 }
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_url` is never used
[INFO] [stdout]    --> src/config.rs:113:4
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn default_url() -> String { "https://cf.xiu2.xyz/url".to_string() }
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_ping_times` is never used
[INFO] [stdout]    --> src/config.rs:114:4
[INFO] [stdout]     |
[INFO] [stdout] 114 | fn default_ping_times() -> u32 { 4 }
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_test_count` is never used
[INFO] [stdout]    --> src/config.rs:115:4
[INFO] [stdout]     |
[INFO] [stdout] 115 | fn default_test_count() -> usize { 10 }
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_download_time` is never used
[INFO] [stdout]    --> src/config.rs:116:4
[INFO] [stdout]     |
[INFO] [stdout] 116 | fn default_download_time() -> u64 { 10 }
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_max_delay` is never used
[INFO] [stdout]    --> src/config.rs:117:4
[INFO] [stdout]     |
[INFO] [stdout] 117 | fn default_max_delay() -> u64 { 9999 }
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_max_loss_rate` is never used
[INFO] [stdout]    --> src/config.rs:118:4
[INFO] [stdout]     |
[INFO] [stdout] 118 | fn default_max_loss_rate() -> f32 { 1.0 }
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_print_num` is never used
[INFO] [stdout]    --> src/config.rs:119:4
[INFO] [stdout]     |
[INFO] [stdout] 119 | fn default_print_num() -> usize { 10 }
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_output_file` is never used
[INFO] [stdout]    --> src/config.rs:120:4
[INFO] [stdout]     |
[INFO] [stdout] 120 | fn default_output_file() -> String { "result.csv".to_string() }
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_file`, `save`, `merge_args`, and `generate_example` are never used
[INFO] [stdout]    --> src/config.rs:191:12
[INFO] [stdout]     |
[INFO] [stdout] 189 | impl Config {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] 190 |     /// 从文件加载配置
[INFO] [stdout] 191 |     pub fn from_file<P: AsRef<Path>>(path: P) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 211 |     pub fn save<P: AsRef<Path>>(&self, path: P) -> Result<()> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 226 |     pub fn merge_args(&mut self, args: &crate::args::Args) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 238 |     pub fn generate_example() -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IpGenerator` is never constructed
[INFO] [stdout]   --> src/optimize.rs:73:12
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub struct IpGenerator {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `with_step` are never used
[INFO] [stdout]   --> src/optimize.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 79 | impl IpGenerator {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 80 |     pub fn new(start: std::net::Ipv4Addr, end: std::net::Ipv4Addr) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 88 |     pub fn with_step(mut self, step: u32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EwmaSpeed` is never constructed
[INFO] [stdout]    --> src/optimize.rs:114:12
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub struct EwmaSpeed {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `update`, and `get` are never used
[INFO] [stdout]    --> src/optimize.rs:120:12
[INFO] [stdout]     |
[INFO] [stdout] 119 | impl EwmaSpeed {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 120 |     pub fn new(alpha: f64) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     pub fn update(&mut self, value: f64) -> f64 {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 135 |     pub fn get(&self) -> Option<f64> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 58s
[INFO] running `Command { std: "docker" "inspect" "2331bb7ee3b26d611878f64d3b4f7670185e4b264615ff705f262654bbba3b67", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2331bb7ee3b26d611878f64d3b4f7670185e4b264615ff705f262654bbba3b67", kill_on_drop: false }`
[INFO] [stdout] 2331bb7ee3b26d611878f64d3b4f7670185e4b264615ff705f262654bbba3b67
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b451e56880a901d3c5821cfa40d5647ec6d8619102747b08fc58e87caf89bf2f
[INFO] running `Command { std: "docker" "start" "-a" "b451e56880a901d3c5821cfa40d5647ec6d8619102747b08fc58e87caf89bf2f", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling half v2.6.0
[INFO] [stderr]    Compiling ciborium-io v0.2.2
[INFO] [stderr]    Compiling plotters-backend v0.3.7
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling cast v0.3.0
[INFO] [stderr]    Compiling tower-http v0.6.6
[INFO] [stderr]    Compiling plotters-svg v0.3.7
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling is-terminal v0.4.16
[INFO] [stderr]    Compiling oorandom v11.1.5
[INFO] [stderr]    Compiling anes v0.1.6
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling criterion-plot v0.5.0
[INFO] [stderr]    Compiling tempfile v3.22.0
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling csv v1.3.1
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling reqwest v0.12.23
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling criterion v0.5.1
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling cloudflare-speed-test-rust v2.3.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `UNIX_EPOCH`
[INFO] [stdout]  --> src/update.rs:5:39
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::time::{Duration, SystemTime, UNIX_EPOCH};
[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: `status_ok`
[INFO] [stdout]    --> src/ping.rs:135:10
[INFO] [stdout]     |
[INFO] [stdout] 135 |     let (status_ok, colo) = match test_http_once(&client, &args.url, args).await {
[INFO] [stdout]     |          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_status_ok`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `head_format`
[INFO] [stdout]   --> src/output.rs:79:10
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let (head_format, data_format) = if has_ipv6 {
[INFO] [stdout]    |          ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_head_format`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data_format`
[INFO] [stdout]   --> src/output.rs:79:23
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let (head_format, data_format) = if has_ipv6 {
[INFO] [stdout]    |                       ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_format`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_URL` is never used
[INFO] [stdout]   --> src/main.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const DEFAULT_URL: &str = "https://cf.xiu2.xyz/url";
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Config` is never constructed
[INFO] [stdout]  --> src/config.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Config {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GeneralConfig` is never constructed
[INFO] [stdout]   --> src/config.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct GeneralConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PingConfig` is never constructed
[INFO] [stdout]   --> src/config.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct PingConfig {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DownloadConfig` is never constructed
[INFO] [stdout]   --> src/config.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub struct DownloadConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FilterConfig` is never constructed
[INFO] [stdout]   --> src/config.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub struct FilterConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OutputConfig` is never constructed
[INFO] [stdout]   --> src/config.rs:84:12
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub struct OutputConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OutputFormat` is never used
[INFO] [stdout]    --> src/config.rs:102:10
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub enum OutputFormat {
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_routines` is never used
[INFO] [stdout]    --> src/config.rs:111:4
[INFO] [stdout]     |
[INFO] [stdout] 111 | fn default_routines() -> usize { 200 }
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_port` is never used
[INFO] [stdout]    --> src/config.rs:112:4
[INFO] [stdout]     |
[INFO] [stdout] 112 | fn default_port() -> u16 { 443 }
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_url` is never used
[INFO] [stdout]    --> src/config.rs:113:4
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn default_url() -> String { "https://cf.xiu2.xyz/url".to_string() }
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_ping_times` is never used
[INFO] [stdout]    --> src/config.rs:114:4
[INFO] [stdout]     |
[INFO] [stdout] 114 | fn default_ping_times() -> u32 { 4 }
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_test_count` is never used
[INFO] [stdout]    --> src/config.rs:115:4
[INFO] [stdout]     |
[INFO] [stdout] 115 | fn default_test_count() -> usize { 10 }
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_download_time` is never used
[INFO] [stdout]    --> src/config.rs:116:4
[INFO] [stdout]     |
[INFO] [stdout] 116 | fn default_download_time() -> u64 { 10 }
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_max_delay` is never used
[INFO] [stdout]    --> src/config.rs:117:4
[INFO] [stdout]     |
[INFO] [stdout] 117 | fn default_max_delay() -> u64 { 9999 }
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_max_loss_rate` is never used
[INFO] [stdout]    --> src/config.rs:118:4
[INFO] [stdout]     |
[INFO] [stdout] 118 | fn default_max_loss_rate() -> f32 { 1.0 }
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_print_num` is never used
[INFO] [stdout]    --> src/config.rs:119:4
[INFO] [stdout]     |
[INFO] [stdout] 119 | fn default_print_num() -> usize { 10 }
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_output_file` is never used
[INFO] [stdout]    --> src/config.rs:120:4
[INFO] [stdout]     |
[INFO] [stdout] 120 | fn default_output_file() -> String { "result.csv".to_string() }
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_file`, `save`, `merge_args`, and `generate_example` are never used
[INFO] [stdout]    --> src/config.rs:191:12
[INFO] [stdout]     |
[INFO] [stdout] 189 | impl Config {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] 190 |     /// 从文件加载配置
[INFO] [stdout] 191 |     pub fn from_file<P: AsRef<Path>>(path: P) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 211 |     pub fn save<P: AsRef<Path>>(&self, path: P) -> Result<()> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 226 |     pub fn merge_args(&mut self, args: &crate::args::Args) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 238 |     pub fn generate_example() -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `with_step` is never used
[INFO] [stdout]   --> src/optimize.rs:88:12
[INFO] [stdout]    |
[INFO] [stdout] 79 | impl IpGenerator {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 88 |     pub fn with_step(mut self, step: u32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get` is never used
[INFO] [stdout]    --> src/optimize.rs:135:12
[INFO] [stdout]     |
[INFO] [stdout] 119 | impl EwmaSpeed {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 135 |     pub fn get(&self) -> Option<f64> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 47.98s
[INFO] running `Command { std: "docker" "inspect" "b451e56880a901d3c5821cfa40d5647ec6d8619102747b08fc58e87caf89bf2f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b451e56880a901d3c5821cfa40d5647ec6d8619102747b08fc58e87caf89bf2f", kill_on_drop: false }`
[INFO] [stdout] b451e56880a901d3c5821cfa40d5647ec6d8619102747b08fc58e87caf89bf2f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f6e0169e933b9889b248ac6bd00dc82167cb871a2a994e69d780f3464010180b
[INFO] running `Command { std: "docker" "start" "-a" "f6e0169e933b9889b248ac6bd00dc82167cb871a2a994e69d780f3464010180b", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `UNIX_EPOCH`
[INFO] [stderr]  --> src/update.rs:5:39
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::time::{Duration, SystemTime, UNIX_EPOCH};
[INFO] [stderr]   |                                       ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `status_ok`
[INFO] [stderr]    --> src/ping.rs:135:10
[INFO] [stderr]     |
[INFO] [stderr] 135 |     let (status_ok, colo) = match test_http_once(&client, &args.url, args).await {
[INFO] [stderr]     |          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_status_ok`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `head_format`
[INFO] [stderr]   --> src/output.rs:79:10
[INFO] [stderr]    |
[INFO] [stderr] 79 |     let (head_format, data_format) = if has_ipv6 {
[INFO] [stderr]    |          ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_head_format`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `data_format`
[INFO] [stderr]   --> src/output.rs:79:23
[INFO] [stderr]    |
[INFO] [stderr] 79 |     let (head_format, data_format) = if has_ipv6 {
[INFO] [stderr]    |                       ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_format`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `DEFAULT_URL` is never used
[INFO] [stderr]   --> src/main.rs:17:7
[INFO] [stderr]    |
[INFO] [stderr] 17 | const DEFAULT_URL: &str = "https://cf.xiu2.xyz/url";
[INFO] [stderr]    |       ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Config` is never constructed
[INFO] [stderr]  --> src/config.rs:9:12
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub struct Config {
[INFO] [stderr]   |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `GeneralConfig` is never constructed
[INFO] [stderr]   --> src/config.rs:27:12
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub struct GeneralConfig {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `PingConfig` is never constructed
[INFO] [stderr]   --> src/config.rs:42:12
[INFO] [stderr]    |
[INFO] [stderr] 42 | pub struct PingConfig {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `DownloadConfig` is never constructed
[INFO] [stderr]   --> src/config.rs:57:12
[INFO] [stderr]    |
[INFO] [stderr] 57 | pub struct DownloadConfig {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `FilterConfig` is never constructed
[INFO] [stderr]   --> src/config.rs:72:12
[INFO] [stderr]    |
[INFO] [stderr] 72 | pub struct FilterConfig {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `OutputConfig` is never constructed
[INFO] [stderr]   --> src/config.rs:84:12
[INFO] [stderr]    |
[INFO] [stderr] 84 | pub struct OutputConfig {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `OutputFormat` is never used
[INFO] [stderr]    --> src/config.rs:102:10
[INFO] [stderr]     |
[INFO] [stderr] 102 | pub enum OutputFormat {
[INFO] [stderr]     |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `default_routines` is never used
[INFO] [stderr]    --> src/config.rs:111:4
[INFO] [stderr]     |
[INFO] [stderr] 111 | fn default_routines() -> usize { 200 }
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `default_port` is never used
[INFO] [stderr]    --> src/config.rs:112:4
[INFO] [stderr]     |
[INFO] [stderr] 112 | fn default_port() -> u16 { 443 }
[INFO] [stderr]     |    ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `default_url` is never used
[INFO] [stderr]    --> src/config.rs:113:4
[INFO] [stderr]     |
[INFO] [stderr] 113 | fn default_url() -> String { "https://cf.xiu2.xyz/url".to_string() }
[INFO] [stderr]     |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `default_ping_times` is never used
[INFO] [stderr]    --> src/config.rs:114:4
[INFO] [stderr]     |
[INFO] [stderr] 114 | fn default_ping_times() -> u32 { 4 }
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `default_test_count` is never used
[INFO] [stderr]    --> src/config.rs:115:4
[INFO] [stderr]     |
[INFO] [stderr] 115 | fn default_test_count() -> usize { 10 }
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `default_download_time` is never used
[INFO] [stderr]    --> src/config.rs:116:4
[INFO] [stderr]     |
[INFO] [stderr] 116 | fn default_download_time() -> u64 { 10 }
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `default_max_delay` is never used
[INFO] [stderr]    --> src/config.rs:117:4
[INFO] [stderr]     |
[INFO] [stderr] 117 | fn default_max_delay() -> u64 { 9999 }
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `default_max_loss_rate` is never used
[INFO] [stderr]    --> src/config.rs:118:4
[INFO] [stderr]     |
[INFO] [stderr] 118 | fn default_max_loss_rate() -> f32 { 1.0 }
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `default_print_num` is never used
[INFO] [stderr]    --> src/config.rs:119:4
[INFO] [stderr]     |
[INFO] [stderr] 119 | fn default_print_num() -> usize { 10 }
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `default_output_file` is never used
[INFO] [stderr]    --> src/config.rs:120:4
[INFO] [stderr]     |
[INFO] [stderr] 120 | fn default_output_file() -> String { "result.csv".to_string() }
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `from_file`, `save`, `merge_args`, and `generate_example` are never used
[INFO] [stderr]    --> src/config.rs:191:12
[INFO] [stderr]     |
[INFO] [stderr] 189 | impl Config {
[INFO] [stderr]     | ----------- associated items in this implementation
[INFO] [stderr] 190 |     /// 从文件加载配置
[INFO] [stderr] 191 |     pub fn from_file<P: AsRef<Path>>(path: P) -> Result<Self> {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 211 |     pub fn save<P: AsRef<Path>>(&self, path: P) -> Result<()> {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 226 |     pub fn merge_args(&mut self, args: &crate::args::Args) {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 238 |     pub fn generate_example() -> String {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `with_step` is never used
[INFO] [stderr]   --> src/optimize.rs:88:12
[INFO] [stderr]    |
[INFO] [stderr] 79 | impl IpGenerator {
[INFO] [stderr]    | ---------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 88 |     pub fn with_step(mut self, step: u32) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `get` is never used
[INFO] [stderr]    --> src/optimize.rs:135:12
[INFO] [stderr]     |
[INFO] [stderr] 119 | impl EwmaSpeed {
[INFO] [stderr]     | -------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 135 |     pub fn get(&self) -> Option<f64> {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `cloudflare-speed-test-rust` (bin "cloudflare-speed-test-rust" test) generated 25 warnings (run `cargo fix --bin "cloudflare-speed-test-rust" -p cloudflare-speed-test-rust --tests` to apply 4 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.82s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cloudflare_speed_test_rust-70e9fde23b092cae)
[INFO] [stdout] 
[INFO] [stdout] running 10 tests
[INFO] [stdout] test ip::tests::test_invalid_ip ... ok
[INFO] [stdout] test ip::tests::test_parse_ipv4_cidr ... ok
[INFO] [stdout] test ip::tests::test_parse_single_ipv4 ... ok
[INFO] [stdout] test optimize::tests::test_ewma_speed ... ok
[INFO] [stdout] test location::tests::test_get_location_name ... ok
[INFO] [stdout] test optimize::tests::test_ip_generator ... ok
[INFO] [stdout] test update::tests::test_should_update_cache ... ok
[INFO] [stdout] test optimize::tests::test_speed_calculator ... ok
[INFO] [stdout] test location::tests::test_parse_colo_from_cfray ... FAILED
[INFO] [stdout] test update::tests::test_download_ip_list ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- location::tests::test_parse_colo_from_cfray stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'location::tests::test_parse_colo_from_cfray' (21) panicked at src/location.rs:50:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "dash"
[INFO] [stdout]  right: ""
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x637f5ee37852 - std::backtrace_rs::backtrace::libunwind::trace::h786de35fecf3582f
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x637f5ee37852 - std::backtrace_rs::backtrace::trace_unsynchronized::h4a7da1a2a64387f1
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x637f5ee37852 - std::sys::backtrace::_print_fmt::h6bd7d500070c788c
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x637f5ee37852 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h6d82c1afff976903
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x637f5ee48e9f - core::fmt::rt::Argument::fmt::hc4ce6d643d397690
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x637f5ee48e9f - core::fmt::write::hb1e7ca88b6a3936e
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/fmt/mod.rs:1469:25
[INFO] [stdout]    6:     0x637f5ee01bf3 - std::io::default_write_fmt::haffd49d96f1984a8
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x637f5ee01bf3 - std::io::Write::write_fmt::h027871c57cf57c01
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x637f5ee0f182 - std::sys::backtrace::BacktraceLock::print::ha2430613ee79d059
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x637f5ee14b2f - std::panicking::default_hook::{{closure}}::hdbd2db9e5c303cf6
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:301:27
[INFO] [stdout]   10:     0x637f5ee149c1 - std::panicking::default_hook::hed93c70cba5fdcf0
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:325:9
[INFO] [stdout]   11:     0x637f5e9991ae - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd0ee8b569efc6a07
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   12:     0x637f5e9991ae - test::test_main_with_exit_callback::{{closure}}::hf10864b576ecd15d
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x637f5ee151ef - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h3a55ca34534c0d00
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   14:     0x637f5ee151ef - std::panicking::panic_with_hook::h3862d766c2cec19b
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:842:13
[INFO] [stdout]   15:     0x637f5ee14f9a - std::panicking::panic_handler::{{closure}}::hb95eb402b5e28ee1
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:707:13
[INFO] [stdout]   16:     0x637f5ee0f2c9 - std::sys::backtrace::__rust_end_short_backtrace::hf73a26dc1835d85a
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x637f5edf5d2d - __rustc[6ed5915ee467787]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:698:5
[INFO] [stdout]   18:     0x637f5ee51bd0 - core::panicking::panic_fmt::h3454303eb8e6f7cd
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x637f5ee51983 - core::panicking::assert_failed_inner::hdcc703ae7c807131
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panicking.rs:444:17
[INFO] [stdout]   20:     0x637f5e9722e3 - core::panicking::assert_failed::h70e152cbd326bbcf
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panicking.rs:399:5
[INFO] [stdout]   21:     0x637f5e95f799 - cloudflare_speed_test_rust::location::tests::test_parse_colo_from_cfray::hceee1189c17a76c7
[INFO] [stdout]                                at /opt/rustwide/workdir/src/location.rs:50:9
[INFO] [stdout]   22:     0x637f5e95f8a7 - cloudflare_speed_test_rust::location::tests::test_parse_colo_from_cfray::{{closure}}::h0ac95cdb34fd3d48
[INFO] [stdout]                                at /opt/rustwide/workdir/src/location.rs:47:36
[INFO] [stdout]   23:     0x637f5e976d76 - core::ops::function::FnOnce::call_once::hde8653d1fcecc0a6
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x637f5e998f8b - core::ops::function::FnOnce::call_once::ha729ee35d2fab541
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x637f5e998f8b - test::__rust_begin_short_backtrace::ha40f4db8207e1111
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:663:18
[INFO] [stdout]   26:     0x637f5e9ad00d - test::run_test_in_process::{{closure}}::hc1b77cda5d44f0f3
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:686:74
[INFO] [stdout]   27:     0x637f5e9ad00d - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h1dbea1de64785521
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   28:     0x637f5e9ad00d - std::panicking::catch_unwind::do_call::hd5febe9affd5a1b3
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:590:40
[INFO] [stdout]   29:     0x637f5e9ad00d - std::panicking::catch_unwind::h51ea89627559b6f4
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:553:19
[INFO] [stdout]   30:     0x637f5e9ad00d - std::panic::catch_unwind::hb8b8c2367cae3d66
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x637f5e9ad00d - test::run_test_in_process::ha5b55801407ea100
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:686:27
[INFO] [stdout]   32:     0x637f5e9ad00d - test::run_test::{{closure}}::h0b9d4072b527abf5
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:607:43
[INFO] [stdout]   33:     0x637f5e986524 - test::run_test::{{closure}}::hb1056b5731205822
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:637:41
[INFO] [stdout]   34:     0x637f5e986524 - std::sys::backtrace::__rust_begin_short_backtrace::hb61ff5a34023c7ef
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   35:     0x637f5e989e5a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hb0a83c0e8b353cff
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/thread/mod.rs:562:17
[INFO] [stdout]   36:     0x637f5e989e5a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb4f32cb008535298
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   37:     0x637f5e989e5a - std::panicking::catch_unwind::do_call::h16d110e4fc35789a
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:590:40
[INFO] [stdout]   38:     0x637f5e989e5a - std::panicking::catch_unwind::hea9118f355699c4b
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:553:19
[INFO] [stdout]   39:     0x637f5e989e5a - std::panic::catch_unwind::hf4b3c2a06d3f42f5
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x637f5e989e5a - std::thread::Builder::spawn_unchecked_::{{closure}}::h3f4cb733a52d53d5
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/thread/mod.rs:560:30
[INFO] [stdout]   41:     0x637f5e989e5a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4052f0967b37caeb
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x637f5ee0a6bf - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7ec433abd3f148b4
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2085:9
[INFO] [stdout]   43:     0x637f5ee0a6bf - std::sys::thread::unix::Thread::new::thread_start::he514622d3d7ba65c
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/thread/unix.rs:124:17
[INFO] [stdout]   44:     0x71a0d3559aa4 - <unknown>
[INFO] [stdout]   45:     0x71a0d35e6a64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     location::tests::test_parse_colo_from_cfray
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 9 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.44s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin cloudflare-speed-test-rust`
[INFO] running `Command { std: "docker" "inspect" "f6e0169e933b9889b248ac6bd00dc82167cb871a2a994e69d780f3464010180b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f6e0169e933b9889b248ac6bd00dc82167cb871a2a994e69d780f3464010180b", kill_on_drop: false }`
[INFO] [stdout] f6e0169e933b9889b248ac6bd00dc82167cb871a2a994e69d780f3464010180b
