[INFO] fetching crate commitcraft 1.1.0... [INFO] testing commitcraft-1.1.0 against try#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628 [INFO] extracting crate commitcraft 1.1.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate commitcraft 1.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate commitcraft 1.1.0 [INFO] tweaked toml for crates.io crate commitcraft 1.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate commitcraft 1.1.0 on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate commitcraft 1.1.0 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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0ee87b18fa38b9735500a4ff5d10053a07495645081a28f7d6957a1ac8bd50b [INFO] running `Command { std: "docker" "start" "-a" "d0ee87b18fa38b9735500a4ff5d10053a07495645081a28f7d6957a1ac8bd50b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0ee87b18fa38b9735500a4ff5d10053a07495645081a28f7d6957a1ac8bd50b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0ee87b18fa38b9735500a4ff5d10053a07495645081a28f7d6957a1ac8bd50b", kill_on_drop: false }` [INFO] [stdout] d0ee87b18fa38b9735500a4ff5d10053a07495645081a28f7d6957a1ac8bd50b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db574b588f191bcba49bab532186b5efdec7f95fbd60be73101f221596e233ca [INFO] running `Command { std: "docker" "start" "-a" "db574b588f191bcba49bab532186b5efdec7f95fbd60be73101f221596e233ca", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cc v1.2.26 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling webpki-roots v1.0.0 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling clap_builder v4.5.39 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling jiff v0.2.14 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling question v0.2.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling rust-ini v0.20.0 [INFO] [stderr] Compiling yaml-rust2 v0.8.1 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.29 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling async-convert v1.0.0 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Compiling spinners v4.1.1 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling derive_builder v0.12.0 [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.39 [INFO] [stderr] Compiling pest_meta v2.8.0 [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 pest_generator v2.8.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling fd-lock v4.0.4 [INFO] [stderr] Compiling rustyline v14.0.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling config v0.14.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.12.19 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling reqwest-eventsource v0.4.0 [INFO] [stderr] Compiling async-openai v0.19.1 [INFO] [stderr] Compiling commitcraft v1.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 16s [INFO] running `Command { std: "docker" "inspect" "db574b588f191bcba49bab532186b5efdec7f95fbd60be73101f221596e233ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db574b588f191bcba49bab532186b5efdec7f95fbd60be73101f221596e233ca", kill_on_drop: false }` [INFO] [stdout] db574b588f191bcba49bab532186b5efdec7f95fbd60be73101f221596e233ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72e8d86c027809203c87e690a31648b400ec4c546b1ec168fd485111cfb89fdb [INFO] running `Command { std: "docker" "start" "-a" "72e8d86c027809203c87e690a31648b400ec4c546b1ec168fd485111cfb89fdb", kill_on_drop: false }` [INFO] [stderr] Compiling commitcraft v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `schemars::JsonSchema` [INFO] [stdout] --> tests/unit_tests.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `openai` [INFO] [stdout] --> tests/unit_tests.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let openai = OpenAIProvider::new("test_key".to_string(), "gpt-4".to_string()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_openai` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gemini` [INFO] [stdout] --> tests/unit_tests.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let gemini = GeminiProvider::new("test_key".to_string(), "gemini-1.5-flash".to_string()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_gemini` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `anthropic` [INFO] [stdout] --> tests/unit_tests.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let anthropic = AnthropicProvider::new( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_anthropic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title` and `description` are never read [INFO] [stdout] --> tests/unit_tests.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 250 | struct TestCommit { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 251 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 252 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/providers/gemini.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | if let Part::Text { text } = &resp.candidates[0].content.parts[0] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/providers/gemini.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | if let Part::Text { text } = &resp.candidates[0].content.parts[0] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.67s [INFO] running `Command { std: "docker" "inspect" "72e8d86c027809203c87e690a31648b400ec4c546b1ec168fd485111cfb89fdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72e8d86c027809203c87e690a31648b400ec4c546b1ec168fd485111cfb89fdb", kill_on_drop: false }` [INFO] [stdout] 72e8d86c027809203c87e690a31648b400ec4c546b1ec168fd485111cfb89fdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b9283a04f1fa8746481b5ba3293ac78e52516045b704b1aca08e6383b475a886 [INFO] running `Command { std: "docker" "start" "-a" "b9283a04f1fa8746481b5ba3293ac78e52516045b704b1aca08e6383b475a886", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `schemars::JsonSchema` [INFO] [stderr] --> tests/unit_tests.rs:246:13 [INFO] [stderr] | [INFO] [stderr] 246 | use schemars::JsonSchema; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `openai` [INFO] [stderr] --> tests/unit_tests.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | let openai = OpenAIProvider::new("test_key".to_string(), "gpt-4".to_string()); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_openai` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `gemini` [INFO] [stderr] --> tests/unit_tests.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | let gemini = GeminiProvider::new("test_key".to_string(), "gemini-1.5-flash".to_string()); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_gemini` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `anthropic` [INFO] [stderr] --> tests/unit_tests.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | let anthropic = AnthropicProvider::new( [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_anthropic` [INFO] [stderr] [INFO] [stderr] warning: fields `title` and `description` are never read [INFO] [stderr] --> tests/unit_tests.rs:251:13 [INFO] [stderr] | [INFO] [stderr] 250 | struct TestCommit { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 251 | title: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 252 | description: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `commitcraft` (test "unit_tests") generated 5 warnings (run `cargo fix --test "unit_tests"` to apply 1 suggestion) [INFO] [stderr] warning: irrefutable `if let` pattern [INFO] [stderr] --> src/providers/gemini.rs:186:12 [INFO] [stderr] | [INFO] [stderr] 186 | if let Part::Text { text } = &resp.candidates[0].content.parts[0] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this pattern will always match, so the `if let` is useless [INFO] [stderr] = help: consider replacing the `if let` with a `let` [INFO] [stderr] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: irrefutable `if let` pattern [INFO] [stderr] --> src/providers/gemini.rs:212:12 [INFO] [stderr] | [INFO] [stderr] 212 | if let Part::Text { text } = &resp.candidates[0].content.parts[0] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this pattern will always match, so the `if let` is useless [INFO] [stderr] = help: consider replacing the `if let` with a `let` [INFO] [stderr] [INFO] [stderr] warning: `commitcraft` (lib test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/commitcraft-1fbdb2d6bd0fe04c) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test cli::tests::test_cli_parse_dry_run_and_force ... ok [INFO] [stdout] test config::tests::test_api_keys_default ... ok [INFO] [stdout] test config::tests::test_config_default ... ok [INFO] [stdout] test cli::tests::test_cli_parse_setup_command ... ok [INFO] [stdout] test config::tests::test_models_default ... ok [INFO] [stdout] test cli::tests::test_cli_parse_provider_and_model ... ok [INFO] [stdout] test config::tests::test_config_serialization ... ok [INFO] [stdout] test providers::anthropic::tests::test_anthropic_text_response_deserialize ... ok [INFO] [stdout] test providers::anthropic::tests::test_anthropic_response_deserialize ... ok [INFO] [stdout] test providers::tests::test_generated_commit_to_string ... ok [INFO] [stdout] test providers::gemini::tests::test_gemini_response_deserialize ... ok [INFO] [stdout] test providers::gemini::tests::test_gemini_text_response_deserialize ... ok [INFO] [stdout] test providers::openai::tests::test_openai_provider_new ... ok [INFO] [stdout] test git::tests::test_is_git_repository_false ... ok [INFO] [stdout] test git::tests::test_get_staged_diff_no_staged_files ... ok [INFO] [stdout] test git::tests::test_commit_with_invalid_message ... ok [INFO] [stdout] test providers::anthropic::tests::test_anthropic_provider_new ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/commitcraft-d1007a04292a7ab5) [INFO] [stdout] test providers::gemini::tests::test_gemini_provider_new ... ok [INFO] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-ca7ded6571d79498) [INFO] [stdout] [INFO] [stderr] Running tests/unit_tests.rs (/opt/rustwide/target/debug/deps/unit_tests-b197b58a898e714f) [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [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] [stdout] running 4 tests [INFO] [stdout] test integration_tests::test_all_providers_consistency ... ignored, requires all API keys [INFO] [stdout] test integration_tests::test_anthropic_integration ... ignored, requires Anthropic API key [INFO] [stdout] test integration_tests::test_gemini_integration ... ignored, requires Gemini API key [INFO] [stdout] test integration_tests::test_openai_integration ... ignored, requires OpenAI API key [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 4 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test unit_tests::test_anthropic_response_parsing ... ok [INFO] [stdout] test unit_tests::test_openai_response_parsing ... ok [INFO] [stdout] test unit_tests::test_gemini_response_parsing ... ok [INFO] [stdout] test mock_tests::test_mock_provider_success ... ok [INFO] [stdout] test mock_tests::test_mock_provider_failure ... ok [INFO] [stdout] test unit_tests::test_conventional_commit_format_validation ... ok [INFO] [stdout] test unit_tests::test_json_schema_generation ... ok [INFO] [stdout] test unit_tests::test_provider_initialization ... ok [INFO] [stderr] Doc-tests commitcraft [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [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" "b9283a04f1fa8746481b5ba3293ac78e52516045b704b1aca08e6383b475a886", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9283a04f1fa8746481b5ba3293ac78e52516045b704b1aca08e6383b475a886", kill_on_drop: false }` [INFO] [stdout] b9283a04f1fa8746481b5ba3293ac78e52516045b704b1aca08e6383b475a886