[INFO] cloning repository https://github.com/karurikwao/contextclean
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/karurikwao/contextclean" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkarurikwao%2Fcontextclean", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkarurikwao%2Fcontextclean'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] feff75b8b4579349a272a5c7dc5ed3ae05056f34
[INFO] testing karurikwao/contextclean against 1.98.0-beta.1 for beta-1.98-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkarurikwao%2Fcontextclean" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml
[INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/karurikwao/contextclean
[INFO] finished tweaking git repo https://github.com/karurikwao/contextclean
[INFO] tweaked toml for git repo https://github.com/karurikwao/contextclean written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/karurikwao/contextclean on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/karurikwao/contextclean 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.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c242ccc24dcd31b62096344c803cccb7ea9e47013581cf7f0bf397ce62e91a27
[INFO] running `Command { std: "docker" "start" "c242ccc24dcd31b62096344c803cccb7ea9e47013581cf7f0bf397ce62e91a27", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c242ccc24dcd31b62096344c803cccb7ea9e47013581cf7f0bf397ce62e91a27", 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" "c242ccc24dcd31b62096344c803cccb7ea9e47013581cf7f0bf397ce62e91a27" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c242ccc24dcd31b62096344c803cccb7ea9e47013581cf7f0bf397ce62e91a27", 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" "c242ccc24dcd31b62096344c803cccb7ea9e47013581cf7f0bf397ce62e91a27" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling siphasher v1.0.3
[INFO] [stderr]    Compiling fastrand v2.4.1
[INFO] [stderr]    Compiling memchr v2.8.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling smallvec v1.15.2
[INFO] [stderr]    Compiling regex-syntax v0.8.11
[INFO] [stderr]    Compiling log v0.4.33
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling syn v2.0.118
[INFO] [stderr]    Compiling anyhow v1.0.103
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling tendril v0.5.0
[INFO] [stderr]    Compiling phf_shared v0.13.1
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling phf_generator v0.13.1
[INFO] [stderr]    Compiling phf v0.13.1
[INFO] [stderr]    Compiling phf_codegen v0.13.1
[INFO] [stderr]    Compiling string_cache_codegen v0.6.1
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling web_atoms v0.2.5
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling clap v4.6.1
[INFO] [stderr]    Compiling bstr v1.12.3
[INFO] [stderr]    Compiling regex v1.12.4
[INFO] [stderr]    Compiling fancy-regex v0.17.0
[INFO] [stderr]    Compiling globset v0.4.18
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling tiktoken-rs v0.11.0
[INFO] [stderr]    Compiling ignore v0.4.27
[INFO] [stderr]    Compiling string_cache v0.9.0
[INFO] [stderr]    Compiling markup5ever v0.39.0
[INFO] [stderr]    Compiling xml5ever v0.39.0
[INFO] [stderr]    Compiling html5ever v0.39.0
[INFO] [stderr]    Compiling markup5ever_rcdom v0.39.0+unofficial
[INFO] [stderr]    Compiling contextclean-core v0.1.0 (/opt/rustwide/workdir/crates/contextclean-core)
[INFO] [stderr]    Compiling contextclean-cli v0.1.0 (/opt/rustwide/workdir/crates/contextclean-cli)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.30s
[INFO] running `Command { std: "docker" "inspect" "c242ccc24dcd31b62096344c803cccb7ea9e47013581cf7f0bf397ce62e91a27", 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" "c242ccc24dcd31b62096344c803cccb7ea9e47013581cf7f0bf397ce62e91a27" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.5.1
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling getrandom v0.4.3
[INFO] [stderr]    Compiling bitflags v2.13.0
[INFO] [stderr]    Compiling linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling assert_cmd v2.2.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling float-cmp v0.10.0
[INFO] [stderr]    Compiling predicates v3.1.4
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]    Compiling contextclean-cli v0.1.0 (/opt/rustwide/workdir/crates/contextclean-cli)
[INFO] [stderr]    Compiling contextclean-core v0.1.0 (/opt/rustwide/workdir/crates/contextclean-core)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 10.40s
[INFO] running `Command { std: "docker" "inspect" "c242ccc24dcd31b62096344c803cccb7ea9e47013581cf7f0bf397ce62e91a27", 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" "c242ccc24dcd31b62096344c803cccb7ea9e47013581cf7f0bf397ce62e91a27" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/contextclean_cli-980e850e88c341b8)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ctxclean-eef195529226d8b7)
[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] [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] [stderr]      Running unittests src/bin/ctxrun.rs (/opt/rustwide/target/debug/deps/ctxrun-47c073a03da625de)
[INFO] [stdout] 
[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/cli_smoke.rs (/opt/rustwide/target/debug/deps/cli_smoke-805a42b5a5428df5)
[INFO] [stdout] 
[INFO] [stdout] running 50 tests
[INFO] [stdout] test ctxrun_missing_command_exits_127 ... ok
[INFO] [stdout] test ctxrun_replays_success_output_beyond_capture_cap ... ok
[INFO] [stdout] test ctxrun_help_starts_successfully ... ok
[INFO] [stdout] test ctxrun_passes_successful_command_through ... ok
[INFO] [stdout] test cleans_file_to_markdown ... ok
[INFO] [stdout] test committed_html_fixture_smokes ... ok
[INFO] [stdout] test explicit_sensitive_file_requires_include_sensitive ... ok
[INFO] [stdout] test committed_log_fixture_smokes_unbudgeted_json ... ok
[INFO] [stdout] test fit_rejects_budget_above_preset ... ok
[INFO] [stdout] test dry_run_does_not_write_output_file ... ok
[INFO] [stdout] test help_starts_successfully ... ok
[INFO] [stdout] test cli_redacts_by_default ... ok
[INFO] [stdout] test directory_scan_respects_gitignore_negation ... ok
[INFO] [stdout] test ctxrun_drains_stdout_and_stderr_with_capture_cap ... ok
[INFO] [stdout] test directory_fixture_skips_sensitive_files ... ok
[INFO] [stdout] test max_tokens_too_small_to_explain_truncation_is_rejected ... ok
[INFO] [stdout] test max_tokens_zero_is_rejected ... ok
[INFO] [stdout] test directory_scan_skips_hidden_credential_files_by_default ... ok
[INFO] [stdout] test directory_scan_respects_gitignore_and_ctxcleanignore ... ok
[INFO] [stdout] test committed_mixed_markdown_fixture_smokes ... ok
[INFO] [stdout] test oversized_stdin_is_rejected ... ok
[INFO] [stdout] test quiet_and_verbose_conflict ... ok
[INFO] [stdout] test committed_log_fixture_smokes_with_truncation_json ... ok
[INFO] [stdout] test ci_failure_log_crushes_noise_but_preserves_failure ... ok
[INFO] [stdout] test ctxrun_cleans_failed_output_and_preserves_exit_code ... ok
[INFO] [stdout] test redact_secret_flags_conflict ... ok
[INFO] [stdout] test dirty_html_article_preserves_visible_structure ... ok
[INFO] [stdout] test ctxrun_timeout_exits_124_and_cleans_captured_output ... ok
[INFO] [stdout] test json_verbose_keeps_stdout_parseable_and_diagnostics_on_stderr ... ok
[INFO] [stdout] test emits_parseable_json ... ok
[INFO] [stdout] test reads_explicit_stdin_dash ... ok
[INFO] [stdout] test fit_model_sets_budget_metadata ... ok
[INFO] [stdout] test gha_alias_defaults_to_aggressive_log_cleanup ... ok
[INFO] [stdout] test malformed_browser_export_fixture_preserves_nested_structure ... ok
[INFO] [stdout] test refuses_to_overwrite_without_force ... ok
[INFO] [stdout] test mcp_lists_tools_and_cleans_inline_input ... ok
[INFO] [stdout] test repo_alias_scans_directory_with_existing_safety_defaults ... ok
[INFO] [stdout] test reads_piped_stdin_when_input_is_omitted ... ok
[INFO] [stdout] test report_json_includes_required_fields ... ok
[INFO] [stdout] test report_markdown_has_summary_sections_without_cleaned_content ... ok
[INFO] [stdout] test report_recommended_command_preserves_include_sensitive ... ok
[INFO] [stdout] test mode_selection_changes_boilerplate_behavior ... ok
[INFO] [stdout] test timestamped_repeats_do_not_merge_distinct_errors ... ok
[INFO] [stdout] test signed_url_query_secrets_are_redacted_and_reported ... ok
[INFO] [stdout] test include_sensitive_opt_in_includes_then_redacts_sensitive_files ... ok
[INFO] [stdout] test writes_output_with_force ... ok
[INFO] [stdout] test report_text_includes_removed_summary_and_warnings ... ok
[INFO] [stdout] test non_openai_fit_models_set_budget_metadata ... ok
[INFO] [stdout] test writes_output_with_out_alias ... ok
[INFO] [stdout] test markdown_max_tokens_caps_rendered_output ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 50 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 33.78s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/contextclean_core-e3d59860cfd34df1)
[INFO] [stdout] 
[INFO] [stdout] running 43 tests
[INFO] [stdout] test budget::tests::fit_presets_are_deterministic ... ok
[INFO] [stdout] test html::tests::inline_code_preserves_tag_like_generics ... ok
[INFO] [stdout] test html::tests::inline_code_preserves_angle_brackets_after_entity_decode ... ok
[INFO] [stdout] test html::tests::code_placeholders_do_not_replace_visible_text ... ok
[INFO] [stdout] test html::tests::converts_visible_html_to_markdownish_context ... ok
[INFO] [stdout] test html::tests::parser_preserves_malformed_nested_visible_structure ... ok
[INFO] [stdout] test html::tests::noise_patterns_do_not_drop_legitimate_ads_substrings ... ok
[INFO] [stdout] test html::tests::removes_nested_cookie_banner_blocks ... ok
[INFO] [stdout] test html::tests::removes_cookie_modal_and_ad_blocks ... ok
[INFO] [stdout] test logs::tests::cache_domain_events_are_not_install_noise ... ok
[INFO] [stdout] test logs::tests::install_noise_rules_preserve_provenance_lines ... ok
[INFO] [stdout] test logs::tests::collapses_bracketed_timestamp_repeats ... ok
[INFO] [stdout] test logs::tests::removes_prefixed_install_summaries ... ok
[INFO] [stdout] test logs::tests::crushes_repeated_timestamped_lines ... ok
[INFO] [stdout] test logs::tests::removes_safe_install_noise_without_dropping_failed_test_names ... ok
[INFO] [stdout] test logs::tests::stack_frame_collapse_preserves_distinct_locations ... ok
[INFO] [stdout] test logs::tests::removes_provider_specific_ci_noise_but_keeps_failures ... ok
[INFO] [stdout] test logs::tests::collapses_duplicate_stack_frames_but_keeps_unique_failure ... ok
[INFO] [stdout] test budget::tests::minimum_truncation_marker_budget_matches_tokenizer ... ok
[INFO] [stdout] test budget::tests::packer_keeps_output_under_budget_with_footer ... ok
[INFO] [stdout] test budget::tests::packer_does_not_split_oversized_first_code_fence ... ok
[INFO] [stdout] test scanner::tests::directory_reader_rejects_generated_root_directories ... ok
[INFO] [stdout] test scanner::tests::directory_reader_skips_root_sensitive_directories ... ok
[INFO] [stdout] test scanner::tests::directory_reader_skips_sensitive_defaults ... ok
[INFO] [stdout] test scanner::tests::explicit_binary_file_is_rejected ... ok
[INFO] [stdout] test scanner::tests::explicit_oversized_file_is_rejected ... ok
[INFO] [stdout] test scanner::tests::explicit_sensitive_file_requires_opt_in ... ok
[INFO] [stdout] test scanner::tests::include_sensitive_allows_sensitive_files_for_redaction_pipeline ... ok
[INFO] [stdout] test scanner::tests::directory_reader_skips_hidden_credential_dirs_and_large_files ... ok
[INFO] [stdout] test scanner::tests::directory_reader_enforces_aggregate_byte_limit_before_reads ... ok
[INFO] [stdout] test cleaner::tests::standard_collapses_adjacent_repeated_lines ... ok
[INFO] [stdout] test cleaner::tests::max_tokens_applies_truncation_footer ... ok
[INFO] [stdout] test cleaner::tests::light_removes_execution_blocks_but_preserves_body ... ok
[INFO] [stdout] test cleaner::tests::keyword_boilerplate_lines_create_noise_sources ... ok
[INFO] [stdout] test cleaner::tests::boilerplate_line_cleanup_does_not_drop_minified_main_content ... ok
[INFO] [stdout] test renderer::tests::json_renderer_emits_parseable_json ... ok
[INFO] [stdout] test cleaner::tests::redacts_whitespace_delimited_secrets ... ok
[INFO] [stdout] test cleaner::tests::redacts_sensitive_url_query_values_with_warning ... ok
[INFO] [stdout] test cleaner::tests::redacts_secret_like_assignments ... ok
[INFO] [stdout] test report::tests::report_projects_clean_result_metrics ... ok
[INFO] [stdout] test renderer::tests::markdown_renderer_respects_requested_budget ... ok
[INFO] [stdout] test cleaner::tests::redacts_standalone_provider_tokens ... ok
[INFO] [stdout] test scanner::tests::directory_reader_counts_generated_headers_against_byte_limit ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 43 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.40s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests contextclean_cli
[INFO] [stderr]    Doc-tests contextclean_core
[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] [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] running `Command { std: "docker" "inspect" "c242ccc24dcd31b62096344c803cccb7ea9e47013581cf7f0bf397ce62e91a27", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c242ccc24dcd31b62096344c803cccb7ea9e47013581cf7f0bf397ce62e91a27", kill_on_drop: false }`
[INFO] [stdout] c242ccc24dcd31b62096344c803cccb7ea9e47013581cf7f0bf397ce62e91a27
