[INFO] fetching crate xai-grpc-client 0.4.3...
[INFO] testing xai-grpc-client-0.4.3 against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739-1
[INFO] extracting crate xai-grpc-client 0.4.3 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate xai-grpc-client 0.4.3
[INFO] finished tweaking crates.io crate xai-grpc-client 0.4.3
[INFO] tweaked toml for crates.io crate xai-grpc-client 0.4.3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate xai-grpc-client 0.4.3 on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate xai-grpc-client 0.4.3 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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ecd56557f6683d8d69965920533a3826bc40a66f1fa0b228e191a57ef2b382cd
[INFO] running `Command { std: "docker" "start" "-a" "ecd56557f6683d8d69965920533a3826bc40a66f1fa0b228e191a57ef2b382cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ecd56557f6683d8d69965920533a3826bc40a66f1fa0b228e191a57ef2b382cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ecd56557f6683d8d69965920533a3826bc40a66f1fa0b228e191a57ef2b382cd", kill_on_drop: false }`
[INFO] [stdout] ecd56557f6683d8d69965920533a3826bc40a66f1fa0b228e191a57ef2b382cd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5be0037ec8f61598067b3333c5b65245d6777257a8fc3191b4a145c9fa79bf28
[INFO] running `Command { std: "docker" "start" "-a" "5be0037ec8f61598067b3333c5b65245d6777257a8fc3191b4a145c9fa79bf28", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.104
[INFO] [stderr]    Compiling libc v0.2.179
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling indexmap v2.12.1
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]    Compiling pulldown-cmark v0.13.0
[INFO] [stderr]    Compiling rustls-pki-types v1.13.2
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling bytes v1.11.0
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling fixedbitset v0.5.7
[INFO] [stderr]    Compiling rustls v0.23.36
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling rustls-webpki v0.103.8
[INFO] [stderr]    Compiling multimap v0.10.1
[INFO] [stderr]    Compiling zmij v1.0.11
[INFO] [stderr]    Compiling webpki-roots v1.0.5
[INFO] [stderr]    Compiling serde_json v1.0.148
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling secrecy v0.10.3
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling petgraph v0.7.1
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling syn v2.0.113
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling tempfile v3.24.0
[INFO] [stderr]    Compiling pulldown-cmark-to-cmark v21.1.0
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]    Compiling tonic-build v0.14.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling prost-derive v0.14.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling prost v0.14.1
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling prost-types v0.14.1
[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 icu_locale_core v2.1.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling prost-build v0.14.1
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling tonic-prost-build v0.14.2
[INFO] [stderr]    Compiling xai-grpc-client v0.4.3 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling h2 v0.4.13
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling hyper-util v0.1.19
[INFO] [stderr]    Compiling hyper-timeout v0.5.2
[INFO] [stderr]    Compiling tonic v0.14.2
[INFO] [stderr]    Compiling tonic-prost v0.14.2
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.27s
[INFO] running `Command { std: "docker" "inspect" "5be0037ec8f61598067b3333c5b65245d6777257a8fc3191b4a145c9fa79bf28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5be0037ec8f61598067b3333c5b65245d6777257a8fc3191b4a145c9fa79bf28", kill_on_drop: false }`
[INFO] [stdout] 5be0037ec8f61598067b3333c5b65245d6777257a8fc3191b4a145c9fa79bf28
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3e0a49ba8fe26d4ae5289acdb7723400fc45476b56d7e5c02284ba4cd32db237
[INFO] running `Command { std: "docker" "start" "-a" "3e0a49ba8fe26d4ae5289acdb7723400fc45476b56d7e5c02284ba4cd32db237", kill_on_drop: false }`
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling tempfile v3.24.0
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling prost-build v0.14.1
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling tonic-prost-build v0.14.2
[INFO] [stderr]    Compiling xai-grpc-client v0.4.3 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling tokio-test v0.4.5
[INFO] [stderr]    Compiling h2 v0.4.13
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling hyper-util v0.1.19
[INFO] [stderr]    Compiling hyper-timeout v0.5.2
[INFO] [stderr]    Compiling tonic v0.14.2
[INFO] [stderr]    Compiling tonic-prost v0.14.2
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 16.01s
[INFO] running `Command { std: "docker" "inspect" "3e0a49ba8fe26d4ae5289acdb7723400fc45476b56d7e5c02284ba4cd32db237", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3e0a49ba8fe26d4ae5289acdb7723400fc45476b56d7e5c02284ba4cd32db237", kill_on_drop: false }`
[INFO] [stdout] 3e0a49ba8fe26d4ae5289acdb7723400fc45476b56d7e5c02284ba4cd32db237
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 19bdfca470f610acca478f227b0274c8c36362867435f370e76aadc3e1368ad3
[INFO] running `Command { std: "docker" "start" "-a" "19bdfca470f610acca478f227b0274c8c36362867435f370e76aadc3e1368ad3", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/xai_grpc_client-ac500a209ea22b44)
[INFO] [stdout] 
[INFO] [stdout] running 112 tests
[INFO] [stdout] test api_key::tests::test_api_key_info_clone ... ok
[INFO] [stdout] test api_key::tests::test_is_active_when_all_flags_false ... ok
[INFO] [stdout] test api_key::tests::test_from_proto_with_none_timestamps ... ok
[INFO] [stdout] test api_key::tests::test_is_not_active_when_api_key_blocked ... ok
[INFO] [stdout] test api_key::tests::test_from_proto ... ok
[INFO] [stdout] test api_key::tests::test_api_key_info_debug ... ok
[INFO] [stdout] test api_key::tests::test_is_not_active_when_disabled ... ok
[INFO] [stdout] test api_key::tests::test_is_not_active_when_team_blocked ... ok
[INFO] [stdout] test api_key::tests::test_status_string_active ... ok
[INFO] [stdout] test api_key::tests::test_status_string_blocked_key ... ok
[INFO] [stdout] test api_key::tests::test_status_string_blocked_team ... ok
[INFO] [stdout] test api_key::tests::test_status_string_disabled ... ok
[INFO] [stdout] test documents::tests::test_document_search_request_builder ... ok
[INFO] [stdout] test documents::tests::test_document_search_request_clone ... ok
[INFO] [stdout] test documents::tests::test_document_search_request_minimal ... ok
[INFO] [stdout] test documents::tests::test_document_search_response_from_proto ... ok
[INFO] [stdout] test documents::tests::test_ranking_metric ... ok
[INFO] [stdout] test documents::tests::test_search_match_clone ... ok
[INFO] [stdout] test documents::tests::test_search_match_from_proto ... ok
[INFO] [stdout] test embedding::tests::test_embed_request_mixed ... ok
[INFO] [stdout] test embedding::tests::test_embed_request_builder ... ok
[INFO] [stdout] test embedding::tests::test_embedding_usage_from_proto ... ok
[INFO] [stdout] test embedding::tests::test_embed_request_with_images ... ok
[INFO] [stdout] test embedding::tests::test_encoding_format ... ok
[INFO] [stdout] test embedding::tests::test_with_user ... ok
[INFO] [stdout] test error::tests::test_is_not_retryable_invalid_request ... ok
[INFO] [stdout] test error::tests::test_error_display ... ok
[INFO] [stdout] test error::tests::test_is_not_retryable_config ... ok
[INFO] [stdout] test error::tests::test_is_retryable_rate_limit ... ok
[INFO] [stdout] test error::tests::test_is_retryable_rate_limit_first ... ok
[INFO] [stdout] test error::tests::test_is_not_retryable_auth ... ok
[INFO] [stdout] test error::tests::test_is_retryable_status_resource_exhausted ... ok
[INFO] [stdout] test embedding::tests::test_embedding_usage_default ... ok
[INFO] [stdout] test image::tests::test_image_format ... ok
[INFO] [stdout] test image::tests::test_image_request_minimal ... ok
[INFO] [stdout] test error::tests::test_is_retryable_status_deadline ... ok
[INFO] [stdout] test models::tests::test_calculate_cost_large_numbers ... ok
[INFO] [stdout] test error::tests::test_retry_after_none_for_non_rate_limit ... ok
[INFO] [stdout] test models::tests::test_calculate_cost_basic ... ok
[INFO] [stdout] test models::tests::test_language_model_aliases ... ok
[INFO] [stdout] test image::tests::test_image_request_builder ... ok
[INFO] [stdout] test models::tests::test_language_model_from_proto ... ok
[INFO] [stdout] test models::tests::test_modality_from_proto ... ok
[INFO] [stdout] test image::tests::test_generated_image_from_proto_base64 ... ok
[INFO] [stdout] test image::tests::test_image_request_clone ... ok
[INFO] [stdout] test error::tests::test_is_retryable_status_unavailable ... ok
[INFO] [stdout] test image::tests::test_image_response_from_proto ... ok
[INFO] [stdout] test models::tests::test_calculate_cost_zero ... ok
[INFO] [stdout] test image::tests::test_generated_image_from_proto_url ... ok
[INFO] [stdout] test error::tests::test_is_not_retryable_status_permission_denied ... ok
[INFO] [stdout] test models::tests::test_supports_multimodal_text_only ... ok
[INFO] [stdout] test models::tests::test_language_model_debug ... ok
[INFO] [stdout] test models::tests::test_language_model_clone ... ok
[INFO] [stdout] test models::tests::test_calculate_cost_with_cached ... ok
[INFO] [stdout] test image::tests::test_generated_image_from_proto_none ... ok
[INFO] [stdout] test models::tests::test_supports_multimodal_vision ... ok
[INFO] [stdout] test request::tests::test_chat_request_builder ... ok
[INFO] [stdout] test request::tests::test_from_messages_with_options ... ok
[INFO] [stdout] test request::tests::test_include_options_multiple ... ok
[INFO] [stdout] test models::tests::test_supports_multimodal_image_only ... ok
[INFO] [stdout] test request::tests::test_logprobs ... ok
[INFO] [stdout] test request::tests::test_max_turns_single_turn ... ok
[INFO] [stdout] test request::tests::test_from_messages ... ok
[INFO] [stdout] test request::tests::test_multi_turn_tool_calling ... ok
[INFO] [stdout] test request::tests::test_include_options_single ... ok
[INFO] [stdout] test request::tests::test_json_output ... ok
[INFO] [stdout] test request::tests::test_combined_new_features ... ok
[INFO] [stdout] test request::tests::test_file_content_part ... ok
[INFO] [stdout] test request::tests::test_multimodal_message ... ok
[INFO] [stdout] test request::tests::test_max_turns ... ok
[INFO] [stdout] test request::tests::test_multimodal_with_file_and_image ... ok
[INFO] [stdout] test request::tests::test_reasoning_effort ... ok
[INFO] [stdout] test request::tests::test_sampling_parameters ... ok
[INFO] [stdout] test request::tests::test_search_config ... ok
[INFO] [stdout] test request::tests::test_stop_sequences ... ok
[INFO] [stdout] test request::tests::test_stored_messages ... ok
[INFO] [stdout] test request::tests::test_tool_result_message ... ok
[INFO] [stdout] test request::tests::test_tool_result_with_from_messages ... ok
[INFO] [stdout] test request::tests::test_user_with_file ... ok
[INFO] [stdout] test request::tests::test_with_include_options ... ok
[INFO] [stdout] test response::tests::test_chat_chunk ... ok
[INFO] [stdout] test response::tests::test_chat_response_creation ... ok
[INFO] [stdout] test response::tests::test_finish_reason_display ... ok
[INFO] [stdout] test response::tests::test_token_usage_default ... ok
[INFO] [stdout] test response::tests::test_response_with_reasoning ... ok
[INFO] [stdout] test sample::tests::test_sample_choice_finish_reasons ... ok
[INFO] [stdout] test sample::tests::test_sample_request_clone ... ok
[INFO] [stdout] test sample::tests::test_sample_response_from_proto ... ok
[INFO] [stdout] test tokenize::tests::test_token_equality ... ok
[INFO] [stdout] test tokenize::tests::test_tokenize_request_builder ... ok
[INFO] [stdout] test response::tests::test_log_probs ... ok
[INFO] [stdout] test sample::tests::test_sample_choice_from_proto ... ok
[INFO] [stdout] test sample::tests::test_sample_request_builder ... ok
[INFO] [stdout] test sample::tests::test_sample_request_minimal ... ok
[INFO] [stdout] test tokenize::tests::test_tokenize_response_token_count ... ok
[INFO] [stdout] test tokenize::tests::test_tokenize_response_empty ... ok
[INFO] [stdout] test tools::tests::test_function_call_parse_arguments ... ok
[INFO] [stdout] test tools::tests::test_function_tool_creation ... ok
[INFO] [stdout] test tools::tests::test_function_tool_with_parameters ... ok
[INFO] [stdout] test tools::tests::test_tool_choice_function ... ok
[INFO] [stdout] test tokenize::tests::test_tokenize_response_text ... ok
[INFO] [stdout] test tokenize::tests::test_tokenize_request_minimal ... ok
[INFO] [stdout] test tools::tests::test_collections_search_tool ... ok
[INFO] [stdout] test tokenize::tests::test_tokenize_request_without_user ... ok
[INFO] [stdout] test tools::tests::test_x_search_tool ... ok
[INFO] [stdout] test tools::tests::test_mcp_tool ... ok
[INFO] [stdout] test tools::tests::test_tool_choice_auto ... ok
[INFO] [stdout] test tools::tests::test_tool_choice_required ... ok
[INFO] [stdout] test tools::tests::test_document_search_tool ... ok
[INFO] [stdout] test tools::tests::test_web_search_tool ... ok
[INFO] [stdout] test request::tests::test_max_turns_validation_zero - should panic ... ok
[INFO] [stdout] test request::tests::test_max_turns_validation_negative - should panic ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 112 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests xai_grpc_client
[INFO] [stdout] 
[INFO] [stdout] running 52 tests
[INFO] [stdout] test src/client/config.rs - client::config::GrokConfig (line 35) - compile ... ok
[INFO] [stdout] test src/client/config.rs - client::config::GrokClient (line 97) - compile ... ok
[INFO] [stdout] test src/client/config.rs - client::config::GrokClient::with_channel (line 155) - compile ... ok
[INFO] [stdout] test src/client/config.rs - client::config::GrokClient (line 85) - compile ... ok
[INFO] [stdout] test src/client/config.rs - client::config::GrokClient::connect (line 251) - compile ... ok
[INFO] [stdout] test src/client/config.rs - client::config::GrokClient::new (line 331) - compile ... ok
[INFO] [stdout] test src/client/config.rs - client::config::GrokClient::with_channel (line 179) - compile ... ok
[INFO] [stdout] test src/client/config.rs - client::config::GrokClient::from_env (line 288) - compile ... ok
[INFO] [stdout] test src/api_key.rs - api_key::ApiKeyInfo (line 32) - compile ... ok
[INFO] [stdout] test src/client/config.rs - client::config::GrokClient::test_connection (line 418) - compile ... ok
[INFO] [stdout] test src/client/operations.rs - client::operations::GrokClient::get_image_generation_model (line 360) - compile ... ok
[INFO] [stdout] test src/client/operations.rs - client::operations::GrokClient::get_api_key_info (line 501) - compile ... ok
[INFO] [stdout] test src/client/operations.rs - client::operations::GrokClient::get_embedding_model (line 294) - compile ... ok
[INFO] [stdout] test src/client/operations.rs - client::operations::GrokClient::embed (line 393) - compile ... ok
[INFO] [stdout] test src/client/operations.rs - client::operations::GrokClient::list_image_generation_models (line 328) - compile ... ok
[INFO] [stdout] test src/client/operations.rs - client::operations::GrokClient::list_models (line 200) - compile ... ok
[INFO] [stdout] test src/client/operations.rs - client::operations::GrokClient::list_embedding_models (line 265) - compile ... ok
[INFO] [stdout] test src/client/operations.rs - client::operations::GrokClient::get_model (line 230) - compile ... ok
[INFO] [stdout] test src/error.rs - error::GrokError (line 15) - compile ... ok
[INFO] [stdout] test src/client/operations.rs - client::operations::GrokClient::tokenize (line 439) - compile ... ok
[INFO] [stdout] test src/lib.rs - (line 41) - compile ... ok
[INFO] [stdout] test src/lib.rs - (line 17) - compile ... ok
[INFO] [stdout] test src/lib.rs - (line 65) - compile ... ok
[INFO] [stdout] test src/lib.rs - api_key (line 142) - compile ... ok
[INFO] [stdout] test src/lib.rs - models (line 138) - compile ... ok
[INFO] [stdout] test src/lib.rs - embedding (line 141) - compile ... ok
[INFO] [stdout] test src/lib.rs - models (line 155) - compile ... ok
[INFO] [stdout] test src/lib.rs - embedding (line 164) - compile ... ok
[INFO] [stdout] test src/lib.rs - tokenize (line 144) - compile ... ok
[INFO] [stdout] test src/models.rs - models::EmbeddingModel (line 193) - compile ... ok
[INFO] [stdout] test src/models.rs - models::ImageGenerationModel (line 242) - compile ... ok
[INFO] [stdout] test src/models.rs - models::LanguageModel (line 70) - compile ... ok
[INFO] [stdout] test src/models.rs - models::LanguageModel::calculate_cost (line 328) - compile ... ok
[INFO] [stdout] test src/embedding.rs - embedding::EmbedRequest::new (line 74) ... ok
[INFO] [stdout] test src/request.rs - request::ChatRequest::tool_result (line 289) - compile ... ok
[INFO] [stdout] test src/request.rs - request::ChatRequest::tool_result_json (line 332) - compile ... ok
[INFO] [stdout] test src/embedding.rs - embedding::EmbedRequest::add_image (line 107) ... ok
[INFO] [stdout] test src/embedding.rs - embedding::EmbedRequest::add_text (line 92) ... ok
[INFO] [stdout] test src/embedding.rs - embedding::EmbedRequest::add_image_with_detail (line 121) ... ok
[INFO] [stdout] test src/models.rs - models::LanguageModel::supports_multimodal (line 371) - compile ... ok
[INFO] [stdout] test src/api_key.rs - api_key::ApiKeyInfo::is_active (line 117) ... ok
[INFO] [stdout] test src/api_key.rs - api_key::ApiKeyInfo::status_string (line 143) ... ok
[INFO] [stdout] test src/embedding.rs - embedding::EmbedRequest::with_encoding_format (line 139) ... ok
[INFO] [stdout] test src/tokenize.rs - tokenize::TokenizeRequest (line 37) ... ok
[INFO] [stdout] test src/tokenize.rs - tokenize::TokenizeRequest::new (line 63) ... ok
[INFO] [stdout] test src/tokenize.rs - tokenize::TokenizeRequest::with_text (line 84) ... ok
[INFO] [stdout] test src/request.rs - request::ChatRequest (line 72) ... ok
[INFO] [stdout] test src/tokenize.rs - tokenize::TokenizeRequest::with_user (line 103) ... ok
[INFO] [stdout] test src/request.rs - request::CompletionOptions (line 18) ... ok
[INFO] [stdout] test src/tokenize.rs - tokenize::TokenizeResponse::text (line 161) ... ok
[INFO] [stdout] test src/tokenize.rs - tokenize::TokenizeResponse::token_count (line 148) ... ok
[INFO] [stdout] test src/tools.rs - tools::Tool (line 36) ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 52 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.90s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "19bdfca470f610acca478f227b0274c8c36362867435f370e76aadc3e1368ad3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "19bdfca470f610acca478f227b0274c8c36362867435f370e76aadc3e1368ad3", kill_on_drop: false }`
[INFO] [stdout] 19bdfca470f610acca478f227b0274c8c36362867435f370e76aadc3e1368ad3
