[INFO] fetching crate deepinfra-client-rs 0.1.1... [INFO] testing deepinfra-client-rs-0.1.1 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate deepinfra-client-rs 0.1.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate deepinfra-client-rs 0.1.1 [INFO] finished tweaking crates.io crate deepinfra-client-rs 0.1.1 [INFO] tweaked toml for crates.io crate deepinfra-client-rs 0.1.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate deepinfra-client-rs 0.1.1 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate deepinfra-client-rs 0.1.1 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-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 657541f8598a7be7e9446d65786c395a3eaf9a57bbfaec2e9e4924300db70292 [INFO] running `Command { std: "docker" "start" "-a" "657541f8598a7be7e9446d65786c395a3eaf9a57bbfaec2e9e4924300db70292", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "657541f8598a7be7e9446d65786c395a3eaf9a57bbfaec2e9e4924300db70292", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "657541f8598a7be7e9446d65786c395a3eaf9a57bbfaec2e9e4924300db70292", kill_on_drop: false }` [INFO] [stdout] 657541f8598a7be7e9446d65786c395a3eaf9a57bbfaec2e9e4924300db70292 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0350df92743dcf34099b638424d3ea8c5a9f3c3149d1dc72b9d55ce7658503c4 [INFO] running `Command { std: "docker" "start" "-a" "0350df92743dcf34099b638424d3ea8c5a9f3c3149d1dc72b9d55ce7658503c4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling cc v1.2.14 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling rustls v0.23.23 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling prettyplease v0.2.29 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling webpki-roots v0.26.8 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ring v0.17.9 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling trait-variant v0.1.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling bon-macros v3.3.2 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling tokio-rustls v0.26.1 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling bon v3.3.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling deepinfra-client-rs v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `error_type` is never read [INFO] [stdout] --> src/audio_transcription.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ErrorDetail { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | error_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `Command { std: "docker" "inspect" "0350df92743dcf34099b638424d3ea8c5a9f3c3149d1dc72b9d55ce7658503c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0350df92743dcf34099b638424d3ea8c5a9f3c3149d1dc72b9d55ce7658503c4", kill_on_drop: false }` [INFO] [stdout] 0350df92743dcf34099b638424d3ea8c5a9f3c3149d1dc72b9d55ce7658503c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dec9cc67f2aae989cd10cda01012666c44707209abac69745a335b3359ce0ff1 [INFO] running `Command { std: "docker" "start" "-a" "dec9cc67f2aae989cd10cda01012666c44707209abac69745a335b3359ce0ff1", kill_on_drop: false }` [INFO] [stdout] warning: field `error_type` is never read [INFO] [stdout] --> src/audio_transcription.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ErrorDetail { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | error_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling deepinfra-client-rs v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `error_type` is never read [INFO] [stdout] --> src/audio_transcription.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ErrorDetail { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | error_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.61s [INFO] running `Command { std: "docker" "inspect" "dec9cc67f2aae989cd10cda01012666c44707209abac69745a335b3359ce0ff1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dec9cc67f2aae989cd10cda01012666c44707209abac69745a335b3359ce0ff1", kill_on_drop: false }` [INFO] [stdout] dec9cc67f2aae989cd10cda01012666c44707209abac69745a335b3359ce0ff1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 689a064ff5e6a7723e50b9d21a60a585838e92c387e9c1b70ffa12c993cac2b0 [INFO] running `Command { std: "docker" "start" "-a" "689a064ff5e6a7723e50b9d21a60a585838e92c387e9c1b70ffa12c993cac2b0", kill_on_drop: false }` [INFO] [stderr] warning: field `error_type` is never read [INFO] [stderr] --> src/audio_transcription.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct ErrorDetail { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 21 | error_type: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ErrorDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `deepinfra-client-rs` (lib) generated 1 warning [INFO] [stderr] warning: `deepinfra-client-rs` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/deepinfra_client_rs-04fcaf8f99551c2d) [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] Doc-tests deepinfra_client_rs [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/client.rs - client::DeepinfraClient::builder (line 36) ... FAILED [INFO] [stdout] test src/chat_completition.rs - chat_completition::DeepinfraClient::chat_completition (line 251) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/client.rs - client::DeepinfraClient::builder (line 36) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `DeepinfraClient` in the current scope [INFO] [stdout] --> src/client.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 8 | let client = DeepinfraClient::new(token)?; [INFO] [stdout] | ^^^ function or associated item not found in `DeepinfraClient` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/chat_completition.rs - chat_completition::DeepinfraClient::chat_completition (line 251) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChatCompletionRequestBuilder` [INFO] [stdout] --> src/chat_completition.rs:252:15 [INFO] [stdout] | [INFO] [stdout] 3 | let request = ChatCompletionRequestBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ChatCompletionRequestBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use deepinfra_client_rs::chat_completition::ChatCompletionRequestBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/chat_completition.rs:256:16 [INFO] [stdout] | [INFO] [stdout] 7 | let response = client.chat_completition(request).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/chat_completition.rs:256:50 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_chat_completition_rs_251_0() { [INFO] [stdout] | ------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let response = client.chat_completition(request).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/chat_completition.rs - chat_completition::DeepinfraClient::chat_completition (line 251) [INFO] [stdout] src/client.rs - client::DeepinfraClient::builder (line 36) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.38s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "689a064ff5e6a7723e50b9d21a60a585838e92c387e9c1b70ffa12c993cac2b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "689a064ff5e6a7723e50b9d21a60a585838e92c387e9c1b70ffa12c993cac2b0", kill_on_drop: false }` [INFO] [stdout] 689a064ff5e6a7723e50b9d21a60a585838e92c387e9c1b70ffa12c993cac2b0