[INFO] cloning repository https://github.com/stakpak/ai
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stakpak/ai" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstakpak%2Fai", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstakpak%2Fai'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1f216b3243e613a97079a3b3bbd8fe874b8c3d04
[INFO] testing stakpak/ai against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstakpak%2Fai" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/stakpak/ai
[INFO] finished tweaking git repo https://github.com/stakpak/ai
[INFO] tweaked toml for git repo https://github.com/stakpak/ai written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/stakpak/ai on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/stakpak/ai 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e51852465ab3b12c0f3bcab3fe15b8c76ab07086cc53b6409a7ca061a4845027
[INFO] running `Command { std: "docker" "start" "-a" "e51852465ab3b12c0f3bcab3fe15b8c76ab07086cc53b6409a7ca061a4845027", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e51852465ab3b12c0f3bcab3fe15b8c76ab07086cc53b6409a7ca061a4845027", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e51852465ab3b12c0f3bcab3fe15b8c76ab07086cc53b6409a7ca061a4845027", kill_on_drop: false }`
[INFO] [stdout] e51852465ab3b12c0f3bcab3fe15b8c76ab07086cc53b6409a7ca061a4845027
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d47455fe1e308b2740fba3a5850733ad98ace2d80dbd34e60d9ac382ef91a78a
[INFO] running `Command { std: "docker" "start" "-a" "d47455fe1e308b2740fba3a5850733ad98ace2d80dbd34e60d9ac382ef91a78a", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.2.48
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling mio v1.1.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.7
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling tracing v0.1.43
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling futures-timer v3.0.3
[INFO] [stderr]    Compiling uuid v1.18.1
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling eventsource-stream v0.2.3
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.1
[INFO] [stderr]    Compiling tokio-util v0.7.17
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling h2 v0.4.12
[INFO] [stderr]    Compiling tower-http v0.6.7
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling hyper-util v0.1.18
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.24
[INFO] [stderr]    Compiling reqwest-eventsource v0.6.0
[INFO] [stderr]    Compiling stakai v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.73s
[INFO] running `Command { std: "docker" "inspect" "d47455fe1e308b2740fba3a5850733ad98ace2d80dbd34e60d9ac382ef91a78a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d47455fe1e308b2740fba3a5850733ad98ace2d80dbd34e60d9ac382ef91a78a", kill_on_drop: false }`
[INFO] [stdout] d47455fe1e308b2740fba3a5850733ad98ace2d80dbd34e60d9ac382ef91a78a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] faf60bb1aae357c88891e7111639b32a3225a9236a3a0088aa9b5b70bcd61591
[INFO] running `Command { std: "docker" "start" "-a" "faf60bb1aae357c88891e7111639b32a3225a9236a3a0088aa9b5b70bcd61591", kill_on_drop: false }`
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling assert-json-diff v2.0.2
[INFO] [stderr]    Compiling colored v3.0.0
[INFO] [stderr]    Compiling similar v2.7.0
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling uuid v1.18.1
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling tokio-util v0.7.17
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling tower-http v0.6.7
[INFO] [stderr]    Compiling tokio-test v0.4.4
[INFO] [stderr]    Compiling h2 v0.4.12
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling hyper-util v0.1.18
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling mockito v1.7.1
[INFO] [stderr]    Compiling reqwest v0.12.24
[INFO] [stderr]    Compiling reqwest-eventsource v0.6.0
[INFO] [stderr]    Compiling stakai v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 42.44s
[INFO] running `Command { std: "docker" "inspect" "faf60bb1aae357c88891e7111639b32a3225a9236a3a0088aa9b5b70bcd61591", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "faf60bb1aae357c88891e7111639b32a3225a9236a3a0088aa9b5b70bcd61591", kill_on_drop: false }`
[INFO] [stdout] faf60bb1aae357c88891e7111639b32a3225a9236a3a0088aa9b5b70bcd61591
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 964c4fd33c355fe41ca61f672c2f65fdb6aed5ced38333f9004bf21e3494dc46
[INFO] running `Command { std: "docker" "start" "-a" "964c4fd33c355fe41ca61f672c2f65fdb6aed5ced38333f9004bf21e3494dc46", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/stakai-0e2b80f781cc7861)
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/stakai-3e8f7f7e7e0aaa19)
[INFO] [stdout] test providers::gemini::stream::tests::test_process_gemini_response ... ok
[INFO] [stdout] test providers::anthropic::stream::tests::test_process_text_delta ... ok
[INFO] [stdout] test types::headers::tests::test_headers_basic ... ok
[INFO] [stdout] test providers::anthropic::convert::tests::test_parse_image_source ... ok
[INFO] [stdout] test types::headers::tests::test_headers_from_array ... ok
[INFO] [stdout] test providers::gemini::convert::tests::test_parse_image_data ... ok
[INFO] [stdout] test types::headers::tests::test_headers_from_tuple ... ok
[INFO] [stdout] test providers::anthropic::convert::tests::test_infer_max_tokens ... ok
[INFO] [stdout] test types::headers::tests::test_headers_merge ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/lib.rs (/opt/rustwide/target/debug/deps/lib-173b49aa4315589a)
[INFO] [stdout] 
[INFO] [stdout] running 34 tests
[INFO] [stdout] test integration::openai::test_openai_explicit_provider ... ignored
[INFO] [stdout] test integration::openai::test_openai_generate ... ignored
[INFO] [stdout] test integration::openai::test_openai_streaming ... ignored
[INFO] [stdout] test integration::openai::test_openai_temperature_variation ... ignored
[INFO] [stdout] test integration::openai::test_openai_with_system_message ... ignored
[INFO] [stdout] test unit::client::test_client_creation ... ok
[INFO] [stdout] test unit::client::test_provider_registry_default ... ok
[INFO] [stdout] test unit::client::test_request_multiple_messages ... ok
[INFO] [stdout] test unit::client::test_request_with_model ... ok
[INFO] [stdout] test unit::provider::test_provider_kind_as_str ... ok
[INFO] [stdout] test unit::provider::test_provider_kind_from_str ... ok
[INFO] [stdout] test unit::provider::test_provider_kind_from_str_invalid ... ok
[INFO] [stdout] test unit::client::test_request_creation ... ok
[INFO] [stdout] test unit::client::test_provider_registry_creation ... ok
[INFO] [stdout] test unit::types::test_content_part_image ... ok
[INFO] [stdout] test unit::types::test_content_part_image_with_detail ... ok
[INFO] [stdout] test unit::types::test_content_part_text ... ok
[INFO] [stdout] test unit::types::test_generate_request_simple ... ok
[INFO] [stdout] test unit::types::test_response_text_extraction ... ok
[INFO] [stdout] test unit::types::test_finish_reason_serialization ... ok
[INFO] [stdout] test unit::types::test_stream_event_creation ... ok
[INFO] [stdout] test unit::client::test_client_builder ... ok
[INFO] [stdout] test unit::types::test_message_with_name ... ok
[INFO] [stdout] test unit::types::test_message_system ... ok
[INFO] [stdout] test unit::types::test_message_creation ... ok
[INFO] [stdout] test unit::types::test_generate_request_creation ... ok
[INFO] [stdout] test unit::types::test_message_assistant ... ok
[INFO] [stdout] test unit::client::test_client_default ... ok
[INFO] [stdout] test unit::types::test_generate_options ... ok
[INFO] [stdout] test unit::types::test_tool_creation ... ok
[INFO] [stdout] test unit::types::test_usage_default ... ok
[INFO] [stdout] test unit::client::test_registry_list_providers ... ok
[INFO] [stdout] test unit::client::test_client_with_custom_provider ... ok
[INFO] [stderr]    Doc-tests stakai
[INFO] [stdout] test unit::client::test_provider_registry_manual_registration ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 29 passed; 0 failed; 5 ignored; 0 measured; 0 filtered out; finished in 0.24s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 12 tests
[INFO] [stdout] test src/client/config.rs - client::config::InferenceConfig::anthropic (line 115) - compile ... ok
[INFO] [stdout] test src/client/config.rs - client::config::InferenceConfig::gemini (line 155) - compile ... ok
[INFO] [stdout] test src/client/mod.rs - client::Inference::generate (line 64) - compile ... ok
[INFO] [stdout] test src/client/mod.rs - client::Inference::with_config (line 37) - compile ... ok
[INFO] [stdout] test src/client/builder.rs - client::builder::ClientBuilder::with_inference_config (line 28) - compile ... ok
[INFO] [stdout] test src/client/mod.rs - client::Inference::stream (line 93) - compile ... ok
[INFO] [stdout] test src/client/config.rs - client::config::InferenceConfig::openai (line 75) - compile ... ok
[INFO] [stdout] test src/client/config.rs - client::config::InferenceConfig::anthropic_config (line 137) - compile ... ok
[INFO] [stdout] test src/client/config.rs - client::config::InferenceConfig::openai_config (line 97) - compile ... ok
[INFO] [stdout] test src/lib.rs - (line 17) - compile ... ok
[INFO] [stdout] test src/client/config.rs - client::config::InferenceConfig::gemini_config (line 177) - compile ... ok
[INFO] [stdout] test src/client/config.rs - client::config::InferenceConfig (line 47) - compile ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.43s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "964c4fd33c355fe41ca61f672c2f65fdb6aed5ced38333f9004bf21e3494dc46", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "964c4fd33c355fe41ca61f672c2f65fdb6aed5ced38333f9004bf21e3494dc46", kill_on_drop: false }`
[INFO] [stdout] 964c4fd33c355fe41ca61f672c2f65fdb6aed5ced38333f9004bf21e3494dc46
