[INFO] cloning repository https://github.com/qiaopengjun5162/llm-sdk
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qiaopengjun5162/llm-sdk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqiaopengjun5162%2Fllm-sdk", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqiaopengjun5162%2Fllm-sdk'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c7ca4697737655b2b3920fa7bff373fb6c7c6484
[INFO] testing qiaopengjun5162/llm-sdk against master#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqiaopengjun5162%2Fllm-sdk" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/qiaopengjun5162/llm-sdk
[INFO] finished tweaking git repo https://github.com/qiaopengjun5162/llm-sdk
[INFO] tweaked toml for git repo https://github.com/qiaopengjun5162/llm-sdk written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/qiaopengjun5162/llm-sdk on toolchain 1ef7943ee607160a564655b6596f83670ef95df5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/qiaopengjun5162/llm-sdk already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded anyhow v1.0.75
[INFO] [stderr]   Downloaded async-compression v0.4.5
[INFO] [stderr]   Downloaded reqwest v0.11.22
[INFO] [stderr]   Downloaded mio v0.8.9
[INFO] [stderr]   Downloaded hyper v0.14.27
[INFO] [stderr]   Downloaded rustls v0.21.9
[INFO] [stderr]   Downloaded web-sys v0.3.65
[INFO] [stderr]   Downloaded tokio v1.34.0
[INFO] [stderr]   Downloaded ring v0.17.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 12eba278057cc42d53b62746d7b7c6878c088e78e57653c7dd5ef5f42cf1b5a4
[INFO] running `Command { std: "docker" "start" "-a" "12eba278057cc42d53b62746d7b7c6878c088e78e57653c7dd5ef5f42cf1b5a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "12eba278057cc42d53b62746d7b7c6878c088e78e57653c7dd5ef5f42cf1b5a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "12eba278057cc42d53b62746d7b7c6878c088e78e57653c7dd5ef5f42cf1b5a4", kill_on_drop: false }`
[INFO] [stdout] 12eba278057cc42d53b62746d7b7c6878c088e78e57653c7dd5ef5f42cf1b5a4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4a854c5c842da54ae074402ead866c31ee9d8a7f549ee6150ad11e691f893abe
[INFO] running `Command { std: "docker" "start" "-a" "4a854c5c842da54ae074402ead866c31ee9d8a7f549ee6150ad11e691f893abe", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.150
[INFO] [stderr]    Compiling proc-macro2 v1.0.70
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling itoa v1.0.9
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling futures-task v0.3.29
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling futures-util v0.3.29
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling rustls v0.21.9
[INFO] [stderr]    Compiling serde v1.0.193
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling http v0.2.11
[INFO] [stderr]    Compiling try-lock v0.2.4
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling mio v0.8.9
[INFO] [stderr]    Compiling socket2 v0.5.5
[INFO] [stderr]    Compiling getrandom v0.2.11
[INFO] [stderr]    Compiling syn v2.0.39
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling tokio v1.34.0
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling serde_json v1.0.108
[INFO] [stderr]    Compiling ring v0.17.5
[INFO] [stderr]    Compiling unicode-bidi v0.3.13
[INFO] [stderr]    Compiling ryu v1.0.15
[INFO] [stderr]    Compiling flate2 v1.0.28
[INFO] [stderr]    Compiling anyhow v1.0.75
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.193
[INFO] [stderr]    Compiling darling_core v0.14.4
[INFO] [stderr]    Compiling tokio-util v0.7.10
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling darling_macro v0.14.4
[INFO] [stderr]    Compiling async-compression v0.4.5
[INFO] [stderr]    Compiling darling v0.14.4
[INFO] [stderr]    Compiling h2 v0.3.22
[INFO] [stderr]    Compiling derive_builder_core v0.12.0
[INFO] [stderr]    Compiling derive_builder_macro v0.12.0
[INFO] [stderr]    Compiling derive_builder v0.12.0
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hyper v0.14.27
[INFO] [stderr]    Compiling hyper-rustls v0.24.2
[INFO] [stderr]    Compiling reqwest v0.11.22
[INFO] [stderr]    Compiling llm-sdk v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s
[INFO] running `Command { std: "docker" "inspect" "4a854c5c842da54ae074402ead866c31ee9d8a7f549ee6150ad11e691f893abe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4a854c5c842da54ae074402ead866c31ee9d8a7f549ee6150ad11e691f893abe", kill_on_drop: false }`
[INFO] [stdout] 4a854c5c842da54ae074402ead866c31ee9d8a7f549ee6150ad11e691f893abe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 17b948e4e2a06dfd6c4df51228038638081ac8dbdbb73c7551fb5a2b64710d08
[INFO] running `Command { std: "docker" "start" "-a" "17b948e4e2a06dfd6c4df51228038638081ac8dbdbb73c7551fb5a2b64710d08", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.39
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling serde_derive v1.0.193
[INFO] [stderr]    Compiling tokio v1.34.0
[INFO] [stderr]    Compiling serde v1.0.193
[INFO] [stderr]    Compiling tokio-util v0.7.10
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling async-compression v0.4.5
[INFO] [stderr]    Compiling h2 v0.3.22
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_json v1.0.108
[INFO] [stderr]    Compiling hyper v0.14.27
[INFO] [stderr]    Compiling hyper-rustls v0.24.2
[INFO] [stderr]    Compiling reqwest v0.11.22
[INFO] [stderr]    Compiling llm-sdk v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 36.67s
[INFO] running `Command { std: "docker" "inspect" "17b948e4e2a06dfd6c4df51228038638081ac8dbdbb73c7551fb5a2b64710d08", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "17b948e4e2a06dfd6c4df51228038638081ac8dbdbb73c7551fb5a2b64710d08", kill_on_drop: false }`
[INFO] [stdout] 17b948e4e2a06dfd6c4df51228038638081ac8dbdbb73c7551fb5a2b64710d08
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5e8595452ec85a592d9b66fcd5f40ddb4b90da43031b7670012c4081a9b2d1ef
[INFO] running `Command { std: "docker" "start" "-a" "5e8595452ec85a592d9b66fcd5f40ddb4b90da43031b7670012c4081a9b2d1ef", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/llm_sdk-32bc82cea1c8a63d)
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test api::chat_completion::tests::chat_completion_request_tool_choice_function_serialize_should_work ... ignored
[INFO] [stdout] test api::chat_completion::tests::chat_completion_request_tool_choice_auto_serialize_should_work ... ok
[INFO] [stdout] test api::chat_completion::tests::chat_completion_request_serialize_should_work ... ok
[INFO] [stdout] test api::create_image::tests::create_image_request_custom_shoud_serialize ... ok
[INFO] [stdout] test api::create_image::tests::create_image_request_shoud_serialize ... ok
[INFO] [stdout] test api::create_image::tests::create_image_should_work ... FAILED
[INFO] [stdout] test api::chat_completion::tests::simple_chat_completion_should_work ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- api::create_image::tests::create_image_should_work stdout ----
[INFO] [stdout] Error: environment variable not found
[INFO] [stdout] 
[INFO] [stdout] Stack backtrace:
[INFO] [stdout]    0: anyhow::error::<impl core::convert::From<E> for anyhow::Error>::from
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.75/src/backtrace.rs:27:14
[INFO] [stdout]    1: <core::result::Result<T,F> as core::ops::try_trait::FromResidual<core::result::Result<core::convert::Infallible,E>>>::from_residual
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/result.rs:2184:27
[INFO] [stdout]    2: llm_sdk::api::create_image::tests::create_image_should_work::{{closure}}
[INFO] [stdout]              at ./src/api/create_image.rs:198:44
[INFO] [stdout]    3: <core::pin::Pin<P> as core::future::future::Future>::poll
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/future/future.rs:133:9
[INFO] [stdout]    4: <core::pin::Pin<P> as core::future::future::Future>::poll
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/future/future.rs:133:9
[INFO] [stdout]    5: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.34.0/src/runtime/scheduler/current_thread/mod.rs:665:73
[INFO] [stdout]    6: tokio::runtime::coop::with_budget
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.34.0/src/runtime/coop.rs:107:5
[INFO] [stdout]    7: tokio::runtime::coop::budget
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.34.0/src/runtime/coop.rs:73:5
[INFO] [stdout]    8: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.34.0/src/runtime/scheduler/current_thread/mod.rs:665:25
[INFO] [stdout]    9: tokio::runtime::scheduler::current_thread::Context::enter
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.34.0/src/runtime/scheduler/current_thread/mod.rs:410:19
[INFO] [stdout]   10: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.34.0/src/runtime/scheduler/current_thread/mod.rs:664:44
[INFO] [stdout]   11: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.34.0/src/runtime/scheduler/current_thread/mod.rs:743:68
[INFO] [stdout]   12: tokio::runtime::context::scoped::Scoped<T>::set
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.34.0/src/runtime/context/scoped.rs:40:9
[INFO] [stdout]   13: tokio::runtime::context::set_scheduler::{{closure}}
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.34.0/src/runtime/context.rs:176:38
[INFO] [stdout]   14: std::thread::local::LocalKey<T>::try_with
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/thread/local.rs:508:12
[INFO] [stdout]   15: std::thread::local::LocalKey<T>::with
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/thread/local.rs:472:20
[INFO] [stdout]   16: tokio::runtime::context::set_scheduler
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.34.0/src/runtime/context.rs:176:17
[INFO] [stdout]   17: tokio::runtime::scheduler::current_thread::CoreGuard::enter
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.34.0/src/runtime/scheduler/current_thread/mod.rs:743:27
[INFO] [stdout]   18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.34.0/src/runtime/scheduler/current_thread/mod.rs:652:24
[INFO] [stdout]   19: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.34.0/src/runtime/scheduler/current_thread/mod.rs:175:33
[INFO] [stdout]   20: tokio::runtime::context::runtime::enter_runtime
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.34.0/src/runtime/context/runtime.rs:65:16
[INFO] [stdout]   21: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.34.0/src/runtime/scheduler/current_thread/mod.rs:167:9
[INFO] [stdout]   22: tokio::runtime::runtime::Runtime::block_on
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.34.0/src/runtime/runtime.rs:348:52
[INFO] [stdout]   23: llm_sdk::api::create_image::tests::create_image_should_work
[INFO] [stdout]              at ./src/api/create_image.rs:215:11
[INFO] [stdout]   24: llm_sdk::api::create_image::tests::create_image_should_work::{{closure}}
[INFO] [stdout]              at ./src/api/create_image.rs:197:44
[INFO] [stdout]   25: core::ops::function::FnOnce::call_once
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26: core::ops::function::FnOnce::call_once
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   27: test::__rust_begin_short_backtrace
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:663:18
[INFO] [stdout]   28: test::run_test_in_process::{{closure}}
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:686:74
[INFO] [stdout]   29: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   30: std::panicking::catch_unwind::do_call
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:590:40
[INFO] [stdout]   31: std::panicking::catch_unwind
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:553:19
[INFO] [stdout]   32: std::panic::catch_unwind
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panic.rs:359:14
[INFO] [stdout]   33: test::run_test_in_process
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:686:27
[INFO] [stdout]   34: test::run_test::{{closure}}
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:607:43
[INFO] [stdout]   35: test::run_test::{{closure}}
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:637:41
[INFO] [stdout]   36: std::sys::backtrace::__rust_begin_short_backtrace
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   37: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/thread/mod.rs:562:17
[INFO] [stdout]   38: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   39: std::panicking::catch_unwind::do_call
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:590:40
[INFO] [stdout]   40: std::panicking::catch_unwind
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:553:19
[INFO] [stdout]   41: std::panic::catch_unwind
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panic.rs:359:14
[INFO] [stdout]   42: std::thread::Builder::spawn_unchecked_::{{closure}}
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/thread/mod.rs:560:30
[INFO] [stdout]   43: core::ops::function::FnOnce::call_once{{vtable.shim}}
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   44: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2085:9
[INFO] [stdout]   45: std::sys::thread::unix::Thread::new::thread_start
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/thread/unix.rs:124:17
[INFO] [stdout]   46: <unknown>
[INFO] [stdout]   47: clone
[INFO] [stdout] 
[INFO] [stdout] ---- api::chat_completion::tests::simple_chat_completion_should_work stdout ----
[INFO] [stdout] Error: environment variable not found
[INFO] [stdout] 
[INFO] [stdout] Stack backtrace:
[INFO] [stdout]    0: anyhow::error::<impl core::convert::From<E> for anyhow::Error>::from
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.75/src/backtrace.rs:27:14
[INFO] [stdout]    1: <core::result::Result<T,F> as core::ops::try_trait::FromResidual<core::result::Result<core::convert::Infallible,E>>>::from_residual
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/result.rs:2184:27
[INFO] [stdout]    2: llm_sdk::api::chat_completion::tests::simple_chat_completion_should_work::{{closure}}
[INFO] [stdout]              at ./src/api/chat_completion.rs:400:31
[INFO] [stdout]    3: <core::pin::Pin<P> as core::future::future::Future>::poll
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/future/future.rs:133:9
[INFO] [stdout]    4: <core::pin::Pin<P> as core::future::future::Future>::poll
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/future/future.rs:133:9
[INFO] [stdout]    5: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.34.0/src/runtime/scheduler/current_thread/mod.rs:665:73
[INFO] [stdout]    6: tokio::runtime::coop::with_budget
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.34.0/src/runtime/coop.rs:107:5
[INFO] [stdout]    7: tokio::runtime::coop::budget
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.34.0/src/runtime/coop.rs:73:5
[INFO] [stdout]    8: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.34.0/src/runtime/scheduler/current_thread/mod.rs:665:25
[INFO] [stdout]    9: tokio::runtime::scheduler::current_thread::Context::enter
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.34.0/src/runtime/scheduler/current_thread/mod.rs:410:19
[INFO] [stdout]   10: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.34.0/src/runtime/scheduler/current_thread/mod.rs:664:44
[INFO] [stdout]   11: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.34.0/src/runtime/scheduler/current_thread/mod.rs:743:68
[INFO] [stdout]   12: tokio::runtime::context::scoped::Scoped<T>::set
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.34.0/src/runtime/context/scoped.rs:40:9
[INFO] [stdout]   13: tokio::runtime::context::set_scheduler::{{closure}}
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.34.0/src/runtime/context.rs:176:38
[INFO] [stdout]   14: std::thread::local::LocalKey<T>::try_with
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/thread/local.rs:508:12
[INFO] [stdout]   15: std::thread::local::LocalKey<T>::with
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/thread/local.rs:472:20
[INFO] [stdout]   16: tokio::runtime::context::set_scheduler
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.34.0/src/runtime/context.rs:176:17
[INFO] [stdout]   17: tokio::runtime::scheduler::current_thread::CoreGuard::enter
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.34.0/src/runtime/scheduler/current_thread/mod.rs:743:27
[INFO] [stdout]   18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.34.0/src/runtime/scheduler/current_thread/mod.rs:652:24
[INFO] [stdout]   19: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.34.0/src/runtime/scheduler/current_thread/mod.rs:175:33
[INFO] [stdout]   20: tokio::runtime::context::runtime::enter_runtime
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.34.0/src/runtime/context/runtime.rs:65:16
[INFO] [stdout]   21: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.34.0/src/runtime/scheduler/current_thread/mod.rs:167:9
[INFO] [stdout]   22: tokio::runtime::runtime::Runtime::block_on
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.34.0/src/runtime/runtime.rs:348:52
[INFO] [stdout]   23: llm_sdk::api::chat_completion::tests::simple_chat_completion_should_work
[INFO] [stdout]              at ./src/api/chat_completion.rs:406:11
[INFO] [stdout]   24: llm_sdk::api::chat_completion::tests::simple_chat_completion_should_work::{{closure}}
[INFO] [stdout]              at ./src/api/chat_completion.rs:399:54
[INFO] [stdout]   25: core::ops::function::FnOnce::call_once
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26: core::ops::function::FnOnce::call_once
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   27: test::__rust_begin_short_backtrace
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:663:18
[INFO] [stdout]   28: test::run_test_in_process::{{closure}}
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:686:74
[INFO] [stdout]   29: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   30: std::panicking::catch_unwind::do_call
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:590:40
[INFO] [stdout]   31: std::panicking::catch_unwind
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:553:19
[INFO] [stdout]   32: std::panic::catch_unwind
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panic.rs:359:14
[INFO] [stdout]   33: test::run_test_in_process
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:686:27
[INFO] [stdout]   34: test::run_test::{{closure}}
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:607:43
[INFO] [stdout]   35: test::run_test::{{closure}}
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:637:41
[INFO] [stdout]   36: std::sys::backtrace::__rust_begin_short_backtrace
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   37: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/thread/mod.rs:562:17
[INFO] [stdout]   38: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   39: std::panicking::catch_unwind::do_call
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:590:40
[INFO] [stdout]   40: std::panicking::catch_unwind
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:553:19
[INFO] [stdout]   41: std::panic::catch_unwind
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panic.rs:359:14
[INFO] [stdout]   42: std::thread::Builder::spawn_unchecked_::{{closure}}
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/thread/mod.rs:560:30
[INFO] [stdout]   43: core::ops::function::FnOnce::call_once{{vtable.shim}}
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   44: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2085:9
[INFO] [stdout]   45: std::sys::thread::unix::Thread::new::thread_start
[INFO] [stdout]              at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/thread/unix.rs:124:17
[INFO] [stdout]   46: <unknown>
[INFO] [stdout]   47: clone
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     api::chat_completion::tests::simple_chat_completion_should_work
[INFO] [stdout]     api::create_image::tests::create_image_should_work
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 4 passed; 2 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.04s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "5e8595452ec85a592d9b66fcd5f40ddb4b90da43031b7670012c4081a9b2d1ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5e8595452ec85a592d9b66fcd5f40ddb4b90da43031b7670012c4081a9b2d1ef", kill_on_drop: false }`
[INFO] [stdout] 5e8595452ec85a592d9b66fcd5f40ddb4b90da43031b7670012c4081a9b2d1ef
