[INFO] fetching crate commitcraft 1.1.0... [INFO] testing commitcraft-1.1.0 against 1.90.0 for beta-1.91-3 [INFO] extracting crate commitcraft 1.1.0 into /workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate commitcraft 1.1.0 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "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 question v0.2.2 [INFO] [stderr] Downloaded async-convert v1.0.0 [INFO] [stderr] Downloaded backoff v0.4.0 [INFO] [stderr] Downloaded eventsource-stream v0.2.3 [INFO] [stderr] Downloaded jiff-static v0.2.14 [INFO] [stderr] Downloaded h2 v0.4.10 [INFO] [stderr] Downloaded rustyline v14.0.0 [INFO] [stderr] Downloaded reqwest-eventsource v0.4.0 [INFO] [stderr] Downloaded async-openai v0.19.1 [INFO] [stderr] Downloaded windows-registry v0.5.2 [INFO] [stderr] Downloaded spinners v4.1.1 [INFO] [stderr] Downloaded reqwest v0.12.19 [INFO] [stderr] Downloaded jiff v0.2.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6bffe22bf22de012da65407ef09c2f2eaa6eb8ab80632652f71799e4711784e [INFO] running `Command { std: "docker" "start" "-a" "b6bffe22bf22de012da65407ef09c2f2eaa6eb8ab80632652f71799e4711784e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6bffe22bf22de012da65407ef09c2f2eaa6eb8ab80632652f71799e4711784e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6bffe22bf22de012da65407ef09c2f2eaa6eb8ab80632652f71799e4711784e", kill_on_drop: false }` [INFO] [stdout] b6bffe22bf22de012da65407ef09c2f2eaa6eb8ab80632652f71799e4711784e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0c57b13449552bf1dd19ee99fe1b6023a84807e40423b94390a49e389b62df3 [INFO] running `Command { std: "docker" "start" "-a" "e0c57b13449552bf1dd19ee99fe1b6023a84807e40423b94390a49e389b62df3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [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 futures-io v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling tracing-attributes v0.1.29 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling darling_core v0.14.4 [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 pest_generator v2.8.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Compiling yaml-rust2 v0.8.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling clap_builder v4.5.39 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling rust-ini v0.20.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling async-convert v1.0.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling jiff v0.2.14 [INFO] [stderr] Compiling fd-lock v4.0.4 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling question v0.2.2 [INFO] [stderr] Compiling rustyline v14.0.0 [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 strum v0.24.1 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling spinners v4.1.1 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling clap v4.5.39 [INFO] [stderr] Compiling config v0.14.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.19 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [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 23s [INFO] running `Command { std: "docker" "inspect" "e0c57b13449552bf1dd19ee99fe1b6023a84807e40423b94390a49e389b62df3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0c57b13449552bf1dd19ee99fe1b6023a84807e40423b94390a49e389b62df3", kill_on_drop: false }` [INFO] [stdout] e0c57b13449552bf1dd19ee99fe1b6023a84807e40423b94390a49e389b62df3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bebce66d698241a70f450d4b1803eacbd5ee9fa6c26e0896978f7a580f1dc813 [INFO] running `Command { std: "docker" "start" "-a" "bebce66d698241a70f450d4b1803eacbd5ee9fa6c26e0896978f7a580f1dc813", 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)]` 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)]` 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)]` 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.06s [INFO] running `Command { std: "docker" "inspect" "bebce66d698241a70f450d4b1803eacbd5ee9fa6c26e0896978f7a580f1dc813", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bebce66d698241a70f450d4b1803eacbd5ee9fa6c26e0896978f7a580f1dc813", kill_on_drop: false }` [INFO] [stdout] bebce66d698241a70f450d4b1803eacbd5ee9fa6c26e0896978f7a580f1dc813 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f0b49e08a72f116da08837f7339414561db7ac9b44f252787c46d714d144c6e3 [INFO] running `Command { std: "docker" "start" "-a" "f0b49e08a72f116da08837f7339414561db7ac9b44f252787c46d714d144c6e3", kill_on_drop: false }` [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] 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)]` 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)]` 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)]` 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] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/commitcraft-75f747bfcf76c404) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test config::tests::test_models_default ... ok [INFO] [stdout] test cli::tests::test_cli_parse_dry_run_and_force ... ok [INFO] [stdout] test cli::tests::test_cli_parse_provider_and_model ... ok [INFO] [stdout] test providers::gemini::tests::test_gemini_text_response_deserialize ... ok [INFO] [stdout] test providers::gemini::tests::test_gemini_response_deserialize ... ok [INFO] [stdout] test providers::anthropic::tests::test_anthropic_text_response_deserialize ... ok [INFO] [stdout] test cli::tests::test_cli_parse_setup_command ... ok [INFO] [stdout] test config::tests::test_config_serialization ... 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 config::tests::test_api_keys_default ... 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 providers::openai::tests::test_openai_provider_new ... ok [INFO] [stdout] test config::tests::test_config_default ... ok [INFO] [stdout] test providers::gemini::tests::test_gemini_provider_new ... ok [INFO] [stdout] test providers::anthropic::tests::test_anthropic_provider_new ... ok [INFO] [stdout] test git::tests::test_commit_with_invalid_message ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/commitcraft-89f48f30268fa020) [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/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-5a91702b47c6e0d9) [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] [stderr] Running tests/unit_tests.rs (/opt/rustwide/target/debug/deps/unit_tests-99609bf9a0238982) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test unit_tests::test_json_schema_generation ... ok [INFO] [stdout] test unit_tests::test_gemini_response_parsing ... ok [INFO] [stdout] test unit_tests::test_openai_response_parsing ... ok [INFO] [stdout] test unit_tests::test_anthropic_response_parsing ... ok [INFO] [stdout] test unit_tests::test_conventional_commit_format_validation ... 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_provider_initialization ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] [stderr] Doc-tests commitcraft [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" "f0b49e08a72f116da08837f7339414561db7ac9b44f252787c46d714d144c6e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0b49e08a72f116da08837f7339414561db7ac9b44f252787c46d714d144c6e3", kill_on_drop: false }` [INFO] [stdout] f0b49e08a72f116da08837f7339414561db7ac9b44f252787c46d714d144c6e3