[INFO] fetching crate open_ai 0.1.5...
[INFO] checking open_ai-0.1.5 against master#507271bc119683008ec719ecee48814e8ac86c65 for pr-146440
[INFO] extracting crate open_ai 0.1.5 into /workspace/builds/worker-7-tc1/source
[INFO] started tweaking crates.io crate open_ai 0.1.5
[INFO] finished tweaking crates.io crate open_ai 0.1.5
[INFO] tweaked toml for crates.io crate open_ai 0.1.5 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate open_ai 0.1.5 on toolchain 507271bc119683008ec719ecee48814e8ac86c65
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 196 packages to latest compatible versions
[INFO] [stderr]       Adding reqwest v0.12.28 (available: v0.13.3)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded struct_iterable v0.1.1
[INFO] [stderr]   Downloaded struct_iterable_internal v0.1.1
[INFO] [stderr]   Downloaded struct_iterable_derive v0.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 53b6953b9c46fed8f920004485abad5262556a4bb509b26bf53e9163a2876342
[INFO] running `Command { std: "docker" "start" "-a" "53b6953b9c46fed8f920004485abad5262556a4bb509b26bf53e9163a2876342", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "53b6953b9c46fed8f920004485abad5262556a4bb509b26bf53e9163a2876342", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "53b6953b9c46fed8f920004485abad5262556a4bb509b26bf53e9163a2876342", kill_on_drop: false }`
[INFO] [stdout] 53b6953b9c46fed8f920004485abad5262556a4bb509b26bf53e9163a2876342
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 183ca9e17838feec157e550674c13d1d503e7cb099c8583444ec8921d8144abd
[INFO] running `Command { std: "docker" "start" "-a" "183ca9e17838feec157e550674c13d1d503e7cb099c8583444ec8921d8144abd", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling rustls v0.23.40
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking webpki-roots v1.0.7
[INFO] [stderr]     Checking serde_json v1.0.150
[INFO] [stderr]    Compiling struct_iterable_internal v0.1.1
[INFO] [stderr]     Checking futures-timer v3.0.4
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]    Compiling erased-serde v0.3.31
[INFO] [stderr]     Checking uuid v1.23.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking tokio v1.52.3
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]    Compiling struct_iterable_derive v0.1.0
[INFO] [stderr]     Checking struct_iterable v0.1.1
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]     Checking rustls-webpki v0.103.13
[INFO] [stderr]     Checking hyper v1.9.0
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tokio-stream v0.1.18
[INFO] [stderr]     Checking tower-http v0.6.11
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking hyper-rustls v0.27.9
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]     Checking reqwest-eventsource v0.6.0
[INFO] [stderr]     Checking open_ai v0.1.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/core/core.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::RefCell;
[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 imports: `HeaderMap` and `HeaderValue`
[INFO] [stdout]  --> src/core/core.rs:2:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | use reqwest::header::{HeaderMap, HeaderValue};
[INFO] [stdout]   |                       ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RequestBuilder`, `Request`, and `Response`
[INFO] [stdout]  --> src/core/core.rs:3:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | use reqwest::{Client, Method, Request, RequestBuilder, Response, Url};
[INFO] [stdout]   |                               ^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/core/core.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value`
[INFO] [stdout]   --> src/core/core.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use serde_json::Value;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::time::sleep`
[INFO] [stdout]   --> src/core/core.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tokio::time::sleep;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/core/request_options.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Request`
[INFO] [stdout]  --> src/core/request_options.rs:4:31
[INFO] [stdout]   |
[INFO] [stdout] 4 | use reqwest::{Client, Method, Request};
[INFO] [stdout]   |                               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::library::assistant_stream::AssistantStream`
[INFO] [stdout]   --> src/core/streaming.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::library::assistant_stream::AssistantStream;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::resources::beta::threads::MessageDelta`
[INFO] [stdout]   --> src/core/streaming.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::resources::beta::threads::MessageDelta;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]    --> src/pagination.rs:130:5
[INFO] [stdout]     |
[INFO] [stdout] 130 | use std::cell::RefCell;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]    --> src/pagination.rs:131:5
[INFO] [stdout]     |
[INFO] [stdout] 131 | use std::collections::HashMap;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]    --> src/pagination.rs:133:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | use std::rc::Rc;
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc` and `Mutex`
[INFO] [stdout]    --> src/pagination.rs:134:17
[INFO] [stdout]     |
[INFO] [stdout] 134 | use std::sync::{Arc, Mutex};
[INFO] [stdout]     |                 ^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::Stream`
[INFO] [stdout]    --> src/pagination.rs:135:5
[INFO] [stdout]     |
[INFO] [stdout] 135 | use futures::Stream;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `reqwest::Response`
[INFO] [stdout]    --> src/pagination.rs:136:5
[INFO] [stdout]     |
[INFO] [stdout] 136 | use reqwest::Response;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Value` and `json`
[INFO] [stdout]    --> src/pagination.rs:138:18
[INFO] [stdout]     |
[INFO] [stdout] 138 | use serde_json::{json, Value};
[INFO] [stdout]     |                  ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `APIClient` and `RequestOptions`
[INFO] [stdout]    --> src/pagination.rs:139:19
[INFO] [stdout]     |
[INFO] [stdout] 139 | use crate::core::{APIClient, FinalRequestOptions, RequestOptions, PageInfo};
[INFO] [stdout]     |                   ^^^^^^^^^                       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MessageDelta`
[INFO] [stdout]  --> src/library/assistant_stream.rs:2:59
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::resources::beta::threads::{ImageFile, Message, MessageDelta, MessageDeltaEvent, Run, RunCreateParams, RunSubmitToolOutputs...
[INFO] [stdout]   |                                                           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ToolCallDelta`
[INFO] [stdout]  --> src/library/assistant_stream.rs:3:104
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::resources::beta::threads::runs::steps::{RunStep, RunStepDelta, RunStepDeltaEvent, ToolCall, ToolCallDelta};
[INFO] [stdout]   |                                                                                                        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/resources/completions.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `OpenAI`
[INFO] [stdout]  --> src/resources/chat/completions.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{OpenAI, OpenAIObject};
[INFO] [stdout]   |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::executor::block_on`
[INFO] [stdout]  --> src/resources/chat/completions.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use futures::executor::block_on;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]   --> src/resources/chat/completions.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::cell::RefCell;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]   --> src/resources/chat/completions.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::rc::Rc;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/resources/chat/chat.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/resources/chat/chat.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/resources/chat/mod.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/resources/beta/threads/threads.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/resources/beta/threads/threads.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/resources/beta/threads/threads.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::executor::block_on`
[INFO] [stdout]  --> src/resources/beta/threads/threads.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use futures::executor::block_on;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::resources::beta::threads::runs::runs`
[INFO] [stdout]   --> src/resources/beta/threads/threads.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::resources::beta::threads::runs::runs;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `OpenAI` and `streaming`
[INFO] [stdout]   --> src/resources/beta/threads/threads.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::{OpenAI, OpenAIObject, streaming};
[INFO] [stdout]    |             ^^^^^^                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `APIClient`
[INFO] [stdout]   --> src/resources/beta/threads/threads.rs:19:19
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::core::{APIClient, Headers};
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/resources/beta/threads/messages.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/resources/beta/threads/messages.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `APIClient`
[INFO] [stdout]  --> src/resources/beta/threads/messages.rs:8:25
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::core::{self, APIClient, FinalRequestOptions, Headers, RequestOptions};
[INFO] [stdout]   |                         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/core/core.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::RefCell;
[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 imports: `HeaderMap` and `HeaderValue`
[INFO] [stdout]  --> src/core/core.rs:2:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | use reqwest::header::{HeaderMap, HeaderValue};
[INFO] [stdout]   |                       ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RequestBuilder`, `Request`, and `Response`
[INFO] [stdout]  --> src/core/core.rs:3:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | use reqwest::{Client, Method, Request, RequestBuilder, Response, Url};
[INFO] [stdout]   |                               ^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/core/core.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value`
[INFO] [stdout]   --> src/core/core.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use serde_json::Value;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::time::sleep`
[INFO] [stdout]   --> src/core/core.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tokio::time::sleep;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/core/request_options.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Request`
[INFO] [stdout]  --> src/core/request_options.rs:4:31
[INFO] [stdout]   |
[INFO] [stdout] 4 | use reqwest::{Client, Method, Request};
[INFO] [stdout]   |                               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::library::assistant_stream::AssistantStream`
[INFO] [stdout]   --> src/core/streaming.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::library::assistant_stream::AssistantStream;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::resources::beta::threads::MessageDelta`
[INFO] [stdout]   --> src/core/streaming.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::resources::beta::threads::MessageDelta;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/resources/beta/threads/runs/steps.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]    --> src/pagination.rs:130:5
[INFO] [stdout]     |
[INFO] [stdout] 130 | use std::cell::RefCell;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/resources/beta/threads/runs/steps.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]    --> src/pagination.rs:131:5
[INFO] [stdout]     |
[INFO] [stdout] 131 | use std::collections::HashMap;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `APIClient`
[INFO] [stdout]  --> src/resources/beta/threads/runs/steps.rs:8:25
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::core::{self, APIClient, FinalRequestOptions, Headers};
[INFO] [stdout]   |                         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]    --> src/pagination.rs:133:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | use std::rc::Rc;
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::resources::beta::threads::runs::steps as steps_api`
[INFO] [stdout]   --> src/resources/beta/threads/runs/steps.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::resources::beta::threads::runs::steps as steps_api;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc` and `Mutex`
[INFO] [stdout]    --> src/pagination.rs:134:17
[INFO] [stdout]     |
[INFO] [stdout] 134 | use std::sync::{Arc, Mutex};
[INFO] [stdout]     |                 ^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::Stream`
[INFO] [stdout]    --> src/pagination.rs:135:5
[INFO] [stdout]     |
[INFO] [stdout] 135 | use futures::Stream;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `reqwest::Response`
[INFO] [stdout]    --> src/pagination.rs:136:5
[INFO] [stdout]     |
[INFO] [stdout] 136 | use reqwest::Response;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Value` and `json`
[INFO] [stdout]    --> src/pagination.rs:138:18
[INFO] [stdout]     |
[INFO] [stdout] 138 | use serde_json::{json, Value};
[INFO] [stdout]     |                  ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `APIClient` and `RequestOptions`
[INFO] [stdout]    --> src/pagination.rs:139:19
[INFO] [stdout]     |
[INFO] [stdout] 139 | use crate::core::{APIClient, FinalRequestOptions, RequestOptions, PageInfo};
[INFO] [stdout]     |                   ^^^^^^^^^                       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MessageDelta`
[INFO] [stdout]  --> src/library/assistant_stream.rs:2:59
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::resources::beta::threads::{ImageFile, Message, MessageDelta, MessageDeltaEvent, Run, RunCreateParams, RunSubmitToolOutputs...
[INFO] [stdout]   |                                                           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ToolCallDelta`
[INFO] [stdout]  --> src/library/assistant_stream.rs:3:104
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::resources::beta::threads::runs::steps::{RunStep, RunStepDelta, RunStepDeltaEvent, ToolCall, ToolCallDelta};
[INFO] [stdout]   |                                                                                                        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/resources/completions.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `OpenAI`
[INFO] [stdout]  --> src/resources/chat/completions.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{OpenAI, OpenAIObject};
[INFO] [stdout]   |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::executor::block_on`
[INFO] [stdout]  --> src/resources/chat/completions.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use futures::executor::block_on;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]   --> src/resources/chat/completions.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::cell::RefCell;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]   --> src/resources/chat/completions.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::rc::Rc;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/resources/beta/threads/runs/runs.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::core::{self, FinalRequestOptions, Headers, RequestOptions};
[INFO] [stdout]   |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RunCreateParamsBaseStream` and `RunSubmitToolOutputsParamsStream`
[INFO] [stdout]   --> src/resources/beta/threads/runs/runs.rs:11:78
[INFO] [stdout]    |
[INFO] [stdout] 11 | ...istantStream, AssistantStreamBody, RunCreateParamsBaseStream, RunSubmitToolOutputsParamsStream};
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::resources::beta::threads::runs::steps as steps_api`
[INFO] [stdout]   --> src/resources/beta/threads/runs/runs.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::resources::beta::threads::runs::steps as steps_api;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CursorPageParams`
[INFO] [stdout]   --> src/resources/beta/threads/runs/runs.rs:17:37
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::pagination::{CursorPage, CursorPageParams, CursorPageResponse, Page};
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/resources/chat/chat.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/resources/chat/chat.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/resources/chat/mod.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/resources/beta/threads/threads.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/resources/beta/threads/threads.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/resources/beta/threads/threads.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::executor::block_on`
[INFO] [stdout]  --> src/resources/beta/threads/threads.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use futures::executor::block_on;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::resources::beta::threads::runs::runs`
[INFO] [stdout]   --> src/resources/beta/threads/threads.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::resources::beta::threads::runs::runs;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/resources/beta/assistants.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `OpenAI` and `streaming`
[INFO] [stdout]   --> src/resources/beta/threads/threads.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::{OpenAI, OpenAIObject, streaming};
[INFO] [stdout]    |             ^^^^^^                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `APIClient`
[INFO] [stdout]   --> src/resources/beta/threads/threads.rs:19:19
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::core::{APIClient, Headers};
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/resources/beta/assistants.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `APIClient` and `self`
[INFO] [stdout]  --> src/resources/beta/assistants.rs:8:19
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::core::{self, APIClient, FinalRequestOptions, Headers, RequestOptions};
[INFO] [stdout]   |                   ^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::resources::beta::assistants as assistants_api`
[INFO] [stdout]   --> src/resources/beta/assistants.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::resources::beta::assistants as assistants_api;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::resources::beta::threads::runs::runs as runs_api`
[INFO] [stdout]   --> src/resources/beta/assistants.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::resources::beta::threads::runs::runs as runs_api;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::resources::beta::threads::runs::steps as steps_api`
[INFO] [stdout]   --> src/resources/beta/assistants.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::resources::beta::threads::runs::steps as steps_api;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CursorPageParams`
[INFO] [stdout]   --> src/resources/beta/assistants.rs:16:43
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::pagination::{Page, CursorPage, CursorPageParams, CursorPageResponse};
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]   --> src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::cell::RefCell;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::rc::Rc;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/resources/beta/threads/messages.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/resources/beta/threads/messages.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `APIClient`
[INFO] [stdout]  --> src/resources/beta/threads/messages.rs:8:25
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::core::{self, APIClient, FinalRequestOptions, Headers, RequestOptions};
[INFO] [stdout]   |                         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/resources/beta/threads/runs/steps.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/resources/beta/threads/runs/steps.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `APIClient`
[INFO] [stdout]  --> src/resources/beta/threads/runs/steps.rs:8:25
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::core::{self, APIClient, FinalRequestOptions, Headers};
[INFO] [stdout]   |                         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::resources::beta::threads::runs::steps as steps_api`
[INFO] [stdout]   --> src/resources/beta/threads/runs/steps.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::resources::beta::threads::runs::steps as steps_api;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/resources/beta/threads/runs/runs.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::core::{self, FinalRequestOptions, Headers, RequestOptions};
[INFO] [stdout]   |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RunCreateParamsBaseStream` and `RunSubmitToolOutputsParamsStream`
[INFO] [stdout]   --> src/resources/beta/threads/runs/runs.rs:11:78
[INFO] [stdout]    |
[INFO] [stdout] 11 | ...istantStream, AssistantStreamBody, RunCreateParamsBaseStream, RunSubmitToolOutputsParamsStream};
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::resources::beta::threads::runs::steps as steps_api`
[INFO] [stdout]   --> src/resources/beta/threads/runs/runs.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::resources::beta::threads::runs::steps as steps_api;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CursorPageParams`
[INFO] [stdout]   --> src/resources/beta/threads/runs/runs.rs:17:37
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::pagination::{CursorPage, CursorPageParams, CursorPageResponse, Page};
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/resources/beta/assistants.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/resources/beta/assistants.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `APIClient` and `self`
[INFO] [stdout]  --> src/resources/beta/assistants.rs:8:19
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::core::{self, APIClient, FinalRequestOptions, Headers, RequestOptions};
[INFO] [stdout]   |                   ^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::resources::beta::assistants as assistants_api`
[INFO] [stdout]   --> src/resources/beta/assistants.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::resources::beta::assistants as assistants_api;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::resources::beta::threads::runs::runs as runs_api`
[INFO] [stdout]   --> src/resources/beta/assistants.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::resources::beta::threads::runs::runs as runs_api;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::resources::beta::threads::runs::steps as steps_api`
[INFO] [stdout]   --> src/resources/beta/assistants.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::resources::beta::threads::runs::steps as steps_api;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CursorPageParams`
[INFO] [stdout]   --> src/resources/beta/assistants.rs:16:43
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::pagination::{Page, CursorPage, CursorPageParams, CursorPageResponse};
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]   --> src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::cell::RefCell;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::rc::Rc;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `reqwest_eventsource::Event`
[INFO] [stdout]    --> src/lib.rs:316:9
[INFO] [stdout]     |
[INFO] [stdout] 316 |     use reqwest_eventsource::Event;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::resources::beta::assistants::Assistant`
[INFO] [stdout]    --> src/lib.rs:320:9
[INFO] [stdout]     |
[INFO] [stdout] 320 |     use crate::resources::beta::assistants::Assistant;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CodeInterpreter` and `self`
[INFO] [stdout]    --> src/lib.rs:321:61
[INFO] [stdout]     |
[INFO] [stdout] 321 |     use crate::resources::beta::assistants::AssistantTool::{self, CodeInterpreter};
[INFO] [stdout]     |                                                             ^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::resources::beta::assistants::assistant::ToolResources`
[INFO] [stdout]    --> src/lib.rs:322:9
[INFO] [stdout]     |
[INFO] [stdout] 322 |     use crate::resources::beta::assistants::assistant::ToolResources;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::resources::beta::assistants::assistant::tool_resources::FileSearch`
[INFO] [stdout]    --> src/lib.rs:323:9
[INFO] [stdout]     |
[INFO] [stdout] 323 |     use crate::resources::beta::assistants::assistant::tool_resources::FileSearch;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AssistantCreateParams`, `AssistantListParams`, and `assistant_list_params`
[INFO] [stdout]    --> src/lib.rs:324:46
[INFO] [stdout]     |
[INFO] [stdout] 324 |     use crate::resources::beta::assistants::{assistant_list_params, AssistantCreateParams, AssistantListParams};
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::resources::beta::assistants`
[INFO] [stdout]    --> src/lib.rs:325:9
[INFO] [stdout]     |
[INFO] [stdout] 325 |     use crate::resources::beta::assistants;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `message`
[INFO] [stdout]    --> src/lib.rs:326:53
[INFO] [stdout]     |
[INFO] [stdout] 326 |     use crate::resources::beta::threads::messages::{message, message_create_params};
[INFO] [stdout]     |                                                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MessageListParams` and `Message`
[INFO] [stdout]    --> src/lib.rs:328:43
[INFO] [stdout]     |
[INFO] [stdout] 328 |     use crate::resources::beta::threads::{Message, MessageContentDelta, MessageCreateParams, MessageListParams, messages, RunCreate...
[INFO] [stdout]     |                                           ^^^^^^^                                            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::resources::beta::threads::runs::steps::run_step_delta::StepDetails::ToolCalls`
[INFO] [stdout]    --> src/lib.rs:330:9
[INFO] [stdout]     |
[INFO] [stdout] 330 |     use crate::resources::beta::threads::runs::steps::run_step_delta::StepDetails::ToolCalls;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::resources::beta::threads::runs::steps::ToolCallDelta`
[INFO] [stdout]    --> src/lib.rs:331:9
[INFO] [stdout]     |
[INFO] [stdout] 331 |     use crate::resources::beta::threads::runs::steps::ToolCallDelta;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::resources::chat::ChatCompletionContentPart::Image`
[INFO] [stdout]    --> src/lib.rs:333:9
[INFO] [stdout]     |
[INFO] [stdout] 333 |     use crate::resources::chat::ChatCompletionContentPart::Image;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::resources::chat::ChatModel`
[INFO] [stdout]    --> src/lib.rs:334:9
[INFO] [stdout]     |
[INFO] [stdout] 334 |     use crate::resources::chat::ChatModel;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Detail` and `ImageURL`
[INFO] [stdout]    --> src/lib.rs:335:70
[INFO] [stdout]     |
[INFO] [stdout] 335 |     use crate::resources::chat::chat_completion_content_part_image::{ImageURL, Detail};
[INFO] [stdout]     |                                                                      ^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ChatCompletionContentPart`, `Multiple`, and `self`
[INFO] [stdout]    --> src/lib.rs:336:114
[INFO] [stdout]     |
[INFO] [stdout] 336 | ...etionMessageParam, ChatCompletionContent::{self, Multiple}, ChatCompletionContentPart};
[INFO] [stdout]     |                                               ^^^^  ^^^^^^^^   ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `resources::chat::completions::chat_completion_assistant_message_param::FunctionCall`: Deprecated and replaced by `tool_calls`. The name and arguments of a function that should be called, as generated by the model.
[INFO] [stdout]    --> src/resources/chat/completions.rs:163:72
[INFO] [stdout]     |
[INFO] [stdout] 163 |     pub function_call: Option<chat_completion_assistant_message_param::FunctionCall>,
[INFO] [stdout]     |                                                                        ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `resources::chat::completions::chat_completion_message::FunctionCall`: Deprecated and replaced by `tool_calls`. The name and arguments of a function that should be called, as generated by the model.
[INFO] [stdout]    --> src/resources/chat/completions.rs:477:56
[INFO] [stdout]     |
[INFO] [stdout] 477 |     pub function_call: Option<chat_completion_message::FunctionCall>,
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `resources::chat::completions::chat_completion_create_params::Function`
[INFO] [stdout]    --> src/resources/chat/completions.rs:832:62
[INFO] [stdout]     |
[INFO] [stdout] 832 |     pub functions: Option<Vec<chat_completion_create_params::Function>>,
[INFO] [stdout]     |                                                              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `resources::chat::completions::chat_completion_assistant_message_param::FunctionCall`: Deprecated and replaced by `tool_calls`. The name and arguments of a function that should be called, as generated by the model.
[INFO] [stdout]    --> src/resources/chat/completions.rs:163:72
[INFO] [stdout]     |
[INFO] [stdout] 163 |     pub function_call: Option<chat_completion_assistant_message_param::FunctionCall>,
[INFO] [stdout]     |                                                                        ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `resources::chat::completions::chat_completion_message::FunctionCall`: Deprecated and replaced by `tool_calls`. The name and arguments of a function that should be called, as generated by the model.
[INFO] [stdout]    --> src/resources/chat/completions.rs:477:56
[INFO] [stdout]     |
[INFO] [stdout] 477 |     pub function_call: Option<chat_completion_message::FunctionCall>,
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `resources::chat::completions::chat_completion_create_params::Function`
[INFO] [stdout]    --> src/resources/chat/completions.rs:832:62
[INFO] [stdout]     |
[INFO] [stdout] 832 |     pub functions: Option<Vec<chat_completion_create_params::Function>>,
[INFO] [stdout]     |                                                              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/core/streaming.rs:154:29
[INFO] [stdout]     |
[INFO] [stdout] 131 | /                         match message.event.as_str() {
[INFO] [stdout] 132 | |                                 "thread.message.delta" => {
[INFO] [stdout] 133 | |                                     let enum_data = format!("{{\"message_delta\": {}}}", data);
[INFO] [stdout] 134 | |                                     let data: Result<ItemStreaming, _> = serde_json::from_str(&enum_data);
[INFO] [stdout] ...   |
[INFO] [stdout] 151 | |                                 },
[INFO] [stdout] 152 | |                             }
[INFO] [stdout]     | |_____________________________- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] 153 |                               // let data: Result<ItemStreaming, _> = serde_json::from_str(&message.data);
[INFO] [stdout] 154 |                               let data: Result<_, Box<dyn Error>> = Err("Not implemented".into());
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/pagination.rs:245:13
[INFO] [stdout]     |
[INFO] [stdout] 245 |         let mut next_info = next_info.unwrap();
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/core/streaming.rs:154:29
[INFO] [stdout]     |
[INFO] [stdout] 131 | /                         match message.event.as_str() {
[INFO] [stdout] 132 | |                                 "thread.message.delta" => {
[INFO] [stdout] 133 | |                                     let enum_data = format!("{{\"message_delta\": {}}}", data);
[INFO] [stdout] 134 | |                                     let data: Result<ItemStreaming, _> = serde_json::from_str(&enum_data);
[INFO] [stdout] ...   |
[INFO] [stdout] 151 | |                                 },
[INFO] [stdout] 152 | |                             }
[INFO] [stdout]     | |_____________________________- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] 153 |                               // let data: Result<ItemStreaming, _> = serde_json::from_str(&message.data);
[INFO] [stdout] 154 |                               let data: Result<_, Box<dyn Error>> = Err("Not implemented".into());
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/pagination.rs:245:13
[INFO] [stdout]     |
[INFO] [stdout] 245 |         let mut next_info = next_info.unwrap();
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]   --> src/resources/chat/completions.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::error::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/core/core.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let mut auth_headers: Headers = self.auth_headers(opts);
[INFO] [stdout]    |             ----^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `page`
[INFO] [stdout]    --> src/core/core.rs:147:9
[INFO] [stdout]     |
[INFO] [stdout] 147 |         page: impl FnOnce(
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_page`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `retries_remaining`
[INFO] [stdout]    --> src/core/core.rs:164:9
[INFO] [stdout]     |
[INFO] [stdout] 164 |         retries_remaining: Option<()>
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_retries_remaining`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `params`
[INFO] [stdout]    --> src/pagination.rs:248:30
[INFO] [stdout]     |
[INFO] [stdout] 248 |             PageInfo::Params(params) => {
[INFO] [stdout]     |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]   --> src/resources/chat/completions.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::error::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/core/core.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let mut auth_headers: Headers = self.auth_headers(opts);
[INFO] [stdout]    |             ----^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `page`
[INFO] [stdout]    --> src/core/core.rs:147:9
[INFO] [stdout]     |
[INFO] [stdout] 147 |         page: impl FnOnce(
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_page`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `retries_remaining`
[INFO] [stdout]    --> src/core/core.rs:164:9
[INFO] [stdout]     |
[INFO] [stdout] 164 |         retries_remaining: Option<()>
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_retries_remaining`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `params`
[INFO] [stdout]    --> src/pagination.rs:248:30
[INFO] [stdout]     |
[INFO] [stdout] 248 |             PageInfo::Params(params) => {
[INFO] [stdout]     |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `query`
[INFO] [stdout]    --> src/resources/beta/assistants.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 123 |         query: AssistantListParams,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_query`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `query`
[INFO] [stdout]    --> src/resources/beta/assistants.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 123 |         query: AssistantListParams,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_query`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `message`
[INFO] [stdout]    --> src/lib.rs:978:13
[INFO] [stdout]     |
[INFO] [stdout] 978 |         let message = openai.beta.threads.messages.create(
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `run`
[INFO] [stdout]    --> src/lib.rs:999:13
[INFO] [stdout]     |
[INFO] [stdout] 999 |         let run = openai.beta.threads.runs.retrieve(&thread.id, &run.id, None).await;
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_run`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `next_page_info`, `get_paginated_items`, `has_next_page`, `get_next_page`, and `iter_pages` are never used
[INFO] [stdout]    --> src/pagination.rs:146:8
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub trait Page<Req: Default + Clone + Serialize, Item: for<'de> Deserialize<'de>>: Sized {
[INFO] [stdout]     |           ---- methods in this trait
[INFO] [stdout] 145 |     fn new(client: APIResource, /*response: reqwest::Response,*/ body: CursorPageRespon...
[INFO] [stdout] 146 |     fn next_page_info(&self) -> Option<PageInfo>;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 147 |     fn get_paginated_items(&self) -> Vec<Item>;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 148 |     fn has_next_page(&self) -> bool;
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 149 |     async fn get_next_page(&self) -> Result<Self, Box<dyn Error>>;
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout] 150 |     async fn iter_pages(&self) -> &Self;
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ErrorObject` is never constructed
[INFO] [stdout]  --> src/shared.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct ErrorObject {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `content`, `name`, and `role` are never read
[INFO] [stdout]    --> src/resources/chat/completions.rs:455:5
[INFO] [stdout]     |
[INFO] [stdout] 453 | pub struct ChatCompletionFunctionMessageParam {
[INFO] [stdout]     |            ---------------------------------- fields in this struct
[INFO] [stdout] 454 |     /// The contents of the function message.
[INFO] [stdout] 455 |     content: Option<String>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 458 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 461 |     role: String, // "function"
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/resources/chat/completions.rs:29:20
[INFO] [stdout]    |
[INFO] [stdout] 27 |         &'a self,
[INFO] [stdout]    |          -- the lifetime is named here
[INFO] [stdout] 28 |         body: ChatCompletionCreateParams<'a>,
[INFO] [stdout]    |                                          -- the lifetime is named here
[INFO] [stdout] 29 |     ) -> APIFuture<ChatCompletionCreateParams, ChatCompletion, ChatCompletionChunk> {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 29 |     ) -> APIFuture<ChatCompletionCreateParams<'a>, ChatCompletion, ChatCompletionChunk> {
[INFO] [stdout]    |                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Sleep` that must be used
[INFO] [stdout]    --> src/resources/beta/threads/runs/runs.rs:252:21
[INFO] [stdout]     |
[INFO] [stdout] 252 |                     sleep(Duration::from_millis(sleep_interval as u64));
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: futures do nothing unless you `.await` or poll them
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 252 |                     let _ = sleep(Duration::from_millis(sleep_interval as u64));
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `next_page_info`, `get_paginated_items`, `has_next_page`, `get_next_page`, and `iter_pages` are never used
[INFO] [stdout]    --> src/pagination.rs:146:8
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub trait Page<Req: Default + Clone + Serialize, Item: for<'de> Deserialize<'de>>: Sized {
[INFO] [stdout]     |           ---- methods in this trait
[INFO] [stdout] 145 |     fn new(client: APIResource, /*response: reqwest::Response,*/ body: CursorPageRespon...
[INFO] [stdout] 146 |     fn next_page_info(&self) -> Option<PageInfo>;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 147 |     fn get_paginated_items(&self) -> Vec<Item>;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 148 |     fn has_next_page(&self) -> bool;
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 149 |     async fn get_next_page(&self) -> Result<Self, Box<dyn Error>>;
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout] 150 |     async fn iter_pages(&self) -> &Self;
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ErrorObject` is never constructed
[INFO] [stdout]  --> src/shared.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct ErrorObject {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `content`, `name`, and `role` are never read
[INFO] [stdout]    --> src/resources/chat/completions.rs:455:5
[INFO] [stdout]     |
[INFO] [stdout] 453 | pub struct ChatCompletionFunctionMessageParam {
[INFO] [stdout]     |            ---------------------------------- fields in this struct
[INFO] [stdout] 454 |     /// The contents of the function message.
[INFO] [stdout] 455 |     content: Option<String>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 458 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 461 |     role: String, // "function"
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/resources/chat/completions.rs:29:20
[INFO] [stdout]    |
[INFO] [stdout] 27 |         &'a self,
[INFO] [stdout]    |          -- the lifetime is named here
[INFO] [stdout] 28 |         body: ChatCompletionCreateParams<'a>,
[INFO] [stdout]    |                                          -- the lifetime is named here
[INFO] [stdout] 29 |     ) -> APIFuture<ChatCompletionCreateParams, ChatCompletion, ChatCompletionChunk> {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 29 |     ) -> APIFuture<ChatCompletionCreateParams<'a>, ChatCompletion, ChatCompletionChunk> {
[INFO] [stdout]    |                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Sleep` that must be used
[INFO] [stdout]    --> src/resources/beta/threads/runs/runs.rs:252:21
[INFO] [stdout]     |
[INFO] [stdout] 252 |                     sleep(Duration::from_millis(sleep_interval as u64));
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: futures do nothing unless you `.await` or poll them
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 252 |                     let _ = sleep(Duration::from_millis(sleep_interval as u64));
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.91s
[INFO] running `Command { std: "docker" "inspect" "183ca9e17838feec157e550674c13d1d503e7cb099c8583444ec8921d8144abd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "183ca9e17838feec157e550674c13d1d503e7cb099c8583444ec8921d8144abd", kill_on_drop: false }`
[INFO] [stdout] 183ca9e17838feec157e550674c13d1d503e7cb099c8583444ec8921d8144abd
