[INFO] fetching crate oaapi 0.2.0... [INFO] checking oaapi-0.2.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate oaapi 0.2.0 into /workspace/builds/worker-5-tc2/source [INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate oaapi 0.2.0 [INFO] finished tweaking crates.io crate oaapi 0.2.0 [INFO] tweaked toml for crates.io crate oaapi 0.2.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate oaapi 0.2.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate oaapi 0.2.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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0eb017d1ef2a72f05ed9ff4fa5d74fe4bc14c88372e46a848bc15740406d841 [INFO] running `Command { std: "docker" "start" "-a" "c0eb017d1ef2a72f05ed9ff4fa5d74fe4bc14c88372e46a848bc15740406d841", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0eb017d1ef2a72f05ed9ff4fa5d74fe4bc14c88372e46a848bc15740406d841", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0eb017d1ef2a72f05ed9ff4fa5d74fe4bc14c88372e46a848bc15740406d841", kill_on_drop: false }` [INFO] [stdout] c0eb017d1ef2a72f05ed9ff4fa5d74fe4bc14c88372e46a848bc15740406d841 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cde8c6abf5f015db32d24d36aaf33780ab76b78667df968e08af01158648c8e1 [INFO] running `Command { std: "docker" "start" "-a" "cde8c6abf5f015db32d24d36aaf33780ab76b78667df968e08af01158648c8e1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.63 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking clap_builder v4.5.1 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking indexmap v2.2.3 [INFO] [stderr] Compiling syn v2.0.49 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.99 [INFO] [stderr] Checking ctrlc v3.4.2 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking clap v4.5.1 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.24 [INFO] [stderr] Checking oaapi v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `impl_enum_string_serialization` [INFO] [stdout] --> src/macros.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | macro_rules! impl_enum_string_serialization { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `impl_enum_struct_serialization` [INFO] [stdout] --> src/macros.rs:187:14 [INFO] [stdout] | [INFO] [stdout] 187 | macro_rules! impl_enum_struct_serialization { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `impl_enum_bool_serialization` [INFO] [stdout] --> src/macros.rs:268:14 [INFO] [stdout] | [INFO] [stdout] 268 | macro_rules! impl_enum_bool_serialization { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `impl_enum_with_string_or_array_serialization` [INFO] [stdout] --> src/macros.rs:378:14 [INFO] [stdout] | [INFO] [stdout] 378 | macro_rules! impl_enum_with_string_or_array_serialization { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_core::Stream` [INFO] [stdout] --> src/client.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use futures_core::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_core::Stream` [INFO] [stdout] --> src/client.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use futures_core::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `authorization_header` is never used [INFO] [stdout] --> src/api_key.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 9 | impl ApiKey { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub(crate) fn authorization_header(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `api_key`, `organization_id`, and `client` are never read [INFO] [stdout] --> src/client.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Client { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 27 | /// The API key. [INFO] [stdout] 28 | api_key: ApiKey, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | /// The organization ID. [INFO] [stdout] 30 | organization_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | /// The internal HTTP client. [INFO] [stdout] 32 | client: reqwest::Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Client` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `post` is never used [INFO] [stdout] --> src/client.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 35 | impl Client { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub(crate) fn post( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `format` is never used [INFO] [stdout] --> src/prompt.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 37 | impl Prompt { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub(crate) fn format(self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `format` is never used [INFO] [stdout] --> src/temperature.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 24 | impl Temperature { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub(crate) fn format(self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::audio` [INFO] [stdout] --> examples/audio_transcriptions_srt.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use oaapi::audio::File; [INFO] [stdout] | ^^^^^ could not find `audio` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(feature = "audio")] [INFO] [stdout] | ----------------- the item is gated behind the `audio` feature [INFO] [stdout] 113 | pub mod audio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::audio` [INFO] [stdout] --> examples/audio_transcriptions_srt.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use oaapi::audio::TranscriptionsRequestBody; [INFO] [stdout] | ^^^^^ could not find `audio` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(feature = "audio")] [INFO] [stdout] | ----------------- the item is gated behind the `audio` feature [INFO] [stdout] 113 | pub mod audio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::audio` [INFO] [stdout] --> examples/audio_transcriptions.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use oaapi::audio::File; [INFO] [stdout] | ^^^^^ could not find `audio` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(feature = "audio")] [INFO] [stdout] | ----------------- the item is gated behind the `audio` feature [INFO] [stdout] 113 | pub mod audio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::audio` [INFO] [stdout] --> examples/audio_transcriptions.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use oaapi::audio::TranscriptionsRequestBody; [INFO] [stdout] | ^^^^^ could not find `audio` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(feature = "audio")] [INFO] [stdout] | ----------------- the item is gated behind the `audio` feature [INFO] [stdout] 113 | pub mod audio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::chat` [INFO] [stdout] --> examples/chat_completions_tool.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use oaapi::chat::ChatModel; [INFO] [stdout] | ^^^^ could not find `chat` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "chat")] [INFO] [stdout] | ---------------- the item is gated behind the `chat` feature [INFO] [stdout] 115 | pub mod chat; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::chat` [INFO] [stdout] --> examples/chat_completions_tool.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use oaapi::chat::CompletionsRequestBody; [INFO] [stdout] | ^^^^ could not find `chat` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "chat")] [INFO] [stdout] | ---------------- the item is gated behind the `chat` feature [INFO] [stdout] 115 | pub mod chat; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::chat` [INFO] [stdout] --> examples/chat_completions_tool.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | use oaapi::chat::Function; [INFO] [stdout] | ^^^^ could not find `chat` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "chat")] [INFO] [stdout] | ---------------- the item is gated behind the `chat` feature [INFO] [stdout] 115 | pub mod chat; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::chat` [INFO] [stdout] --> examples/chat_completions_tool.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use oaapi::chat::SystemMessage; [INFO] [stdout] | ^^^^ could not find `chat` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "chat")] [INFO] [stdout] | ---------------- the item is gated behind the `chat` feature [INFO] [stdout] 115 | pub mod chat; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::chat` [INFO] [stdout] --> examples/chat_completions_tool.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | use oaapi::chat::TooChoiceOption; [INFO] [stdout] | ^^^^ could not find `chat` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "chat")] [INFO] [stdout] | ---------------- the item is gated behind the `chat` feature [INFO] [stdout] 115 | pub mod chat; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::chat` [INFO] [stdout] --> examples/chat_completions_tool.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | use oaapi::chat::UserMessage; [INFO] [stdout] | ^^^^ could not find `chat` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "chat")] [INFO] [stdout] | ---------------- the item is gated behind the `chat` feature [INFO] [stdout] 115 | pub mod chat; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::chat` [INFO] [stdout] --> examples/chat_completions_vision.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use oaapi::chat::ChatModel; [INFO] [stdout] | ^^^^ could not find `chat` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "chat")] [INFO] [stdout] | ---------------- the item is gated behind the `chat` feature [INFO] [stdout] 115 | pub mod chat; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::chat` [INFO] [stdout] --> examples/chat_completions_vision.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use oaapi::chat::CompletionsRequestBody; [INFO] [stdout] | ^^^^ could not find `chat` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "chat")] [INFO] [stdout] | ---------------- the item is gated behind the `chat` feature [INFO] [stdout] 115 | pub mod chat; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::chat` [INFO] [stdout] --> examples/chat_completions_vision.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | use oaapi::chat::ImageContentPart; [INFO] [stdout] | ^^^^ could not find `chat` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "chat")] [INFO] [stdout] | ---------------- the item is gated behind the `chat` feature [INFO] [stdout] 115 | pub mod chat; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::chat` [INFO] [stdout] --> examples/chat_completions_vision.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use oaapi::chat::ImageFormat; [INFO] [stdout] | ^^^^ could not find `chat` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "chat")] [INFO] [stdout] | ---------------- the item is gated behind the `chat` feature [INFO] [stdout] 115 | pub mod chat; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::chat` [INFO] [stdout] --> examples/chat_completions_vision.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | use oaapi::chat::ImageUrl; [INFO] [stdout] | ^^^^ could not find `chat` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "chat")] [INFO] [stdout] | ---------------- the item is gated behind the `chat` feature [INFO] [stdout] 115 | pub mod chat; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::chat` [INFO] [stdout] --> examples/chat_completions_vision.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | use oaapi::chat::SystemMessage; [INFO] [stdout] | ^^^^ could not find `chat` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "chat")] [INFO] [stdout] | ---------------- the item is gated behind the `chat` feature [INFO] [stdout] 115 | pub mod chat; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::chat` [INFO] [stdout] --> examples/chat_completions_vision.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | use oaapi::chat::TextContentPart; [INFO] [stdout] | ^^^^ could not find `chat` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "chat")] [INFO] [stdout] | ---------------- the item is gated behind the `chat` feature [INFO] [stdout] 115 | pub mod chat; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::chat` [INFO] [stdout] --> examples/chat_completions_vision.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | use oaapi::chat::UserMessage; [INFO] [stdout] | ^^^^ could not find `chat` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "chat")] [INFO] [stdout] | ---------------- the item is gated behind the `chat` feature [INFO] [stdout] 115 | pub mod chat; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `audio_transcribe_into_srt` found for struct `oaapi::Client` in the current scope [INFO] [stdout] --> examples/audio_transcriptions_srt.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 39 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 40 | | .audio_transcribe_into_srt(request_body) [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `oaapi::Client` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::chat` [INFO] [stdout] --> examples/chat_completions.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use oaapi::chat::ChatModel; [INFO] [stdout] | ^^^^ could not find `chat` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "chat")] [INFO] [stdout] | ---------------- the item is gated behind the `chat` feature [INFO] [stdout] 115 | pub mod chat; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::chat` [INFO] [stdout] --> examples/chat_completions.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use oaapi::chat::CompletionsRequestBody; [INFO] [stdout] | ^^^^ could not find `chat` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "chat")] [INFO] [stdout] | ---------------- the item is gated behind the `chat` feature [INFO] [stdout] 115 | pub mod chat; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::chat` [INFO] [stdout] --> examples/chat_completions.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use oaapi::chat::SystemMessage; [INFO] [stdout] | ^^^^ could not find `chat` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "chat")] [INFO] [stdout] | ---------------- the item is gated behind the `chat` feature [INFO] [stdout] 115 | pub mod chat; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::chat` [INFO] [stdout] --> examples/chat_completions.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use oaapi::chat::UserMessage; [INFO] [stdout] | ^^^^ could not find `chat` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "chat")] [INFO] [stdout] | ---------------- the item is gated behind the `chat` feature [INFO] [stdout] 115 | pub mod chat; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `chat_complete` found for struct `oaapi::Client` in the current scope [INFO] [stdout] --> examples/chat_completions.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 43 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 44 | | .chat_complete(request_body) [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `oaapi::Client` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oaapi` (example "audio_transcriptions_srt") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `audio_transcribe_into_plain_text` found for struct `oaapi::Client` in the current scope [INFO] [stdout] --> examples/audio_transcriptions.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 39 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 40 | | .audio_transcribe_into_plain_text(request_body) [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `oaapi::Client` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::audio` [INFO] [stdout] --> examples/audio_transcriptions_vtt.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use oaapi::audio::File; [INFO] [stdout] | ^^^^^ could not find `audio` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(feature = "audio")] [INFO] [stdout] | ----------------- the item is gated behind the `audio` feature [INFO] [stdout] 113 | pub mod audio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::audio` [INFO] [stdout] --> examples/audio_transcriptions_vtt.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use oaapi::audio::TranscriptionsRequestBody; [INFO] [stdout] | ^^^^^ could not find `audio` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(feature = "audio")] [INFO] [stdout] | ----------------- the item is gated behind the `audio` feature [INFO] [stdout] 113 | pub mod audio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oaapi` (example "chat_completions") due to 5 previous errors [INFO] [stdout] error[E0599]: no method named `chat_complete` found for struct `oaapi::Client` in the current scope [INFO] [stdout] --> examples/chat_completions_vision.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 70 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 71 | | .chat_complete(request_body) [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `oaapi::Client` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::audio` [INFO] [stdout] --> examples/audio_transcriptions_json.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use oaapi::audio::File; [INFO] [stdout] | ^^^^^ could not find `audio` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(feature = "audio")] [INFO] [stdout] | ----------------- the item is gated behind the `audio` feature [INFO] [stdout] 113 | pub mod audio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::audio` [INFO] [stdout] --> examples/audio_transcriptions_json.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use oaapi::audio::TranscriptionsRequestBody; [INFO] [stdout] | ^^^^^ could not find `audio` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(feature = "audio")] [INFO] [stdout] | ----------------- the item is gated behind the `audio` feature [INFO] [stdout] 113 | pub mod audio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `chat_complete` found for struct `oaapi::Client` in the current scope [INFO] [stdout] --> examples/chat_completions_tool.rs:155:10 [INFO] [stdout] | [INFO] [stdout] 154 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 155 | | .chat_complete(request_body) [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `oaapi::Client` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> examples/chat_completions_tool.rs:119:7 [INFO] [stdout] | [INFO] [stdout] 119 | async fn main() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Deserialize<'_>` will fail [INFO] [stdout] --> examples/chat_completions_tool.rs:134:26 [INFO] [stdout] | [INFO] [stdout] 134 | parameters: Some(serde_json::from_str( [INFO] [stdout] | __________________________^ [INFO] [stdout] 135 | | GET_CURRENT_WEATHER_SCHEMA, [INFO] [stdout] 136 | | )?), [INFO] [stdout] | |_________^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 134 | parameters: Some(serde_json::from_str::<()>( [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oaapi` (example "audio_transcriptions") due to 3 previous errors [INFO] [stdout] error[E0432]: unresolved import `oaapi::audio` [INFO] [stdout] --> examples/audio_transcriptions_verbose_json.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use oaapi::audio::File; [INFO] [stdout] | ^^^^^ could not find `audio` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(feature = "audio")] [INFO] [stdout] | ----------------- the item is gated behind the `audio` feature [INFO] [stdout] 113 | pub mod audio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::audio` [INFO] [stdout] --> examples/audio_transcriptions_verbose_json.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use oaapi::audio::TranscriptionsRequestBody; [INFO] [stdout] | ^^^^^ could not find `audio` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(feature = "audio")] [INFO] [stdout] | ----------------- the item is gated behind the `audio` feature [INFO] [stdout] 113 | pub mod audio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oaapi` (example "chat_completions_tool") due to 7 previous errors; 2 warnings emitted [INFO] [stderr] error: could not compile `oaapi` (example "chat_completions_vision") due to 9 previous errors [INFO] [stdout] error[E0432]: unresolved import `oaapi::chat` [INFO] [stdout] --> examples/chat_completions_limited.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use oaapi::chat::ChatModel; [INFO] [stdout] | ^^^^ could not find `chat` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "chat")] [INFO] [stdout] | ---------------- the item is gated behind the `chat` feature [INFO] [stdout] 115 | pub mod chat; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::chat` [INFO] [stdout] --> examples/chat_completions_limited.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use oaapi::chat::CompletionsRequestBody; [INFO] [stdout] | ^^^^ could not find `chat` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "chat")] [INFO] [stdout] | ---------------- the item is gated behind the `chat` feature [INFO] [stdout] 115 | pub mod chat; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::chat` [INFO] [stdout] --> examples/chat_completions_limited.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use oaapi::chat::MaxTokens; [INFO] [stdout] | ^^^^ could not find `chat` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "chat")] [INFO] [stdout] | ---------------- the item is gated behind the `chat` feature [INFO] [stdout] 115 | pub mod chat; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::chat` [INFO] [stdout] --> examples/chat_completions_limited.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use oaapi::chat::StopOption; [INFO] [stdout] | ^^^^ could not find `chat` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "chat")] [INFO] [stdout] | ---------------- the item is gated behind the `chat` feature [INFO] [stdout] 115 | pub mod chat; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::chat` [INFO] [stdout] --> examples/chat_completions_limited.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | use oaapi::chat::SystemMessage; [INFO] [stdout] | ^^^^ could not find `chat` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "chat")] [INFO] [stdout] | ---------------- the item is gated behind the `chat` feature [INFO] [stdout] 115 | pub mod chat; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::chat` [INFO] [stdout] --> examples/chat_completions_limited.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use oaapi::chat::UserMessage; [INFO] [stdout] | ^^^^ could not find `chat` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "chat")] [INFO] [stdout] | ---------------- the item is gated behind the `chat` feature [INFO] [stdout] 115 | pub mod chat; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `audio_transcribe_into_vtt` found for struct `oaapi::Client` in the current scope [INFO] [stdout] --> examples/audio_transcriptions_vtt.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 39 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 40 | | .audio_transcribe_into_vtt(request_body) [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `oaapi::Client` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::audio` [INFO] [stdout] --> examples/audio_transcriptions_timestamp_granularities.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use oaapi::audio::File; [INFO] [stdout] | ^^^^^ could not find `audio` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(feature = "audio")] [INFO] [stdout] | ----------------- the item is gated behind the `audio` feature [INFO] [stdout] 113 | pub mod audio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::audio` [INFO] [stdout] --> examples/audio_transcriptions_timestamp_granularities.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use oaapi::audio::TimestampGranularity; [INFO] [stdout] | ^^^^^ could not find `audio` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(feature = "audio")] [INFO] [stdout] | ----------------- the item is gated behind the `audio` feature [INFO] [stdout] 113 | pub mod audio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::audio` [INFO] [stdout] --> examples/audio_transcriptions_timestamp_granularities.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use oaapi::audio::TranscriptionsRequestBody; [INFO] [stdout] | ^^^^^ could not find `audio` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(feature = "audio")] [INFO] [stdout] | ----------------- the item is gated behind the `audio` feature [INFO] [stdout] 113 | pub mod audio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::chat` [INFO] [stdout] --> examples/chat_completions_stream.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | use oaapi::chat::ChatModel; [INFO] [stdout] | ^^^^ could not find `chat` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "chat")] [INFO] [stdout] | ---------------- the item is gated behind the `chat` feature [INFO] [stdout] 115 | pub mod chat; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::chat` [INFO] [stdout] --> examples/chat_completions_stream.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | use oaapi::chat::CompletionsRequestBody; [INFO] [stdout] | ^^^^ could not find `chat` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "chat")] [INFO] [stdout] | ---------------- the item is gated behind the `chat` feature [INFO] [stdout] 115 | pub mod chat; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::chat` [INFO] [stdout] --> examples/chat_completions_stream.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | use oaapi::chat::StreamOption; [INFO] [stdout] | ^^^^ could not find `chat` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "chat")] [INFO] [stdout] | ---------------- the item is gated behind the `chat` feature [INFO] [stdout] 115 | pub mod chat; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::chat` [INFO] [stdout] --> examples/chat_completions_stream.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | use oaapi::chat::SystemMessage; [INFO] [stdout] | ^^^^ could not find `chat` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "chat")] [INFO] [stdout] | ---------------- the item is gated behind the `chat` feature [INFO] [stdout] 115 | pub mod chat; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::chat` [INFO] [stdout] --> examples/chat_completions_stream.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | use oaapi::chat::UserMessage; [INFO] [stdout] | ^^^^ could not find `chat` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "chat")] [INFO] [stdout] | ---------------- the item is gated behind the `chat` feature [INFO] [stdout] 115 | pub mod chat; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `audio_transcribe_into_json` found for struct `oaapi::Client` in the current scope [INFO] [stdout] --> examples/audio_transcriptions_json.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 39 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 40 | | .audio_transcribe_into_json(request_body) [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `oaapi::Client` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::chat` [INFO] [stdout] --> examples/chat_completions_json.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use oaapi::chat::ChatModel; [INFO] [stdout] | ^^^^ could not find `chat` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "chat")] [INFO] [stdout] | ---------------- the item is gated behind the `chat` feature [INFO] [stdout] 115 | pub mod chat; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::chat` [INFO] [stdout] --> examples/chat_completions_json.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use oaapi::chat::CompletionsRequestBody; [INFO] [stdout] | ^^^^ could not find `chat` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "chat")] [INFO] [stdout] | ---------------- the item is gated behind the `chat` feature [INFO] [stdout] 115 | pub mod chat; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::chat` [INFO] [stdout] --> examples/chat_completions_json.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | use oaapi::chat::ResponseFormatType; [INFO] [stdout] | ^^^^ could not find `chat` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "chat")] [INFO] [stdout] | ---------------- the item is gated behind the `chat` feature [INFO] [stdout] 115 | pub mod chat; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::chat` [INFO] [stdout] --> examples/chat_completions_json.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use oaapi::chat::SystemMessage; [INFO] [stdout] | ^^^^ could not find `chat` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "chat")] [INFO] [stdout] | ---------------- the item is gated behind the `chat` feature [INFO] [stdout] 115 | pub mod chat; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::chat` [INFO] [stdout] --> examples/chat_completions_json.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | use oaapi::chat::UserMessage; [INFO] [stdout] | ^^^^ could not find `chat` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "chat")] [INFO] [stdout] | ---------------- the item is gated behind the `chat` feature [INFO] [stdout] 115 | pub mod chat; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::audio` [INFO] [stdout] --> examples/audio_speech.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use oaapi::audio::SpeechInput; [INFO] [stdout] | ^^^^^ could not find `audio` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(feature = "audio")] [INFO] [stdout] | ----------------- the item is gated behind the `audio` feature [INFO] [stdout] 113 | pub mod audio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::audio` [INFO] [stdout] --> examples/audio_speech.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | use oaapi::audio::SpeechRequestBody; [INFO] [stdout] | ^^^^^ could not find `audio` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(feature = "audio")] [INFO] [stdout] | ----------------- the item is gated behind the `audio` feature [INFO] [stdout] 113 | pub mod audio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::audio` [INFO] [stdout] --> examples/audio_speech.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | use oaapi::audio::SpeechResponseFormat; [INFO] [stdout] | ^^^^^ could not find `audio` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(feature = "audio")] [INFO] [stdout] | ----------------- the item is gated behind the `audio` feature [INFO] [stdout] 113 | pub mod audio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::audio` [INFO] [stdout] --> examples/audio_speech.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | use oaapi::audio::Voice; [INFO] [stdout] | ^^^^^ could not find `audio` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(feature = "audio")] [INFO] [stdout] | ----------------- the item is gated behind the `audio` feature [INFO] [stdout] 113 | pub mod audio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> examples/audio_speech.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oaapi` (example "audio_transcriptions_json") due to 3 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oaapi` (example "audio_transcriptions_vtt") due to 3 previous errors [INFO] [stdout] error[E0432]: unresolved import `oaapi::audio` [INFO] [stdout] --> examples/audio_translations.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use oaapi::audio::File; [INFO] [stdout] | ^^^^^ could not find `audio` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(feature = "audio")] [INFO] [stdout] | ----------------- the item is gated behind the `audio` feature [INFO] [stdout] 113 | pub mod audio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `audio_transcribe_into_verbose_json` found for struct `oaapi::Client` in the current scope [INFO] [stdout] --> examples/audio_transcriptions_verbose_json.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 39 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 40 | | .audio_transcribe_into_verbose_json(request_body) [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `oaapi::Client` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `oaapi::audio` [INFO] [stdout] --> examples/audio_translations.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use oaapi::audio::TranslationsRequestBody; [INFO] [stdout] | ^^^^^ could not find `audio` in `oaapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(feature = "audio")] [INFO] [stdout] | ----------------- the item is gated behind the `audio` feature [INFO] [stdout] 113 | pub mod audio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oaapi` (example "audio_transcriptions_verbose_json") due to 3 previous errors [INFO] [stdout] error[E0599]: no method named `audio_speech` found for struct `oaapi::Client` in the current scope [INFO] [stdout] --> examples/audio_speech.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 58 | let mut stream = client [INFO] [stdout] | ______________________- [INFO] [stdout] 59 | | .audio_speech(request_body) [INFO] [stdout] | | -^^^^^^^^^^^^ method not found in `oaapi::Client` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> examples/audio_speech.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let chunk = chunk?; [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> examples/audio_speech.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | let chunk = chunk?; [INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> examples/audio_speech.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | let chunk = chunk?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required by a bound in `Break` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/ops/control_flow.rs:95:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `audio_transcribe_into_plain_text` found for struct `oaapi::Client` in the current scope [INFO] [stdout] --> examples/audio_transcriptions_timestamp_granularities.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 42 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 43 | | .audio_transcribe_into_plain_text(request_body) [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `oaapi::Client` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oaapi` (example "audio_speech") due to 8 previous errors; 1 warning emitted [INFO] [stdout] warning: method `authorization_header` is never used [INFO] [stdout] --> src/api_key.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 9 | impl ApiKey { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub(crate) fn authorization_header(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `api_key`, `organization_id`, and `client` are never read [INFO] [stdout] --> src/client.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Client { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 27 | /// The API key. [INFO] [stdout] 28 | api_key: ApiKey, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | /// The organization ID. [INFO] [stdout] 30 | organization_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | /// The internal HTTP client. [INFO] [stdout] 32 | client: reqwest::Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Client` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `post` is never used [INFO] [stdout] --> src/client.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 35 | impl Client { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub(crate) fn post( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oaapi` (example "audio_transcriptions_timestamp_granularities") due to 4 previous errors [INFO] [stdout] error[E0599]: no method named `chat_complete` found for struct `oaapi::Client` in the current scope [INFO] [stdout] --> examples/chat_completions_limited.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 57 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 58 | | .chat_complete(request_body) [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `oaapi::Client` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `chat_complete_stream` found for struct `oaapi::Client` in the current scope [INFO] [stdout] --> examples/chat_completions_stream.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 51 | let mut stream = client [INFO] [stdout] | ______________________- [INFO] [stdout] 52 | | .chat_complete_stream(request_body) [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^ method not found in `oaapi::Client` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `audio_translate_into_plain_text` found for struct `oaapi::Client` in the current scope [INFO] [stdout] --> examples/audio_translations.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 39 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 40 | | .audio_translate_into_plain_text(request_body) [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `oaapi::Client` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oaapi` (example "chat_completions_limited") due to 7 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oaapi` (example "chat_completions_stream") due to 6 previous errors [INFO] [stderr] error: could not compile `oaapi` (example "audio_translations") due to 3 previous errors [INFO] [stdout] error[E0599]: no method named `chat_complete` found for struct `oaapi::Client` in the current scope [INFO] [stdout] --> examples/chat_completions_json.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 92 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 93 | | .chat_complete(request_body) [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `oaapi::Client` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oaapi` (example "chat_completions_json") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "cde8c6abf5f015db32d24d36aaf33780ab76b78667df968e08af01158648c8e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cde8c6abf5f015db32d24d36aaf33780ab76b78667df968e08af01158648c8e1", kill_on_drop: false }` [INFO] [stdout] cde8c6abf5f015db32d24d36aaf33780ab76b78667df968e08af01158648c8e1