[INFO] cloning repository https://github.com/fuguier001/rust-mitm-proxy
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fuguier001/rust-mitm-proxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffuguier001%2Frust-mitm-proxy", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffuguier001%2Frust-mitm-proxy'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 051e2a46c05d9fe7afc086751bfed66d53a2ec8c
[INFO] testing fuguier001/rust-mitm-proxy against beta-2026-03-05 for beta-1.95-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffuguier001%2Frust-mitm-proxy" "/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/fuguier001/rust-mitm-proxy
[INFO] finished tweaking git repo https://github.com/fuguier001/rust-mitm-proxy
[INFO] tweaked toml for git repo https://github.com/fuguier001/rust-mitm-proxy written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/fuguier001/rust-mitm-proxy on toolchain beta-2026-03-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-03-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/fuguier001/rust-mitm-proxy 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" "+beta-2026-03-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-03-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7d054ff5818d61b4cd43b32b26ebfa29aaf8747595eeab6e826a9668ae13d4f0
[INFO] running `Command { std: "docker" "start" "-a" "7d054ff5818d61b4cd43b32b26ebfa29aaf8747595eeab6e826a9668ae13d4f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7d054ff5818d61b4cd43b32b26ebfa29aaf8747595eeab6e826a9668ae13d4f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7d054ff5818d61b4cd43b32b26ebfa29aaf8747595eeab6e826a9668ae13d4f0", kill_on_drop: false }`
[INFO] [stdout] 7d054ff5818d61b4cd43b32b26ebfa29aaf8747595eeab6e826a9668ae13d4f0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-03-05" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6238732d4ed4447428e8a573179f3e5924e10b2e8fa79d784fdb106f28261c8a
[INFO] running `Command { std: "docker" "start" "-a" "6238732d4ed4447428e8a573179f3e5924e10b2e8fa79d784fdb106f28261c8a", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling deranged v0.5.8
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling indexmap v2.13.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling getrandom v0.4.1
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling clap_lex v1.0.0
[INFO] [stderr]    Compiling time v0.3.47
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling pem v3.0.6
[INFO] [stderr]    Compiling clap_builder v4.5.60
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]    Compiling yasna v0.5.2
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.11
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling rcgen v0.11.3
[INFO] [stderr]    Compiling rustls-native-certs v0.6.3
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling uuid v1.21.0
[INFO] [stderr]    Compiling dirs v5.0.1
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling clap_derive v4.5.55
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling clap v4.5.60
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling rust_mitm_proxy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `KeyPair`
[INFO] [stdout]  --> src/proxy/certificate.rs:3:78
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rcgen::{Certificate, CertificateParams, DistinguishedName, DnType, IsCa, KeyPair, SanType, BasicConstraints};
[INFO] [stdout]   |                                                                              ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncWriteExt`
[INFO] [stdout]   --> src/proxy/http.rs:30:56
[INFO] [stdout]    |
[INFO] [stdout] 30 |         use tokio::io::{AsyncBufReadExt, AsyncReadExt, AsyncWriteExt, BufReader};
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::io::AsyncWriteExt`
[INFO] [stdout]    --> src/proxy/http.rs:270:13
[INFO] [stdout]     |
[INFO] [stdout] 270 |         use tokio::io::AsyncWriteExt;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ipv4Addr`
[INFO] [stdout]  --> src/utils/network.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::net::{IpAddr, Ipv4Addr};
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/capture/recorder.rs:33:22
[INFO] [stdout]    |
[INFO] [stdout] 32 |             connection: todo!(), // TODO: 从上下文获取连接信息
[INFO] [stdout]    |                         ------- any code following this expression is unreachable
[INFO] [stdout] 33 |             request: request.clone(),
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/proxy/certificate.rs:114:16
[INFO] [stdout]     |
[INFO] [stdout] 114 |             if let Ok(wildcard_ia5) = wildcard.try_into() {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]   --> src/capture/recorder.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |         request: &RequestInfo,
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `response`
[INFO] [stdout]   --> src/capture/recorder.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |         response: &ResponseInfo,
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `duration_ms`
[INFO] [stdout]   --> src/capture/recorder.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         duration_ms: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration_ms`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `record`
[INFO] [stdout]   --> src/capture/recorder.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let record = TrafficRecord {
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_record`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `config` and `records` are never read
[INFO] [stdout]   --> src/capture/recorder.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct TrafficRecorder {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout]  9 |     config: CaptureConfig,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 10 |     records: Arc<RwLock<Vec<TrafficRecord>>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `record`, `get_all`, and `print_record` are never used
[INFO] [stdout]   --> src/capture/recorder.rs:23:18
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl TrafficRecorder {
[INFO] [stdout]    | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub async fn record(
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub async fn get_all(&self) -> Vec<TrafficRecord> {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     fn print_record(&self, record: &TrafficRecord) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Exporter` is never constructed
[INFO] [stdout]  --> src/capture/exporter.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Exporter;
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `export`, `export_json`, `export_har`, `to_har`, `record_to_har_entry`, and `headers_to_har` are never used
[INFO] [stdout]   --> src/capture/exporter.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Exporter {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 12 |     /// 导出流量记录
[INFO] [stdout] 13 |     pub fn export(records: &[TrafficRecord], format: &ExportFormat, path: &Path) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn export_json(records: &[TrafficRecord], path: &Path) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     fn export_har(records: &[TrafficRecord], path: &Path) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     fn to_har(records: &[TrafficRecord]) -> serde_json::Value {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     fn record_to_har_entry(record: &TrafficRecord) -> serde_json::Value {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 97 |     fn headers_to_har(headers: &std::collections::HashMap<String, String>) -> Vec<serde_json::Value> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_file` is never used
[INFO] [stdout]   --> src/config.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl Config {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn to_file<P: Into<PathBuf>>(&self, path: P) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `TlsError` and `ProxyError` are never constructed
[INFO] [stdout]   --> src/error.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub enum ProxyError {
[INFO] [stdout]    |          ---------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 22 |     TlsError(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     ProxyError(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ProxyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ca_cert_der` is never read
[INFO] [stdout]   --> src/proxy/certificate.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct CertificateManager {
[INFO] [stdout]    |            ------------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 19 |     ca_cert_der: Vec<u8>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_ca_cert_der`, `save_ca_cert`, and `get_cache_stats` are never used
[INFO] [stdout]    --> src/proxy/certificate.rs:161:12
[INFO] [stdout]     |
[INFO] [stdout]  28 | impl CertificateManager {
[INFO] [stdout]     | ----------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn get_ca_cert_der(&self) -> Result<Vec<u8>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 |     pub async fn save_ca_cert(&self, path: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 182 |     pub async fn get_cache_stats(&self) -> (usize, usize) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `extract_query` is never used
[INFO] [stdout]    --> src/proxy/http.rs:458:8
[INFO] [stdout]     |
[INFO] [stdout]  16 | impl HttpHandler {
[INFO] [stdout]     | ---------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 458 |     fn extract_query(url: &str) -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `create_default_config` is never used
[INFO] [stdout]   --> src/utils/config_utils.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl ConfigUtils {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn create_default_config() -> Result<Config> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/config.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 71 |         if self.server.port > 65535 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 36s
[INFO] running `Command { std: "docker" "inspect" "6238732d4ed4447428e8a573179f3e5924e10b2e8fa79d784fdb106f28261c8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6238732d4ed4447428e8a573179f3e5924e10b2e8fa79d784fdb106f28261c8a", kill_on_drop: false }`
[INFO] [stdout] 6238732d4ed4447428e8a573179f3e5924e10b2e8fa79d784fdb106f28261c8a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-03-05" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5fbf90177626d6c20d9731ed3d7c9efa7bfaad1be11e0a7e99540f705ef68f69
[INFO] running `Command { std: "docker" "start" "-a" "5fbf90177626d6c20d9731ed3d7c9efa7bfaad1be11e0a7e99540f705ef68f69", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling tokio-test v0.4.5
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling rust_mitm_proxy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `KeyPair`
[INFO] [stdout]  --> src/proxy/certificate.rs:3:78
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rcgen::{Certificate, CertificateParams, DistinguishedName, DnType, IsCa, KeyPair, SanType, BasicConstraints};
[INFO] [stdout]   |                                                                              ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncWriteExt`
[INFO] [stdout]   --> src/proxy/http.rs:30:56
[INFO] [stdout]    |
[INFO] [stdout] 30 |         use tokio::io::{AsyncBufReadExt, AsyncReadExt, AsyncWriteExt, BufReader};
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::io::AsyncWriteExt`
[INFO] [stdout]    --> src/proxy/http.rs:270:13
[INFO] [stdout]     |
[INFO] [stdout] 270 |         use tokio::io::AsyncWriteExt;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ipv4Addr`
[INFO] [stdout]  --> src/utils/network.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::net::{IpAddr, Ipv4Addr};
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/capture/recorder.rs:33:22
[INFO] [stdout]    |
[INFO] [stdout] 32 |             connection: todo!(), // TODO: 从上下文获取连接信息
[INFO] [stdout]    |                         ------- any code following this expression is unreachable
[INFO] [stdout] 33 |             request: request.clone(),
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/proxy/certificate.rs:114:16
[INFO] [stdout]     |
[INFO] [stdout] 114 |             if let Ok(wildcard_ia5) = wildcard.try_into() {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]   --> src/capture/recorder.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |         request: &RequestInfo,
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `response`
[INFO] [stdout]   --> src/capture/recorder.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |         response: &ResponseInfo,
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `duration_ms`
[INFO] [stdout]   --> src/capture/recorder.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         duration_ms: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration_ms`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `record`
[INFO] [stdout]   --> src/capture/recorder.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let record = TrafficRecord {
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_record`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `config` and `records` are never read
[INFO] [stdout]   --> src/capture/recorder.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct TrafficRecorder {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout]  9 |     config: CaptureConfig,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 10 |     records: Arc<RwLock<Vec<TrafficRecord>>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `record`, `get_all`, and `print_record` are never used
[INFO] [stdout]   --> src/capture/recorder.rs:23:18
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl TrafficRecorder {
[INFO] [stdout]    | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub async fn record(
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub async fn get_all(&self) -> Vec<TrafficRecord> {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     fn print_record(&self, record: &TrafficRecord) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Exporter` is never constructed
[INFO] [stdout]  --> src/capture/exporter.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Exporter;
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `export`, `export_json`, `export_har`, `to_har`, `record_to_har_entry`, and `headers_to_har` are never used
[INFO] [stdout]   --> src/capture/exporter.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Exporter {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 12 |     /// 导出流量记录
[INFO] [stdout] 13 |     pub fn export(records: &[TrafficRecord], format: &ExportFormat, path: &Path) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn export_json(records: &[TrafficRecord], path: &Path) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     fn export_har(records: &[TrafficRecord], path: &Path) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     fn to_har(records: &[TrafficRecord]) -> serde_json::Value {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     fn record_to_har_entry(record: &TrafficRecord) -> serde_json::Value {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 97 |     fn headers_to_har(headers: &std::collections::HashMap<String, String>) -> Vec<serde_json::Value> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_file` is never used
[INFO] [stdout]   --> src/config.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl Config {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn to_file<P: Into<PathBuf>>(&self, path: P) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `TlsError` and `ProxyError` are never constructed
[INFO] [stdout]   --> src/error.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub enum ProxyError {
[INFO] [stdout]    |          ---------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 22 |     TlsError(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     ProxyError(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ProxyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `save_ca_cert` is never used
[INFO] [stdout]    --> src/proxy/certificate.rs:166:18
[INFO] [stdout]     |
[INFO] [stdout]  28 | impl CertificateManager {
[INFO] [stdout]     | ----------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 166 |     pub async fn save_ca_cert(&self, path: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `extract_query` is never used
[INFO] [stdout]    --> src/proxy/http.rs:458:8
[INFO] [stdout]     |
[INFO] [stdout]  16 | impl HttpHandler {
[INFO] [stdout]     | ---------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 458 |     fn extract_query(url: &str) -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `create_default_config` is never used
[INFO] [stdout]   --> src/utils/config_utils.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl ConfigUtils {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn create_default_config() -> Result<Config> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/config.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 71 |         if self.server.port > 65535 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 22.45s
[INFO] running `Command { std: "docker" "inspect" "5fbf90177626d6c20d9731ed3d7c9efa7bfaad1be11e0a7e99540f705ef68f69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5fbf90177626d6c20d9731ed3d7c9efa7bfaad1be11e0a7e99540f705ef68f69", kill_on_drop: false }`
[INFO] [stdout] 5fbf90177626d6c20d9731ed3d7c9efa7bfaad1be11e0a7e99540f705ef68f69
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-03-05" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 398dff48854cdf99d2d8716455bb96f593d31005e8feeaa259f0deff99862105
[INFO] running `Command { std: "docker" "start" "-a" "398dff48854cdf99d2d8716455bb96f593d31005e8feeaa259f0deff99862105", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `KeyPair`
[INFO] [stderr]  --> src/proxy/certificate.rs:3:78
[INFO] [stderr]   |
[INFO] [stderr] 3 | use rcgen::{Certificate, CertificateParams, DistinguishedName, DnType, IsCa, KeyPair, SanType, BasicConstraints};
[INFO] [stderr]   |                                                                              ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `AsyncWriteExt`
[INFO] [stderr]   --> src/proxy/http.rs:30:56
[INFO] [stderr]    |
[INFO] [stderr] 30 |         use tokio::io::{AsyncBufReadExt, AsyncReadExt, AsyncWriteExt, BufReader};
[INFO] [stderr]    |                                                        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tokio::io::AsyncWriteExt`
[INFO] [stderr]    --> src/proxy/http.rs:270:13
[INFO] [stderr]     |
[INFO] [stderr] 270 |         use tokio::io::AsyncWriteExt;
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Ipv4Addr`
[INFO] [stderr]  --> src/utils/network.rs:2:24
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::net::{IpAddr, Ipv4Addr};
[INFO] [stderr]   |                        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable expression
[INFO] [stderr]   --> src/capture/recorder.rs:33:22
[INFO] [stderr]    |
[INFO] [stderr] 32 |             connection: todo!(), // TODO: 从上下文获取连接信息
[INFO] [stderr]    |                         ------- any code following this expression is unreachable
[INFO] [stderr] 33 |             request: request.clone(),
[INFO] [stderr]    |                      ^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: irrefutable `if let` pattern
[INFO] [stderr]    --> src/proxy/certificate.rs:114:16
[INFO] [stderr]     |
[INFO] [stderr] 114 |             if let Ok(wildcard_ia5) = wildcard.try_into() {
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stderr]     = help: consider replacing the `if let` with a `let`
[INFO] [stderr]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `request`
[INFO] [stderr]   --> src/capture/recorder.rs:25:9
[INFO] [stderr]    |
[INFO] [stderr] 25 |         request: &RequestInfo,
[INFO] [stderr]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `response`
[INFO] [stderr]   --> src/capture/recorder.rs:26:9
[INFO] [stderr]    |
[INFO] [stderr] 26 |         response: &ResponseInfo,
[INFO] [stderr]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `duration_ms`
[INFO] [stderr]   --> src/capture/recorder.rs:27:9
[INFO] [stderr]    |
[INFO] [stderr] 27 |         duration_ms: u64,
[INFO] [stderr]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration_ms`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `record`
[INFO] [stderr]   --> src/capture/recorder.rs:29:13
[INFO] [stderr]    |
[INFO] [stderr] 29 |         let record = TrafficRecord {
[INFO] [stderr]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_record`
[INFO] [stderr] 
[INFO] [stderr] warning: fields `config` and `records` are never read
[INFO] [stderr]   --> src/capture/recorder.rs:9:5
[INFO] [stderr]    |
[INFO] [stderr]  8 | pub struct TrafficRecorder {
[INFO] [stderr]    |            --------------- fields in this struct
[INFO] [stderr]  9 |     config: CaptureConfig,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 10 |     records: Arc<RwLock<Vec<TrafficRecord>>>,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: methods `record`, `get_all`, and `print_record` are never used
[INFO] [stderr]   --> src/capture/recorder.rs:23:18
[INFO] [stderr]    |
[INFO] [stderr] 13 | impl TrafficRecorder {
[INFO] [stderr]    | -------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 23 |     pub async fn record(
[INFO] [stderr]    |                  ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 51 |     pub async fn get_all(&self) -> Vec<TrafficRecord> {
[INFO] [stderr]    |                  ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 57 |     fn print_record(&self, record: &TrafficRecord) {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Exporter` is never constructed
[INFO] [stderr]  --> src/capture/exporter.rs:9:12
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub struct Exporter;
[INFO] [stderr]   |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `export`, `export_json`, `export_har`, `to_har`, `record_to_har_entry`, and `headers_to_har` are never used
[INFO] [stderr]   --> src/capture/exporter.rs:13:12
[INFO] [stderr]    |
[INFO] [stderr] 11 | impl Exporter {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr] 12 |     /// 导出流量记录
[INFO] [stderr] 13 |     pub fn export(records: &[TrafficRecord], format: &ExportFormat, path: &Path) -> Result<()> {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 21 |     fn export_json(records: &[TrafficRecord], path: &Path) -> Result<()> {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 38 |     fn export_har(records: &[TrafficRecord], path: &Path) -> Result<()> {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 56 |     fn to_har(records: &[TrafficRecord]) -> serde_json::Value {
[INFO] [stderr]    |        ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 75 |     fn record_to_har_entry(record: &TrafficRecord) -> serde_json::Value {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 97 |     fn headers_to_har(headers: &std::collections::HashMap<String, String>) -> Vec<serde_json::Value> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `to_file` is never used
[INFO] [stderr]   --> src/config.rs:52:12
[INFO] [stderr]    |
[INFO] [stderr] 36 | impl Config {
[INFO] [stderr]    | ----------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 52 |     pub fn to_file<P: Into<PathBuf>>(&self, path: P) -> Result<()> {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `TlsError` and `ProxyError` are never constructed
[INFO] [stderr]   --> src/error.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr]  5 | pub enum ProxyError {
[INFO] [stderr]    |          ---------- variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 22 |     TlsError(String),
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 34 |     ProxyError(String),
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ProxyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `save_ca_cert` is never used
[INFO] [stderr]    --> src/proxy/certificate.rs:166:18
[INFO] [stderr]     |
[INFO] [stderr]  28 | impl CertificateManager {
[INFO] [stderr]     | ----------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 166 |     pub async fn save_ca_cert(&self, path: &str) -> Result<()> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `extract_query` is never used
[INFO] [stderr]    --> src/proxy/http.rs:458:8
[INFO] [stderr]     |
[INFO] [stderr]  16 | impl HttpHandler {
[INFO] [stderr]     | ---------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 458 |     fn extract_query(url: &str) -> Option<String> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `create_default_config` is never used
[INFO] [stderr]   --> src/utils/config_utils.rs:17:12
[INFO] [stderr]    |
[INFO] [stderr]  8 | impl ConfigUtils {
[INFO] [stderr]    | ---------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 17 |     pub fn create_default_config() -> Result<Config> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: comparison is useless due to type limits
[INFO] [stderr]   --> src/config.rs:71:12
[INFO] [stderr]    |
[INFO] [stderr] 71 |         if self.server.port > 65535 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `rust_mitm_proxy` (bin "rust_mitm_proxy" test) generated 20 warnings (run `cargo fix --bin "rust_mitm_proxy" -p rust_mitm_proxy --tests` to apply 8 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_mitm_proxy-248e5b8551b2a46b)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test proxy::certificate::tests::test_domain_cert_generation ... ok
[INFO] [stdout] test proxy::certificate::tests::test_cert_cache ... ok
[INFO] [stdout] test proxy::certificate::tests::test_ca_cert_generation ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- proxy::certificate::tests::test_ca_cert_generation stdout ----
[INFO] [stdout] 🔐 生成新的 CA 根证书...
[INFO] [stdout] ✅ CA 根证书生成成功
[INFO] [stdout]    主题: CN=Rust MITM Proxy CA, O=Rust MITM Proxy, C=CN
[INFO] [stdout]    有效期: 10 年
[INFO] [stdout] 
[INFO] [stdout] thread 'proxy::certificate::tests::test_ca_cert_generation' (17) panicked at src/proxy/certificate.rs:201:9:
[INFO] [stdout] assertion failed: ca_pem.contains("Rust MITM Proxy CA")
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x559b2786cc9a - std[b80a194dd3c418bb]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x559b2786cc9a - std[b80a194dd3c418bb]::backtrace_rs::backtrace::trace_unsynchronized::<std[b80a194dd3c418bb]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x559b2786cc9a - std[b80a194dd3c418bb]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x559b2786cc9a - <<std[b80a194dd3c418bb]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[10b6fa85044e1869]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x559b27880c3a - <core[10b6fa85044e1869]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x559b27880c3a - core[10b6fa85044e1869]::fmt::write
[INFO] [stdout]    6:     0x559b27871692 - std[b80a194dd3c418bb]::io::default_write_fmt::<alloc[dd269455e567d8e9]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x559b27871692 - <alloc[dd269455e567d8e9]::vec::Vec<u8> as std[b80a194dd3c418bb]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x559b2784ba3f - <std[b80a194dd3c418bb]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x559b2784ba3f - std[b80a194dd3c418bb]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x559b27864fb9 - std[b80a194dd3c418bb]::panicking::default_hook
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x559b276fa81c - <alloc[dd269455e567d8e9]::boxed::Box<dyn for<'a, 'b> core[10b6fa85044e1869]::ops::function::Fn<(&'a std[b80a194dd3c418bb]::panic::PanicHookInfo<'b>,), Output = ()> + core[10b6fa85044e1869]::marker::Sync + core[10b6fa85044e1869]::marker::Send> as core[10b6fa85044e1869]::ops::function::Fn<(&std[b80a194dd3c418bb]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/alloc/src/boxed.rs:2254:9
[INFO] [stdout]   12:     0x559b276fa81c - test[826cbc6ef54ab466]::test_main_with_exit_callback::<test[826cbc6ef54ab466]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x559b27865232 - <alloc[dd269455e567d8e9]::boxed::Box<dyn for<'a, 'b> core[10b6fa85044e1869]::ops::function::Fn<(&'a std[b80a194dd3c418bb]::panic::PanicHookInfo<'b>,), Output = ()> + core[10b6fa85044e1869]::marker::Sync + core[10b6fa85044e1869]::marker::Send> as core[10b6fa85044e1869]::ops::function::Fn<(&std[b80a194dd3c418bb]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/alloc/src/boxed.rs:2254:9
[INFO] [stdout]   14:     0x559b27865232 - std[b80a194dd3c418bb]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x559b2784bb2a - std[b80a194dd3c418bb]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:691:13
[INFO] [stdout]   16:     0x559b27843499 - std[b80a194dd3c418bb]::sys::backtrace::__rust_end_short_backtrace::<std[b80a194dd3c418bb]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x559b2784c80d - __rustc[9698a3e60dd14283]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x559b2788151c - core[10b6fa85044e1869]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x559b278814e2 - core[10b6fa85044e1869]::panicking::panic
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/panicking.rs:150:5
[INFO] [stdout]   20:     0x559b276e88f9 - rust_mitm_proxy::proxy::certificate::tests::test_ca_cert_generation::{{closure}}::hdc30c722e9c4acf3
[INFO] [stdout]                                at /opt/rustwide/workdir/src/proxy/certificate.rs:201:9
[INFO] [stdout]   21:     0x559b276e1142 - <core::pin::Pin<P> as core::future::future::Future>::poll::hb2da5a45d4ba6c70
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/future/future.rs:133:9
[INFO] [stdout]   22:     0x559b276e10bd - <core::pin::Pin<P> as core::future::future::Future>::poll::h4c5e79e4d1219465
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/future/future.rs:133:9
[INFO] [stdout]   23:     0x559b276e0bfd - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h1e3af7161ec8ed13
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/runtime/scheduler/current_thread/mod.rs:753:70
[INFO] [stdout]   24:     0x559b276e09ab - tokio::task::coop::with_budget::h5a819691d698255d
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/task/coop/mod.rs:167:5
[INFO] [stdout]   25:     0x559b276e09ab - tokio::task::coop::budget::hd7a6993b3bed4440
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/task/coop/mod.rs:133:5
[INFO] [stdout]   26:     0x559b276e09ab - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h9ed8a97b1ece2175
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/runtime/scheduler/current_thread/mod.rs:753:25
[INFO] [stdout]   27:     0x559b276ddcb0 - tokio::runtime::scheduler::current_thread::Context::enter::ha26eb9f0b3dc603c
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/runtime/scheduler/current_thread/mod.rs:442:19
[INFO] [stdout]   28:     0x559b276e006d - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h51645b9bafb47550
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/runtime/scheduler/current_thread/mod.rs:752:44
[INFO] [stdout]   29:     0x559b276df264 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::hbb859a3f73dbab77
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/runtime/scheduler/current_thread/mod.rs:840:68
[INFO] [stdout]   30:     0x559b276e5e0b - tokio::runtime::context::scoped::Scoped<T>::set::h1e677c160d5f7b80
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/runtime/context/scoped.rs:40:9
[INFO] [stdout]   31:     0x559b276e5b49 - tokio::runtime::context::set_scheduler::{{closure}}::h718ba88aa50c2645
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/runtime/context.rs:176:38
[INFO] [stdout]   32:     0x559b276d4602 - std::thread::local::LocalKey<T>::try_with::h6af59dea6aad4e20
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/thread/local.rs:513:12
[INFO] [stdout]   33:     0x559b276d3cee - std::thread::local::LocalKey<T>::with::h5b77f094b5281afe
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/thread/local.rs:477:20
[INFO] [stdout]   34:     0x559b276e5a7d - tokio::runtime::context::set_scheduler::h329e5e7909641752
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/runtime/context.rs:176:17
[INFO] [stdout]   35:     0x559b276debd0 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h11dfe9a6c26c35c8
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/runtime/scheduler/current_thread/mod.rs:840:27
[INFO] [stdout]   36:     0x559b276df2a6 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h262c5ef80b1c126c
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/runtime/scheduler/current_thread/mod.rs:740:24
[INFO] [stdout]   37:     0x559b276dd220 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::h1f545b27d181d4f5
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/runtime/scheduler/current_thread/mod.rs:200:33
[INFO] [stdout]   38:     0x559b276e6393 - tokio::runtime::context::runtime::enter_runtime::he1fa26d18a372ed5
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/runtime/context/runtime.rs:65:16
[INFO] [stdout]   39:     0x559b276dcfe1 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::hb8e379bb9667f5f2
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/runtime/scheduler/current_thread/mod.rs:188:9
[INFO] [stdout]   40:     0x559b276dcb24 - tokio::runtime::runtime::Runtime::block_on_inner::h51749324ad964383
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/runtime/runtime.rs:368:52
[INFO] [stdout]   41:     0x559b276dcdff - tokio::runtime::runtime::Runtime::block_on::hda33e0a73af5aa3e
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/runtime/runtime.rs:342:18
[INFO] [stdout]   42:     0x559b276e8301 - rust_mitm_proxy::proxy::certificate::tests::test_ca_cert_generation::hee3e2c85ba9d571f
[INFO] [stdout]                                at /opt/rustwide/workdir/src/proxy/certificate.rs:204:36
[INFO] [stdout]   43:     0x559b276e8397 - rust_mitm_proxy::proxy::certificate::tests::test_ca_cert_generation::{{closure}}::h19c168cdd99e32ad
[INFO] [stdout]                                at /opt/rustwide/workdir/src/proxy/certificate.rs:194:39
[INFO] [stdout]   44:     0x559b276d51a6 - core::ops::function::FnOnce::call_once::haf82b34b1d6f3e2a
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x559b276ee8fb - <fn() -> core[10b6fa85044e1869]::result::Result<(), alloc[dd269455e567d8e9]::string::String> as core[10b6fa85044e1869]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   46:     0x559b276ee8fb - test[826cbc6ef54ab466]::__rust_begin_short_backtrace::<core[10b6fa85044e1869]::result::Result<(), alloc[dd269455e567d8e9]::string::String>, fn() -> core[10b6fa85044e1869]::result::Result<(), alloc[dd269455e567d8e9]::string::String>>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/test/src/lib.rs:663:18
[INFO] [stdout]   47:     0x559b276fb2eb - test[826cbc6ef54ab466]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/test/src/lib.rs:686:74
[INFO] [stdout]   48:     0x559b276fb2eb - <core[10b6fa85044e1869]::panic::unwind_safe::AssertUnwindSafe<test[826cbc6ef54ab466]::run_test_in_process::{closure#0}> as core[10b6fa85044e1869]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   49:     0x559b276fb2eb - std[b80a194dd3c418bb]::panicking::catch_unwind::do_call::<core[10b6fa85044e1869]::panic::unwind_safe::AssertUnwindSafe<test[826cbc6ef54ab466]::run_test_in_process::{closure#0}>, core[10b6fa85044e1869]::result::Result<(), alloc[dd269455e567d8e9]::string::String>>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:581:40
[INFO] [stdout]   50:     0x559b276fb2eb - std[b80a194dd3c418bb]::panicking::catch_unwind::<core[10b6fa85044e1869]::result::Result<(), alloc[dd269455e567d8e9]::string::String>, core[10b6fa85044e1869]::panic::unwind_safe::AssertUnwindSafe<test[826cbc6ef54ab466]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:544:19
[INFO] [stdout]   51:     0x559b276fb2eb - std[b80a194dd3c418bb]::panic::catch_unwind::<core[10b6fa85044e1869]::panic::unwind_safe::AssertUnwindSafe<test[826cbc6ef54ab466]::run_test_in_process::{closure#0}>, core[10b6fa85044e1869]::result::Result<(), alloc[dd269455e567d8e9]::string::String>>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panic.rs:359:14
[INFO] [stdout]   52:     0x559b276fb2eb - test[826cbc6ef54ab466]::run_test_in_process
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/test/src/lib.rs:686:27
[INFO] [stdout]   53:     0x559b276fb2eb - test[826cbc6ef54ab466]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/test/src/lib.rs:607:43
[INFO] [stdout]   54:     0x559b276f6a04 - test[826cbc6ef54ab466]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/test/src/lib.rs:637:41
[INFO] [stdout]   55:     0x559b276f6a04 - std[b80a194dd3c418bb]::sys::backtrace::__rust_begin_short_backtrace::<test[826cbc6ef54ab466]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   56:     0x559b276fdef2 - std[b80a194dd3c418bb]::thread::lifecycle::spawn_unchecked::<test[826cbc6ef54ab466]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   57:     0x559b276fdef2 - <core[10b6fa85044e1869]::panic::unwind_safe::AssertUnwindSafe<std[b80a194dd3c418bb]::thread::lifecycle::spawn_unchecked<test[826cbc6ef54ab466]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[10b6fa85044e1869]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   58:     0x559b276fdef2 - std[b80a194dd3c418bb]::panicking::catch_unwind::do_call::<core[10b6fa85044e1869]::panic::unwind_safe::AssertUnwindSafe<std[b80a194dd3c418bb]::thread::lifecycle::spawn_unchecked<test[826cbc6ef54ab466]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:581:40
[INFO] [stdout]   59:     0x559b276fdef2 - std[b80a194dd3c418bb]::panicking::catch_unwind::<(), core[10b6fa85044e1869]::panic::unwind_safe::AssertUnwindSafe<std[b80a194dd3c418bb]::thread::lifecycle::spawn_unchecked<test[826cbc6ef54ab466]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:544:19
[INFO] [stdout]   60:     0x559b276fdef2 - std[b80a194dd3c418bb]::panic::catch_unwind::<core[10b6fa85044e1869]::panic::unwind_safe::AssertUnwindSafe<std[b80a194dd3c418bb]::thread::lifecycle::spawn_unchecked<test[826cbc6ef54ab466]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panic.rs:359:14
[INFO] [stdout]   61:     0x559b276fdef2 - std[b80a194dd3c418bb]::thread::lifecycle::spawn_unchecked::<test[826cbc6ef54ab466]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   62:     0x559b276fdef2 - <std[b80a194dd3c418bb]::thread::lifecycle::spawn_unchecked<test[826cbc6ef54ab466]::run_test::{closure#1}, ()>::{closure#1} as core[10b6fa85044e1869]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   63:     0x559b2786c56f - <alloc[dd269455e567d8e9]::boxed::Box<dyn core[10b6fa85044e1869]::ops::function::FnOnce<(), Output = ()> + core[10b6fa85044e1869]::marker::Send> as core[10b6fa85044e1869]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/alloc/src/boxed.rs:2240:9
[INFO] [stdout]   64:     0x559b2786c56f - <std[b80a194dd3c418bb]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   65:     0x7f3617a37aa4 - <unknown>
[INFO] [stdout]   66:     0x7f3617ac4a64 - clone
[INFO] [stdout]   67:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     proxy::certificate::tests::test_ca_cert_generation
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin rust_mitm_proxy`
[INFO] running `Command { std: "docker" "inspect" "398dff48854cdf99d2d8716455bb96f593d31005e8feeaa259f0deff99862105", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "398dff48854cdf99d2d8716455bb96f593d31005e8feeaa259f0deff99862105", kill_on_drop: false }`
[INFO] [stdout] 398dff48854cdf99d2d8716455bb96f593d31005e8feeaa259f0deff99862105
