[INFO] cloning repository https://github.com/actions-marketplace-validations/iammerus_redflag
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/actions-marketplace-validations/iammerus_redflag" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Factions-marketplace-validations%2Fiammerus_redflag"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Factions-marketplace-validations%2Fiammerus_redflag'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 39aa86f724c281f299145460686dc8fa8b6f3bea
[INFO] testing actions-marketplace-validations/iammerus_redflag against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Factions-marketplace-validations%2Fiammerus_redflag" "/workspace/builds/worker-0-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/actions-marketplace-validations/iammerus_redflag
[INFO] finished tweaking git repo https://github.com/actions-marketplace-validations/iammerus_redflag
[INFO] tweaked toml for git repo https://github.com/actions-marketplace-validations/iammerus_redflag written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/actions-marketplace-validations/iammerus_redflag on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/actions-marketplace-validations/iammerus_redflag already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 387b51b023aa39cdee6df4329fc41cad65c01c905a4c8be9668e4ea0d10a6c5b
[INFO] running `"docker" "start" "387b51b023aa39cdee6df4329fc41cad65c01c905a4c8be9668e4ea0d10a6c5b"`
[INFO] running `"docker" "inspect" "387b51b023aa39cdee6df4329fc41cad65c01c905a4c8be9668e4ea0d10a6c5b"`
[INFO] running `"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" "387b51b023aa39cdee6df4329fc41cad65c01c905a4c8be9668e4ea0d10a6c5b" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "387b51b023aa39cdee6df4329fc41cad65c01c905a4c8be9668e4ea0d10a6c5b"`
[INFO] running `"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" "387b51b023aa39cdee6df4329fc41cad65c01c905a4c8be9668e4ea0d10a6c5b" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.15
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling writeable v0.5.5
[INFO] [stderr]    Compiling litemap v0.7.4
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling icu_properties_data v1.5.0
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling typenum v1.20.1
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling crc32fast v1.5.1
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling anstyle-parse v0.2.6
[INFO] [stderr]    Compiling simd-adler32 v0.3.10
[INFO] [stderr]    Compiling bitflags v2.8.0
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling anstyle-query v1.1.2
[INFO] [stderr]    Compiling anstyle v1.0.10
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling colorchoice v1.0.3
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling anstream v0.6.18
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling serde_json v1.0.137
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling clap_lex v0.7.4
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling clap_builder v4.5.27
[INFO] [stderr]    Compiling syn v2.0.96
[INFO] [stderr]    Compiling syn v3.0.5
[INFO] [stderr]    Compiling indexmap v2.7.1
[INFO] [stderr]    Compiling typed-path v0.12.3
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling log v0.4.25
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling cc v1.2.10
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling filetime v0.2.29
[INFO] [stderr]    Compiling flate2 v1.1.9
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling iana-time-zone v0.1.61
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling chrono v0.4.39
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling tar v0.4.46
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling glob v0.3.2
[INFO] [stderr]    Compiling similar v3.2.0
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling openssl-src v300.4.1+3.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling zip v8.6.0
[INFO] [stderr]    Compiling tempfile v3.15.0
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]    Compiling libz-sys v1.1.21
[INFO] [stderr]    Compiling libssh2-sys v0.3.0
[INFO] [stderr]    Compiling libgit2-sys v0.18.0+1.9.0
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling clap_derive v4.5.24
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling zerofrom v0.1.5
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling clap v4.5.27
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling toml v0.7.8
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling git2 v0.20.0
[INFO] [stderr]    Compiling redflag v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 4m 10s
[INFO] running `"docker" "inspect" "387b51b023aa39cdee6df4329fc41cad65c01c905a4c8be9668e4ea0d10a6c5b"`
[INFO] running `"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" "387b51b023aa39cdee6df4329fc41cad65c01c905a4c8be9668e4ea0d10a6c5b" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling redflag v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 26.46s
[INFO] running `"docker" "inspect" "387b51b023aa39cdee6df4329fc41cad65c01c905a4c8be9668e4ea0d10a6c5b"`
[INFO] running `"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" "387b51b023aa39cdee6df4329fc41cad65c01c905a4c8be9668e4ea0d10a6c5b" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--release"`
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.15s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/build/redflag/559ae8b4941d6d39/out/redflag-559ae8b4941d6d39)
[INFO] [stdout] 
[INFO] [stdout] running 40 tests
[INFO] [stdout] test exceptions::tests::policy_rejects_duplicate_broad_and_ungoverned_entries ... ok
[INFO] [stdout] test decoding::tests::invalid_json_and_noncanonical_base64_are_not_supported_candidates ... ok
[INFO] [stdout] test decoding::tests::json_surrogates_and_multibyte_ranges_map_to_original_escapes ... ok
[INFO] [stdout] test engine::tests::partial_scans_and_engine_warnings_cannot_become_clean_reports ... ok
[INFO] [stdout] test engine::tests::clean_exit_without_exact_inspected_bytes_is_incomplete ... ok
[INFO] [stdout] test exceptions::tests::expiry_is_exclusive_and_unmatched_records_remain_visible_in_audit ... ok
[INFO] [stdout] test github_event::tests::revision_expressions_and_unsupported_payloads_cannot_select_a_scope ... ok
[INFO] [stdout] test github_event::tests::push_uses_before_after_and_checks_new_branch_consistency ... ok
[INFO] [stdout] test output::tests::disabled_progress_writes_nothing ... ok
[INFO] [stdout] test output::tests::json_output_is_one_array ... ok
[INFO] [stdout] test output::tests::progress_is_sanitised_and_redrawn_around_findings ... ok
[INFO] [stdout] test output::tests::text_output_contains_finding_and_summary ... ok
[INFO] [stdout] test output::tests::text_summary_splits_working_tree_and_history ... ok
[INFO] [stdout] test manifest::tests::artifact_approval_expires_at_the_exact_boundary ... ok
[INFO] [stdout] test report::github::tests::command_and_markdown_data_cannot_create_commands_links_or_markup ... ok
[INFO] [stdout] test report::github::tests::links_require_safe_repository_and_https_server_components ... ok
[INFO] [stdout] test scanner::tests::entropy_candidates_are_token_shaped ... ok
[INFO] [stdout] test config::tests::extensions_are_deduplicated ... ok
[INFO] [stdout] test scanner::tests::every_secret_is_detected_and_redacted ... ok
[INFO] [stdout] test scanner::tests::entropy_checks_later_candidates ... ok
[INFO] [stdout] test config::tests::custom_patterns_replace_by_name ... ok
[INFO] [stdout] test scanner::tests::snippets_centre_the_matched_range ... ok
[INFO] [stdout] test scanner::tests::test_file_scanning ... ok
[INFO] [stdout] test scanner::tests::test_entropy_calculation ... ok
[INFO] [stdout] test config::tests::fallback_secret_requires_secret_field ... ok
[INFO] [stdout] test source_occurrences::tests::expired_refinement_cannot_turn_a_coarse_edit_into_proven_old_debt ... ok
[INFO] [stdout] test source_occurrences::tests::deletion_inside_an_occurrence_is_not_an_unchanged_span ... ok
[INFO] [stdout] test scanner::tests::test_regex_pattern ... ok
[INFO] [stdout] test decoding::tests::base64_mapped_quanta_reconstruct_every_matched_byte_range ... ok
[INFO] [stdout] test config::tests::generated_config_round_trips ... ok
[INFO] [stdout] test scanner::tests::descendant_exclusion_can_override_ignored_parent ... ok
[INFO] [stdout] test decoding::tests::line_checkpoints_retain_original_byte_positions ... ok
[INFO] [stdout] test config::tests::aws_secret_requires_credential_name ... ok
[INFO] [stdout] test config::tests::present_entropy_section_replaces_defaults ... ok
[INFO] [stdout] test config::tests::invalid_values_are_rejected ... ok
[INFO] [stdout] test git_scanner::tests::working_tree_and_history_use_the_same_detector ... ok
[INFO] [stdout] test git_scanner::tests::test_date_filtering ... ok
[INFO] [stdout] test git_scanner::tests::unchanged_lines_are_not_attributed_to_later_commits ... ok
[INFO] [stdout] test git_scanner::tests::repeated_scans_are_consistent ... ok
[INFO] [stdout] test git_scanner::tests::test_find_secrets_in_history ... ok
[INFO] [stdout] 
[INFO] [stderr]      Running tests/archive_tests.rs (/opt/rustwide/target/release/build/redflag/d5096458b69c3134/out/archive_tests-d5096458b69c3134)
[INFO] [stdout] test result: ok. 40 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test member_names_cannot_republish_declared_private_values_in_reports ... ok
[INFO] [stdout] test tar_and_gzip_concatenation_inspect_complete_logical_content ... ok
[INFO] [stdout] test archives_inspect_nested_encoded_values_and_preserve_member_locations ... ok
[INFO] [stdout] test clean_archive_manifests_require_the_inspection_receipt_and_exact_container_bytes ... ok
[INFO] [stdout] test empty_archives_are_complete_but_links_and_extensions_are_rejected ... ok
[INFO] [stdout] test corrupt_unsupported_and_ambiguous_archives_cannot_pass ... ok
[INFO] [stdout] test archive_limits_fail_atomically_and_are_cumulative ... ok
[INFO] [stderr]      Running tests/artifact_review_tests.rs (/opt/rustwide/target/release/build/redflag/fb7bd48cf35a3384/out/artifact_review_tests-fb7bd48cf35a3384)
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test fifo_exception_inputs_fail_without_waiting_for_a_writer ... ok
[INFO] [stdout] test artifact_reviews_authorize_exact_versions_and_manifests_retain_the_review ... ok
[INFO] [stdout] test output_paths_cannot_destroy_policy_inputs ... ok
[INFO] [stdout] test source_scope_and_accepted_debt_cannot_authorize_publication ... ok
[INFO] [stdout] test expired_reviews_block_rescans_and_manifest_verification ... ok
[INFO] [stdout] test inconsistent_manifest_review_scope_counts_and_locations_are_rejected ... ok
[INFO] [stderr]      Running tests/artifact_tests.rs (/opt/rustwide/target/release/build/redflag/bab200ac538edc55/out/artifact_tests-bab200ac538edc55)
[INFO] [stdout] test exact_private_values_cannot_be_exempted_and_review_metadata_is_redacted ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 13 tests
[INFO] [stdout] test exact_matching_does_not_normalize_case_or_search_undeclared_environment ... ok
[INFO] [stdout] test artifacts_inspect_hidden_html_unknown_and_source_ignored_paths ... ok
[INFO] [stdout] test manifest_verification_rejects_symlink_replacements ... ok
[INFO] [stdout] test changed_added_removed_and_retyped_files_invalidate_manifest ... ok
[INFO] [stdout] test exact_values_include_binary_multiline_overlap_and_read_boundaries ... ok
[INFO] [stdout] test malformed_and_unsafe_manifests_are_rejected ... ok
[INFO] [stdout] test private_values_are_absent_even_from_nearby_native_snippets ... ok
[INFO] [stdout] test failed_rescans_invalidate_prior_manifest_without_destroying_input ... ok
[INFO] [stdout] test artifact_limits_are_explicit_and_fail_before_json_output ... ok
[INFO] [stdout] test missing_empty_targets_and_overlapping_selections_are_errors ... ok
[INFO] [stdout] test symlinks_broken_links_and_special_files_are_errors ... ok
[INFO] [stdout] test missing_empty_short_and_invalid_declarations_fail_closed ... ok
[INFO] [stderr]      Running tests/changes_tests.rs (/opt/rustwide/target/release/build/redflag/38ecbae4d3688ec3/out/changes_tests-38ecbae4d3688ec3)
[INFO] [stdout] test clean_manifest_verifies_original_and_relocated_bytes ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 27 tests
[INFO] [stdout] test engine_same_line_edits_preserve_old_debt_without_hiding_a_new_occurrence ... ignored, requires the checksum-verified engine; CI installs it and includes ignored tests
[INFO] [stdout] test github_push_uses_exact_event_range_even_when_payload_commit_list_is_empty ... ok
[INFO] [stdout] test multipart_credentials_use_added_component_evidence_in_commits_and_merges ... ignored, requires the checksum-verified engine; CI installs it and includes ignored tests
[INFO] [stdout] test missing_objects_do_not_truncate_the_range_or_skip_a_parent ... ok
[INFO] [stdout] test github_source_paths_cannot_inject_commands_or_markdown ... ok
[INFO] [stdout] test github_merge_queue_uses_group_base_and_head_and_includes_merge_resolution ... ok
[INFO] [stdout] test pinned_engine_keeps_revision_identity_and_inspects_binary_and_hidden_source ... ignored, requires the checksum-verified engine; CI installs it and includes ignored tests
[INFO] [stdout] test additional_detector_evidence_requires_a_new_reviewed_occurrence ... ok
[INFO] [stdout] test github_fork_pull_request_inspects_branch_and_merge_without_tokens ... ok
[INFO] [stdout] test merge_imports_do_not_become_new_debt_but_merge_resolutions_are_inspected ... ok
[INFO] [stdout] test github_source_annotations_require_matching_checked_blobs_and_worktree_bytes ... ok
[INFO] [stdout] test github_new_branch_is_explicit_and_unsupported_pushes_do_not_report_clean ... ok
[INFO] [stdout] test proposed_configuration_and_working_tree_cannot_authorize_their_own_exclusions ... ok
[INFO] [stdout] test native_same_line_edits_preserve_old_debt_without_hiding_a_new_occurrence ... ok
[INFO] [stdout] test github_reviewed_occurrences_stay_visible_without_error_annotations ... ok
[INFO] [stdout] test reviewed_source_debt_never_becomes_an_artifact_exception ... ok
[INFO] [stdout] test new_branches_and_empty_ranges_have_explicit_scope ... ok
[INFO] [stdout] test dense_parent_evidence_preserves_each_occurrence_on_a_minified_line ... ok
[INFO] [stdout] test introduced_commits_retain_deleted_and_reintroduced_secrets ... ok
[INFO] [stdout] test selected_symlinks_and_submodules_fail_explicitly ... ok
[INFO] [stdout] test unrelated_edits_do_not_report_old_debt_but_new_occurrences_do ... ok
[INFO] [stdout] test binary_projection_uses_original_byte_columns_for_parent_evidence ... ok
[INFO] [stdout] test limits_apply_to_complete_introduced_scope_and_errors_are_atomic ... ok
[INFO] [stdout] test comparison_budgets_fail_atomically_instead_of_guessing_occurrence_identity ... ok
[INFO] [stdout] test proposed_or_checkout_exception_files_cannot_authorize_their_own_source_range ... ok
[INFO] [stdout] test reviewed_exceptions_accept_only_exact_occurrences_and_expiry_restores_blocking ... ok
[INFO] [stdout] test missing_malformed_wrong_scope_and_oversized_exception_policy_fail_closed ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 24 passed; 0 failed; 3 ignored; 0 measured; 0 filtered out; finished in 0.78s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/cli_tests.rs (/opt/rustwide/target/release/build/redflag/2e21bc857de969e3/out/cli_tests-2e21bc857de969e3)
[INFO] [stdout] 
[INFO] [stdout] running 43 tests
[INFO] [stdout] test clean_directory_exits_successfully ... ok
[INFO] [stdout] test clean_json_is_valid ... ok
[INFO] [stdout] test closed_output_pipe_is_an_error ... ok
[INFO] [stdout] test entropy_detects_opaque_json_value ... ok
[INFO] [stdout] test finding_json_is_valid ... ok
[INFO] [stdout] test install_hook_is_not_available ... ok
[INFO] [stdout] test allowed_child_is_visited_inside_ignored_parent ... ok
[INFO] [stdout] test every_same_line_secret_is_found_and_redacted ... ok
[INFO] [stdout] test entropy_can_be_disabled ... ok
[INFO] [stdout] test default_exclusions_keep_secret_bearing_configuration ... ok
[INFO] [stdout] test entropy_ignores_command_strings ... ok
[INFO] [stdout] test git_options_require_history_scanning ... ok
[INFO] [stdout] test invalid_config_is_an_error ... ok
[INFO] [stdout] test json_input_error_leaves_stdout_empty ... FAILED
[INFO] [stdout] test missing_target_is_an_error ... ok
[INFO] [stdout] test exclusions_use_scan_root_relative_paths ... ok
[INFO] [stdout] test scans_env_dotfile ... ok
[INFO] [stdout] test scans_explicit_extensionless_file ... ok
[INFO] [stdout] test file_and_discovery_limits_are_operational_failures ... ok
[INFO] [stdout] test repeated_output_is_stable ... ok
[INFO] [stdout] test scans_test_suffix_file ... ok
[INFO] [stdout] test scans_packages_directory ... ok
[INFO] [stdout] test last_exclusion_rule_wins ... ok
[INFO] [stdout] test history_defaults_to_head_on_trunk ... ok
[INFO] [stdout] test history_preserves_template_context_before_diff_hunks ... ok
[INFO] [stdout] test scans_known_extensionless_files_in_directories ... ok
[INFO] [stdout] test generates_loadable_config ... ok
[INFO] [stdout] test redirected_progress_is_quiet ... ok
[INFO] [stdout] test output_redacts_secrets_by_default ... ok
[INFO] [stdout] test unreadable_file_is_an_error ... FAILED
[INFO] [stdout] test repeated_exclusions_preserve_the_last_policy ... ok
[INFO] [stdout] test missing_git_revision_is_an_error ... ok
[INFO] [stdout] test scans_test_named_file ... ok
[INFO] [stdout] test streaming_input_limits_fail_without_partial_json ... ok
[INFO] [stdout] test version_matches_package ... ok
[INFO] [stdout] test working_tree_report_records_policy_without_inventing_history_coverage ... ok
[INFO] [stdout] test scan_but_warn_uses_stderr ... ok
[INFO] [stdout] test shallow_history_is_an_operational_failure ... ok
[INFO] [stdout] test binary_classification_cannot_hide_history_content ... ok
[INFO] [stdout] test history_report_identifies_inclusive_date_selection_and_empty_scopes ... ok
[INFO] [stdout] test history_limits_fail_before_emitting_results ... ok
[INFO] [stdout] test show_secrets_is_explicit ... ok
[INFO] [stderr] error: test failed, to rerun pass `--test cli_tests`
[INFO] [stdout] test versioned_legacy_report_retains_exact_scope_and_array_compatibility ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- json_input_error_leaves_stdout_empty stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'json_input_error_leaves_stdout_empty' (13285) panicked at tests/cli_tests.rs:1164:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: Some(1)
[INFO] [stdout]  right: Some(2)
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5a783e440971 - <<std[218a0f7bb9a8af32]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[5c14b8d5a259cc4e]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x5a783e4568da - core[5c14b8d5a259cc4e]::fmt::write
[INFO] [stdout]    2:     0x5a783e44508c - <alloc[f65cf102c2e86268]::vec::Vec<u8> as core[5c14b8d5a259cc4e]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x5a783e41b206 - std[218a0f7bb9a8af32]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x5a783e438079 - std[218a0f7bb9a8af32]::panicking::default_hook
[INFO] [stdout]    5:     0x5a783e0420c0 - test[2df5162924bba3e2]::test_main_inner::{closure#0}
[INFO] [stdout]    6:     0x5a783e4383a2 - std[218a0f7bb9a8af32]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x5a783e41b2b2 - std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x5a783e413969 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_end_short_backtrace::<std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x5a783e41c01d - __rustc[abc93889656912e2]::rust_begin_unwind
[INFO] [stdout]   10:     0x5a783e4575ec - core[5c14b8d5a259cc4e]::panicking::panic_fmt
[INFO] [stdout]   11:     0x5a783e4574e3 - core[5c14b8d5a259cc4e]::panicking::assert_failed_inner
[INFO] [stdout]   12:     0x5a783e02b567 - core[5c14b8d5a259cc4e]::panicking::assert_failed::<core[5c14b8d5a259cc4e]::option::Option<i32>, core[5c14b8d5a259cc4e]::option::Option<i32>>
[INFO] [stdout]   13:     0x5a783e0196ae - <cli_tests[3e5a47722e59b0b8]::json_input_error_leaves_stdout_empty::{closure#0} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   14:     0x5a783e034f2b - test[2df5162924bba3e2]::__rust_begin_short_backtrace::<core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>, fn() -> core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>>
[INFO] [stdout]   15:     0x5a783e0426e5 - test[2df5162924bba3e2]::run_test::{closure#0}
[INFO] [stdout]   16:     0x5a783e03bb34 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_begin_short_backtrace::<test[2df5162924bba3e2]::run_test::{closure#1}, ()>
[INFO] [stdout]   17:     0x5a783e045672 - <std[218a0f7bb9a8af32]::thread::lifecycle::spawn_unchecked<test[2df5162924bba3e2]::run_test::{closure#1}, ()>::{closure#1} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   18:     0x5a783e44001f - <std[218a0f7bb9a8af32]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   19:     0x7815ff319dfa - <unknown>
[INFO] [stdout]   20:     0x7815ff3ad3d4 - clone
[INFO] [stdout]   21:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- unreadable_file_is_an_error stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'unreadable_file_is_an_error' (13333) panicked at tests/cli_tests.rs:1146:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: Some(0)
[INFO] [stdout]  right: Some(2)
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5a783e440971 - <<std[218a0f7bb9a8af32]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[5c14b8d5a259cc4e]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x5a783e4568da - core[5c14b8d5a259cc4e]::fmt::write
[INFO] [stdout]    2:     0x5a783e44508c - <alloc[f65cf102c2e86268]::vec::Vec<u8> as core[5c14b8d5a259cc4e]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x5a783e41b206 - std[218a0f7bb9a8af32]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x5a783e438079 - std[218a0f7bb9a8af32]::panicking::default_hook
[INFO] [stdout]    5:     0x5a783e0420c0 - test[2df5162924bba3e2]::test_main_inner::{closure#0}
[INFO] [stdout]    6:     0x5a783e4383a2 - std[218a0f7bb9a8af32]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x5a783e41b2b2 - std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x5a783e413969 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_end_short_backtrace::<std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x5a783e41c01d - __rustc[abc93889656912e2]::rust_begin_unwind
[INFO] [stdout]   10:     0x5a783e4575ec - core[5c14b8d5a259cc4e]::panicking::panic_fmt
[INFO] [stdout]   11:     0x5a783e4574e3 - core[5c14b8d5a259cc4e]::panicking::assert_failed_inner
[INFO] [stdout]   12:     0x5a783e02b567 - core[5c14b8d5a259cc4e]::panicking::assert_failed::<core[5c14b8d5a259cc4e]::option::Option<i32>, core[5c14b8d5a259cc4e]::option::Option<i32>>
[INFO] [stdout]   13:     0x5a783e016caf - <cli_tests[3e5a47722e59b0b8]::unreadable_file_is_an_error::{closure#0} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   14:     0x5a783e034f2b - test[2df5162924bba3e2]::__rust_begin_short_backtrace::<core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>, fn() -> core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>>
[INFO] [stdout]   15:     0x5a783e0426e5 - test[2df5162924bba3e2]::run_test::{closure#0}
[INFO] [stdout]   16:     0x5a783e03bb34 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_begin_short_backtrace::<test[2df5162924bba3e2]::run_test::{closure#1}, ()>
[INFO] [stdout]   17:     0x5a783e045672 - <std[218a0f7bb9a8af32]::thread::lifecycle::spawn_unchecked<test[2df5162924bba3e2]::run_test::{closure#1}, ()>::{closure#1} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   18:     0x5a783e44001f - <std[218a0f7bb9a8af32]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   19:     0x7815ff319dfa - <unknown>
[INFO] [stdout]   20:     0x7815ff3ad3d4 - clone
[INFO] [stdout]   21:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     json_input_error_leaves_stdout_empty
[INFO] [stdout]     unreadable_file_is_an_error
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 41 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.57s
[INFO] [stdout] 
[INFO] running `"docker" "inspect" "387b51b023aa39cdee6df4329fc41cad65c01c905a4c8be9668e4ea0d10a6c5b"`
[INFO] running `"docker" "rm" "-f" "387b51b023aa39cdee6df4329fc41cad65c01c905a4c8be9668e4ea0d10a6c5b"`
[INFO] [stdout] 387b51b023aa39cdee6df4329fc41cad65c01c905a4c8be9668e4ea0d10a6c5b
