[INFO] cloning repository https://github.com/darkin100/i-am-committed [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/darkin100/i-am-committed" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarkin100%2Fi-am-committed", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarkin100%2Fi-am-committed'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2e93039a5a87c93bb246fbfe866b386c105cb09d [INFO] testing darkin100/i-am-committed against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarkin100%2Fi-am-committed" "/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/darkin100/i-am-committed [INFO] finished tweaking git repo https://github.com/darkin100/i-am-committed [INFO] tweaked toml for git repo https://github.com/darkin100/i-am-committed written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/darkin100/i-am-committed on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/darkin100/i-am-committed 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-socks v0.5.2 [INFO] [stderr] Downloaded redox_termios v0.1.3 [INFO] [stderr] Downloaded clap v4.5.28 [INFO] [stderr] Downloaded termion v4.0.3 [INFO] [stderr] Downloaded openssl-sys v0.9.105 [INFO] [stderr] Downloaded fern v0.6.2 [INFO] [stderr] Downloaded openai-api-rs v5.2.6 [INFO] [stderr] Downloaded openssl v0.10.70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05fe8152947be96577326cb2f4109b6ecce88641e47e23e1192a2e297bdf0600 [INFO] running `Command { std: "docker" "start" "-a" "05fe8152947be96577326cb2f4109b6ecce88641e47e23e1192a2e297bdf0600", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05fe8152947be96577326cb2f4109b6ecce88641e47e23e1192a2e297bdf0600", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05fe8152947be96577326cb2f4109b6ecce88641e47e23e1192a2e297bdf0600", kill_on_drop: false }` [INFO] [stdout] 05fe8152947be96577326cb2f4109b6ecce88641e47e23e1192a2e297bdf0600 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65f91a6998fdbcd8d78b508fc1037bf0f89c75efe958d287b08558579495772e [INFO] running `Command { std: "docker" "start" "-a" "65f91a6998fdbcd8d78b508fc1037bf0f89c75efe958d287b08558579495772e", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling openssl v0.10.70 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling native-tls v0.2.13 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling cc v1.2.11 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling data-encoding v2.7.0 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling clap_builder v4.5.27 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling numtoa v0.2.4 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling termion v4.0.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tempfile v3.16.0 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling fern v0.6.2 [INFO] [stderr] Compiling openssl-sys v0.9.105 [INFO] [stderr] Compiling regex v1.11.1 [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 tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap v4.5.28 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling tungstenite v0.24.0 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-socks v0.5.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling openai-api-rs v5.2.6 [INFO] [stderr] Compiling iamcommitted v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `with_working_dir` is never used [INFO] [stdout] --> src/git/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl GitClient { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn with_working_dir(dir: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 34s [INFO] running `Command { std: "docker" "inspect" "65f91a6998fdbcd8d78b508fc1037bf0f89c75efe958d287b08558579495772e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65f91a6998fdbcd8d78b508fc1037bf0f89c75efe958d287b08558579495772e", kill_on_drop: false }` [INFO] [stdout] 65f91a6998fdbcd8d78b508fc1037bf0f89c75efe958d287b08558579495772e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2bbb52e64f3c3f2746ba12ef8427c9cd59bb6a7138e27d737be812cb9489595f [INFO] running `Command { std: "docker" "start" "-a" "2bbb52e64f3c3f2746ba12ef8427c9cd59bb6a7138e27d737be812cb9489595f", kill_on_drop: false }` [INFO] [stderr] Compiling iamcommitted v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.72s [INFO] running `Command { std: "docker" "inspect" "2bbb52e64f3c3f2746ba12ef8427c9cd59bb6a7138e27d737be812cb9489595f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bbb52e64f3c3f2746ba12ef8427c9cd59bb6a7138e27d737be812cb9489595f", kill_on_drop: false }` [INFO] [stdout] 2bbb52e64f3c3f2746ba12ef8427c9cd59bb6a7138e27d737be812cb9489595f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 79ca5e3c3eef5be589a9ce09cf2448ba1b5df6e5ae6f9ed44a43931cae1b7958 [INFO] running `Command { std: "docker" "start" "-a" "79ca5e3c3eef5be589a9ce09cf2448ba1b5df6e5ae6f9ed44a43931cae1b7958", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/iamcommitted-a4b1c9c5ff631759) [INFO] [stdout] [INFO] [stdout] running 29 tests [INFO] [stdout] test ai::tests::test_custom_endpoint ... ok [INFO] [stdout] test ai::tests::test_iac_openai_endpoint_precedence ... ok [INFO] [stdout] test ai::tests::test_iac_openai_model_precedence ... ok [INFO] [stdout] test ai::tests::test_generate_commit_message ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_format_message_with_backticks ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_format_message_with_multiline_backticks ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_format_message_with_bash_keyword ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_format_message_with_markdown_code_block_shell ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_format_message_with_single_backticks ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_format_message_with_markdown_code_block_multiline ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_format_message_with_commit_message_tags ... ok [INFO] [stdout] test ai::tests::test_new_client_with_invalid_key ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_format_message_with_combined_patterns ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_format_message_with_markdown_code_block_sh ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_format_message_with_markdown_code_block_plaintext ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_format_message_with_plaintext_keyword ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_format_message ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_format_message_with_commit_message_tags_and_backticks ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_format_message_with_shell_keyword ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_format_message_with_multiline_commit_message_tags ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_format_message_with_sh_keyword ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_real_llm_examples_from_issue ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_format_message_with_text_keyword ... ok [INFO] [stdout] test config::tests::test_config_dir_creation ... ok [INFO] [stdout] test config::tests::test_prompts_path ... ok [INFO] [stdout] test git::tests::test_has_staged_changes_with_no_changes ... ok [INFO] [stdout] test git::tests::test_has_staged_changes_with_changes ... ok [INFO] [stdout] test git::tests::test_get_staged_files ... ok [INFO] [stdout] test git::tests::test_commit ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/iamcommitted-4361eda20d3e5437) [INFO] [stdout] [INFO] [stdout] running 34 tests [INFO] [stdout] test ai::tests::test_custom_endpoint ... ok [INFO] [stdout] test ai::tests::test_iac_openai_model_precedence ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_format_message_with_backticks ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_format_message_with_commit_message_tags_and_backticks ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_format_message ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_format_message_with_multiline_backticks ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_format_message_with_combined_patterns ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_format_message_with_markdown_code_block_plaintext ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_format_message_with_plaintext_keyword ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_format_message_with_commit_message_tags ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_format_message_with_multiline_commit_message_tags ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_format_message_with_markdown_code_block_multiline ... ok [INFO] [stdout] test ai::tests::test_generate_commit_message ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_format_message_with_bash_keyword ... ok [INFO] [stdout] test ai::tests::test_iac_openai_endpoint_precedence ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_format_message_with_markdown_code_block_shell ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_format_message_with_sh_keyword ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_format_message_with_shell_keyword ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_format_message_with_single_backticks ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_format_message_with_text_keyword ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_real_llm_examples_from_issue ... ok [INFO] [stdout] test tests::test_help_contains_environment_variables ... ok [INFO] [stdout] test tests::test_short_help_format ... ok [INFO] [stdout] test tests::test_help_contains_usage_examples ... ok [INFO] [stdout] test commit_formatter::formatter::tests::test_format_message_with_markdown_code_block_sh ... ok [INFO] [stdout] test tests::test_version_info ... ok [INFO] [stdout] test tests::test_verbose_flag_documentation ... ok [INFO] [stdout] test config::tests::test_config_dir_creation ... ok [INFO] [stdout] test config::tests::test_prompts_path ... ok [INFO] [stdout] test git::tests::test_has_staged_changes_with_no_changes ... ok [INFO] [stdout] test git::tests::test_has_staged_changes_with_changes ... ok [INFO] [stdout] test git::tests::test_commit ... ok [INFO] [stdout] test git::tests::test_get_staged_files ... ok [INFO] [stdout] test ai::tests::test_new_client_with_invalid_key ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- ai::tests::test_new_client_with_invalid_key stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'ai::tests::test_new_client_with_invalid_key' panicked at src/ai/mod.rs:207:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "gpt-4" [INFO] [stdout] right: "gpt-4o-mini" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x57d022a6a2b2 - std::backtrace_rs::backtrace::libunwind::trace::hd39b1f53d3cf9745 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x57d022a6a2b2 - std::backtrace_rs::backtrace::trace_unsynchronized::he91d9a75d4e3972b [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x57d022a6a2b2 - std::sys::backtrace::_print_fmt::hca46938f8c6e22cf [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x57d022a6a2b2 - ::fmt::ha499add612cccf8e [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x57d022a93923 - core::fmt::rt::Argument::fmt::hd21145b75a833b7a [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x57d022a93923 - core::fmt::write::hb10c956f5235c8a4 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/mod.rs:1465:25 [INFO] [stdout] 6: 0x57d022a66743 - std::io::default_write_fmt::hdb7615052be2ba4d [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x57d022a66743 - std::io::Write::write_fmt::he1bcd251ec6e4153 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x57d022a6a102 - std::sys::backtrace::BacktraceLock::print::hb47c770ef659fd10 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x57d022a6b8cc - std::panicking::default_hook::{{closure}}::hdda8afb9d457a22c [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x57d022a6b722 - std::panicking::default_hook::h7c46b44874fe5c9a [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x57d0227d4b94 - as core::ops::function::Fn>::call::h178a5fcedee41e2f [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x57d0227d4b94 - test::test_main_with_exit_callback::{{closure}}::h951a41e0149d6d5d [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x57d022a6c3ab - as core::ops::function::Fn>::call::h13602080f5b63276 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x57d022a6c3ab - std::panicking::rust_panic_with_hook::ha6cb99ed099eb1c5 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x57d022a6c07a - std::panicking::begin_panic_handler::{{closure}}::he11808bc797ee921 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x57d022a6a7b9 - std::sys::backtrace::__rust_end_short_backtrace::h9418807cb7346258 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x57d022a6bd0d - __rustc[18fb429eef004894]::rust_begin_unwind [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x57d022a91cf0 - core::panicking::panic_fmt::hd890aeb12c3a3fc3 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x57d022a91fe8 - core::panicking::assert_failed_inner::h02e1528dd7bc6647 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panicking.rs:448:17 [INFO] [stdout] 20: 0x57d022785844 - core::panicking::assert_failed::h1ca65008d4d55eb5 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panicking.rs:403:5 [INFO] [stdout] 21: 0x57d022772d33 - iamcommitted::ai::tests::test_new_client_with_invalid_key::hb8965b30c5c063a0 [INFO] [stdout] at /opt/rustwide/workdir/src/ai/mod.rs:207:9 [INFO] [stdout] 22: 0x57d022796529 - iamcommitted::ai::tests::test_new_client_with_invalid_key::{{closure}}::hd6a4e4888d9337d0 [INFO] [stdout] at /opt/rustwide/workdir/src/ai/mod.rs:200:42 [INFO] [stdout] 23: 0x57d022796529 - core::ops::function::FnOnce::call_once::h86e7ec9d11ba84e9 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x57d0227da31b - core::ops::function::FnOnce::call_once::h2869fb5b0a2b0bdc [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x57d0227da31b - test::__rust_begin_short_backtrace::h7dd7142bd62fa711 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x57d0227d950e - test::run_test_in_process::{{closure}}::h43a753f038d36b3f [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x57d0227d950e - as core::ops::function::FnOnce<()>>::call_once::h0ca95dd3e12d1e16 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x57d0227d950e - std::panicking::catch_unwind::do_call::he308587d70ac34ba [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x57d0227d950e - std::panicking::catch_unwind::h30dcba31973e8fb0 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x57d0227d950e - std::panic::catch_unwind::hfb68364e5621fbee [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x57d0227d950e - test::run_test_in_process::hcdcc2977903b998a [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x57d0227d950e - test::run_test::{{closure}}::h544a6550958c5d14 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x57d02279d084 - test::run_test::{{closure}}::hb172e48ebe2b92c7 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x57d02279d084 - std::sys::backtrace::__rust_begin_short_backtrace::h7e79d8706638bea0 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x57d0227a0a5a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc4a275f1e71b8ab0 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x57d0227a0a5a - as core::ops::function::FnOnce<()>>::call_once::h01ed0d242df78cfd [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x57d0227a0a5a - std::panicking::catch_unwind::do_call::h052f373fb905fee0 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x57d0227a0a5a - std::panicking::catch_unwind::hb425d20c8ffb09c8 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x57d0227a0a5a - std::panic::catch_unwind::ha0d5dfbf18fdeda5 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x57d0227a0a5a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbe79182bd37949c7 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x57d0227a0a5a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc096c4a06972fde5 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x57d022a6f527 - as core::ops::function::FnOnce>::call_once::h47377e27fb938a26 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 43: 0x57d022a6f527 - as core::ops::function::FnOnce>::call_once::h72f1fe5d095abf57 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 44: 0x57d022a6f527 - std::sys::pal::unix::thread::Thread::new::thread_start::h0a4d8e1b9c0d38cf [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 45: 0x7c14c2f37aa4 - [INFO] [stdout] 46: 0x7c14c2fc4a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] ai::tests::test_new_client_with_invalid_key [INFO] [stdout] [INFO] [stdout] test result: FAILED. 33 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin iamcommitted` [INFO] running `Command { std: "docker" "inspect" "79ca5e3c3eef5be589a9ce09cf2448ba1b5df6e5ae6f9ed44a43931cae1b7958", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79ca5e3c3eef5be589a9ce09cf2448ba1b5df6e5ae6f9ed44a43931cae1b7958", kill_on_drop: false }` [INFO] [stdout] 79ca5e3c3eef5be589a9ce09cf2448ba1b5df6e5ae6f9ed44a43931cae1b7958