[INFO] cloning repository https://github.com/loonskai/har-redact
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/loonskai/har-redact" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floonskai%2Fhar-redact", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floonskai%2Fhar-redact'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7a1fce778c2398af3a82d246664a391dd6da84d0
[INFO] testing loonskai/har-redact against 1.98.0-beta.8+cargoflags=--release for beta-release-1.99-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floonskai%2Fhar-redact" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/loonskai/har-redact
[INFO] finished tweaking git repo https://github.com/loonskai/har-redact
[INFO] tweaked toml for git repo https://github.com/loonskai/har-redact written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/loonskai/har-redact on toolchain 1.98.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/loonskai/har-redact 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" "+1.98.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded clap v4.5.57
[INFO] [stderr]   Downloaded clap_builder v4.5.57
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] fe22919569634e0e45797a3bc42933496e8707a4a7cf532d24b3121826e60424
[INFO] running `Command { std: "docker" "start" "fe22919569634e0e45797a3bc42933496e8707a4a7cf532d24b3121826e60424", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fe22919569634e0e45797a3bc42933496e8707a4a7cf532d24b3121826e60424", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fe22919569634e0e45797a3bc42933496e8707a4a7cf532d24b3121826e60424" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fe22919569634e0e45797a3bc42933496e8707a4a7cf532d24b3121826e60424", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fe22919569634e0e45797a3bc42933496e8707a4a7cf532d24b3121826e60424" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling zmij v1.0.19
[INFO] [stderr]    Compiling anstyle v1.0.13
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling clap_lex v0.7.7
[INFO] [stderr]    Compiling anyhow v1.0.101
[INFO] [stderr]    Compiling regex-syntax v0.8.9
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.11
[INFO] [stderr]    Compiling ryu v1.0.22
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling anstream v0.6.21
[INFO] [stderr]    Compiling clap_builder v4.5.57
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling indexmap v2.13.0
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling clap_derive v4.5.55
[INFO] [stderr]    Compiling clap v4.5.57
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling chrono v0.4.43
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling har-redact v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: associated function `builder` is never used
[INFO] [stdout]   --> src/config.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 65 | impl RedactionConfig {
[INFO] [stdout]    | -------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub fn builder() -> RedactionConfigBuilder {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RedactionConfigBuilder` is never constructed
[INFO] [stdout]   --> src/config.rs:91:12
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub struct RedactionConfigBuilder {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/config.rs:96:12
[INFO] [stdout]     |
[INFO] [stdout]  95 | impl RedactionConfigBuilder {
[INFO] [stdout]     | --------------------------- associated items in this implementation
[INFO] [stdout]  96 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn preserve_length(mut self, value: bool) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn hash_values(mut self, value: bool) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn strict_mode(mut self, value: bool) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |     pub fn redact_emails(mut self, value: bool) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub fn redact_phone_numbers(mut self, value: bool) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 125 |     pub fn redact_ips(mut self, value: bool) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     pub fn redact_cookies(mut self, value: bool) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 135 |     pub fn redact_auth_headers(mut self, value: bool) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn redact_auth_params(mut self, value: bool) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 145 |     pub fn add_custom_pattern(mut self, rule: RedactionRule) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |     pub fn build(self) -> Result<RedactionConfig> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_replacement`, `with_scope`, and `case_insensitive` are never used
[INFO] [stdout]    --> src/config.rs:191:12
[INFO] [stdout]     |
[INFO] [stdout] 190 | impl RedactionRule {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] 191 |     pub fn new(name: impl Into<String>, pattern: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 201 |     pub fn with_replacement(mut self, replacement: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 206 |     pub fn with_scope(mut self, scope: RedactionScope) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 211 |     pub fn case_insensitive(mut self) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `stats` is never used
[INFO] [stdout]    --> src/redactor.rs:336:12
[INFO] [stdout]     |
[INFO] [stdout]  90 | impl RedactionEngine {
[INFO] [stdout]     | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 336 |     pub fn stats(&self) -> RedactionStats {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 45.86s
[INFO] running `Command { std: "docker" "inspect" "fe22919569634e0e45797a3bc42933496e8707a4a7cf532d24b3121826e60424", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fe22919569634e0e45797a3bc42933496e8707a4a7cf532d24b3121826e60424" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling har-redact v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> src/main.rs:163:9
[INFO] [stdout]     |
[INFO] [stdout] 163 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `redact_ips`, `redact_cookies`, `redact_auth_headers`, and `redact_auth_params` are never used
[INFO] [stdout]    --> src/config.rs:96:12
[INFO] [stdout]     |
[INFO] [stdout]  95 | impl RedactionConfigBuilder {
[INFO] [stdout]     | --------------------------- associated items in this implementation
[INFO] [stdout]  96 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 125 |     pub fn redact_ips(mut self, value: bool) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     pub fn redact_cookies(mut self, value: bool) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 135 |     pub fn redact_auth_headers(mut self, value: bool) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn redact_auth_params(mut self, value: bool) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `stats` is never used
[INFO] [stdout]    --> src/redactor.rs:336:12
[INFO] [stdout]     |
[INFO] [stdout]  90 | impl RedactionEngine {
[INFO] [stdout]     | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 336 |     pub fn stats(&self) -> RedactionStats {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_test_entry` is never used
[INFO] [stdout]    --> src/redactor.rs:347:8
[INFO] [stdout]     |
[INFO] [stdout] 347 |     fn create_test_entry() -> Entry {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 7.47s
[INFO] running `Command { std: "docker" "inspect" "fe22919569634e0e45797a3bc42933496e8707a4a7cf532d24b3121826e60424", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fe22919569634e0e45797a3bc42933496e8707a4a7cf532d24b3121826e60424" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `super::*`
[INFO] [stderr]    --> src/main.rs:163:9
[INFO] [stderr]     |
[INFO] [stderr] 163 |     use super::*;
[INFO] [stderr]     |         ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `redact_ips`, `redact_cookies`, `redact_auth_headers`, and `redact_auth_params` are never used
[INFO] [stderr]    --> src/config.rs:96:12
[INFO] [stderr]     |
[INFO] [stderr]  95 | impl RedactionConfigBuilder {
[INFO] [stderr]     | --------------------------- associated items in this implementation
[INFO] [stderr]  96 |     pub fn new() -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 125 |     pub fn redact_ips(mut self, value: bool) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 130 |     pub fn redact_cookies(mut self, value: bool) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 135 |     pub fn redact_auth_headers(mut self, value: bool) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 140 |     pub fn redact_auth_params(mut self, value: bool) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `stats` is never used
[INFO] [stderr]    --> src/redactor.rs:336:12
[INFO] [stderr]     |
[INFO] [stderr]  90 | impl RedactionEngine {
[INFO] [stderr]     | -------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 336 |     pub fn stats(&self) -> RedactionStats {
[INFO] [stderr]     |            ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `create_test_entry` is never used
[INFO] [stderr]    --> src/redactor.rs:347:8
[INFO] [stderr]     |
[INFO] [stderr] 347 |     fn create_test_entry() -> Entry {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `har-redact` (bin "har-redact" test) generated 4 warnings (run `cargo fix --bin "har-redact" -p har-redact --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/deps/har_redact-bb5b480a1a0965c1)
[INFO] [stdout] 
[INFO] [stdout] running 25 tests
[INFO] [stdout] test cli::tests::test_cli_parsing ... ok
[INFO] [stdout] test config::tests::test_config_builder ... ok
[INFO] [stdout] test cli::tests::test_output_format ... ok
[INFO] [stdout] test cli::tests::test_use_stdout ... ok
[INFO] [stdout] test config::tests::test_config_from_yaml ... ok
[INFO] [stdout] test config::tests::test_default_config ... ok
[INFO] [stdout] test config::tests::test_rule_applies_to ... ok
[INFO] [stdout] test config::tests::test_redaction_rule_creation ... ok
[INFO] [stdout] test cli::tests::test_cli_with_options ... ok
[INFO] [stdout] test config::tests::test_rule_compile ... ok
[INFO] [stdout] test har::tests::test_deserialize_minimal_har ... ok
[INFO] [stdout] test har::tests::test_header_serialization ... ok
[INFO] [stdout] test redactor::tests::test_cookie_redaction ... ok
[INFO] [stdout] test redactor::tests::test_hash_values ... ok
[INFO] [stdout] test redactor::tests::test_redaction_engine_creation ... ok
[INFO] [stdout] test har::tests::test_serialize_har ... ok
[INFO] [stdout] test redactor::tests::test_preserve_length ... ok
[INFO] [stdout] test redactor::tests::test_redact_header ... ok
[INFO] [stdout] test tests::test_version ... ok
[INFO] [stdout] test redactor::tests::test_email_redaction ... ok
[INFO] [stdout] test redactor::tests::test_custom_pattern ... ok
[INFO] [stdout] test redactor::tests::test_query_param_redaction ... ok
[INFO] [stdout] test redactor::tests::test_jwt_redaction ... ok
[INFO] [stdout] test redactor::tests::test_phone_redaction ... ok
[INFO] [stdout] test cli::tests::test_should_pretty_print ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "fe22919569634e0e45797a3bc42933496e8707a4a7cf532d24b3121826e60424", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fe22919569634e0e45797a3bc42933496e8707a4a7cf532d24b3121826e60424", kill_on_drop: false }`
[INFO] [stdout] fe22919569634e0e45797a3bc42933496e8707a4a7cf532d24b3121826e60424
