[INFO] cloning repository https://github.com/Romelium/mpatch
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Romelium/mpatch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRomelium%2Fmpatch", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRomelium%2Fmpatch'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2d540d86213b2048f6483ac24442db88e1424c23
[INFO] testing Romelium/mpatch against beta-2026-01-20 for beta-1.94-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRomelium%2Fmpatch" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Romelium/mpatch
[INFO] finished tweaking git repo https://github.com/Romelium/mpatch
[INFO] tweaked toml for git repo https://github.com/Romelium/mpatch written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Romelium/mpatch on toolchain beta-2026-01-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-01-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Romelium/mpatch 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" "+beta-2026-01-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-01-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dc459b70269920cb05647c3c0563ae66d1aa890b31a6f69cdb66b5813eebcc3b
[INFO] running `Command { std: "docker" "start" "-a" "dc459b70269920cb05647c3c0563ae66d1aa890b31a6f69cdb66b5813eebcc3b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dc459b70269920cb05647c3c0563ae66d1aa890b31a6f69cdb66b5813eebcc3b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc459b70269920cb05647c3c0563ae66d1aa890b31a6f69cdb66b5813eebcc3b", kill_on_drop: false }`
[INFO] [stdout] dc459b70269920cb05647c3c0563ae66d1aa890b31a6f69cdb66b5813eebcc3b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-01-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e5fea2749635a0d046996725fb51be91d8c6fe0161d0f87d02c556ad3b8cb35a
[INFO] running `Command { std: "docker" "start" "-a" "e5fea2749635a0d046996725fb51be91d8c6fe0161d0f87d02c556ad3b8cb35a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling anstyle-query v1.1.5
[INFO] [stderr]    Compiling anstyle v1.0.13
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling clap_lex v0.7.6
[INFO] [stderr]    Compiling jiff v0.2.16
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling colored v2.2.0
[INFO] [stderr]    Compiling similar v2.7.0
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling anstream v0.6.21
[INFO] [stderr]    Compiling clap_builder v4.5.53
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling syn v2.0.110
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling env_filter v0.1.4
[INFO] [stderr]    Compiling env_logger v0.11.8
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling clap v4.5.53
[INFO] [stderr]    Compiling mpatch v1.3.5 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.94s
[INFO] running `Command { std: "docker" "inspect" "e5fea2749635a0d046996725fb51be91d8c6fe0161d0f87d02c556ad3b8cb35a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e5fea2749635a0d046996725fb51be91d8c6fe0161d0f87d02c556ad3b8cb35a", kill_on_drop: false }`
[INFO] [stdout] e5fea2749635a0d046996725fb51be91d8c6fe0161d0f87d02c556ad3b8cb35a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-01-20" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b3337db16f8264eee456760818eaf94db11ca73541a30ace3e98cee3ab2cac9e
[INFO] running `Command { std: "docker" "start" "-a" "b3337db16f8264eee456760818eaf94db11ca73541a30ace3e98cee3ab2cac9e", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling zerocopy v0.8.28
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling zerocopy-derive v0.8.28
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling ciborium-io v0.2.2
[INFO] [stderr]    Compiling plotters-backend v0.3.7
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling cast v0.3.0
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling anes v0.1.6
[INFO] [stderr]    Compiling oorandom v11.1.5
[INFO] [stderr]    Compiling indoc v2.0.7
[INFO] [stderr]    Compiling plotters-svg v0.3.7
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stderr]    Compiling is-terminal v0.4.17
[INFO] [stderr]    Compiling criterion-plot v0.5.0
[INFO] [stderr]    Compiling tempfile v3.23.0
[INFO] [stderr]    Compiling mpatch v1.3.5 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling half v2.7.1
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling criterion v0.5.1
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 27.45s
[INFO] running `Command { std: "docker" "inspect" "b3337db16f8264eee456760818eaf94db11ca73541a30ace3e98cee3ab2cac9e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b3337db16f8264eee456760818eaf94db11ca73541a30ace3e98cee3ab2cac9e", kill_on_drop: false }`
[INFO] [stdout] b3337db16f8264eee456760818eaf94db11ca73541a30ace3e98cee3ab2cac9e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-01-20" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 08e5beea6bb1e1a94e003a2f5939b652116a7cc1f029e679db9437ee5feb134d
[INFO] running `Command { std: "docker" "start" "-a" "08e5beea6bb1e1a94e003a2f5939b652116a7cc1f029e679db9437ee5feb134d", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mpatch-989b44a76a28bae2)
[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 unittests src/main.rs (/opt/rustwide/target/debug/deps/mpatch-6036fbf87b20565c)
[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/patch_apply_tests.rs (/opt/rustwide/target/debug/deps/patch_apply_tests-c7975fef9dee748a)
[INFO] [stdout] 
[INFO] [stdout] running 210 tests
[INFO] [stdout] test ensure_path_is_safe_tests::test_absolute_path_fails ... ok
[INFO] [stdout] test ensure_path_is_safe_tests::test_traversal_path_fails ... ok
[INFO] [stdout] test ensure_path_is_safe_tests::test_safe_path_succeeds ... ok
[INFO] [stdout] test ensure_path_is_safe_tests::test_traversal_path_to_nonexistent_file_fails ... ok
[INFO] [stdout] test extended_stress_tests::test_fuzzy_crlf_mismatch ... ok
[INFO] [stdout] test ensure_path_is_safe_tests::test_safe_path_to_nonexistent_file_succeeds ... ok
[INFO] [stdout] test ensure_path_is_safe_tests::test_path_normalization_within_project_succeeds ... ok
[INFO] [stdout] test extended_stress_tests::test_parse_auto_mixed_formats ... ok
[INFO] [stdout] test fuzzy_finder_diagnostics::finder_single_insertion_start ... ok
[INFO] [stdout] test fuzzy_finder_diagnostics::test_apply_options_convenience_constructors ... ok
[INFO] [stdout] test extended_stress_tests::test_apply_patch_with_huge_offset ... ok
[INFO] [stdout] test fuzzy_logic_edge_cases::test_conflict_markers_adjacent ... ok
[INFO] [stdout] test hunk_finder_tests::test_default_finder_exact_match ... ok
[INFO] [stdout] test fuzzy_logic_edge_cases::test_hunks_out_of_order ... ok
[INFO] [stdout] test fuzzy_finder_diagnostics::finder_single_deletion_middle ... ok
[INFO] [stdout] test parse_single_patch_tests::test_err_multiple_patches_in_one_block ... ok
[INFO] [stdout] test fuzzy_logic_edge_cases::test_fuzzy_extra_newlines_in_target ... ok
[INFO] [stdout] test parse_single_patch_tests::test_err_multiple_patches_in_separate_blocks ... ok
[INFO] [stdout] test parse_single_patch_tests::test_err_no_patches_found ... ok
[INFO] [stdout] test parse_single_patch_tests::test_err_parse_error_propagates ... ok
[INFO] [stdout] test parse_single_patch_tests::test_success_case ... ok
[INFO] [stdout] test hunk_finder_tests::test_default_finder_not_found ... ok
[INFO] [stdout] test fuzzy_finder_diagnostics::finder_multiple_insertions ... ok
[INFO] [stdout] test patch_content_str_tests::test_err_apply_error ... ok
[INFO] [stdout] test patch_content_str_tests::test_err_no_patches_found ... ok
[INFO] [stdout] test patch_content_str_tests::test_err_parse_error ... ok
[INFO] [stdout] test patch_content_str_tests::test_file_creation_success ... ok
[INFO] [stdout] test fuzzy_finder_diagnostics::finder_mixed_change_modification ... ok
[INFO] [stdout] test test_ambiguous_match_fails ... ok
[INFO] [stdout] test fuzzy_finder_diagnostics::finder_single_insertion_middle ... ok
[INFO] [stdout] test hunk_finder_tests::test_default_finder_ambiguous_match ... ok
[INFO] [stdout] test test_ambiguous_match_resolved_by_line_number ... ok
[INFO] [stdout] test test_apply_hunk_to_file_beginning ... ok
[INFO] [stdout] test fuzzy_logic_edge_cases::test_fuzzy_skip_stale_context_middle ... ok
[INFO] [stdout] test test_apply_hunk_to_lines_in_place ... ok
[INFO] [stdout] test fuzzy_logic_edge_cases::test_fuzzy_insertion_clobbers_context ... ok
[INFO] [stdout] test patch_content_str_tests::test_err_multiple_patches_found ... ok
[INFO] [stdout] test test_ambiguous_match_fails_with_equidistant_line_hint ... ok
[INFO] [stdout] test test_apply_hunk_to_file_end ... ok
[INFO] [stdout] test fuzzy_logic_edge_cases::test_large_offset_application ... ok
[INFO] [stdout] test patch_content_str_tests::test_success_case ... ok
[INFO] [stdout] test fuzzy_logic_edge_cases::test_fuzzy_restore_truncated_context_at_eof ... ok
[INFO] [stdout] test fuzzy_logic_edge_cases::test_fuzzy_interleaved_local_edits ... ok
[INFO] [stdout] test test_apply_hunk_with_single_line_match_block ... ok
[INFO] [stdout] test test_apply_options_fluent_methods ... ok
[INFO] [stdout] test test_apply_patch_to_lines ... ok
[INFO] [stdout] test test_apply_result_helpers ... ok
[INFO] [stdout] test test_apply_options_convenience_constructors ... ok
[INFO] [stdout] test test_apply_options_builder ... ok
[INFO] [stdout] test test_apply_multiple_hunks_in_one_file ... ok
[INFO] [stdout] test extended_stress_tests::test_fuzzy_repeated_lines_ambiguity_resolution ... ok
[INFO] [stdout] test test_apply_patches_to_dir ... ok
[INFO] [stdout] test test_apply_patch_where_file_is_prefix_of_context ... ok
[INFO] [stdout] test test_apply_to_nonexistent_file_fails_if_not_creation ... ok
[INFO] [stdout] test test_apply_patch_at_end_of_file_with_fuzz_and_missing_context ... ok
[INFO] [stdout] test test_apply_to_path_that_is_a_directory ... ok
[INFO] [stdout] test test_apply_simple_patch ... ok
[INFO] [stdout] test test_cli_simulation_raw_diff_input ... ok
[INFO] [stdout] test hunk_finder_tests::test_default_finder_fuzzy_match ... ok
[INFO] [stdout] test test_block_with_only_hunk_no_header_is_skipped ... ok
[INFO] [stdout] test test_conflict_markers_empty_block ... ok
[INFO] [stdout] test fuzzy_logic_edge_cases::test_fuzzy_indentation_context_preserved ... ok
[INFO] [stdout] test test_conflict_markers_false_positive_check ... ok
[INFO] [stdout] test test_conflict_markers_in_comments_ignored ... ok
[INFO] [stdout] test test_conflict_markers_in_rust_block ... ok
[INFO] [stdout] test test_conflict_markers_indented ... ok
[INFO] [stdout] test test_conflict_markers_malformed_sequence ... ok
[INFO] [stdout] test test_conflict_markers_missing_start ... ok
[INFO] [stdout] test test_conflict_markers_git_style_labels ... ok
[INFO] [stdout] test test_conflict_markers_missing_separator ... ok
[INFO] [stdout] test test_conflict_markers_multiple_blocks_in_one_file ... ok
[INFO] [stdout] test test_cli_simulation_conflict_marker_input ... ok
[INFO] [stdout] test test_ambiguous_fuzzy_match_fails ... ok
[INFO] [stdout] test test_conflict_markers_ignore_normal_text ... ok
[INFO] [stdout] test test_conflict_markers_pure_addition ... ok
[INFO] [stdout] test test_conflict_markers_apply_end_to_end ... ok
[INFO] [stdout] test test_cli_simulation_markdown_input ... ok
[INFO] [stdout] test test_conflict_markers_pure_deletion ... ok
[INFO] [stdout] test test_conflict_markers_with_context ... ok
[INFO] [stdout] test test_conflict_markers_with_trailing_text ... ok
[INFO] [stdout] test test_conflict_markers_unclosed ... ok
[INFO] [stdout] test test_detect_conflict_markers_missing_end ... ok
[INFO] [stdout] test test_detect_false_positive_bitwise_shift ... ok
[INFO] [stdout] test test_detect_false_positive_comparison ... ok
[INFO] [stdout] test test_detect_false_positive_plus_list ... ok
[INFO] [stdout] test test_detect_markdown_patch_keyword ... ok
[INFO] [stdout] test test_detect_markdown_standard ... ok
[INFO] [stdout] test test_crlf_line_endings ... ok
[INFO] [stdout] test test_deleted_file_mode_header_is_not_context ... ok
[INFO] [stdout] test test_detect_unified_git_header ... ok
[INFO] [stdout] test test_detect_unified_standard_headers ... ok
[INFO] [stdout] test test_detect_false_positive_hr ... ok
[INFO] [stdout] test test_detect_conflict_markers_git_style ... ok
[INFO] [stdout] test test_diff_git_header_only_is_ignored ... ok
[INFO] [stdout] test test_detect_unified_hunk_only ... ok
[INFO] [stdout] test test_creation_patch_fails_on_non_empty_file ... ok
[INFO] [stdout] test test_dry_run ... ok
[INFO] [stdout] test test_detect_unified_requires_plus_after_minus ... ok
[INFO] [stdout] test test_extended_git_headers ... ok
[INFO] [stdout] test test_file_creation_in_subdirectory ... ok
[INFO] [stdout] test test_file_creation_with_spaces_in_path ... ok
[INFO] [stdout] test test_file_creation_with_unicode_path ... ok
[INFO] [stdout] test test_file_creation ... ok
[INFO] [stdout] test test_file_deletion_by_removing_all_content ... ok
[INFO] [stdout] test test_find_hunk_location_ambiguous ... ok
[INFO] [stdout] test test_find_hunk_location_exact_match ... ok
[INFO] [stdout] test test_detect_false_positive_list_item ... ok
[INFO] [stdout] test test_detect_markdown_with_language_hint ... ok
[INFO] [stdout] test test_find_hunk_location_in_lines ... ok
[INFO] [stdout] test test_find_hunk_location_not_found ... ok
[INFO] [stdout] test extended_stress_tests::test_fuzzy_unicode_context ... ok
[INFO] [stdout] test test_finder_with_missing_line_in_patch_context ... ok
[INFO] [stdout] test test_find_hunk_location_fuzzy_match ... ok
[INFO] [stdout] test test_fuzzy_indentation_drift ... ok
[INFO] [stdout] test test_fuzzy_match_preserves_different_file_context ... ok
[INFO] [stdout] test test_fuzzy_insertion_clobbers_context ... ok
[INFO] [stdout] test test_fuzzy_match_succeeds ... ok
[INFO] [stdout] test test_fuzzy_match_with_insertion_at_hunk_start ... ok
[INFO] [stdout] test test_fuzzy_match_with_duplicated_context_line_insertion ... ok
[INFO] [stdout] test test_fuzzy_match_with_insertion_at_hunk_end ... ok
[INFO] [stdout] test test_fuzzy_match_with_extra_line_in_patch_context ... ok
[INFO] [stdout] test test_git_diff_header_is_not_absorbed_into_previous_hunk ... ok
[INFO] [stdout] test test_fuzzy_match_with_missing_line_in_patch_context ... ok
[INFO] [stdout] test test_git_diff_header_triggers_parsing ... ok
[INFO] [stdout] test test_heuristic_skips_indented_unified_headers ... ok
[INFO] [stdout] test test_heuristic_trigger_but_invalid_diff_is_ignored ... ok
[INFO] [stdout] test test_horizontal_rule_in_markdown_code_block ... ok
[INFO] [stdout] test test_fuzzy_match_with_internal_insertion ... ok
[INFO] [stdout] test test_indented_diff_block_is_ignored ... ok
[INFO] [stdout] test test_heuristic_skips_yaml_separators ... ok
[INFO] [stdout] test test_hunk_applier_iterator ... ok
[INFO] [stdout] test test_hunk_semantic_helpers ... ok
[INFO] [stdout] test test_detect_conflict_markers_missing_middle ... ok
[INFO] [stdout] test test_detect_conflict_markers_standard ... ok
[INFO] [stdout] test test_new_file_mode_header_is_not_context ... ok
[INFO] [stdout] test test_no_newline_at_end_of_file ... ok
[INFO] [stdout] test test_hunk_with_no_changes_is_skipped ... ok
[INFO] [stdout] test test_nested_diff_block_is_ignored ... ok
[INFO] [stdout] test test_markdown_block_with_git_headers ... ok
[INFO] [stdout] test test_parse_auto_conflict_markers ... ok
[INFO] [stdout] test test_parse_accepts_all_code_blocks ... ok
[INFO] [stdout] test test_parse_auto_fallback_to_raw ... ok
[INFO] [stdout] test test_parse_auto_multiple_raw_patches ... ok
[INFO] [stdout] test test_parse_auto_markdown ... ok
[INFO] [stdout] test test_parse_closing_fence_longer_than_opening ... ok
[INFO] [stdout] test test_parse_auto_raw_diff ... ok
[INFO] [stdout] test test_parse_conflict_markers ... ok
[INFO] [stdout] test test_multiple_blocks_with_noise ... ok
[INFO] [stdout] test test_match_with_different_trailing_whitespace ... ok
[INFO] [stdout] test test_parse_diff_block_with_header_only ... ok
[INFO] [stdout] test test_parse_diff_with_nested_indented_code_block ... ok
[INFO] [stdout] test test_fuzzy_match_with_multiple_insertions ... ok
[INFO] [stdout] test test_parse_diff_with_git_headers ... ok
[INFO] [stdout] test test_parse_conflict_markers_variable_fence ... ok
[INFO] [stdout] test test_parse_empty_diff_block ... ok
[INFO] [stdout] test test_parse_diff_without_ab_prefix ... ok
[INFO] [stdout] test test_fuzzy_match_ignores_indentation ... ok
[INFO] [stdout] test test_parse_fence_trailing_whitespace ... ok
[INFO] [stdout] test test_parse_error_on_missing_file_header ... ok
[INFO] [stdout] test test_parse_file_creation_with_a_dev_null ... ok
[INFO] [stdout] test test_parse_file_creation_without_b_prefix ... ok
[INFO] [stdout] test test_parse_finds_patch_in_misleading_language_block ... ok
[INFO] [stdout] test test_parse_file_creation_with_dev_null ... ok
[INFO] [stdout] test test_fuzzy_match_with_multiple_differences_preserves_context ... ok
[INFO] [stdout] test test_fuzzy_match_below_threshold_fails ... ok
[INFO] [stdout] test test_fuzzy_match_with_more_context_and_insertion ... ok
[INFO] [stdout] test test_malformed_diff_returns_error_not_ignored ... ok
[INFO] [stdout] test test_parse_finds_patch_in_unlabeled_block ... ok
[INFO] [stdout] test test_parse_mixed_content_robustness ... ok
[INFO] [stdout] test test_parse_ignores_irrelevant_code_blocks ... ok
[INFO] [stdout] test test_parse_flexible_diff_block_headers ... ok
[INFO] [stdout] test test_parse_patch_block_header ... ok
[INFO] [stdout] test test_parse_multiple_diff_blocks ... ok
[INFO] [stdout] test test_parse_patches_empty_input ... ok
[INFO] [stdout] test test_parse_multiple_files_in_one_block ... ok
[INFO] [stdout] test test_parse_multiple_blocks_mixed_fences ... ok
[INFO] [stdout] test test_parse_hunk_header_line_number ... ok
[INFO] [stdout] test test_parse_multiple_sections_for_same_file_in_one_block ... ok
[INFO] [stdout] test test_parse_patches_file_creation ... ok
[INFO] [stdout] test test_parse_patches_file_deletion ... ok
[INFO] [stdout] test test_parse_patches_from_lines ... ok
[INFO] [stdout] test test_parse_patches_merges_sections_for_same_file ... ok
[INFO] [stdout] test test_parse_patches_from_lines_error ... ok
[INFO] [stdout] test test_patch_content_str_accepts_raw_diff ... ok
[INFO] [stdout] test test_patch_from_texts ... ok
[INFO] [stdout] test test_parse_patches_error_on_missing_header ... ok
[INFO] [stdout] test test_parse_patches_no_newline ... ok
[INFO] [stdout] test test_parse_patches_multi_file_raw_diff ... ok
[INFO] [stdout] test test_parse_shorter_closing_fence_ignored ... ok
[INFO] [stdout] test test_parse_patches_whitespace_input ... ok
[INFO] [stdout] test test_parse_patches_with_git_headers ... ok
[INFO] [stdout] test test_parse_simple_diff ... ok
[INFO] [stdout] test test_patch_from_texts_uses_raw_parser ... ok
[INFO] [stdout] test test_patch_and_hunk_display_format ... ok
[INFO] [stdout] test test_parse_patches_raw_diff ... ok
[INFO] [stdout] test test_patch_from_texts_no_change ... ok
[INFO] [stdout] test test_patch_content_str_accepts_markdown ... ok
[INFO] [stdout] test test_yaml_block_with_header_like_content_is_ignored ... ok
[INFO] [stdout] test test_patch_is_creation ... ok
[INFO] [stdout] test test_patch_is_deletion ... ok
[INFO] [stdout] test test_patch_to_empty_file ... ok
[INFO] [stdout] test test_partial_apply_fails_on_second_hunk ... ok
[INFO] [stdout] test test_patch_inversion ... ok
[INFO] [stdout] test test_path_traversal_with_absolute_path_is_blocked ... ok
[INFO] [stdout] test test_path_traversal_with_dot_is_blocked ... ok
[INFO] [stdout] test test_path_traversal_is_blocked ... ok
[INFO] [stdout] test test_path_normalization_within_project ... ok
[INFO] [stdout] test test_strict_apply_variants ... ok
[INFO] [stdout] test test_smart_indentation_adjustment ... ok
[INFO] [stdout] test test_apply_to_readonly_file_fails ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- test_apply_to_readonly_file_fails stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'test_apply_to_readonly_file_fails' (104) panicked at tests/patch_apply_tests.rs:1802:5:
[INFO] [stdout] Applying patch to a read-only file should result in a PermissionDenied error
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x651316c4ae52 - std::backtrace_rs::backtrace::libunwind::trace::hf0bd46b30bc61685
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x651316c4ae52 - std::backtrace_rs::backtrace::trace_unsynchronized::h1d1fbb72ad89d7b7
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x651316c4ae52 - std::sys::backtrace::_print_fmt::he38b6f68ca847f47
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x651316c4ae52 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hb7e843cde1bc81a3
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x651316c5d29a - core::fmt::rt::Argument::fmt::hc1dd77ac64f2688c
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x651316c5d29a - core::fmt::write::h952c506e2dbe9cff
[INFO] [stdout]    6:     0x651316c17346 - std::io::default_write_fmt::hd23bd8145c03a23a
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x651316c17346 - std::io::Write::write_fmt::hdd3314a2bd8a34bd
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x651316c288f9 - std::sys::backtrace::BacktraceLock::print::h1079b82381c2c252
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x651316c288f9 - std::panicking::default_hook::{{closure}}::h85cb76b8462c00f2
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x651316c28791 - std::panicking::default_hook::h0134d220cc034c02
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x651316a9ef3e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hb2e68dca3970e3ca
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x651316a9ef3e - test::test_main_with_exit_callback::{{closure}}::ha7ec2063a2565ec3
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x651316c28c22 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::haebee478d0f56cf4
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x651316c28c22 - std::panicking::panic_with_hook::h8119b6db1fef734f
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x651316c289ea - std::panicking::panic_handler::{{closure}}::h24f5360b91482c0e
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/panicking.rs:691:13
[INFO] [stdout]   16:     0x651316c239c9 - std::sys::backtrace::__rust_end_short_backtrace::h4e60c5cbd1bd0108
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x651316c0accd - __rustc[e4c6931bd8050421]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x651316c6565c - core::panicking::panic_fmt::hb1614a3ff6840071
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x65131674c91e - patch_apply_tests::test_apply_to_readonly_file_fails::h193a8899087002b3
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/patch_apply_tests.rs:1802:5
[INFO] [stdout]   20:     0x65131674cc57 - patch_apply_tests::test_apply_to_readonly_file_fails::{{closure}}::h3ea3e3dfabb97d70
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/patch_apply_tests.rs:1774:39
[INFO] [stdout]   21:     0x6513167a1566 - core::ops::function::FnOnce::call_once::h615735196672d668
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   22:     0x651316a9ed3b - core::ops::function::FnOnce::call_once::hefaf63600cd43d2a
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x651316a9ed3b - test::__rust_begin_short_backtrace::he30322a73a0e9ea6
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/test/src/lib.rs:663:18
[INFO] [stdout]   24:     0x651316ab270a - test::run_test_in_process::{{closure}}::hdea3ab8d0243ef36
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/test/src/lib.rs:686:74
[INFO] [stdout]   25:     0x651316ab270a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h66d192f42498ffce
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   26:     0x651316ab270a - std::panicking::catch_unwind::do_call::h822e18e8d3a6bb65
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/panicking.rs:581:40
[INFO] [stdout]   27:     0x651316ab270a - std::panicking::catch_unwind::h54b1de7ceab578bf
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/panicking.rs:544:19
[INFO] [stdout]   28:     0x651316ab270a - std::panic::catch_unwind::h60c29b7a9d0246b1
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/panic.rs:359:14
[INFO] [stdout]   29:     0x651316ab270a - test::run_test_in_process::h6099b5f871379b13
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/test/src/lib.rs:686:27
[INFO] [stdout]   30:     0x651316ab270a - test::run_test::{{closure}}::h926ce0a38281a4c8
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/test/src/lib.rs:607:43
[INFO] [stdout]   31:     0x651316a8cb64 - test::run_test::{{closure}}::h508de21a9afc7140
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/test/src/lib.rs:637:41
[INFO] [stdout]   32:     0x651316a8cb64 - std::sys::backtrace::__rust_begin_short_backtrace::h6e2f5c39ca00735a
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   33:     0x651316a90422 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::h133e44f0e5802c14
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   34:     0x651316a90422 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4718c1285283955c
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   35:     0x651316a90422 - std::panicking::catch_unwind::do_call::h0bba3937b4892238
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/panicking.rs:581:40
[INFO] [stdout]   36:     0x651316a90422 - std::panicking::catch_unwind::h5b31cab5fb8c5d7f
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/panicking.rs:544:19
[INFO] [stdout]   37:     0x651316a90422 - std::panic::catch_unwind::hb2fa05d52ed0124e
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/panic.rs:359:14
[INFO] [stdout]   38:     0x651316a90422 - std::thread::lifecycle::spawn_unchecked::{{closure}}::hf401cf5ff501bd29
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   39:     0x651316a90422 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h160022e94ce3b0bb
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   40:     0x651316c1ebaf - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hf234e0d1d1d272ba
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   41:     0x651316c1ebaf - std::sys::thread::unix::Thread::new::thread_start::h106a295241840d3b
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/sys/thread/unix.rs:127:17
[INFO] [stdout]   42:     0x788604f2daa4 - <unknown>
[INFO] [stdout]   43:     0x788604fbaa64 - clone
[INFO] [stdout]   44:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     test_apply_to_readonly_file_fails
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 209 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--test patch_apply_tests`
[INFO] running `Command { std: "docker" "inspect" "08e5beea6bb1e1a94e003a2f5939b652116a7cc1f029e679db9437ee5feb134d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "08e5beea6bb1e1a94e003a2f5939b652116a7cc1f029e679db9437ee5feb134d", kill_on_drop: false }`
[INFO] [stdout] 08e5beea6bb1e1a94e003a2f5939b652116a7cc1f029e679db9437ee5feb134d
