[INFO] fetching crate tokio-openai 3.1.3...
[INFO] testing tokio-openai-3.1.3 against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-2
[INFO] extracting crate tokio-openai 3.1.3 into /workspace/builds/worker-5-tc1/source
[INFO] started tweaking crates.io crate tokio-openai 3.1.3
[INFO] finished tweaking crates.io crate tokio-openai 3.1.3
[INFO] tweaked toml for crates.io crate tokio-openai 3.1.3 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate tokio-openai 3.1.3 on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 185 packages to highest compatible versions
[INFO] [stderr]       Adding derive_more v0.99.20 (available: v2.1.1)
[INFO] [stderr]       Adding reqwest v0.11.27 (available: v0.13.5)
[INFO] [stderr]       Adding schemars v0.8.22 (available: v1.2.3)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded event-stream-processor v1.0.0
[INFO] [stderr]   Downloaded derive-build v0.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] cb84fae76439322c1befefb8f64158d3420d9582c0cbf75f14837dcfdb74c86c
[INFO] running `Command { std: "docker" "start" "cb84fae76439322c1befefb8f64158d3420d9582c0cbf75f14837dcfdb74c86c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cb84fae76439322c1befefb8f64158d3420d9582c0cbf75f14837dcfdb74c86c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cb84fae76439322c1befefb8f64158d3420d9582c0cbf75f14837dcfdb74c86c" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cb84fae76439322c1befefb8f64158d3420d9582c0cbf75f14837dcfdb74c86c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cb84fae76439322c1befefb8f64158d3420d9582c0cbf75f14837dcfdb74c86c" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.107
[INFO] [stderr]    Compiling unicode-ident v1.0.27
[INFO] [stderr]    Compiling libc v0.2.191
[INFO] [stderr]    Compiling smallvec v1.16.3
[INFO] [stderr]    Compiling cfg-if v1.0.5
[INFO] [stderr]    Compiling find-msvc-tools v0.1.14
[INFO] [stderr]    Compiling futures-core v0.3.34
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling futures-sink v0.3.34
[INFO] [stderr]    Compiling futures-channel v0.3.34
[INFO] [stderr]    Compiling cc v1.8.0
[INFO] [stderr]    Compiling futures-io v0.3.34
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]    Compiling rustversion v1.0.23
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling memchr v2.8.3
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling equivalent v1.0.3
[INFO] [stderr]    Compiling bitflags v2.13.2
[INFO] [stderr]    Compiling indexmap v2.14.2
[INFO] [stderr]    Compiling quote v1.0.47
[INFO] [stderr]    Compiling syn v3.0.9
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling aho-corasick v1.1.5
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling openssl-sys v0.9.117
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling mio v1.2.4
[INFO] [stderr]    Compiling socket2 v0.6.5
[INFO] [stderr]    Compiling openssl v0.10.81
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling log v0.4.34
[INFO] [stderr]    Compiling serde_json v1.0.154
[INFO] [stderr]    Compiling regex-automata v0.4.18
[INFO] [stderr]    Compiling want v0.3.2
[INFO] [stderr]    Compiling encoding_rs v0.8.42
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling anyhow v1.0.104
[INFO] [stderr]    Compiling core_detect v1.0.0
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling lazy_static v1.5.1
[INFO] [stderr]    Compiling schemars v0.8.22
[INFO] [stderr]    Compiling simdutf8 v0.1.5
[INFO] [stderr]    Compiling multiversion_no_op v1.0.0
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling ipnet v2.12.2
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling serde_derive_internals v0.29.1
[INFO] [stderr]    Compiling synstructure v0.14.0
[INFO] [stderr]    Compiling regex v1.13.1
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling schemars_derive v0.8.22
[INFO] [stderr]    Compiling pin-project-internal v1.1.13
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]    Compiling derive-build v0.1.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.8
[INFO] [stderr]    Compiling yoke-derive v0.8.4
[INFO] [stderr]    Compiling zerovec-derive v0.11.6
[INFO] [stderr]    Compiling displaydoc v0.2.7
[INFO] [stderr]    Compiling tokio-macros v2.7.2
[INFO] [stderr]    Compiling futures-macro v0.3.34
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling pin-project v1.1.13
[INFO] [stderr]    Compiling zerofrom v0.1.8
[INFO] [stderr]    Compiling yoke v0.8.3
[INFO] [stderr]    Compiling tokio v1.53.3
[INFO] [stderr]    Compiling zerovec v0.11.8
[INFO] [stderr]    Compiling futures-util v0.3.34
[INFO] [stderr]    Compiling zerotrie v0.2.5
[INFO] [stderr]    Compiling tinystr v0.8.4
[INFO] [stderr]    Compiling potential_utf v0.1.6
[INFO] [stderr]    Compiling icu_collections v2.3.0
[INFO] [stderr]    Compiling icu_locale_core v2.3.0
[INFO] [stderr]    Compiling icu_provider v2.3.1
[INFO] [stderr]    Compiling icu_normalizer v2.3.0
[INFO] [stderr]    Compiling icu_properties v2.3.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling futures-executor v0.3.34
[INFO] [stderr]    Compiling futures v0.3.34
[INFO] [stderr]    Compiling idna_adapter v1.2.2
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling tokio-util v0.7.20
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-stream v0.1.19
[INFO] [stderr]    Compiling event-stream-processor v1.0.0
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling tokio-openai v3.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/lib.rs:33:23
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct StringOrStruct(Option<Value>);
[INFO] [stdout]    |        -------------- ^^^^^^^^^^^^^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DavinciiData` is never constructed
[INFO] [stdout]    --> src/lib.rs:160:8
[INFO] [stdout]     |
[INFO] [stdout] 160 | struct DavinciiData<'a> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Decompose` is never used
[INFO] [stdout]   --> src/ext.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait Decompose<T> {
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 2m 28s
[INFO] running `Command { std: "docker" "inspect" "cb84fae76439322c1befefb8f64158d3420d9582c0cbf75f14837dcfdb74c86c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cb84fae76439322c1befefb8f64158d3420d9582c0cbf75f14837dcfdb74c86c" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/lib.rs:33:23
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct StringOrStruct(Option<Value>);
[INFO] [stdout]    |        -------------- ^^^^^^^^^^^^^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DavinciiData` is never constructed
[INFO] [stdout]    --> src/lib.rs:160:8
[INFO] [stdout]     |
[INFO] [stdout] 160 | struct DavinciiData<'a> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Decompose` is never used
[INFO] [stdout]   --> src/ext.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait Decompose<T> {
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling pretty_assertions v1.4.1
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling tokio-openai v3.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/lib.rs:33:23
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct StringOrStruct(Option<Value>);
[INFO] [stdout]    |        -------------- ^^^^^^^^^^^^^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DavinciiData` is never constructed
[INFO] [stdout]    --> src/lib.rs:160:8
[INFO] [stdout]     |
[INFO] [stdout] 160 | struct DavinciiData<'a> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Decompose` is never used
[INFO] [stdout]   --> src/ext.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait Decompose<T> {
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 8.39s
[INFO] running `Command { std: "docker" "inspect" "cb84fae76439322c1befefb8f64158d3420d9582c0cbf75f14837dcfdb74c86c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cb84fae76439322c1befefb8f64158d3420d9582c0cbf75f14837dcfdb74c86c" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/lib.rs:33:23
[INFO] [stderr]    |
[INFO] [stderr] 33 | struct StringOrStruct(Option<Value>);
[INFO] [stderr]    |        -------------- ^^^^^^^^^^^^^
[INFO] [stderr]    |        |
[INFO] [stderr]    |        field in this struct
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider removing this field
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `DavinciiData` is never constructed
[INFO] [stderr]    --> src/lib.rs:160:8
[INFO] [stderr]     |
[INFO] [stderr] 160 | struct DavinciiData<'a> {
[INFO] [stderr]     |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Decompose` is never used
[INFO] [stderr]   --> src/ext.rs:11:7
[INFO] [stderr]    |
[INFO] [stderr] 11 | trait Decompose<T> {
[INFO] [stderr]    |       ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `tokio-openai` (lib) generated 3 warnings
[INFO] [stderr] warning: `tokio-openai` (lib test) generated 3 warnings (3 duplicates)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.22s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/deps/tokio_openai-821e920ea599526d)
[INFO] [stdout] 
[INFO] [stdout] running 10 tests
[INFO] [stdout] test tests::test_chat_from ... ok
[INFO] [stdout] test tests::test_message ... ok
[INFO] [stdout] test tests::test_model ... ok
[INFO] [stdout] test tests::test_chat_model ... FAILED
[INFO] [stdout] test tests::test_text_request ... ok
[INFO] [stdout] test tests::test_chat_builder ... ok
[INFO] [stdout] test tests::test_completions ... ok
[INFO] [stdout] test tests::test_chat ... FAILED
[INFO] [stdout] test tests::test_function ... FAILED
[INFO] [stdout] test tests::test_chat_raw ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- tests::test_chat_model stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'tests::test_chat_model' (1889) panicked at src/lib.rs:954:9:
[INFO] [stdout] assertion failed: `(left == right)`
[INFO] [stdout] 
[INFO] [stdout] [1mDiff[0m [31m< left[0m / [32mright >[0m :
[INFO] [stdout] [31m<Gpt4[0m[1;48;5;52;31mTurboPreview[0m
[INFO] [stdout] [32m>Gpt4[0m
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x57c94bfe0191 - <<std[70759c8f55707aa4]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x57c94bff676a - core[df12db4294e9bfd3]::fmt::write
[INFO] [stdout]    2:     0x57c94bfe523c - <alloc[2182bb758b4b3781]::vec::Vec<u8> as core[df12db4294e9bfd3]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x57c94bfbb126 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x57c94bfd81b9 - std[70759c8f55707aa4]::panicking::default_hook
[INFO] [stdout]    5:     0x57c94be1ef20 - test[9d35eded1c95d3be]::test_main_inner::<test[9d35eded1c95d3be]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x57c94bfd84e2 - std[70759c8f55707aa4]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x57c94bfbb1d2 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x57c94bfb38e9 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace::<std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x57c94bfbc0cd - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind
[INFO] [stdout]   10:     0x57c94bff6ecc - core[df12db4294e9bfd3]::panicking::panic_fmt
[INFO] [stdout]   11:     0x57c94bdf3f52 - tokio_openai[ec92227ba28d1170]::tests::test_chat_model
[INFO] [stdout]   12:     0x57c94be02f8e - <tokio_openai[ec92227ba28d1170]::tests::test_chat_model::{closure#0} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   13:     0x57c94be1220b - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::<core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>>
[INFO] [stdout]   14:     0x57c94be1f875 - test[9d35eded1c95d3be]::run_test::{closure#0}
[INFO] [stdout]   15:     0x57c94be19134 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace::<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>
[INFO] [stdout]   16:     0x57c94be229d2 - <std[70759c8f55707aa4]::thread::lifecycle::spawn_unchecked<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   17:     0x57c94bfdf6b9 - <std[70759c8f55707aa4]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   18:     0x7b615ee63dfa - <unknown>
[INFO] [stdout]   19:     0x7b615eef73d4 - clone
[INFO] [stdout]   20:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- tests::test_chat stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'tests::test_chat' (1886) panicked at src/lib.rs:784:46:
[INFO] [stdout] could not create client: no OpenAI key specified. Set the variable OPENAI_API_KEY
[INFO] [stdout] 
[INFO] [stdout] Caused by:
[INFO] [stdout]     environment variable not found
[INFO] [stdout] 
[INFO] [stdout] Stack backtrace:
[INFO] [stdout]    0: <std::env::VarError as anyhow::context::ext::StdError>::ext_context::<&str>
[INFO] [stdout]    1: <tokio_openai::tests::API::{closure#0} as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]    2: <once_cell::imp::OnceCell<tokio_openai::Client>>::initialize::<<once_cell::sync::OnceCell<tokio_openai::Client>>::get_or_init<<once_cell::sync::Lazy<tokio_openai::Client>>::force::{closure#0}>::{closure#0}, <once_cell::sync::OnceCell<_>>::get_or_init::Void>::{closure#0}
[INFO] [stdout]    3: once_cell::imp::initialize_or_wait
[INFO] [stdout]    4: <once_cell::imp::OnceCell<tokio_openai::Client>>::initialize::<<once_cell::sync::OnceCell<tokio_openai::Client>>::get_or_init<<once_cell::sync::Lazy<tokio_openai::Client>>::force::{closure#0}>::{closure#0}, <once_cell::sync::OnceCell<_>>::get_or_init::Void>
[INFO] [stdout]    5: tokio_openai::tests::test_chat::{closure#0}
[INFO] [stdout]    6: <tokio::runtime::scheduler::current_thread::Context>::enter::<core::task::poll::Poll<()>, <tokio::runtime::scheduler::current_thread::CoreGuard>::block_on<core::pin::Pin<&mut core::pin::Pin<&mut dyn core::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}>
[INFO] [stdout]    7: <std::thread::local::LocalKey<tokio::runtime::context::Context>>::with::<tokio::runtime::context::set_scheduler<(alloc::boxed::Box<tokio::runtime::scheduler::current_thread::Core>, core::option::Option<()>), <tokio::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio::runtime::scheduler::current_thread::CoreGuard>::block_on<core::pin::Pin<&mut core::pin::Pin<&mut dyn core::future::future::Future<Output = ()>>>>::{closure#0}, core::option::Option<()>>::{closure#0}>::{closure#0}, (alloc::boxed::Box<tokio::runtime::scheduler::current_thread::Core>, core::option::Option<()>)>
[INFO] [stdout]    8: <tokio::runtime::scheduler::current_thread::CoreGuard>::block_on::<core::pin::Pin<&mut core::pin::Pin<&mut dyn core::future::future::Future<Output = ()>>>>
[INFO] [stdout]    9: tokio::runtime::context::runtime::enter_runtime::<<tokio::runtime::scheduler::current_thread::CurrentThread>::block_on<core::pin::Pin<&mut dyn core::future::future::Future<Output = ()>>>::{closure#0}, ()>
[INFO] [stdout]   10: <tokio::runtime::runtime::Runtime>::block_on::<core::pin::Pin<&mut dyn core::future::future::Future<Output = ()>>>
[INFO] [stdout]   11: tokio_openai::tests::test_chat
[INFO] [stdout]   12: <tokio_openai::tests::test_chat::{closure#0} as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   13: test::__rust_begin_short_backtrace::<core::result::Result<(), alloc::string::String>, fn() -> core::result::Result<(), alloc::string::String>>
[INFO] [stdout]   14: test::run_test::{closure#0}
[INFO] [stdout]   15: std::sys::backtrace::__rust_begin_short_backtrace::<test::run_test::{closure#1}, ()>
[INFO] [stdout]   16: <std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   17: <std::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   18: <unknown>
[INFO] [stdout]   19: clone
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x57c94bfe0191 - <<std[70759c8f55707aa4]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x57c94bff676a - core[df12db4294e9bfd3]::fmt::write
[INFO] [stdout]    2:     0x57c94bfe523c - <alloc[2182bb758b4b3781]::vec::Vec<u8> as core[df12db4294e9bfd3]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x57c94bfbb126 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x57c94bfd81b9 - std[70759c8f55707aa4]::panicking::default_hook
[INFO] [stdout]    5:     0x57c94be1ef20 - test[9d35eded1c95d3be]::test_main_inner::<test[9d35eded1c95d3be]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x57c94bfd84e2 - std[70759c8f55707aa4]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x57c94bfbb1d2 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x57c94bfb38e9 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace::<std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x57c94bfbc0cd - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind
[INFO] [stdout]   10:     0x57c94bff6ecc - core[df12db4294e9bfd3]::panicking::panic_fmt
[INFO] [stdout]   11:     0x57c94bff6ca2 - core[df12db4294e9bfd3]::result::unwrap_failed
[INFO] [stdout]   12:     0x57c94bdf4988 - <tokio_openai[ec92227ba28d1170]::tests::API::{closure#0} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   13:     0x57c94be0d55f - <once_cell[b4fe607934fa1ed1]::imp::OnceCell<tokio_openai[ec92227ba28d1170]::Client>>::initialize::<<once_cell[b4fe607934fa1ed1]::sync::OnceCell<tokio_openai[ec92227ba28d1170]::Client>>::get_or_init<<once_cell[b4fe607934fa1ed1]::sync::Lazy<tokio_openai[ec92227ba28d1170]::Client>>::force::{closure#0}>::{closure#0}, <once_cell[b4fe607934fa1ed1]::sync::OnceCell<_>>::get_or_init::Void>::{closure#0}
[INFO] [stdout]   14:     0x57c94bf59acf - once_cell[b4fe607934fa1ed1]::imp::initialize_or_wait
[INFO] [stdout]   15:     0x57c94be0ae62 - <once_cell[b4fe607934fa1ed1]::imp::OnceCell<tokio_openai[ec92227ba28d1170]::Client>>::initialize::<<once_cell[b4fe607934fa1ed1]::sync::OnceCell<tokio_openai[ec92227ba28d1170]::Client>>::get_or_init<<once_cell[b4fe607934fa1ed1]::sync::Lazy<tokio_openai[ec92227ba28d1170]::Client>>::force::{closure#0}>::{closure#0}, <once_cell[b4fe607934fa1ed1]::sync::OnceCell<_>>::get_or_init::Void>
[INFO] [stdout]   16:     0x57c94bdf1ad6 - tokio_openai[ec92227ba28d1170]::tests::test_chat::{closure#0}
[INFO] [stdout]   17:     0x57c94be08b13 - <tokio[1790f470b58882dd]::runtime::scheduler::current_thread::Context>::enter::<core[df12db4294e9bfd3]::task::poll::Poll<()>, <tokio[1790f470b58882dd]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[df12db4294e9bfd3]::pin::Pin<&mut core[df12db4294e9bfd3]::pin::Pin<&mut dyn core[df12db4294e9bfd3]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}>
[INFO] [stdout]   18:     0x57c94be064d9 - <std[70759c8f55707aa4]::thread::local::LocalKey<tokio[1790f470b58882dd]::runtime::context::Context>>::with::<tokio[1790f470b58882dd]::runtime::context::set_scheduler<(alloc[2182bb758b4b3781]::boxed::Box<tokio[1790f470b58882dd]::runtime::scheduler::current_thread::Core>, core[df12db4294e9bfd3]::option::Option<()>), <tokio[1790f470b58882dd]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[1790f470b58882dd]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[df12db4294e9bfd3]::pin::Pin<&mut core[df12db4294e9bfd3]::pin::Pin<&mut dyn core[df12db4294e9bfd3]::future::future::Future<Output = ()>>>>::{closure#0}, core[df12db4294e9bfd3]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[2182bb758b4b3781]::boxed::Box<tokio[1790f470b58882dd]::runtime::scheduler::current_thread::Core>, core[df12db4294e9bfd3]::option::Option<()>)>
[INFO] [stdout]   19:     0x57c94be08f67 - <tokio[1790f470b58882dd]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[df12db4294e9bfd3]::pin::Pin<&mut core[df12db4294e9bfd3]::pin::Pin<&mut dyn core[df12db4294e9bfd3]::future::future::Future<Output = ()>>>>
[INFO] [stdout]   20:     0x57c94be0579b - tokio[1790f470b58882dd]::runtime::context::runtime::enter_runtime::<<tokio[1790f470b58882dd]::runtime::scheduler::current_thread::CurrentThread>::block_on<core[df12db4294e9bfd3]::pin::Pin<&mut dyn core[df12db4294e9bfd3]::future::future::Future<Output = ()>>>::{closure#0}, ()>
[INFO] [stdout]   21:     0x57c94be0376b - <tokio[1790f470b58882dd]::runtime::runtime::Runtime>::block_on::<core[df12db4294e9bfd3]::pin::Pin<&mut dyn core[df12db4294e9bfd3]::future::future::Future<Output = ()>>>
[INFO] [stdout]   22:     0x57c94bdf478e - tokio_openai[ec92227ba28d1170]::tests::test_chat
[INFO] [stdout]   23:     0x57c94be02fb9 - <tokio_openai[ec92227ba28d1170]::tests::test_chat::{closure#0} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   24:     0x57c94be1220b - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::<core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>>
[INFO] [stdout]   25:     0x57c94be1f875 - test[9d35eded1c95d3be]::run_test::{closure#0}
[INFO] [stdout]   26:     0x57c94be19134 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace::<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>
[INFO] [stdout]   27:     0x57c94be229d2 - <std[70759c8f55707aa4]::thread::lifecycle::spawn_unchecked<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   28:     0x57c94bfdf6b9 - <std[70759c8f55707aa4]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   29:     0x7b615ee63dfa - <unknown>
[INFO] [stdout]   30:     0x7b615eef73d4 - clone
[INFO] [stdout]   31:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- tests::test_function stdout ----
[INFO] [stdout] {
[INFO] [stdout]   "model": "gpt-4-turbo-preview",
[INFO] [stdout]   "messages": [
[INFO] [stdout]     {
[INFO] [stdout]       "role": "user",
[INFO] [stdout]       "content": "What's the weather like in Svalbard"
[INFO] [stdout]     }
[INFO] [stdout]   ],
[INFO] [stdout]   "functions": [
[INFO] [stdout]     {
[INFO] [stdout]       "name": "weather",
[INFO] [stdout]       "description": "Get the weather for a location",
[INFO] [stdout]       "parameters": {
[INFO] [stdout]         "properties": {
[INFO] [stdout]           "lat": {
[INFO] [stdout]             "type": "number"
[INFO] [stdout]           },
[INFO] [stdout]           "lon": {
[INFO] [stdout]             "type": "number"
[INFO] [stdout]           },
[INFO] [stdout]           "unit": {
[INFO] [stdout]             "enum": [
[INFO] [stdout]               "celsius",
[INFO] [stdout]               "fahrenheit"
[INFO] [stdout]             ],
[INFO] [stdout]             "type": "string"
[INFO] [stdout]           }
[INFO] [stdout]         },
[INFO] [stdout]         "required": [
[INFO] [stdout]           "lat",
[INFO] [stdout]           "lon"
[INFO] [stdout]         ],
[INFO] [stdout]         "type": "object"
[INFO] [stdout]       }
[INFO] [stdout]     }
[INFO] [stdout]   ]
[INFO] [stdout] }
[INFO] [stdout] 
[INFO] [stdout] thread 'tests::test_function' (1892) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.21.4/src/lib.rs:1321:25:
[INFO] [stdout] Lazy instance has previously been poisoned
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x57c94bfe0191 - <<std[70759c8f55707aa4]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x57c94bff676a - core[df12db4294e9bfd3]::fmt::write
[INFO] [stdout]    2:     0x57c94bfe523c - <alloc[2182bb758b4b3781]::vec::Vec<u8> as core[df12db4294e9bfd3]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x57c94bfbb126 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x57c94bfd81b9 - std[70759c8f55707aa4]::panicking::default_hook
[INFO] [stdout]    5:     0x57c94be1ef20 - test[9d35eded1c95d3be]::test_main_inner::<test[9d35eded1c95d3be]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x57c94bfd84e2 - std[70759c8f55707aa4]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x57c94bfbb204 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x57c94bfb38e9 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace::<std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x57c94bfbc0cd - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind
[INFO] [stdout]   10:     0x57c94bff6ecc - core[df12db4294e9bfd3]::panicking::panic_fmt
[INFO] [stdout]   11:     0x57c94be0d5d1 - <once_cell[b4fe607934fa1ed1]::imp::OnceCell<tokio_openai[ec92227ba28d1170]::Client>>::initialize::<<once_cell[b4fe607934fa1ed1]::sync::OnceCell<tokio_openai[ec92227ba28d1170]::Client>>::get_or_init<<once_cell[b4fe607934fa1ed1]::sync::Lazy<tokio_openai[ec92227ba28d1170]::Client>>::force::{closure#0}>::{closure#0}, <once_cell[b4fe607934fa1ed1]::sync::OnceCell<_>>::get_or_init::Void>::{closure#0}
[INFO] [stdout]   12:     0x57c94bf59acf - once_cell[b4fe607934fa1ed1]::imp::initialize_or_wait
[INFO] [stdout]   13:     0x57c94be0ae62 - <once_cell[b4fe607934fa1ed1]::imp::OnceCell<tokio_openai[ec92227ba28d1170]::Client>>::initialize::<<once_cell[b4fe607934fa1ed1]::sync::OnceCell<tokio_openai[ec92227ba28d1170]::Client>>::get_or_init<<once_cell[b4fe607934fa1ed1]::sync::Lazy<tokio_openai[ec92227ba28d1170]::Client>>::force::{closure#0}>::{closure#0}, <once_cell[b4fe607934fa1ed1]::sync::OnceCell<_>>::get_or_init::Void>
[INFO] [stdout]   14:     0x57c94bdf09a0 - tokio_openai[ec92227ba28d1170]::tests::test_function::{closure#0}
[INFO] [stdout]   15:     0x57c94be08b13 - <tokio[1790f470b58882dd]::runtime::scheduler::current_thread::Context>::enter::<core[df12db4294e9bfd3]::task::poll::Poll<()>, <tokio[1790f470b58882dd]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[df12db4294e9bfd3]::pin::Pin<&mut core[df12db4294e9bfd3]::pin::Pin<&mut dyn core[df12db4294e9bfd3]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}>
[INFO] [stdout]   16:     0x57c94be064d9 - <std[70759c8f55707aa4]::thread::local::LocalKey<tokio[1790f470b58882dd]::runtime::context::Context>>::with::<tokio[1790f470b58882dd]::runtime::context::set_scheduler<(alloc[2182bb758b4b3781]::boxed::Box<tokio[1790f470b58882dd]::runtime::scheduler::current_thread::Core>, core[df12db4294e9bfd3]::option::Option<()>), <tokio[1790f470b58882dd]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[1790f470b58882dd]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[df12db4294e9bfd3]::pin::Pin<&mut core[df12db4294e9bfd3]::pin::Pin<&mut dyn core[df12db4294e9bfd3]::future::future::Future<Output = ()>>>>::{closure#0}, core[df12db4294e9bfd3]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[2182bb758b4b3781]::boxed::Box<tokio[1790f470b58882dd]::runtime::scheduler::current_thread::Core>, core[df12db4294e9bfd3]::option::Option<()>)>
[INFO] [stdout]   17:     0x57c94be08f67 - <tokio[1790f470b58882dd]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[df12db4294e9bfd3]::pin::Pin<&mut core[df12db4294e9bfd3]::pin::Pin<&mut dyn core[df12db4294e9bfd3]::future::future::Future<Output = ()>>>>
[INFO] [stdout]   18:     0x57c94be0579b - tokio[1790f470b58882dd]::runtime::context::runtime::enter_runtime::<<tokio[1790f470b58882dd]::runtime::scheduler::current_thread::CurrentThread>::block_on<core[df12db4294e9bfd3]::pin::Pin<&mut dyn core[df12db4294e9bfd3]::future::future::Future<Output = ()>>>::{closure#0}, ()>
[INFO] [stdout]   19:     0x57c94be0376b - <tokio[1790f470b58882dd]::runtime::runtime::Runtime>::block_on::<core[df12db4294e9bfd3]::pin::Pin<&mut dyn core[df12db4294e9bfd3]::future::future::Future<Output = ()>>>
[INFO] [stdout]   20:     0x57c94bdf2c5b - tokio_openai[ec92227ba28d1170]::tests::test_function
[INFO] [stdout]   21:     0x57c94be02f59 - <tokio_openai[ec92227ba28d1170]::tests::test_function::{closure#0} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   22:     0x57c94be1220b - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::<core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>>
[INFO] [stdout]   23:     0x57c94be1f875 - test[9d35eded1c95d3be]::run_test::{closure#0}
[INFO] [stdout]   24:     0x57c94be19134 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace::<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>
[INFO] [stdout]   25:     0x57c94be229d2 - <std[70759c8f55707aa4]::thread::lifecycle::spawn_unchecked<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   26:     0x57c94bfdf6b9 - <std[70759c8f55707aa4]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   27:     0x7b615ee63dfa - <unknown>
[INFO] [stdout]   28:     0x7b615eef73d4 - clone
[INFO] [stdout]   29:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- tests::test_chat_raw stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'tests::test_chat_raw' (1890) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.21.4/src/lib.rs:1321:25:
[INFO] [stdout] Lazy instance has previously been poisoned
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x57c94bfe0191 - <<std[70759c8f55707aa4]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x57c94bff676a - core[df12db4294e9bfd3]::fmt::write
[INFO] [stdout]    2:     0x57c94bfe523c - <alloc[2182bb758b4b3781]::vec::Vec<u8> as core[df12db4294e9bfd3]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x57c94bfbb126 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x57c94bfd81b9 - std[70759c8f55707aa4]::panicking::default_hook
[INFO] [stdout]    5:     0x57c94be1ef20 - test[9d35eded1c95d3be]::test_main_inner::<test[9d35eded1c95d3be]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x57c94bfd84e2 - std[70759c8f55707aa4]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x57c94bfbb204 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x57c94bfb38e9 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace::<std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x57c94bfbc0cd - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind
[INFO] [stdout]   10:     0x57c94bff6ecc - core[df12db4294e9bfd3]::panicking::panic_fmt
[INFO] [stdout]   11:     0x57c94be0d5d1 - <once_cell[b4fe607934fa1ed1]::imp::OnceCell<tokio_openai[ec92227ba28d1170]::Client>>::initialize::<<once_cell[b4fe607934fa1ed1]::sync::OnceCell<tokio_openai[ec92227ba28d1170]::Client>>::get_or_init<<once_cell[b4fe607934fa1ed1]::sync::Lazy<tokio_openai[ec92227ba28d1170]::Client>>::force::{closure#0}>::{closure#0}, <once_cell[b4fe607934fa1ed1]::sync::OnceCell<_>>::get_or_init::Void>::{closure#0}
[INFO] [stdout]   12:     0x57c94bf59acf - once_cell[b4fe607934fa1ed1]::imp::initialize_or_wait
[INFO] [stdout]   13:     0x57c94be0ae62 - <once_cell[b4fe607934fa1ed1]::imp::OnceCell<tokio_openai[ec92227ba28d1170]::Client>>::initialize::<<once_cell[b4fe607934fa1ed1]::sync::OnceCell<tokio_openai[ec92227ba28d1170]::Client>>::get_or_init<<once_cell[b4fe607934fa1ed1]::sync::Lazy<tokio_openai[ec92227ba28d1170]::Client>>::force::{closure#0}>::{closure#0}, <once_cell[b4fe607934fa1ed1]::sync::OnceCell<_>>::get_or_init::Void>
[INFO] [stdout]   14:     0x57c94bdef509 - tokio_openai[ec92227ba28d1170]::tests::test_chat_raw::{closure#0}
[INFO] [stdout]   15:     0x57c94be08b13 - <tokio[1790f470b58882dd]::runtime::scheduler::current_thread::Context>::enter::<core[df12db4294e9bfd3]::task::poll::Poll<()>, <tokio[1790f470b58882dd]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[df12db4294e9bfd3]::pin::Pin<&mut core[df12db4294e9bfd3]::pin::Pin<&mut dyn core[df12db4294e9bfd3]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}>
[INFO] [stdout]   16:     0x57c94be064d9 - <std[70759c8f55707aa4]::thread::local::LocalKey<tokio[1790f470b58882dd]::runtime::context::Context>>::with::<tokio[1790f470b58882dd]::runtime::context::set_scheduler<(alloc[2182bb758b4b3781]::boxed::Box<tokio[1790f470b58882dd]::runtime::scheduler::current_thread::Core>, core[df12db4294e9bfd3]::option::Option<()>), <tokio[1790f470b58882dd]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[1790f470b58882dd]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[df12db4294e9bfd3]::pin::Pin<&mut core[df12db4294e9bfd3]::pin::Pin<&mut dyn core[df12db4294e9bfd3]::future::future::Future<Output = ()>>>>::{closure#0}, core[df12db4294e9bfd3]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[2182bb758b4b3781]::boxed::Box<tokio[1790f470b58882dd]::runtime::scheduler::current_thread::Core>, core[df12db4294e9bfd3]::option::Option<()>)>
[INFO] [stdout]   17:     0x57c94be08f67 - <tokio[1790f470b58882dd]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[df12db4294e9bfd3]::pin::Pin<&mut core[df12db4294e9bfd3]::pin::Pin<&mut dyn core[df12db4294e9bfd3]::future::future::Future<Output = ()>>>>
[INFO] [stdout]   18:     0x57c94be0579b - tokio[1790f470b58882dd]::runtime::context::runtime::enter_runtime::<<tokio[1790f470b58882dd]::runtime::scheduler::current_thread::CurrentThread>::block_on<core[df12db4294e9bfd3]::pin::Pin<&mut dyn core[df12db4294e9bfd3]::future::future::Future<Output = ()>>>::{closure#0}, ()>
[INFO] [stdout]   19:     0x57c94be0376b - <tokio[1790f470b58882dd]::runtime::runtime::Runtime>::block_on::<core[df12db4294e9bfd3]::pin::Pin<&mut dyn core[df12db4294e9bfd3]::future::future::Future<Output = ()>>>
[INFO] [stdout]   20:     0x57c94bdf2abb - tokio_openai[ec92227ba28d1170]::tests::test_chat_raw
[INFO] [stdout]   21:     0x57c94be02f39 - <tokio_openai[ec92227ba28d1170]::tests::test_chat_raw::{closure#0} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   22:     0x57c94be1220b - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::<core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>>
[INFO] [stdout]   23:     0x57c94be1f875 - test[9d35eded1c95d3be]::run_test::{closure#0}
[INFO] [stdout]   24:     0x57c94be19134 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace::<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>
[INFO] [stdout]   25:     0x57c94be229d2 - <std[70759c8f55707aa4]::thread::lifecycle::spawn_unchecked<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   26:     0x57c94bfdf6b9 - <std[70759c8f55707aa4]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   27:     0x7b615ee63dfa - <unknown>
[INFO] [stdout]   28:     0x7b615eef73d4 - clone
[INFO] [stdout]   29:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     tests::test_chat
[INFO] [stdout]     tests::test_chat_model
[INFO] [stdout]     tests::test_chat_raw
[INFO] [stdout]     tests::test_function
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 6 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "cb84fae76439322c1befefb8f64158d3420d9582c0cbf75f14837dcfdb74c86c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cb84fae76439322c1befefb8f64158d3420d9582c0cbf75f14837dcfdb74c86c", kill_on_drop: false }`
[INFO] [stdout] cb84fae76439322c1befefb8f64158d3420d9582c0cbf75f14837dcfdb74c86c
