[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 try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739
[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 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "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" "+33835004928d3bf65db4d4712e1330766263b0bd" "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" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9f215649eae2043f32160ac5d200aeec6d4b338e7dc98692abd3aeaca655ed9b
[INFO] running `Command { std: "docker" "start" "-a" "9f215649eae2043f32160ac5d200aeec6d4b338e7dc98692abd3aeaca655ed9b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9f215649eae2043f32160ac5d200aeec6d4b338e7dc98692abd3aeaca655ed9b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9f215649eae2043f32160ac5d200aeec6d4b338e7dc98692abd3aeaca655ed9b", kill_on_drop: false }`
[INFO] [stdout] 9f215649eae2043f32160ac5d200aeec6d4b338e7dc98692abd3aeaca655ed9b
[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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] de69a1c251bb8e001a96afea87a2da9d6e52e788ccb39ed8e436c4812ccc2ba7
[INFO] running `Command { std: "docker" "start" "-a" "de69a1c251bb8e001a96afea87a2da9d6e52e788ccb39ed8e436c4812ccc2ba7", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling socket2 v0.6.2
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]    Compiling deranged v0.5.8
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling openssl-probe v0.2.1
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling getrandom v0.4.1
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]    Compiling time v0.3.47
[INFO] [stderr]    Compiling clap_lex v1.0.0
[INFO] [stderr]    Compiling clap_builder v4.5.60
[INFO] [stderr]    Compiling pem v3.0.6
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling yasna v0.5.2
[INFO] [stderr]    Compiling ryu v1.0.23
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.11
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling uuid v1.21.0
[INFO] [stderr]    Compiling rustls-native-certs v0.6.3
[INFO] [stderr]    Compiling rcgen v0.11.3
[INFO] [stderr]    Compiling dirs v5.0.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling sct v0.7.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 thiserror-impl v1.0.69
[INFO] [stderr]    Compiling clap_derive v4.5.55
[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 serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling chrono v0.4.44
[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 38s
[INFO] running `Command { std: "docker" "inspect" "de69a1c251bb8e001a96afea87a2da9d6e52e788ccb39ed8e436c4812ccc2ba7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "de69a1c251bb8e001a96afea87a2da9d6e52e788ccb39ed8e436c4812ccc2ba7", kill_on_drop: false }`
[INFO] [stdout] de69a1c251bb8e001a96afea87a2da9d6e52e788ccb39ed8e436c4812ccc2ba7
[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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 80ac8251ff35e7b5de23fc771ed2aaf693d5d3b05d61ff2361df9fac330807b9
[INFO] running `Command { std: "docker" "start" "-a" "80ac8251ff35e7b5de23fc771ed2aaf693d5d3b05d61ff2361df9fac330807b9", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[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.88s
[INFO] running `Command { std: "docker" "inspect" "80ac8251ff35e7b5de23fc771ed2aaf693d5d3b05d61ff2361df9fac330807b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "80ac8251ff35e7b5de23fc771ed2aaf693d5d3b05d61ff2361df9fac330807b9", kill_on_drop: false }`
[INFO] [stdout] 80ac8251ff35e7b5de23fc771ed2aaf693d5d3b05d61ff2361df9fac330807b9
[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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a074b28eac8009141127402ad5ccf26429d976097bc7e0c2eba56f404ffe9a9c
[INFO] running `Command { std: "docker" "start" "-a" "a074b28eac8009141127402ad5ccf26429d976097bc7e0c2eba56f404ffe9a9c", 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.21s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_mitm_proxy-98315ac65849f25f)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test proxy::certificate::tests::test_cert_cache ... ok
[INFO] [stdout] test proxy::certificate::tests::test_domain_cert_generation ... 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:     0x584f59d065aa - std[ec419fa8110287d5]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x584f59d065aa - std[ec419fa8110287d5]::backtrace_rs::backtrace::trace_unsynchronized::<std[ec419fa8110287d5]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x584f59d065aa - std[ec419fa8110287d5]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x584f59d065aa - <<std[ec419fa8110287d5]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[35159d6ffb30e017]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x584f59d1a67a - <core[35159d6ffb30e017]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x584f59d1a67a - core[35159d6ffb30e017]::fmt::write
[INFO] [stdout]    6:     0x584f59d0af52 - std[ec419fa8110287d5]::io::default_write_fmt::<alloc[a8a7aba520129d98]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x584f59d0af52 - <alloc[a8a7aba520129d98]::vec::Vec<u8> as std[ec419fa8110287d5]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x584f59ce513f - <std[ec419fa8110287d5]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x584f59ce513f - std[ec419fa8110287d5]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x584f59cfe809 - std[ec419fa8110287d5]::panicking::default_hook
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x584f59b939cc - <alloc[a8a7aba520129d98]::boxed::Box<dyn for<'a, 'b> core[35159d6ffb30e017]::ops::function::Fn<(&'a std[ec419fa8110287d5]::panic::PanicHookInfo<'b>,), Output = ()> + core[35159d6ffb30e017]::marker::Sync + core[35159d6ffb30e017]::marker::Send> as core[35159d6ffb30e017]::ops::function::Fn<(&std[ec419fa8110287d5]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   12:     0x584f59b939cc - test[a8007afcd3effadc]::test_main_inner::<test[a8007afcd3effadc]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x584f59cfea82 - <alloc[a8a7aba520129d98]::boxed::Box<dyn for<'a, 'b> core[35159d6ffb30e017]::ops::function::Fn<(&'a std[ec419fa8110287d5]::panic::PanicHookInfo<'b>,), Output = ()> + core[35159d6ffb30e017]::marker::Sync + core[35159d6ffb30e017]::marker::Send> as core[35159d6ffb30e017]::ops::function::Fn<(&std[ec419fa8110287d5]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   14:     0x584f59cfea82 - std[ec419fa8110287d5]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x584f59ce522a - std[ec419fa8110287d5]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:691:13
[INFO] [stdout]   16:     0x584f59cdcb99 - std[ec419fa8110287d5]::sys::backtrace::__rust_end_short_backtrace::<std[ec419fa8110287d5]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x584f59ce5f0d - __rustc[cfb3622dd870db93]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x584f59d1ae3c - core[35159d6ffb30e017]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x584f59d1ae02 - core[35159d6ffb30e017]::panicking::panic
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/panicking.rs:150:5
[INFO] [stdout]   20:     0x584f59b6e715 - rust_mitm_proxy[f41eafe66d1911d9]::proxy::certificate::tests::test_ca_cert_generation::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/proxy/certificate.rs:201:9
[INFO] [stdout]   21:     0x584f59b71bb2 - <core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>> as core[35159d6ffb30e017]::future::future::Future>::poll
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/future/future.rs:133:9
[INFO] [stdout]   22:     0x584f59b71c2d - <core[35159d6ffb30e017]::pin::Pin<&mut core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>> as core[35159d6ffb30e017]::future::future::Future>::poll
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/future/future.rs:133:9
[INFO] [stdout]   23:     0x584f59b8018d - <tokio[53375188f6b3d0e7]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[35159d6ffb30e017]::pin::Pin<&mut core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}::{closure#0}
[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:     0x584f59b8008b - tokio[53375188f6b3d0e7]::task::coop::with_budget::<core[35159d6ffb30e017]::task::poll::Poll<()>, <tokio[53375188f6b3d0e7]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[35159d6ffb30e017]::pin::Pin<&mut core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}::{closure#0}>
[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:     0x584f59b8008b - tokio[53375188f6b3d0e7]::task::coop::budget::<core[35159d6ffb30e017]::task::poll::Poll<()>, <tokio[53375188f6b3d0e7]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[35159d6ffb30e017]::pin::Pin<&mut core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}::{closure#0}>
[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:     0x584f59b8008b - <tokio[53375188f6b3d0e7]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[35159d6ffb30e017]::pin::Pin<&mut core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}
[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:     0x584f59b7bab0 - <tokio[53375188f6b3d0e7]::runtime::scheduler::current_thread::Context>::enter::<core[35159d6ffb30e017]::task::poll::Poll<()>, <tokio[53375188f6b3d0e7]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[35159d6ffb30e017]::pin::Pin<&mut core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}>
[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:     0x584f59b7ec5d - <tokio[53375188f6b3d0e7]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[35159d6ffb30e017]::pin::Pin<&mut core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>>::{closure#0}
[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:     0x584f59b7df54 - <tokio[53375188f6b3d0e7]::runtime::scheduler::current_thread::CoreGuard>::enter::<<tokio[53375188f6b3d0e7]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[35159d6ffb30e017]::pin::Pin<&mut core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>>::{closure#0}, core[35159d6ffb30e017]::option::Option<()>>::{closure#0}
[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:     0x584f59b728db - <tokio[53375188f6b3d0e7]::runtime::context::scoped::Scoped<tokio[53375188f6b3d0e7]::runtime::scheduler::Context>>::set::<<tokio[53375188f6b3d0e7]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[53375188f6b3d0e7]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[35159d6ffb30e017]::pin::Pin<&mut core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>>::{closure#0}, core[35159d6ffb30e017]::option::Option<()>>::{closure#0}, (alloc[a8a7aba520129d98]::boxed::Box<tokio[53375188f6b3d0e7]::runtime::scheduler::current_thread::Core>, core[35159d6ffb30e017]::option::Option<()>)>
[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:     0x584f59b69b49 - tokio[53375188f6b3d0e7]::runtime::context::set_scheduler::<(alloc[a8a7aba520129d98]::boxed::Box<tokio[53375188f6b3d0e7]::runtime::scheduler::current_thread::Core>, core[35159d6ffb30e017]::option::Option<()>), <tokio[53375188f6b3d0e7]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[53375188f6b3d0e7]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[35159d6ffb30e017]::pin::Pin<&mut core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>>::{closure#0}, core[35159d6ffb30e017]::option::Option<()>>::{closure#0}>::{closure#0}
[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:     0x584f59b67a72 - <std[ec419fa8110287d5]::thread::local::LocalKey<tokio[53375188f6b3d0e7]::runtime::context::Context>>::try_with::<tokio[53375188f6b3d0e7]::runtime::context::set_scheduler<(alloc[a8a7aba520129d98]::boxed::Box<tokio[53375188f6b3d0e7]::runtime::scheduler::current_thread::Core>, core[35159d6ffb30e017]::option::Option<()>), <tokio[53375188f6b3d0e7]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[53375188f6b3d0e7]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[35159d6ffb30e017]::pin::Pin<&mut core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>>::{closure#0}, core[35159d6ffb30e017]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[a8a7aba520129d98]::boxed::Box<tokio[53375188f6b3d0e7]::runtime::scheduler::current_thread::Core>, core[35159d6ffb30e017]::option::Option<()>)>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/thread/local.rs:462:12
[INFO] [stdout]   33:     0x584f59b675fe - <std[ec419fa8110287d5]::thread::local::LocalKey<tokio[53375188f6b3d0e7]::runtime::context::Context>>::with::<tokio[53375188f6b3d0e7]::runtime::context::set_scheduler<(alloc[a8a7aba520129d98]::boxed::Box<tokio[53375188f6b3d0e7]::runtime::scheduler::current_thread::Core>, core[35159d6ffb30e017]::option::Option<()>), <tokio[53375188f6b3d0e7]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[53375188f6b3d0e7]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[35159d6ffb30e017]::pin::Pin<&mut core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>>::{closure#0}, core[35159d6ffb30e017]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[a8a7aba520129d98]::boxed::Box<tokio[53375188f6b3d0e7]::runtime::scheduler::current_thread::Core>, core[35159d6ffb30e017]::option::Option<()>)>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/thread/local.rs:426:20
[INFO] [stdout]   34:     0x584f59b6991d - tokio[53375188f6b3d0e7]::runtime::context::set_scheduler::<(alloc[a8a7aba520129d98]::boxed::Box<tokio[53375188f6b3d0e7]::runtime::scheduler::current_thread::Core>, core[35159d6ffb30e017]::option::Option<()>), <tokio[53375188f6b3d0e7]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[53375188f6b3d0e7]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[35159d6ffb30e017]::pin::Pin<&mut core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>>::{closure#0}, core[35159d6ffb30e017]::option::Option<()>>::{closure#0}>
[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:     0x584f59b7cbf0 - <tokio[53375188f6b3d0e7]::runtime::scheduler::current_thread::CoreGuard>::enter::<<tokio[53375188f6b3d0e7]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[35159d6ffb30e017]::pin::Pin<&mut core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>>::{closure#0}, core[35159d6ffb30e017]::option::Option<()>>
[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:     0x584f59b7cee6 - <tokio[53375188f6b3d0e7]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[35159d6ffb30e017]::pin::Pin<&mut core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>>
[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:     0x584f59b7db60 - <tokio[53375188f6b3d0e7]::runtime::scheduler::current_thread::CurrentThread>::block_on::<core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>::{closure#0}
[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:     0x584f59b7d543 - tokio[53375188f6b3d0e7]::runtime::context::runtime::enter_runtime::<<tokio[53375188f6b3d0e7]::runtime::scheduler::current_thread::CurrentThread>::block_on<core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>::{closure#0}, ()>
[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:     0x584f59b7b381 - <tokio[53375188f6b3d0e7]::runtime::scheduler::current_thread::CurrentThread>::block_on::<core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>
[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:     0x584f59b67094 - <tokio[53375188f6b3d0e7]::runtime::runtime::Runtime>::block_on_inner::<core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>
[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:     0x584f59b6725f - <tokio[53375188f6b3d0e7]::runtime::runtime::Runtime>::block_on::<core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>
[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:     0x584f59b70f51 - rust_mitm_proxy[f41eafe66d1911d9]::proxy::certificate::tests::test_ca_cert_generation
[INFO] [stdout]                                at /opt/rustwide/workdir/src/proxy/certificate.rs:204:36
[INFO] [stdout]   43:     0x584f59b6d5f7 - rust_mitm_proxy[f41eafe66d1911d9]::proxy::certificate::tests::test_ca_cert_generation::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/proxy/certificate.rs:194:39
[INFO] [stdout]   44:     0x584f59b71f66 - <rust_mitm_proxy[f41eafe66d1911d9]::proxy::certificate::tests::test_ca_cert_generation::{closure#0} as core[35159d6ffb30e017]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x584f59b86cab - <fn() -> core[35159d6ffb30e017]::result::Result<(), alloc[a8a7aba520129d98]::string::String> as core[35159d6ffb30e017]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   46:     0x584f59b86cab - test[a8007afcd3effadc]::__rust_begin_short_backtrace::<core[35159d6ffb30e017]::result::Result<(), alloc[a8a7aba520129d98]::string::String>, fn() -> core[35159d6ffb30e017]::result::Result<(), alloc[a8a7aba520129d98]::string::String>>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/test/src/lib.rs:724:18
[INFO] [stdout]   47:     0x584f59b9449b - test[a8007afcd3effadc]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/test/src/lib.rs:747:74
[INFO] [stdout]   48:     0x584f59b9449b - <core[35159d6ffb30e017]::panic::unwind_safe::AssertUnwindSafe<test[a8007afcd3effadc]::run_test_in_process::{closure#0}> as core[35159d6ffb30e017]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   49:     0x584f59b9449b - std[ec419fa8110287d5]::panicking::catch_unwind::do_call::<core[35159d6ffb30e017]::panic::unwind_safe::AssertUnwindSafe<test[a8007afcd3effadc]::run_test_in_process::{closure#0}>, core[35159d6ffb30e017]::result::Result<(), alloc[a8a7aba520129d98]::string::String>>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:581:40
[INFO] [stdout]   50:     0x584f59b9449b - std[ec419fa8110287d5]::panicking::catch_unwind::<core[35159d6ffb30e017]::result::Result<(), alloc[a8a7aba520129d98]::string::String>, core[35159d6ffb30e017]::panic::unwind_safe::AssertUnwindSafe<test[a8007afcd3effadc]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:544:19
[INFO] [stdout]   51:     0x584f59b9449b - std[ec419fa8110287d5]::panic::catch_unwind::<core[35159d6ffb30e017]::panic::unwind_safe::AssertUnwindSafe<test[a8007afcd3effadc]::run_test_in_process::{closure#0}>, core[35159d6ffb30e017]::result::Result<(), alloc[a8a7aba520129d98]::string::String>>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panic.rs:359:14
[INFO] [stdout]   52:     0x584f59b9449b - test[a8007afcd3effadc]::run_test_in_process
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/test/src/lib.rs:747:27
[INFO] [stdout]   53:     0x584f59b9449b - test[a8007afcd3effadc]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/test/src/lib.rs:668:43
[INFO] [stdout]   54:     0x584f59b8ee74 - test[a8007afcd3effadc]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/test/src/lib.rs:698:41
[INFO] [stdout]   55:     0x584f59b8ee74 - std[ec419fa8110287d5]::sys::backtrace::__rust_begin_short_backtrace::<test[a8007afcd3effadc]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   56:     0x584f59b970a2 - std[ec419fa8110287d5]::thread::lifecycle::spawn_unchecked::<test[a8007afcd3effadc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   57:     0x584f59b970a2 - <core[35159d6ffb30e017]::panic::unwind_safe::AssertUnwindSafe<std[ec419fa8110287d5]::thread::lifecycle::spawn_unchecked<test[a8007afcd3effadc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[35159d6ffb30e017]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   58:     0x584f59b970a2 - std[ec419fa8110287d5]::panicking::catch_unwind::do_call::<core[35159d6ffb30e017]::panic::unwind_safe::AssertUnwindSafe<std[ec419fa8110287d5]::thread::lifecycle::spawn_unchecked<test[a8007afcd3effadc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:581:40
[INFO] [stdout]   59:     0x584f59b970a2 - std[ec419fa8110287d5]::panicking::catch_unwind::<(), core[35159d6ffb30e017]::panic::unwind_safe::AssertUnwindSafe<std[ec419fa8110287d5]::thread::lifecycle::spawn_unchecked<test[a8007afcd3effadc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:544:19
[INFO] [stdout]   60:     0x584f59b970a2 - std[ec419fa8110287d5]::panic::catch_unwind::<core[35159d6ffb30e017]::panic::unwind_safe::AssertUnwindSafe<std[ec419fa8110287d5]::thread::lifecycle::spawn_unchecked<test[a8007afcd3effadc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panic.rs:359:14
[INFO] [stdout]   61:     0x584f59b970a2 - std[ec419fa8110287d5]::thread::lifecycle::spawn_unchecked::<test[a8007afcd3effadc]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   62:     0x584f59b970a2 - <std[ec419fa8110287d5]::thread::lifecycle::spawn_unchecked<test[a8007afcd3effadc]::run_test::{closure#1}, ()>::{closure#1} as core[35159d6ffb30e017]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   63:     0x584f59d05e7f - <alloc[a8a7aba520129d98]::boxed::Box<dyn core[35159d6ffb30e017]::ops::function::FnOnce<(), Output = ()> + core[35159d6ffb30e017]::marker::Send> as core[35159d6ffb30e017]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/alloc/src/boxed.rs:2271:9
[INFO] [stdout]   64:     0x584f59d05e7f - <std[ec419fa8110287d5]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   65:     0x767f748fbaa4 - <unknown>
[INFO] [stdout]   66:     0x767f74988a64 - 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.14s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin rust_mitm_proxy`
[INFO] running `Command { std: "docker" "inspect" "a074b28eac8009141127402ad5ccf26429d976097bc7e0c2eba56f404ffe9a9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a074b28eac8009141127402ad5ccf26429d976097bc7e0c2eba56f404ffe9a9c", kill_on_drop: false }`
[INFO] [stdout] a074b28eac8009141127402ad5ccf26429d976097bc7e0c2eba56f404ffe9a9c
