[INFO] fetching crate xai-sdk 0.10.0...
[INFO] checking xai-sdk-0.10.0 against try#d1d7143153307f561233bd4d93e2a3b24157b081 for pr-151539-1
[INFO] extracting crate xai-sdk 0.10.0 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate xai-sdk 0.10.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate xai-sdk 0.10.0
[INFO] tweaked toml for crates.io crate xai-sdk 0.10.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate xai-sdk 0.10.0 on toolchain d1d7143153307f561233bd4d93e2a3b24157b081
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d1d7143153307f561233bd4d93e2a3b24157b081" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate xai-sdk 0.10.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" "+d1d7143153307f561233bd4d93e2a3b24157b081" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8726d5266f25b984f6e5cccec4ca71fb4791876b93bf380a2de76cf78c99b91a
[INFO] running `Command { std: "docker" "start" "8726d5266f25b984f6e5cccec4ca71fb4791876b93bf380a2de76cf78c99b91a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8726d5266f25b984f6e5cccec4ca71fb4791876b93bf380a2de76cf78c99b91a" "/opt/rustwide/cargo-home/bin/cargo" "+d1d7143153307f561233bd4d93e2a3b24157b081" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8726d5266f25b984f6e5cccec4ca71fb4791876b93bf380a2de76cf78c99b91a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8726d5266f25b984f6e5cccec4ca71fb4791876b93bf380a2de76cf78c99b91a" "/opt/rustwide/cargo-home/bin/cargo" "+d1d7143153307f561233bd4d93e2a3b24157b081" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking bytes v1.11.1
[INFO] [stderr]     Checking pin-project-lite v0.2.17
[INFO] [stderr]     Checking futures-core v0.3.32
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking once_cell v1.21.4
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking mio v1.2.0
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]     Checking futures-sink v0.3.32
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]     Checking memchr v2.8.0
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling itertools v0.14.0
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]    Compiling cc v1.2.61
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]    Compiling bitflags v2.11.1
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]     Checking hashbrown v0.17.0
[INFO] [stderr]     Checking futures-task v0.3.32
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling pulldown-cmark v0.13.3
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]     Checking zeroize v1.8.2
[INFO] [stderr]     Checking futures-io v0.3.32
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking rustls-pki-types v1.14.1
[INFO] [stderr]     Checking indexmap v2.14.0
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking untrusted v0.9.0
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]    Compiling unicase v2.9.0
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]     Checking atomic-waker v1.1.2
[INFO] [stderr]    Compiling linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling fixedbitset v0.5.7
[INFO] [stderr]    Compiling fastrand v2.4.1
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]     Checking tower-service v0.3.3
[INFO] [stderr]    Compiling rustls v0.23.40
[INFO] [stderr]    Compiling petgraph v0.8.3
[INFO] [stderr]    Compiling pulldown-cmark-to-cmark v22.0.0
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling multimap v0.10.1
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]    Compiling tonic-build v0.14.5
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]     Checking openssl-probe v0.2.1
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking tower-layer v0.3.3
[INFO] [stderr]     Checking rustls-native-certs v0.8.3
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking percent-encoding v2.3.2
[INFO] [stderr]     Checking anstyle v1.0.14
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling prost-derive v0.14.3
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]     Checking rustls-webpki v0.103.13
[INFO] [stderr]    Compiling zerocopy-derive v0.8.48
[INFO] [stderr]    Compiling pin-project-internal v1.1.11
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]     Checking tokio v1.52.1
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking pin-project v1.1.11
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking plotters-backend v0.3.7
[INFO] [stderr]    Compiling prost v0.14.3
[INFO] [stderr]     Checking clap_lex v1.1.0
[INFO] [stderr]     Checking ciborium-io v0.2.2
[INFO] [stderr]     Checking clap_builder v4.6.0
[INFO] [stderr]     Checking plotters-svg v0.3.7
[INFO] [stderr]    Compiling prost-types v0.14.3
[INFO] [stderr]    Compiling prost-build v0.14.3
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking cast v0.3.0
[INFO] [stderr]     Checking plotters v0.3.7
[INFO] [stderr]     Checking clap v4.6.1
[INFO] [stderr]     Checking rayon v1.12.0
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]    Compiling tonic-prost-build v0.14.5
[INFO] [stderr]     Checking criterion-plot v0.5.0
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]     Checking is-terminal v0.4.17
[INFO] [stderr]     Checking anes v0.1.6
[INFO] [stderr]     Checking oorandom v11.1.5
[INFO] [stderr]    Compiling xai-sdk v0.10.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking tokio-stream v0.1.18
[INFO] [stderr]     Checking h2 v0.4.13
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking half v2.7.1
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking criterion v0.5.1
[INFO] [stderr]     Checking hyper v1.9.0
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking hyper-timeout v0.5.2
[INFO] [stderr]     Checking tonic v0.14.5
[INFO] [stderr]     Checking tonic-prost v0.14.5
[INFO] [stdout] warning: use of deprecated unit variant `xai_api::MessageRole::RoleFunction`
[INFO] [stdout]    --> src/utils.rs:213:30
[INFO] [stdout]     |
[INFO] [stdout] 213 |                 MessageRole::RoleFunction => "function",
[INFO] [stdout]     |                              ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated unit variant `xai_api::MessageRole::RoleFunction`
[INFO] [stdout]    --> src/utils.rs:230:47
[INFO] [stdout]     |
[INFO] [stdout] 230 |                 "function" => Ok(MessageRole::RoleFunction),
[INFO] [stdout]     |                                               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated unit variant `xai_api::MessageRole::RoleFunction`
[INFO] [stdout]    --> src/utils.rs:213:30
[INFO] [stdout]     |
[INFO] [stdout] 213 |                 MessageRole::RoleFunction => "function",
[INFO] [stdout]     |                              ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated unit variant `xai_api::MessageRole::RoleFunction`
[INFO] [stdout]    --> src/utils.rs:230:47
[INFO] [stdout]     |
[INFO] [stdout] 230 |                 "function" => Ok(MessageRole::RoleFunction),
[INFO] [stdout]     |                                               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `cost_in_usd_ticks` in initializer of `SamplingUsage`
[INFO] [stdout]   --> benches/chat_bench.rs:53:21
[INFO] [stdout]    |
[INFO] [stdout] 53 |         usage: Some(SamplingUsage {
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ missing `cost_in_usd_ticks`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0063`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `xai-sdk` (bench "chat") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: use of deprecated unit variant `xai_sdk::api::MessageRole::RoleFunction`
[INFO] [stdout]    --> tests/utils.rs:259:29
[INFO] [stdout]     |
[INFO] [stdout] 259 |     assert_eq!(MessageRole::RoleFunction.to_string(), "function");
[INFO] [stdout]     |                             ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated unit variant `xai_sdk::api::MessageRole::RoleFunction`
[INFO] [stdout]    --> tests/utils.rs:300:22
[INFO] [stdout]     |
[INFO] [stdout] 300 |         MessageRole::RoleFunction
[INFO] [stdout]     |                      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated unit variant `xai_sdk::api::MessageRole::RoleFunction`
[INFO] [stdout]    --> tests/utils.rs:304:22
[INFO] [stdout]     |
[INFO] [stdout] 304 |         MessageRole::RoleFunction
[INFO] [stdout]     |                      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "8726d5266f25b984f6e5cccec4ca71fb4791876b93bf380a2de76cf78c99b91a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8726d5266f25b984f6e5cccec4ca71fb4791876b93bf380a2de76cf78c99b91a", kill_on_drop: false }`
[INFO] [stdout] 8726d5266f25b984f6e5cccec4ca71fb4791876b93bf380a2de76cf78c99b91a
