[INFO] fetching crate deepinfra-client-rs 0.1.1... [INFO] testing deepinfra-client-rs-0.1.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate deepinfra-client-rs 0.1.1 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate deepinfra-client-rs 0.1.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac86e619491d754cd004dede517f68c18af620fb4f017df615818e69dd7497ab [INFO] running `Command { std: "docker" "start" "-a" "ac86e619491d754cd004dede517f68c18af620fb4f017df615818e69dd7497ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac86e619491d754cd004dede517f68c18af620fb4f017df615818e69dd7497ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac86e619491d754cd004dede517f68c18af620fb4f017df615818e69dd7497ab", kill_on_drop: false }` [INFO] [stdout] ac86e619491d754cd004dede517f68c18af620fb4f017df615818e69dd7497ab [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eff291a6fdfe79cb6ee4b32123993aded992ef8099e150a4f396220d64e4039c [INFO] running `Command { std: "docker" "start" "-a" "eff291a6fdfe79cb6ee4b32123993aded992ef8099e150a4f396220d64e4039c", kill_on_drop: false }` [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling cc v1.2.14 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling rustls v0.23.23 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling prettyplease v0.2.29 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling webpki-roots v0.26.8 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling ring v0.17.9 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [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 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 zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling hyper-util v0.1.10 [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 icu_provider v1.5.0 [INFO] [stderr] Compiling serde v1.0.218 [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 tokio-rustls v0.26.1 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.139 [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 46.83s [INFO] running `Command { std: "docker" "inspect" "eff291a6fdfe79cb6ee4b32123993aded992ef8099e150a4f396220d64e4039c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eff291a6fdfe79cb6ee4b32123993aded992ef8099e150a4f396220d64e4039c", kill_on_drop: false }` [INFO] [stdout] eff291a6fdfe79cb6ee4b32123993aded992ef8099e150a4f396220d64e4039c [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc7144efd3605749dd70ccb17d626460a3665a765cc4a11fcbee949c7f6a1bd1 [INFO] running `Command { std: "docker" "start" "-a" "fc7144efd3605749dd70ccb17d626460a3665a765cc4a11fcbee949c7f6a1bd1", kill_on_drop: false }` [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] [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.37s [INFO] running `Command { std: "docker" "inspect" "fc7144efd3605749dd70ccb17d626460a3665a765cc4a11fcbee949c7f6a1bd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc7144efd3605749dd70ccb17d626460a3665a765cc4a11fcbee949c7f6a1bd1", kill_on_drop: false }` [INFO] [stdout] fc7144efd3605749dd70ccb17d626460a3665a765cc4a11fcbee949c7f6a1bd1 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0c2540573581372a8e558c9dda57b41807e97308e8f70a12707a126bd7599a58 [INFO] running `Command { std: "docker" "start" "-a" "0c2540573581372a8e558c9dda57b41807e97308e8f70a12707a126bd7599a58", 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.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/deepinfra_client_rs-732502acd9124694) [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/chat_completition.rs - chat_completition::DeepinfraClient::chat_completition (line 251) ... FAILED [INFO] [stdout] test src/client.rs - client::DeepinfraClient::builder (line 36) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 252 | let request = ChatCompletionRequestBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ChatCompletionRequestBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 251 + 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] 256 | 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] 251 | 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] 256 | 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] ---- 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] 42 | 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] [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.22s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "0c2540573581372a8e558c9dda57b41807e97308e8f70a12707a126bd7599a58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c2540573581372a8e558c9dda57b41807e97308e8f70a12707a126bd7599a58", kill_on_drop: false }` [INFO] [stdout] 0c2540573581372a8e558c9dda57b41807e97308e8f70a12707a126bd7599a58