[INFO] cloning repository https://github.com/riceharvest/patchify
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/riceharvest/patchify" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friceharvest%2Fpatchify", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friceharvest%2Fpatchify'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d0f031fba974474ebe8cdeec0e8981b63665f79a
[INFO] testing riceharvest/patchify against 1.99.0-beta.8 for beta-1.100-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friceharvest%2Fpatchify" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/riceharvest/patchify
[INFO] finished tweaking git repo https://github.com/riceharvest/patchify
[INFO] tweaked toml for git repo https://github.com/riceharvest/patchify written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/riceharvest/patchify 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 git repo https://github.com/riceharvest/patchify 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]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded zip v0.6.6
[INFO] [stderr]   Downloaded compression-core v0.4.32
[INFO] [stderr]   Downloaded async-compression v0.4.43
[INFO] [stderr]   Downloaded compression-codecs v0.4.38
[INFO] [stderr]   Downloaded clap_mangen v0.2.33
[INFO] [stderr]   Downloaded roff v1.1.1
[INFO] [stderr]   Downloaded clap_complete v4.6.9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 2ce833acb0e922d36f6b8baeaf537a774d8b6e44828637be0881d884a23be9e4
[INFO] running `Command { std: "docker" "start" "2ce833acb0e922d36f6b8baeaf537a774d8b6e44828637be0881d884a23be9e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2ce833acb0e922d36f6b8baeaf537a774d8b6e44828637be0881d884a23be9e4", 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" "2ce833acb0e922d36f6b8baeaf537a774d8b6e44828637be0881d884a23be9e4" "/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" "2ce833acb0e922d36f6b8baeaf537a774d8b6e44828637be0881d884a23be9e4", 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" "2ce833acb0e922d36f6b8baeaf537a774d8b6e44828637be0881d884a23be9e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.107
[INFO] [stderr]    Compiling quote v1.0.47
[INFO] [stderr]    Compiling libc v0.2.189
[INFO] [stderr]    Compiling bytes v1.12.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.17
[INFO] [stderr]    Compiling futures-core v0.3.34
[INFO] [stderr]    Compiling itoa v1.0.18
[INFO] [stderr]    Compiling find-msvc-tools v0.1.11
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling shlex v2.0.1
[INFO] [stderr]    Compiling writeable v0.6.4
[INFO] [stderr]    Compiling litemap v0.8.3
[INFO] [stderr]    Compiling smallvec v1.15.2
[INFO] [stderr]    Compiling cc v1.4.4
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling futures-sink v0.3.34
[INFO] [stderr]    Compiling crc32fast v1.5.1
[INFO] [stderr]    Compiling zeroize v1.9.0
[INFO] [stderr]    Compiling http v1.5.0
[INFO] [stderr]    Compiling rustls-pki-types v1.15.1
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling simd-adler32 v0.3.10
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]    Compiling futures-task v0.3.34
[INFO] [stderr]    Compiling bitflags v2.13.1
[INFO] [stderr]    Compiling hashbrown v0.17.1
[INFO] [stderr]    Compiling futures-util v0.3.34
[INFO] [stderr]    Compiling syn v3.0.4
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling http-body v1.1.0
[INFO] [stderr]    Compiling indexmap v2.14.1
[INFO] [stderr]    Compiling miniz_oxide v0.9.1
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling socket2 v0.6.5
[INFO] [stderr]    Compiling mio v1.2.2
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling memchr v2.8.3
[INFO] [stderr]    Compiling rustls v0.23.43
[INFO] [stderr]    Compiling typenum v1.20.1
[INFO] [stderr]    Compiling flate2 v1.1.10
[INFO] [stderr]    Compiling futures-channel v0.3.34
[INFO] [stderr]    Compiling compression-core v0.4.32
[INFO] [stderr]    Compiling zmij v1.0.23
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling clap_builder v4.6.6
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling compression-codecs v0.4.38
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling serde_json v1.0.151
[INFO] [stderr]    Compiling ipnet v2.12.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling getrandom v0.4.3
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling http-body-util v0.1.5
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling webpki-roots v1.0.9
[INFO] [stderr]    Compiling anyhow v1.0.104
[INFO] [stderr]    Compiling thiserror v2.0.20
[INFO] [stderr]    Compiling ryu v1.0.23
[INFO] [stderr]    Compiling zerofrom v0.1.8
[INFO] [stderr]    Compiling yoke v0.8.3
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling xattr v1.6.1
[INFO] [stderr]    Compiling filetime v0.2.29
[INFO] [stderr]    Compiling roff v1.1.1
[INFO] [stderr]    Compiling fastrand v2.5.0
[INFO] [stderr]    Compiling log v0.4.34
[INFO] [stderr]    Compiling tar v0.4.46
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling zerovec-derive v0.11.6
[INFO] [stderr]    Compiling displaydoc v0.2.7
[INFO] [stderr]    Compiling tokio-macros v2.7.2
[INFO] [stderr]    Compiling rustls-webpki v0.103.15
[INFO] [stderr]    Compiling tokio v1.53.1
[INFO] [stderr]    Compiling zerotrie v0.2.5
[INFO] [stderr]    Compiling clap_derive v4.6.4
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling thiserror-impl v2.0.20
[INFO] [stderr]    Compiling zerovec v0.11.8
[INFO] [stderr]    Compiling tinystr v0.8.4
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling potential_utf v0.1.6
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling clap v4.6.6
[INFO] [stderr]    Compiling clap_complete v4.6.9
[INFO] [stderr]    Compiling clap_mangen v0.2.33
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling tokio-util v0.7.19
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling async-compression v0.4.43
[INFO] [stderr]    Compiling h2 v0.4.19
[INFO] [stderr]    Compiling tower-http v0.6.11
[INFO] [stderr]    Compiling hyper v1.11.1
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling hyper-rustls v0.27.9
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling patchify v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 50s
[INFO] running `Command { std: "docker" "inspect" "2ce833acb0e922d36f6b8baeaf537a774d8b6e44828637be0881d884a23be9e4", 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" "2ce833acb0e922d36f6b8baeaf537a774d8b6e44828637be0881d884a23be9e4" "/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 patchify v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.58s
[INFO] running `Command { std: "docker" "inspect" "2ce833acb0e922d36f6b8baeaf537a774d8b6e44828637be0881d884a23be9e4", 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" "2ce833acb0e922d36f6b8baeaf537a774d8b6e44828637be0881d884a23be9e4" "/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.17s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/patchify-adee17c92998dc06)
[INFO] [stdout] 
[INFO] [stdout] running 21 tests
[INFO] [stdout] test tests::absolute_path_refused ... ok
[INFO] [stdout] test tests::empty_old_string_rejected ... ok
[INFO] [stdout] test tests::dry_run_touches_nothing ... ok
[INFO] [stdout] test tests::chained_edit_failure_rolls_back_chain ... ok
[INFO] [stdout] test tests::ambiguous_match_fails_without_writing ... ok
[INFO] [stdout] test tests::chained_same_path_edits_compose ... ok
[INFO] [stdout] test tests::chained_edit_matching_previous_output ... ok
[INFO] [stdout] test tests::concurrent_instances_serialize_via_flock ... ok
[INFO] [stdout] test tests::rollback_restores_prior_edits ... ok
[INFO] [stdout] test tests::missing_target_fails_cleanly ... ok
[INFO] [stdout] test tests::path_traversal_refused ... ok
[INFO] [stdout] test tests::overlapping_edits_last_wins ... ok
[INFO] [stdout] test tests::symlinked_dir_escape_refused ... ok
[INFO] [stdout] test tests::replace_all_replaces_every_occurrence ... ok
[INFO] [stdout] test tests::unique_match_applies ... ok
[INFO] [stdout] test tests::symlink_escape_refused_real ... ok
[INFO] [stdout] test tests::write_creates_parent_dirs ... ok
[INFO] [stdout] test tests::toctou_guard_fires_on_drift ... ok
[INFO] [stdout] test tests::too_many_edits_rejected ... ok
[INFO] [stdout] test tests::write_rollback_removes_new_file ... ok
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/patchify-a0e9f8ef46acd3e0)
[INFO] [stdout] test tests::verify_runs_after_edits ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[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] [stdout] 
[INFO] [stderr]      Running tests/cli.rs (/opt/rustwide/target/debug/deps/cli-c5ca08a20b47564e)
[INFO] [stdout] running 11 tests
[INFO] [stdout] test diff_mode_prints_unified_diff_and_writes_nothing ... ok
[INFO] [stdout] test dry_run_writes_nothing ... ok
[INFO] [stdout] test empty_stdin_is_usage_error ... ok
[INFO] [stdout] test chained_same_path_edits_via_cli ... ok
[INFO] [stdout] test three_patch_batch_with_failure_rolls_back_cleanly ... ok
[INFO] [stdout] test input_file_flag_reads_request_from_disk ... ok
[INFO] [stdout] test help_version_exit_zero ... ok
[INFO] [stdout] test traversal_and_absolute_refused_via_cli ... ok
[INFO] [stdout] test tool_manifest_and_completions_and_man_render ... ok
[INFO] [stdout] test full_success_batch_with_verify_commands ... ok
[INFO] [stderr]    Doc-tests patchify
[INFO] [stdout] test text_format_prints_human_readable_summary ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s
[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" "2ce833acb0e922d36f6b8baeaf537a774d8b6e44828637be0881d884a23be9e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2ce833acb0e922d36f6b8baeaf537a774d8b6e44828637be0881d884a23be9e4", kill_on_drop: false }`
[INFO] [stdout] 2ce833acb0e922d36f6b8baeaf537a774d8b6e44828637be0881d884a23be9e4
