[INFO] cloning repository https://github.com/georgeglarson/venice-ai-api-sdk-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/georgeglarson/venice-ai-api-sdk-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgeorgeglarson%2Fvenice-ai-api-sdk-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgeorgeglarson%2Fvenice-ai-api-sdk-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a1eba78314c4259dc226d09a48203814f11ae64c [INFO] testing georgeglarson/venice-ai-api-sdk-rust against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgeorgeglarson%2Fvenice-ai-api-sdk-rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/georgeglarson/venice-ai-api-sdk-rust [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/georgeglarson/venice-ai-api-sdk-rust [INFO] tweaked toml for git repo https://github.com/georgeglarson/venice-ai-api-sdk-rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/georgeglarson/venice-ai-api-sdk-rust on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/georgeglarson/venice-ai-api-sdk-rust 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_syscall v0.5.9 [INFO] [stderr] Downloaded mockito v1.6.1 [INFO] [stderr] Downloaded serde_json v1.0.139 [INFO] [stderr] Downloaded cc v1.2.15 [INFO] [stderr] Downloaded ring v0.17.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c639a2db64968459eebadf840ccd916b92ca7c669472f3b7b1bc2b190c0d546 [INFO] running `Command { std: "docker" "start" "-a" "7c639a2db64968459eebadf840ccd916b92ca7c669472f3b7b1bc2b190c0d546", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c639a2db64968459eebadf840ccd916b92ca7c669472f3b7b1bc2b190c0d546", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c639a2db64968459eebadf840ccd916b92ca7c669472f3b7b1bc2b190c0d546", kill_on_drop: false }` [INFO] [stdout] 7c639a2db64968459eebadf840ccd916b92ca7c669472f3b7b1bc2b190c0d546 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ecf194d787f65d2fce913814d0de31171fc818597bf6af231f3b3f41cbf24b3 [INFO] running `Command { std: "docker" "start" "-a" "4ecf194d787f65d2fce913814d0de31171fc818597bf6af231f3b3f41cbf24b3", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling cc v1.2.15 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling ring v0.17.11 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling synstructure v0.13.1 [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 futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling zerovec v0.10.4 [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 icu_locid_transform v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling h2 v0.3.26 [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 hyper v0.14.32 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling venice-ai-api-sdk-rust v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `regex` [INFO] [stdout] --> src/utils/validation.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(feature = "regex")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `api_keys_examples`, `chat_examples`, `common_examples`, `default`, `examples`, `image_examples`, `models_examples`, and `tokio` [INFO] [stdout] = help: consider adding `regex` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.09s [INFO] running `Command { std: "docker" "inspect" "4ecf194d787f65d2fce913814d0de31171fc818597bf6af231f3b3f41cbf24b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ecf194d787f65d2fce913814d0de31171fc818597bf6af231f3b3f41cbf24b3", kill_on_drop: false }` [INFO] [stdout] 4ecf194d787f65d2fce913814d0de31171fc818597bf6af231f3b3f41cbf24b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43ea94441ab511e024f83e24972fadbc44c3e01ec0f762039c76920ab08665c7 [INFO] running `Command { std: "docker" "start" "-a" "43ea94441ab511e024f83e24972fadbc44c3e01ec0f762039c76920ab08665c7", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tokio v1.43.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 tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling mockito v1.6.1 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling venice-ai-api-sdk-rust v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `regex` [INFO] [stdout] --> src/utils/validation.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(feature = "regex")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `api_keys_examples`, `chat_examples`, `common_examples`, `default`, `examples`, `image_examples`, `models_examples`, and `tokio` [INFO] [stdout] = help: consider adding `regex` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `regex` [INFO] [stdout] --> src/utils/validation.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(feature = "regex")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `api_keys_examples`, `chat_examples`, `common_examples`, `default`, `examples`, `image_examples`, `models_examples`, and `tokio` [INFO] [stdout] = help: consider adding `regex` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Option` doesn't implement `std::fmt::Display` [INFO] [stdout] --> examples/api_key_management.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | println!("- {} ({})", key.name, key.id); [INFO] [stdout] | -- ^^^^^^^^ `Option` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Option` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `created_at` on type `&ApiKey` [INFO] [stdout] --> examples/api_key_management.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | println!(" Created: {}", key.created_at); [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 21 - println!(" Created: {}", key.created_at); [INFO] [stdout] 21 + println!(" Created: {}", key.created); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `prefix` on type `&ApiKey` [INFO] [stdout] --> examples/api_key_management.rs:22:38 [INFO] [stdout] | [INFO] [stdout] 22 | println!(" Prefix: {}", key.prefix); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `id`, `object`, `name`, `created`, `last_chars` ... and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `last_used_at` on type `&ApiKey` [INFO] [stdout] --> examples/api_key_management.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | println!(" Last used: {}", key.last_used_at.unwrap_or_default()); [INFO] [stdout] | ^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `id`, `object`, `name`, `created`, `last_chars` ... and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `active` on type `&ApiKey` [INFO] [stdout] --> examples/api_key_management.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | println!(" Active: {}", key.active); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `id`, `object`, `name`, `created`, `last_chars` ... and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/image_generation.rs:41:56 [INFO] [stdout] | [INFO] [stdout] 41 | let (response, rate_limit) = client.generate_image(request).await?; [INFO] [stdout] | -------------- ^^^^^^^ expected `ImageGenerateRequest`, found a different `ImageGenerateRequest` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/image/generate.rs:280:18 [INFO] [stdout] | [INFO] [stdout] 280 | pub async fn generate_image( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/api_key_management.rs:34:54 [INFO] [stdout] | [INFO] [stdout] 34 | let (create_response, _) = client.create_api_key(request).await?; [INFO] [stdout] | -------------- ^^^^^^^ expected `CreateApiKeyRequest`, found a different `CreateApiKeyRequest` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/api_keys/create.rs:171:18 [INFO] [stdout] | [INFO] [stdout] 171 | pub async fn create_api_key( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `key` on type `venice_ai_api_sdk_rust::api_keys::CreateApiKeyResponse` [INFO] [stdout] --> examples/api_key_management.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | println!("- Name: {}", create_response.key.name); [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 37 | println!("- Name: {}", create_response.data.key.name); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `key` on type `venice_ai_api_sdk_rust::api_keys::CreateApiKeyResponse` [INFO] [stdout] --> examples/api_key_management.rs:38:42 [INFO] [stdout] | [INFO] [stdout] 38 | println!("- ID: {}", create_response.key.id); [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 38 | println!("- ID: {}", create_response.data.key.id); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `key` on type `venice_ai_api_sdk_rust::api_keys::CreateApiKeyResponse` [INFO] [stdout] --> examples/api_key_management.rs:39:47 [INFO] [stdout] | [INFO] [stdout] 39 | println!("- Created: {}", create_response.key.created_at); [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 39 | println!("- Created: {}", create_response.data.key.created_at); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `secret` on type `venice_ai_api_sdk_rust::api_keys::CreateApiKeyResponse` [INFO] [stdout] --> examples/api_key_management.rs:40:43 [INFO] [stdout] | [INFO] [stdout] 40 | println!("- Key: {}", create_response.secret); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `data`, `object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ApiKeysApi` [INFO] [stdout] --> examples/api_key_management.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | traits::api_keys::{ApiKeysApi, CreateApiKeyRequest}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/chat_completion.rs:39:64 [INFO] [stdout] | [INFO] [stdout] 39 | let (response, rate_limit) = client.create_chat_completion(request).await?; [INFO] [stdout] | ---------------------- ^^^^^^^ expected `ChatCompletionRequest`, found a different `ChatCompletionRequest` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/chat/completions.rs:366:18 [INFO] [stdout] | [INFO] [stdout] 366 | pub async fn create_chat_completion( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: call `Into::into` on this expression to convert `venice_ai_api_sdk_rust::traits::chat::ChatCompletionRequest` into `venice_ai_api_sdk_rust::chat::ChatCompletionRequest` [INFO] [stdout] | [INFO] [stdout] 39 | let (response, rate_limit) = client.create_chat_completion(request.into()).await?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `models::ModelsApi` [INFO] [stdout] --> examples/chat_completion.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | models::ModelsApi, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ChatApi` [INFO] [stdout] --> examples/chat_completion.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | chat::{ChatApi, ChatCompletionBuilder}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration/streaming_tests.rs:45:58 [INFO] [stdout] | [INFO] [stdout] 45 | let result = client.create_streaming_chat_completion(request).await; [INFO] [stdout] | -------------------------------- ^^^^^^^ expected `ChatCompletionRequest`, found a different `ChatCompletionRequest` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/chat/completions.rs:419:18 [INFO] [stdout] | [INFO] [stdout] 419 | pub async fn create_streaming_chat_completion( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: call `Into::into` on this expression to convert `venice_ai_api_sdk_rust::traits::chat::ChatCompletionRequest` into `venice_ai_api_sdk_rust::chat::ChatCompletionRequest` [INFO] [stdout] | [INFO] [stdout] 45 | let result = client.create_streaming_chat_completion(request.into()).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `venice-ai-api-sdk-rust` (example "api_key_management") due to 10 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `venice-ai-api-sdk-rust` (example "image_generation") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `venice-ai-api-sdk-rust` (example "chat_completion") due to 1 previous error; 2 warnings emitted [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration/streaming_tests.rs:161:58 [INFO] [stdout] | [INFO] [stdout] 161 | let result = client.create_streaming_chat_completion(request).await; [INFO] [stdout] | -------------------------------- ^^^^^^^ expected `ChatCompletionRequest`, found a different `ChatCompletionRequest` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/chat/completions.rs:419:18 [INFO] [stdout] | [INFO] [stdout] 419 | pub async fn create_streaming_chat_completion( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: call `Into::into` on this expression to convert `venice_ai_api_sdk_rust::traits::chat::ChatCompletionRequest` into `venice_ai_api_sdk_rust::chat::ChatCompletionRequest` [INFO] [stdout] | [INFO] [stdout] 161 | let result = client.create_streaming_chat_completion(request.into()).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ChatApi` [INFO] [stdout] --> tests/integration/streaming_tests.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | traits::chat::{ChatApi, ChatCompletionBuilder, ChatCompletionChunk}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `venice-ai-api-sdk-rust` (test "integration_tests") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "43ea94441ab511e024f83e24972fadbc44c3e01ec0f762039c76920ab08665c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43ea94441ab511e024f83e24972fadbc44c3e01ec0f762039c76920ab08665c7", kill_on_drop: false }` [INFO] [stdout] 43ea94441ab511e024f83e24972fadbc44c3e01ec0f762039c76920ab08665c7