[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 beta-2026-04-21 for beta-1.96-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrynta%2FxAI-Rust-SDK" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/crynta/xAI-Rust-SDK on toolchain beta-2026-04-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "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" "+beta-2026-04-21" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aab53cf064a3ab29838f4278df44304f4c96f5da092923258d9400e1ad462537 [INFO] running `Command { std: "docker" "start" "-a" "aab53cf064a3ab29838f4278df44304f4c96f5da092923258d9400e1ad462537", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aab53cf064a3ab29838f4278df44304f4c96f5da092923258d9400e1ad462537", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aab53cf064a3ab29838f4278df44304f4c96f5da092923258d9400e1ad462537", kill_on_drop: false }` [INFO] [stdout] aab53cf064a3ab29838f4278df44304f4c96f5da092923258d9400e1ad462537 [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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98a7bdaf223338acd1977461684beec2b40597bfe571a6d3a14dc8257735d102 [INFO] running `Command { std: "docker" "start" "-a" "98a7bdaf223338acd1977461684beec2b40597bfe571a6d3a14dc8257735d102", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling cc v1.2.47 [INFO] [stderr] Compiling rustls-pki-types v1.13.0 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling webpki-roots v1.0.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.7 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling hyper v1.8.1 [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 tokio-rustls v0.26.4 [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 32.83s [INFO] running `Command { std: "docker" "inspect" "98a7bdaf223338acd1977461684beec2b40597bfe571a6d3a14dc8257735d102", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98a7bdaf223338acd1977461684beec2b40597bfe571a6d3a14dc8257735d102", kill_on_drop: false }` [INFO] [stdout] 98a7bdaf223338acd1977461684beec2b40597bfe571a6d3a14dc8257735d102 [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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a45b94406854c3f076faac42da48d792bb50df22c774fcd6ef2b126bcaeaf559 [INFO] running `Command { std: "docker" "start" "-a" "a45b94406854c3f076faac42da48d792bb50df22c774fcd6ef2b126bcaeaf559", kill_on_drop: false }` [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tower v0.5.2 [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 44.68s [INFO] running `Command { std: "docker" "inspect" "a45b94406854c3f076faac42da48d792bb50df22c774fcd6ef2b126bcaeaf559", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a45b94406854c3f076faac42da48d792bb50df22c774fcd6ef2b126bcaeaf559", kill_on_drop: false }` [INFO] [stdout] a45b94406854c3f076faac42da48d792bb50df22c774fcd6ef2b126bcaeaf559 [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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6c9188ca31b9e2025ffae650597cfc9de7cd25737b19bab07301cdce9e87ae70 [INFO] running `Command { std: "docker" "start" "-a" "6c9188ca31b9e2025ffae650597cfc9de7cd25737b19bab07301cdce9e87ae70", 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-ee43dab6f21732f6) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test retry::tests::test_jitter_adds_variance ... ok [INFO] [stdout] test retry::tests::test_delay_calculation ... 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.01s [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/config.rs - config::Config::new (line 47) ... ok [INFO] [stdout] test src/config.rs - config::Config::try_from_env (line 112) ... ok [INFO] [stdout] test src/client.rs - client::Client::new (line 32) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 6 ignored; 0 measured; 0 filtered out; finished in 1.23s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6c9188ca31b9e2025ffae650597cfc9de7cd25737b19bab07301cdce9e87ae70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c9188ca31b9e2025ffae650597cfc9de7cd25737b19bab07301cdce9e87ae70", kill_on_drop: false }` [INFO] [stdout] 6c9188ca31b9e2025ffae650597cfc9de7cd25737b19bab07301cdce9e87ae70