[INFO] fetching crate open_ai 0.1.5... [INFO] checking open_ai-0.1.5 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate open_ai 0.1.5 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate open_ai 0.1.5 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 144 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding erased-serde v0.3.31 (latest: v0.4.5) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding tower v0.4.13 (latest: v0.5.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 967a16d58ce0cce1db521006f8e3947aa483e5c5f5dfcb70a9b138f5d493f5f3 [INFO] running `Command { std: "docker" "start" "-a" "967a16d58ce0cce1db521006f8e3947aa483e5c5f5dfcb70a9b138f5d493f5f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "967a16d58ce0cce1db521006f8e3947aa483e5c5f5dfcb70a9b138f5d493f5f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "967a16d58ce0cce1db521006f8e3947aa483e5c5f5dfcb70a9b138f5d493f5f3", kill_on_drop: false }` [INFO] [stdout] 967a16d58ce0cce1db521006f8e3947aa483e5c5f5dfcb70a9b138f5d493f5f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2bf7453d07394d5c4d09c08933a40e6869e37affd5558be48282fafb25ec94a [INFO] running `Command { std: "docker" "start" "-a" "d2bf7453d07394d5c4d09c08933a40e6869e37affd5558be48282fafb25ec94a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking webpki-roots v0.26.5 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling struct_iterable_internal v0.1.1 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking eventsource-stream v0.2.3 [INFO] [stderr] Compiling erased-serde v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling struct_iterable_derive v0.1.0 [INFO] [stderr] Checking struct_iterable v0.1.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking rustls-webpki v0.102.7 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Checking hyper-rustls v0.27.2 [INFO] [stderr] Checking reqwest v0.12.7 [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)]` 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, RunSubmitToolOutputsPara... [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/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: `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)]` 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: `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 | use crate::library::assistant_stream::{AssistantStream, 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: `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, RunSubmitToolOutputsPara... [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/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::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/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::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 | use crate::library::assistant_stream::{AssistantStream, 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, RunCreateParams... [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 | ...mpletionMessageParam, 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, [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, [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>, [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:173:16 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct FunctionCall { [INFO] [stdout] | ^^^^^^^^^^^^ [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:490:16 [INFO] [stdout] | [INFO] [stdout] 490 | pub struct 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:989:16 [INFO] [stdout] | [INFO] [stdout] 989 | pub struct 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, [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, [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>, [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:173:16 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct FunctionCall { [INFO] [stdout] | ^^^^^^^^^^^^ [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:490:16 [INFO] [stdout] | [INFO] [stdout] 490 | pub struct 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:989:16 [INFO] [stdout] | [INFO] [stdout] 989 | pub struct Function { [INFO] [stdout] | ^^^^^^^^ [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)]` 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: 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 = 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 = serde_json::from_str(&message.data); [INFO] [stdout] 154 | let data: Result<_, Box> = Err("Not implemented".into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [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: 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)]` on by default [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)]` 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: 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 = 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 = serde_json::from_str(&message.data); [INFO] [stdout] 154 | let data: Result<_, Box> = Err("Not implemented".into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [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: 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)]` on by default [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 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 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: methods `has_next_page`, `get_next_page`, and `iter_pages` are never used [INFO] [stdout] --> src/pagination.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 144 | pub trait Page Deserialize<'de>>: Sized { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 148 | fn has_next_page(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 149 | async fn get_next_page(&self) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 150 | async fn iter_pages(&self) -> &Self; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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, [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/core.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 95 | opts: Option>, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | self.method_request(Method::GET, path, opts) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/core.rs:112:29 [INFO] [stdout] | [INFO] [stdout] 109 | opts: Option>, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | self.method_request(Method::POST, path, opts) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/core.rs:126:33 [INFO] [stdout] | [INFO] [stdout] 123 | opts: Option>, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | self.method_request(Method::DELETE, path, opts) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/request_options.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn new(method: &Method, path: &str, opts: RequestOptions) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | FinalRequestOptions { [INFO] [stdout] 76 | method: method.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/request_options.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn new(method: &Method, path: &str, opts: RequestOptions) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | http_agent: opts.http_agent.as_ref().map(|x| x.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/request_options.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn new(method: &Method, path: &str, opts: RequestOptions) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | signal: opts.signal.as_ref().map(|x| x.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/request_options.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 95 | fn from(options: FinalRequestOptions) -> Self { [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | RequestOptions { [INFO] [stdout] 97 | method: Some(options.method), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/streaming.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 71 | let request = request_builder.build().unwrap(); // ?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | [INFO] [stdout] 73 | let future_client = client.clone(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | let future = Box::pin(async move { [INFO] [stdout] 75 | future_client.execute(request).await.map_err(|e| Box::new(e) as Box) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/streaming.rs:75:78 [INFO] [stdout] | [INFO] [stdout] 75 | ... future_client.execute(request).await.map_err(|e| Box::new(e) as Box) [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/streaming.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 84 | let response = futures::ready!(future.as_mut().poll(cx))?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | response.text().await.map_err(|e| Box::new(e) as Box) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/streaming.rs:87:59 [INFO] [stdout] | [INFO] [stdout] 87 | response.text().await.map_err(|e| Box::new(e) as Box) [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/streaming.rs:117:34 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn into_stream(self) -> impl Stream>> + 'a { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 112 | let request_builder = self.request.unwrap(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | let mut event_source = EventSource::new(request_builder).expect("Failed to create EventSource"); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | [INFO] [stdout] 117 | futures::stream::poll_fn(move |cx| { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 118 | | loop { [INFO] [stdout] 119 | | let event = futures::ready!(Pin::new(&mut event_source).poll_next(cx)); [INFO] [stdout] 120 | | match event { [INFO] [stdout] ... | [INFO] [stdout] 173 | | } [INFO] [stdout] 174 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pagination.rs:201:19 [INFO] [stdout] | [INFO] [stdout] 190 | client: APIResource, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 191 | // response: reqwest::Response, [INFO] [stdout] 192 | body: CursorPageResponse, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 193 | options: FinalRequestOptions, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 201 | data: body.data.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/threads.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 64 | options: Option>, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | self.client.clone().unwrap().clone().lock().unwrap().get( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/threads.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 64 | options: Option>, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | / Some(core::RequestOptions { [INFO] [stdout] 80 | | body: Some(thread_id.to_string()), [INFO] [stdout] 81 | | headers: Some(headers), [INFO] [stdout] 82 | | ..Default::default() [INFO] [stdout] 83 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/threads.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 92 | options: Option>, [INFO] [stdout] | --------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | self.client.clone().unwrap().lock().unwrap().post( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/threads.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 92 | options: Option>, [INFO] [stdout] | --------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | / Some(core::RequestOptions { [INFO] [stdout] 108 | | body: Some(body), [INFO] [stdout] 109 | | headers: Some(headers), [INFO] [stdout] 110 | | ..Default::default() [INFO] [stdout] 111 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/threads.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 119 | options: Option>, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | self.client.clone().unwrap().lock().unwrap().delete( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/threads.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 119 | options: Option>, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 133 | / Some(core::RequestOptions::<()> { [INFO] [stdout] 134 | | headers: Some(headers), [INFO] [stdout] 135 | | ..Default::default() [INFO] [stdout] 136 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/threads.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 166 | options: Option>, [INFO] [stdout] | --------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 180 | self.client.clone().unwrap().lock().unwrap().post( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/threads.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 166 | options: Option>, [INFO] [stdout] | --------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 182 | / Some(core::RequestOptions { [INFO] [stdout] 183 | | body: Some(body), [INFO] [stdout] 184 | | stream: Some(stream), [INFO] [stdout] 185 | | headers: Some(headers), [INFO] [stdout] 186 | | ..Default::default() [INFO] [stdout] 187 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/messages.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 31 | options: Option>, [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | self.client.clone().unwrap().lock().unwrap().post( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/messages.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 31 | options: Option>, [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | / Some(RequestOptions { [INFO] [stdout] 46 | | body: Some(body), [INFO] [stdout] 47 | | headers: Some(headers), [INFO] [stdout] 48 | | ..options.unwrap_or_default() [INFO] [stdout] 49 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/messages.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 58 | _options: Option>, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | ) -> APIFuture<(), Message, ()> { [INFO] [stdout] 60 | self.client.clone().unwrap().lock().unwrap().post( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/messages.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 58 | _options: Option>, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | / Some(RequestOptions::<()> { [INFO] [stdout] 63 | | ..Default::default() [INFO] [stdout] 64 | | // ..options [INFO] [stdout] 65 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/messages.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 82 | _options: Option>, [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | ) -> APIFuture { [INFO] [stdout] 84 | self.client.clone().unwrap().lock().unwrap().post( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/messages.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 82 | _options: Option>, [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | / Some(RequestOptions { [INFO] [stdout] 87 | | body: Some(body), [INFO] [stdout] 88 | | ..Default::default() [INFO] [stdout] 89 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/messages.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 161 | options: Option, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 174 | self.client.clone().unwrap().lock().unwrap().post( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/messages.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 161 | options: Option, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | / Some(core::RequestOptions::<()> { [INFO] [stdout] 177 | | headers: Some(headers), [INFO] [stdout] 178 | | ..Default::default() [INFO] [stdout] 179 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/runs/runs.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 37 | options: Option>, [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | self.client.clone().unwrap().lock().unwrap().post( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/runs/runs.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 37 | options: Option>, [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | / Some(RequestOptions { [INFO] [stdout] 54 | | body: Some(body), [INFO] [stdout] 55 | | headers: Some(headers), [INFO] [stdout] 56 | | stream: Some(stream), [INFO] [stdout] 57 | | ..options.unwrap_or_default() [INFO] [stdout] 58 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/runs/runs.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 67 | options: Option, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | self.client.clone().unwrap().lock().unwrap().get( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/runs/runs.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 67 | options: Option, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | / Some(RequestOptions { [INFO] [stdout] 82 | | headers: Some(headers), [INFO] [stdout] 83 | | ..options.unwrap_or_default() [INFO] [stdout] 84 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/runs/runs.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 94 | options: Option>, [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | self.client.clone().unwrap().lock().unwrap().post( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/runs/runs.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 94 | options: Option>, [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | / Some(RequestOptions { [INFO] [stdout] 109 | | body: Some(body), [INFO] [stdout] 110 | | headers: Some(headers), [INFO] [stdout] 111 | | ..options.unwrap_or_default() [INFO] [stdout] 112 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/runs/runs.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 157 | options: Option, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | self.client.clone().unwrap().lock().unwrap().post( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/runs/runs.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 157 | options: Option, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 172 | / Some(RequestOptions { [INFO] [stdout] 173 | | headers: Some(headers), [INFO] [stdout] 174 | | ..options.unwrap_or_default() [INFO] [stdout] 175 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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)]` 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/runs/runs.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 274 | options: Option>, [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 289 | self.client.clone().unwrap().lock().unwrap().post( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/runs/runs.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 274 | options: Option>, [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 291 | / Some(RequestOptions { [INFO] [stdout] 292 | | body: Some(body), [INFO] [stdout] 293 | | headers: Some(headers), [INFO] [stdout] 294 | | stream: Some(true), [INFO] [stdout] 295 | | ..options.unwrap_or_default() [INFO] [stdout] 296 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/runs/runs.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 375 | options: Option>, [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 391 | self.client.clone().unwrap().lock().unwrap().post( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/runs/runs.rs:393:13 [INFO] [stdout] | [INFO] [stdout] 375 | options: Option>, [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 393 | / Some(RequestOptions { [INFO] [stdout] 394 | | body: Some(body), [INFO] [stdout] 395 | | headers: Some(headers), [INFO] [stdout] 396 | | stream: Some(true), [INFO] [stdout] 397 | | ..options.unwrap_or_default() [INFO] [stdout] 398 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/assistants.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 34 | options: Option>, [INFO] [stdout] | ------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | self.client.clone().unwrap().lock().unwrap().post( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/assistants.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 34 | options: Option>, [INFO] [stdout] | ------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | / Some(RequestOptions { [INFO] [stdout] 49 | | body: Some(body), [INFO] [stdout] 50 | | headers: Some(headers), [INFO] [stdout] 51 | | ..options.unwrap_or_default() [INFO] [stdout] 52 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/assistants.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 60 | options: Option>, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | self.client.clone().unwrap().lock().unwrap().get( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/assistants.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 60 | options: Option>, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | / Some(RequestOptions::<()> { [INFO] [stdout] 76 | | headers: Some(headers), [INFO] [stdout] 77 | | ..Default::default() [INFO] [stdout] 78 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/assistants.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 98 | options: Option>, [INFO] [stdout] | ------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | self.client.clone().unwrap().lock().unwrap().post( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/assistants.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 98 | options: Option>, [INFO] [stdout] | ------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | / Some(RequestOptions { [INFO] [stdout] 113 | | body: Some(body), [INFO] [stdout] 114 | | headers: Some(headers), [INFO] [stdout] 115 | | ..Default::default() [INFO] [stdout] 116 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/assistants.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 152 | options: Option>, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | self.client.clone().unwrap().lock().unwrap().delete( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/assistants.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 152 | options: Option>, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | / Some(RequestOptions::<()> { [INFO] [stdout] 168 | | headers: Some(headers), [INFO] [stdout] 169 | | ..Default::default() [INFO] [stdout] 170 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 49 previous errors; 72 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `open_ai` (lib) due to 50 previous errors; 72 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 `has_next_page`, `get_next_page`, and `iter_pages` are never used [INFO] [stdout] --> src/pagination.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 144 | pub trait Page Deserialize<'de>>: Sized { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 148 | fn has_next_page(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 149 | async fn get_next_page(&self) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 150 | async fn iter_pages(&self) -> &Self; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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, [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/core.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 95 | opts: Option>, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | self.method_request(Method::GET, path, opts) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/core.rs:112:29 [INFO] [stdout] | [INFO] [stdout] 109 | opts: Option>, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | self.method_request(Method::POST, path, opts) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/core.rs:126:33 [INFO] [stdout] | [INFO] [stdout] 123 | opts: Option>, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | self.method_request(Method::DELETE, path, opts) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/request_options.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn new(method: &Method, path: &str, opts: RequestOptions) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | FinalRequestOptions { [INFO] [stdout] 76 | method: method.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/request_options.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn new(method: &Method, path: &str, opts: RequestOptions) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | http_agent: opts.http_agent.as_ref().map(|x| x.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/request_options.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn new(method: &Method, path: &str, opts: RequestOptions) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | signal: opts.signal.as_ref().map(|x| x.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/request_options.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 95 | fn from(options: FinalRequestOptions) -> Self { [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | RequestOptions { [INFO] [stdout] 97 | method: Some(options.method), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/streaming.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 71 | let request = request_builder.build().unwrap(); // ?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | [INFO] [stdout] 73 | let future_client = client.clone(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | let future = Box::pin(async move { [INFO] [stdout] 75 | future_client.execute(request).await.map_err(|e| Box::new(e) as Box) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/streaming.rs:75:78 [INFO] [stdout] | [INFO] [stdout] 75 | ... future_client.execute(request).await.map_err(|e| Box::new(e) as Box) [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/streaming.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 84 | let response = futures::ready!(future.as_mut().poll(cx))?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | response.text().await.map_err(|e| Box::new(e) as Box) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/streaming.rs:87:59 [INFO] [stdout] | [INFO] [stdout] 87 | response.text().await.map_err(|e| Box::new(e) as Box) [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/streaming.rs:117:34 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn into_stream(self) -> impl Stream>> + 'a { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 112 | let request_builder = self.request.unwrap(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | let mut event_source = EventSource::new(request_builder).expect("Failed to create EventSource"); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | [INFO] [stdout] 117 | futures::stream::poll_fn(move |cx| { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 118 | | loop { [INFO] [stdout] 119 | | let event = futures::ready!(Pin::new(&mut event_source).poll_next(cx)); [INFO] [stdout] 120 | | match event { [INFO] [stdout] ... | [INFO] [stdout] 173 | | } [INFO] [stdout] 174 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pagination.rs:201:19 [INFO] [stdout] | [INFO] [stdout] 190 | client: APIResource, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 191 | // response: reqwest::Response, [INFO] [stdout] 192 | body: CursorPageResponse, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 193 | options: FinalRequestOptions, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 201 | data: body.data.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/threads.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 64 | options: Option>, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | self.client.clone().unwrap().clone().lock().unwrap().get( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/threads.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 64 | options: Option>, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | / Some(core::RequestOptions { [INFO] [stdout] 80 | | body: Some(thread_id.to_string()), [INFO] [stdout] 81 | | headers: Some(headers), [INFO] [stdout] 82 | | ..Default::default() [INFO] [stdout] 83 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/threads.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 92 | options: Option>, [INFO] [stdout] | --------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | self.client.clone().unwrap().lock().unwrap().post( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/threads.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 92 | options: Option>, [INFO] [stdout] | --------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | / Some(core::RequestOptions { [INFO] [stdout] 108 | | body: Some(body), [INFO] [stdout] 109 | | headers: Some(headers), [INFO] [stdout] 110 | | ..Default::default() [INFO] [stdout] 111 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/threads.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 119 | options: Option>, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | self.client.clone().unwrap().lock().unwrap().delete( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/threads.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 119 | options: Option>, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 133 | / Some(core::RequestOptions::<()> { [INFO] [stdout] 134 | | headers: Some(headers), [INFO] [stdout] 135 | | ..Default::default() [INFO] [stdout] 136 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/threads.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 166 | options: Option>, [INFO] [stdout] | --------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 180 | self.client.clone().unwrap().lock().unwrap().post( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/threads.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 166 | options: Option>, [INFO] [stdout] | --------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 182 | / Some(core::RequestOptions { [INFO] [stdout] 183 | | body: Some(body), [INFO] [stdout] 184 | | stream: Some(stream), [INFO] [stdout] 185 | | headers: Some(headers), [INFO] [stdout] 186 | | ..Default::default() [INFO] [stdout] 187 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/messages.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 31 | options: Option>, [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | self.client.clone().unwrap().lock().unwrap().post( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/messages.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 31 | options: Option>, [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | / Some(RequestOptions { [INFO] [stdout] 46 | | body: Some(body), [INFO] [stdout] 47 | | headers: Some(headers), [INFO] [stdout] 48 | | ..options.unwrap_or_default() [INFO] [stdout] 49 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/messages.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 58 | _options: Option>, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | ) -> APIFuture<(), Message, ()> { [INFO] [stdout] 60 | self.client.clone().unwrap().lock().unwrap().post( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/messages.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 58 | _options: Option>, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | / Some(RequestOptions::<()> { [INFO] [stdout] 63 | | ..Default::default() [INFO] [stdout] 64 | | // ..options [INFO] [stdout] 65 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/messages.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 82 | _options: Option>, [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | ) -> APIFuture { [INFO] [stdout] 84 | self.client.clone().unwrap().lock().unwrap().post( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/messages.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 82 | _options: Option>, [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | / Some(RequestOptions { [INFO] [stdout] 87 | | body: Some(body), [INFO] [stdout] 88 | | ..Default::default() [INFO] [stdout] 89 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/messages.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 161 | options: Option, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 174 | self.client.clone().unwrap().lock().unwrap().post( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/messages.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 161 | options: Option, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | / Some(core::RequestOptions::<()> { [INFO] [stdout] 177 | | headers: Some(headers), [INFO] [stdout] 178 | | ..Default::default() [INFO] [stdout] 179 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/runs/runs.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 37 | options: Option>, [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | self.client.clone().unwrap().lock().unwrap().post( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/runs/runs.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 37 | options: Option>, [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | / Some(RequestOptions { [INFO] [stdout] 54 | | body: Some(body), [INFO] [stdout] 55 | | headers: Some(headers), [INFO] [stdout] 56 | | stream: Some(stream), [INFO] [stdout] 57 | | ..options.unwrap_or_default() [INFO] [stdout] 58 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/runs/runs.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 67 | options: Option, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | self.client.clone().unwrap().lock().unwrap().get( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/runs/runs.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 67 | options: Option, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | / Some(RequestOptions { [INFO] [stdout] 82 | | headers: Some(headers), [INFO] [stdout] 83 | | ..options.unwrap_or_default() [INFO] [stdout] 84 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/runs/runs.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 94 | options: Option>, [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | self.client.clone().unwrap().lock().unwrap().post( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/runs/runs.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 94 | options: Option>, [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | / Some(RequestOptions { [INFO] [stdout] 109 | | body: Some(body), [INFO] [stdout] 110 | | headers: Some(headers), [INFO] [stdout] 111 | | ..options.unwrap_or_default() [INFO] [stdout] 112 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/runs/runs.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 157 | options: Option, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | self.client.clone().unwrap().lock().unwrap().post( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/runs/runs.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 157 | options: Option, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 172 | / Some(RequestOptions { [INFO] [stdout] 173 | | headers: Some(headers), [INFO] [stdout] 174 | | ..options.unwrap_or_default() [INFO] [stdout] 175 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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)]` 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/runs/runs.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 274 | options: Option>, [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 289 | self.client.clone().unwrap().lock().unwrap().post( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/runs/runs.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 274 | options: Option>, [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 291 | / Some(RequestOptions { [INFO] [stdout] 292 | | body: Some(body), [INFO] [stdout] 293 | | headers: Some(headers), [INFO] [stdout] 294 | | stream: Some(true), [INFO] [stdout] 295 | | ..options.unwrap_or_default() [INFO] [stdout] 296 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/runs/runs.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 375 | options: Option>, [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 391 | self.client.clone().unwrap().lock().unwrap().post( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/threads/runs/runs.rs:393:13 [INFO] [stdout] | [INFO] [stdout] 375 | options: Option>, [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 393 | / Some(RequestOptions { [INFO] [stdout] 394 | | body: Some(body), [INFO] [stdout] 395 | | headers: Some(headers), [INFO] [stdout] 396 | | stream: Some(true), [INFO] [stdout] 397 | | ..options.unwrap_or_default() [INFO] [stdout] 398 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/assistants.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 34 | options: Option>, [INFO] [stdout] | ------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | self.client.clone().unwrap().lock().unwrap().post( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/assistants.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 34 | options: Option>, [INFO] [stdout] | ------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | / Some(RequestOptions { [INFO] [stdout] 49 | | body: Some(body), [INFO] [stdout] 50 | | headers: Some(headers), [INFO] [stdout] 51 | | ..options.unwrap_or_default() [INFO] [stdout] 52 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/assistants.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 60 | options: Option>, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | self.client.clone().unwrap().lock().unwrap().get( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/assistants.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 60 | options: Option>, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | / Some(RequestOptions::<()> { [INFO] [stdout] 76 | | headers: Some(headers), [INFO] [stdout] 77 | | ..Default::default() [INFO] [stdout] 78 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/assistants.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 98 | options: Option>, [INFO] [stdout] | ------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | self.client.clone().unwrap().lock().unwrap().post( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/assistants.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 98 | options: Option>, [INFO] [stdout] | ------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | / Some(RequestOptions { [INFO] [stdout] 113 | | body: Some(body), [INFO] [stdout] 114 | | headers: Some(headers), [INFO] [stdout] 115 | | ..Default::default() [INFO] [stdout] 116 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/assistants.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 152 | options: Option>, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | self.client.clone().unwrap().lock().unwrap().delete( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources/beta/assistants.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 152 | options: Option>, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | / Some(RequestOptions::<()> { [INFO] [stdout] 168 | | headers: Some(headers), [INFO] [stdout] 169 | | ..Default::default() [INFO] [stdout] 170 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 49 previous errors; 89 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `open_ai` (lib test) due to 50 previous errors; 89 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d2bf7453d07394d5c4d09c08933a40e6869e37affd5558be48282fafb25ec94a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2bf7453d07394d5c4d09c08933a40e6869e37affd5558be48282fafb25ec94a", kill_on_drop: false }` [INFO] [stdout] d2bf7453d07394d5c4d09c08933a40e6869e37affd5558be48282fafb25ec94a