[INFO] cloning repository https://github.com/crynta/xAI-Rust-SDK [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/crynta/xAI-Rust-SDK" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrynta%2FxAI-Rust-SDK", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrynta%2FxAI-Rust-SDK'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3b8b917e5a1a457a5116e1890297eaa25c536bef [INFO] testing crynta/xAI-Rust-SDK against master#d933cf483edf1605142ac6899ff32536c0ad8b22 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrynta%2FxAI-Rust-SDK" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/crynta/xAI-Rust-SDK [INFO] finished tweaking git repo https://github.com/crynta/xAI-Rust-SDK [INFO] tweaked toml for git repo https://github.com/crynta/xAI-Rust-SDK written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/crynta/xAI-Rust-SDK on toolchain d933cf483edf1605142ac6899ff32536c0ad8b22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/crynta/xAI-Rust-SDK 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" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] [stderr] Downloaded tower-http v0.6.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec04cdf4a1baf67bdc6437f80e314c441bc0eeab8b8ea955c6ef99e48a93eb01 [INFO] running `Command { std: "docker" "start" "-a" "ec04cdf4a1baf67bdc6437f80e314c441bc0eeab8b8ea955c6ef99e48a93eb01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec04cdf4a1baf67bdc6437f80e314c441bc0eeab8b8ea955c6ef99e48a93eb01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec04cdf4a1baf67bdc6437f80e314c441bc0eeab8b8ea955c6ef99e48a93eb01", kill_on_drop: false }` [INFO] [stdout] ec04cdf4a1baf67bdc6437f80e314c441bc0eeab8b8ea955c6ef99e48a93eb01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c59146bdfb6eb3fbca4ceae5835b7e3bfb73da35dfa66c131a2a347e91e0a40e [INFO] running `Command { std: "docker" "start" "-a" "c59146bdfb6eb3fbca4ceae5835b7e3bfb73da35dfa66c131a2a347e91e0a40e", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.47 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling synstructure v0.13.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 displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling thiserror v2.0.17 [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 icu_provider v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [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 hyper v1.8.1 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tower-http v0.6.7 [INFO] [stderr] Compiling hyper-util v0.1.18 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.24 [INFO] [stderr] Compiling xai-rust-sdk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/client.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Client { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.73s [INFO] running `Command { std: "docker" "inspect" "c59146bdfb6eb3fbca4ceae5835b7e3bfb73da35dfa66c131a2a347e91e0a40e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c59146bdfb6eb3fbca4ceae5835b7e3bfb73da35dfa66c131a2a347e91e0a40e", kill_on_drop: false }` [INFO] [stdout] c59146bdfb6eb3fbca4ceae5835b7e3bfb73da35dfa66c131a2a347e91e0a40e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b4da2a41fe681ac01cf78088dda68082271ff3dbfff9f595352ef167bb11e4e [INFO] running `Command { std: "docker" "start" "-a" "9b4da2a41fe681ac01cf78088dda68082271ff3dbfff9f595352ef167bb11e4e", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling deadpool v0.12.3 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.7 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.18 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling wiremock v0.6.5 [INFO] [stderr] Compiling reqwest v0.12.24 [INFO] [stderr] Compiling xai-rust-sdk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/client.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Client { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/client.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Client { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 57.81s [INFO] running `Command { std: "docker" "inspect" "9b4da2a41fe681ac01cf78088dda68082271ff3dbfff9f595352ef167bb11e4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b4da2a41fe681ac01cf78088dda68082271ff3dbfff9f595352ef167bb11e4e", kill_on_drop: false }` [INFO] [stdout] 9b4da2a41fe681ac01cf78088dda68082271ff3dbfff9f595352ef167bb11e4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4bf805c03ae26b4003673ef68a1942745c2e4ce6e60e246880a09f04cd93c3ff [INFO] running `Command { std: "docker" "start" "-a" "4bf805c03ae26b4003673ef68a1942745c2e4ce6e60e246880a09f04cd93c3ff", kill_on_drop: false }` [INFO] [stderr] warning: missing documentation for a struct [INFO] [stderr] --> src/client.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct Client { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:129:9 [INFO] [stderr] | [INFO] [stderr] 129 | #![warn(missing_docs)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `xai-rust-sdk` (lib) generated 1 warning [INFO] [stderr] warning: `xai-rust-sdk` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/xai_rust_sdk-6d330f52d11d2e1a) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test retry::tests::test_delay_calculation ... ok [INFO] [stdout] test retry::tests::test_jitter_adds_variance ... ok [INFO] [stdout] test stream::tests::test_parse_sse_events ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests xai_rust_sdk [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/config.rs - config::Config::from_env (line 73) ... ignored [INFO] [stdout] test src/lib.rs - (line 34) ... ignored [INFO] [stdout] test src/lib.rs - (line 63) ... ignored [INFO] [stdout] test src/lib.rs - (line 87) ... ignored [INFO] [stdout] test src/lib.rs - (line 9) ... ignored [INFO] [stdout] test src/lib.rs - prelude (line 158) ... ignored [INFO] [stdout] test src/client.rs - client::Client::new (line 32) ... ok [INFO] [stdout] test src/config.rs - config::Config::try_from_env (line 112) ... ok [INFO] [stdout] test src/config.rs - config::Config::new (line 47) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 6 ignored; 0 measured; 0 filtered out; finished in 1.65s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4bf805c03ae26b4003673ef68a1942745c2e4ce6e60e246880a09f04cd93c3ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bf805c03ae26b4003673ef68a1942745c2e4ce6e60e246880a09f04cd93c3ff", kill_on_drop: false }` [INFO] [stdout] 4bf805c03ae26b4003673ef68a1942745c2e4ce6e60e246880a09f04cd93c3ff