[INFO] fetching crate rtb-redact 0.6.3...
[INFO] testing rtb-redact-0.6.3 against 1.99.0-beta.8 for beta-1.100-2
[INFO] extracting crate rtb-redact 0.6.3 into /workspace/builds/worker-0-tc1/source
[INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml
[INFO] started tweaking crates.io crate rtb-redact 0.6.3
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate rtb-redact 0.6.3
[INFO] tweaked toml for crates.io crate rtb-redact 0.6.3 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate rtb-redact 0.6.3 on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate rtb-redact 0.6.3 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.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded smart-default v0.7.1
[INFO] [stderr]   Downloaded phf_generator v0.14.0
[INFO] [stderr]   Downloaded phf_macros v0.14.0
[INFO] [stderr]   Downloaded ref-cast-impl v1.0.26
[INFO] [stderr]   Downloaded cucumber v0.23.0
[INFO] [stderr]   Downloaded globwalk v0.9.1
[INFO] [stderr]   Downloaded futures-io v0.3.33
[INFO] [stderr]   Downloaded peg v0.6.3
[INFO] [stderr]   Downloaded peg-runtime v0.6.3
[INFO] [stderr]   Downloaded peg-macros v0.6.3
[INFO] [stderr]   Downloaded futures-executor v0.3.33
[INFO] [stderr]   Downloaded nom_locate v5.0.0
[INFO] [stderr]   Downloaded synthez v0.4.0
[INFO] [stderr]   Downloaded synthez-core v0.4.0
[INFO] [stderr]   Downloaded synthez-codegen v0.4.0
[INFO] [stderr]   Downloaded inflections v1.1.1
[INFO] [stderr]   Downloaded sealed v0.6.0
[INFO] [stderr]   Downloaded ref-cast v1.0.26
[INFO] [stderr]   Downloaded typed-builder v0.23.2
[INFO] [stderr]   Downloaded typed-builder-macro v0.23.2
[INFO] [stderr]   Downloaded smawk v0.3.3
[INFO] [stderr]   Downloaded cucumber-expressions v0.5.0
[INFO] [stderr]   Downloaded cucumber-codegen v0.23.0
[INFO] [stderr]   Downloaded globset v0.4.19
[INFO] [stderr]   Downloaded gherkin v0.16.0
[INFO] [stderr]   Downloaded futures v0.3.33
[INFO] [stderr]   Downloaded clap v4.6.4
[INFO] [stderr]   Downloaded ignore v0.4.31
[INFO] [stderr]   Downloaded bstr v1.13.0
[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:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d0fce952f65fd7fc75100ffb2d248313a225edc16d1f65a75b68bf16a1226339
[INFO] running `Command { std: "docker" "start" "d0fce952f65fd7fc75100ffb2d248313a225edc16d1f65a75b68bf16a1226339", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d0fce952f65fd7fc75100ffb2d248313a225edc16d1f65a75b68bf16a1226339", 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" "d0fce952f65fd7fc75100ffb2d248313a225edc16d1f65a75b68bf16a1226339" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d0fce952f65fd7fc75100ffb2d248313a225edc16d1f65a75b68bf16a1226339", 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" "d0fce952f65fd7fc75100ffb2d248313a225edc16d1f65a75b68bf16a1226339" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling siphasher v1.0.3
[INFO] [stderr]    Compiling fastrand v2.5.0
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling phf_shared v0.14.0
[INFO] [stderr]    Compiling phf_generator v0.14.0
[INFO] [stderr]    Compiling regex-automata v0.4.16
[INFO] [stderr]    Compiling phf_macros v0.14.0
[INFO] [stderr]    Compiling phf v0.14.0
[INFO] [stderr]    Compiling regex v1.13.1
[INFO] [stderr]    Compiling rtb-redact v0.6.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.82s
[INFO] running `Command { std: "docker" "inspect" "d0fce952f65fd7fc75100ffb2d248313a225edc16d1f65a75b68bf16a1226339", 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" "d0fce952f65fd7fc75100ffb2d248313a225edc16d1f65a75b68bf16a1226339" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling memchr v2.8.3
[INFO] [stderr]    Compiling unicode-segmentation v1.13.3
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling crossbeam-utils v0.8.22
[INFO] [stderr]    Compiling zmij v1.0.23
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling bytecount v0.6.9
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling convert_case v0.10.0
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling futures-core v0.3.33
[INFO] [stderr]    Compiling either v1.16.0
[INFO] [stderr]    Compiling futures-sink v0.3.33
[INFO] [stderr]    Compiling futures-channel v0.3.33
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.20
[INFO] [stderr]    Compiling bstr v1.13.0
[INFO] [stderr]    Compiling nom v8.0.0
[INFO] [stderr]    Compiling regex-automata v0.4.16
[INFO] [stderr]    Compiling peg-runtime v0.6.3
[INFO] [stderr]    Compiling serde_json v1.0.151
[INFO] [stderr]    Compiling futures-task v0.3.33
[INFO] [stderr]    Compiling futures-io v0.3.33
[INFO] [stderr]    Compiling thiserror v2.0.19
[INFO] [stderr]    Compiling peg-macros v0.6.3
[INFO] [stderr]    Compiling terminal_size v0.4.4
[INFO] [stderr]    Compiling crossbeam-deque v0.8.7
[INFO] [stderr]    Compiling thiserror-impl v2.0.19
[INFO] [stderr]    Compiling ref-cast v1.0.26
[INFO] [stderr]    Compiling anyhow v1.0.104
[INFO] [stderr]    Compiling regex v1.13.1
[INFO] [stderr]    Compiling globset v0.4.19
[INFO] [stderr]    Compiling nom_locate v5.0.0
[INFO] [stderr]    Compiling unicode-linebreak v0.1.5
[INFO] [stderr]    Compiling smawk v0.3.3
[INFO] [stderr]    Compiling textwrap v0.16.2
[INFO] [stderr]    Compiling ignore v0.4.31
[INFO] [stderr]    Compiling clap_builder v4.6.2
[INFO] [stderr]    Compiling peg v0.6.3
[INFO] [stderr]    Compiling itertools v0.14.0
[INFO] [stderr]    Compiling clap_derive v4.6.4
[INFO] [stderr]    Compiling ref-cast-impl v1.0.26
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]    Compiling sealed v0.6.0
[INFO] [stderr]    Compiling synthez-core v0.4.0
[INFO] [stderr]    Compiling futures-macro v0.3.33
[INFO] [stderr]    Compiling synthez-codegen v0.4.0
[INFO] [stderr]    Compiling gherkin v0.16.0
[INFO] [stderr]    Compiling typed-builder-macro v0.23.2
[INFO] [stderr]    Compiling futures-util v0.3.33
[INFO] [stderr]    Compiling synthez v0.4.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.13
[INFO] [stderr]    Compiling phf_macros v0.14.0
[INFO] [stderr]    Compiling inflections v1.1.1
[INFO] [stderr]    Compiling globwalk v0.9.1
[INFO] [stderr]    Compiling clap v4.6.4
[INFO] [stderr]    Compiling smart-default v0.7.1
[INFO] [stderr]    Compiling tokio-macros v2.7.1
[INFO] [stderr]    Compiling phf v0.14.0
[INFO] [stderr]    Compiling console v0.16.4
[INFO] [stderr]    Compiling inventory v0.3.24
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling humantime v2.4.0
[INFO] [stderr]    Compiling tokio v1.53.1
[INFO] [stderr]    Compiling pin-project v1.1.13
[INFO] [stderr]    Compiling rtb-redact v0.6.3 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling typed-builder v0.23.2
[INFO] [stderr]    Compiling derive_more v2.1.1
[INFO] [stderr]    Compiling cucumber-expressions v0.5.0
[INFO] [stderr]    Compiling futures-executor v0.3.33
[INFO] [stderr]    Compiling futures v0.3.33
[INFO] [stderr]    Compiling cucumber-codegen v0.23.0
[INFO] [stderr]    Compiling cucumber v0.23.0
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 30s
[INFO] running `Command { std: "docker" "inspect" "d0fce952f65fd7fc75100ffb2d248313a225edc16d1f65a75b68bf16a1226339", 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" "d0fce952f65fd7fc75100ffb2d248313a225edc16d1f65a75b68bf16a1226339" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rtb_redact-ad15ad9f0095a00c)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/bdd.rs (/opt/rustwide/target/debug/deps/bdd-2cc963dbd730f782)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] Feature: rtb-redact — free-form secret redaction
[INFO] [stdout]   Scenario: S1 — connection-string URL redacts only the userinfo
[INFO] [stdout]    ✔  Given the input is "postgres://app:hunter2@db.internal/mydb"
[INFO] [stdout]    ✔  When I redact the string
[INFO] [stdout]    ✔  Then the output is "postgres://[redacted]@db.internal/mydb"
[INFO] [stdout]   Scenario: S2 — mixed GitHub token and JWT in one line
[INFO] [stdout]    ✔  Given the input is "token=ghp_abc1234567890abcdef jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
[INFO] [stdout]    ✔  When I redact the string
[INFO] [stdout]    ✔  Then the output does not contain "ghp_abc"
[INFO] [stdout]    ✔  And the output does not contain "eyJhbGciOiJIUzI1NiI"
[INFO] [stdout]    ✔  And the output contains "[redacted]"
[INFO] [stdout]   Scenario: S3 — error message carrying URL and Authorization header
[INFO] [stdout]    ✔  Given the input is "request failed: Authorization: Bearer sk-ant-api03-abcdef0123456789abcdef to https://user:pw@api.example.com/v1"
[INFO] [stdout]    ✔  When I redact the string
[INFO] [stdout]    ✔  Then the output contains "Bearer [redacted]"
[INFO] [stdout]    ✔  And the output contains "https://[redacted]@api.example.com"
[INFO] [stdout]    ✔  And the output contains "request failed:"
[INFO] [stdout]    ✔  And the output does not contain "sk-ant-api03-abcdef"
[INFO] [stdout]    ✔  And the output does not contain "user:pw"
[INFO] [stdout]   Scenario: S4 — PEM block embedded in a multi-line log
[INFO] [stdout]    ✔  Given the input is a multi-line PEM log
[INFO] [stdout]    ✔  When I redact the string
[INFO] [stdout]    ✔  Then the output contains "-----BEGIN PRIVATE KEY-----"
[INFO] [stdout]    ✔  And the output contains "[redacted]"
[INFO] [stdout]    ✔  And the output contains "-----END PRIVATE KEY-----"
[INFO] [stdout]    ✔  And the output contains "routine log entry"
[INFO] [stdout]    ✔  And the output does not contain "MIIEvQIBADAN"
[INFO] [stdout]   Scenario: S5 — Google Maps URL with a key parameter
[INFO] [stdout]    ✔  Given the input is "https://maps.googleapis.com/maps/api/js?key=AIzaSyABCDEFGHIJKLMNOPQR&callback=init"
[INFO] [stdout]    ✔  When I redact the string
[INFO] [stdout]    ✔  Then the output contains "key=[redacted]"
[INFO] [stdout]    ✔  And the output does not contain "AIzaSyABCDEFGHIJKLMNOPQR"
[INFO] [stdout]   Scenario: S6 — custom token prefix without a named rule and without
[INFO] [stdout]    ✔  Given the input is "custom CUSTOMPREFIX-shortish done"
[INFO] [stdout]    ✔  When I redact the string
[INFO] [stdout]    ✔  Then the output is "custom CUSTOMPREFIX-shortish done"
[INFO] [stdout] [Summary]
[INFO] [stdout] 1 feature
[INFO] [stdout] 6 scenarios (6 passed)
[INFO] [stdout] 29 steps (29 passed)
[INFO] [stdout] test bdd ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/unit.rs (/opt/rustwide/target/debug/deps/unit-f59e5bcdad4d9d77)
[INFO] [stdout] 
[INFO] [stdout] running 19 tests
[INFO] [stdout] test cow_borrowed_on_clean_input ... ok
[INFO] [stdout] test t16_string_into_reuses_buffer ... ok
[INFO] [stdout] test t15_redact_header_value ... ok
[INFO] [stdout] test t14_is_sensitive_header_case_insensitive ... ok
[INFO] [stdout] test t1_empty_string_roundtrips ... ok
[INFO] [stdout] test t13_sensitive_headers_coverage ... ok
[INFO] [stdout] test t17_no_unsafe_code_is_forbid ... ok
[INFO] [stdout] test t2_clean_string_roundtrips ... ok
[INFO] [stdout] test t3_url_userinfo_redacted ... ok
[INFO] [stdout] test t6_query_param_redacted_key_preserved ... ok
[INFO] [stdout] test postgres_url_only_userinfo_redacted ... ok
[INFO] [stdout] test t12_pem_private_key_redacted ... ok
[INFO] [stdout] test t9_short_prefix_passthrough ... ok
[INFO] [stdout] test t4_bearer_token_redacted ... ok
[INFO] [stdout] test t5_basic_token_redacted ... ok
[INFO] [stdout] test t11_jwt_redacted ... ok
[INFO] [stdout] test t7_case_insensitive_query_key ... ok
[INFO] [stdout] test t8_provider_prefixes_redacted ... ok
[INFO] [stdout] test t10_long_opaque_token_redacted ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests rtb_redact
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/lib.rs - (line 7) ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "d0fce952f65fd7fc75100ffb2d248313a225edc16d1f65a75b68bf16a1226339", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d0fce952f65fd7fc75100ffb2d248313a225edc16d1f65a75b68bf16a1226339", kill_on_drop: false }`
[INFO] [stdout] d0fce952f65fd7fc75100ffb2d248313a225edc16d1f65a75b68bf16a1226339
