[INFO] cloning repository https://github.com/oggnimodd/ai-commit
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oggnimodd/ai-commit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foggnimodd%2Fai-commit", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foggnimodd%2Fai-commit'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6314b34c998267ca470a2e566bbb568171a9212c
[INFO] testing oggnimodd/ai-commit against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foggnimodd%2Fai-commit" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/oggnimodd/ai-commit
[INFO] finished tweaking git repo https://github.com/oggnimodd/ai-commit
[INFO] tweaked toml for git repo https://github.com/oggnimodd/ai-commit written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/oggnimodd/ai-commit on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/oggnimodd/ai-commit 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded newline-converter v0.3.0
[INFO] [stderr]   Downloaded hyper-rustls v0.27.6
[INFO] [stderr]   Downloaded anstyle-wincon v3.0.8
[INFO] [stderr]   Downloaded inquire v0.7.5
[INFO] [stderr]   Downloaded hyper-util v0.1.12
[INFO] [stderr]   Downloaded hashbrown v0.15.3
[INFO] [stderr]   Downloaded cc v1.2.24
[INFO] [stderr]   Downloaded openssl-sys v0.9.108
[INFO] [stderr]   Downloaded crossterm v0.25.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 05eda4f0320f946b4445bb481c76c90547a48f219d495d1a30b90bd5d86f625e
[INFO] running `Command { std: "docker" "start" "-a" "05eda4f0320f946b4445bb481c76c90547a48f219d495d1a30b90bd5d86f625e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "05eda4f0320f946b4445bb481c76c90547a48f219d495d1a30b90bd5d86f625e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "05eda4f0320f946b4445bb481c76c90547a48f219d495d1a30b90bd5d86f625e", kill_on_drop: false }`
[INFO] [stdout] 05eda4f0320f946b4445bb481c76c90547a48f219d495d1a30b90bd5d86f625e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 992d9344ac03a2547ccf558fbf1c3f7fbfd03fc3ee57c5cf1b4693231a0b3027
[INFO] running `Command { std: "docker" "start" "-a" "992d9344ac03a2547ccf558fbf1c3f7fbfd03fc3ee57c5cf1b4693231a0b3027", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling cc v1.2.24
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling hashbrown v0.15.3
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling openssl v0.10.72
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling anstyle-parse v0.2.6
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling colorchoice v1.0.3
[INFO] [stderr]    Compiling anstyle-query v1.1.2
[INFO] [stderr]    Compiling anstyle v1.0.10
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling clap_lex v0.7.4
[INFO] [stderr]    Compiling newline-converter v0.3.0
[INFO] [stderr]    Compiling anstream v0.6.18
[INFO] [stderr]    Compiling fuzzy-matcher v0.3.7
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling dyn-clone v1.0.19
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling signal-hook-mio v0.2.4
[INFO] [stderr]    Compiling crossterm v0.25.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling clap_builder v4.5.38
[INFO] [stderr]    Compiling openssl-sys v0.9.108
[INFO] [stderr]    Compiling inquire v0.7.5
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling clap_derive v4.5.32
[INFO] [stderr]    Compiling tokio v1.45.1
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling clap v4.5.38
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling h2 v0.4.10
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling hyper-util v0.1.12
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.15
[INFO] [stderr]    Compiling ai-commit v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.65s
[INFO] running `Command { std: "docker" "inspect" "992d9344ac03a2547ccf558fbf1c3f7fbfd03fc3ee57c5cf1b4693231a0b3027", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "992d9344ac03a2547ccf558fbf1c3f7fbfd03fc3ee57c5cf1b4693231a0b3027", kill_on_drop: false }`
[INFO] [stdout] 992d9344ac03a2547ccf558fbf1c3f7fbfd03fc3ee57c5cf1b4693231a0b3027
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7b69684d4ab4780ed23443515bd97554d735793da0e62a17380b99f30c163e1a
[INFO] running `Command { std: "docker" "start" "-a" "7b69684d4ab4780ed23443515bd97554d735793da0e62a17380b99f30c163e1a", kill_on_drop: false }`
[INFO] [stderr]    Compiling openssl v0.10.72
[INFO] [stderr]    Compiling rustix v1.0.7
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling inquire v0.7.5
[INFO] [stderr]    Compiling tempfile v3.20.0
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.15
[INFO] [stderr]    Compiling ai-commit v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 12.68s
[INFO] running `Command { std: "docker" "inspect" "7b69684d4ab4780ed23443515bd97554d735793da0e62a17380b99f30c163e1a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b69684d4ab4780ed23443515bd97554d735793da0e62a17380b99f30c163e1a", kill_on_drop: false }`
[INFO] [stdout] 7b69684d4ab4780ed23443515bd97554d735793da0e62a17380b99f30c163e1a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 9c62b741c9e4db4d3a0e12f70edad36a62caef21a5b82ec54b7cd75df3480b53
[INFO] running `Command { std: "docker" "start" "-a" "9c62b741c9e4db4d3a0e12f70edad36a62caef21a5b82ec54b7cd75df3480b53", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ai_commit-b8e0bcbb2066e084)
[INFO] [stdout] 
[INFO] [stdout] running 54 tests
[INFO] [stdout] test ai::tests::test_generate_multiple_suggestions_live ... ignored
[INFO] [stdout] test ai::tests::test_generate_single_suggestion_live ... ignored
[INFO] [stdout] test ai::tests::test_process_empty_candidates ... ok
[INFO] [stdout] test ai::tests::test_process_markdown_stripping_and_splitting ... ok
[INFO] [stdout] test ai::tests::test_process_no_text_in_part ... ok
[INFO] [stdout] test ai::tests::test_process_no_parts_in_content ... ok
[INFO] [stdout] test ai::tests::test_process_stripping_list_markers_and_preambles ... ok
[INFO] [stdout] test ai::tests::test_generate_text_api_key_missing ... ok
[INFO] [stdout] test ai::tests::test_process_truncation ... ok
[INFO] [stdout] test diff::tests::test_plus_minus_not_at_start_of_line_content ... ok
[INFO] [stdout] test diff::tests::test_preprocess_binary_files_differ ... ok
[INFO] [stdout] test diff::tests::test_preprocess_modification_with_context ... ok
[INFO] [stdout] test diff::tests::test_preprocess_multiple_hunks ... ok
[INFO] [stdout] test diff::tests::test_preprocess_rename_summary_lines ... ok
[INFO] [stdout] test diff::tests::test_preprocess_no_content_changes_mode_only ... ok
[INFO] [stdout] test diff::tests::test_preprocess_simple_addition ... ok
[INFO] [stdout] test diff::tests::test_preprocess_simple_removal ... ok
[INFO] [stdout] test diff::tests::test_preprocess_empty_input ... ok
[INFO] [stdout] test diff::tests::test_line_starting_with_space_after_plus_minus ... ok
[INFO] [stdout] test ai::tests::test_process_no_content_in_candidate ... ok
[INFO] [stdout] test ai::tests::test_process_single_clean_suggestion ... ok
[INFO] [stdout] test ai::tests::test_process_filter_out_verbose_non_commits ... ok
[INFO] [stdout] test git::tests::test_get_previous_commit_message_no_commits ... ok
[INFO] [stdout] test git::tests::test_has_staged_files_with_staged_file ... ok
[INFO] [stdout] test ai::tests::test_process_stray_markdown_fences_and_empty_lines ... ok
[INFO] [stdout] test git::tests::test_commit_staged_files_empty_message_fails ... ok
[INFO] [stdout] test git::tests::test_has_staged_files_empty_repo ... ok
[INFO] [stdout] test git::tests::test_amend_commit_no_initial_commit_fails_gracefully_in_git ... ok
[INFO] [stdout] test git::tests::test_summary_delete_binary_file ... ok
[INFO] [stdout] test git::tests::test_summary_add_binary_file ... ok
[INFO] [stdout] test git::tests::test_commit_staged_files_integration ... ok
[INFO] [stdout] test git::tests::test_get_previous_commit_message_with_multiline_commit ... ok
[INFO] [stdout] test git::tests::test_has_staged_files_after_commit ... ok
[INFO] [stdout] test prompt::tests::test_build_prompt_basic ... ok
[INFO] [stdout] test prompt::tests::test_build_prompt_multiple_suggestions ... ok
[INFO] [stdout] test git::tests::test_amend_commit_successful ... ok
[INFO] [stdout] test git::tests::test_summary_add_text_file ... ok
[INFO] [stdout] test prompt::tests::test_diff_reading_guide_generation_updated_markers ... ok
[INFO] [stdout] test prompt::tests::test_build_prompt_no_textual_diff ... ok
[INFO] [stdout] test prompt::tests::test_type_selection_guidance_generation ... ok
[INFO] [stdout] test git::tests::test_get_staged_diff_no_staged_files_returns_empty_string ... ok
[INFO] [stdout] test prompt::tests::test_format_commit_types_for_prompt ... ok
[INFO] [stdout] test prompt::tests::test_build_prompt_with_amend_single_suggestion ... ok
[INFO] [stdout] test git::tests::test_get_staged_diff_with_staged_text_modification_integration ... ok
[INFO] [stdout] test git::tests::test_get_previous_commit_message_with_commit ... ok
[INFO] [stdout] test git::tests::test_summary_no_staged_files ... ok
[INFO] [stdout] test git::tests::test_summary_delete_text_file ... ok
[INFO] [stdout] test git::tests::test_summary_rename_with_common_prefix_suffix_binary ... ok
[INFO] [stdout] test git::tests::test_amend_commit_empty_message_fails ... ok
[INFO] [stdout] test git::tests::test_summary_rename_directory_with_files ... ok
[INFO] [stdout] test git::tests::test_summary_rename_binary_file ... ok
[INFO] [stdout] test git::tests::test_summary_modify_binary_file ... ok
[INFO] [stdout] test git::tests::test_summary_rename_text_file ... ok
[INFO] [stdout] test git::tests::test_summary_mixed_changes ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 52 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.26s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "9c62b741c9e4db4d3a0e12f70edad36a62caef21a5b82ec54b7cd75df3480b53", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9c62b741c9e4db4d3a0e12f70edad36a62caef21a5b82ec54b7cd75df3480b53", kill_on_drop: false }`
[INFO] [stdout] 9c62b741c9e4db4d3a0e12f70edad36a62caef21a5b82ec54b7cd75df3480b53
